Commit graph

28 commits

Author SHA1 Message Date
b252e775ba
Import tequila bootanimation
Change-Id: Ifa843d4ffee072c727c456af692d16b1ec7b6207
2024-05-25 22:23:33 +02:00
349782a00f
Remove Lineage bootanimation 2024-05-25 04:58:38 +02:00
Asher Simonds
f2a488f0f2 bootanimation: Refinements
Small adjustments to accommodate for screen size and a nicer transition

Change-Id: I66fdb6be47651945a4de2c27f16268156a20a990
2024-04-06 13:10:13 +00:00
Luca Stefani
74db3872b3 bootanimation: Use 256 colors
And remove unused mkdir rules

Change-Id: Ic6df2c46938c7ecc0bd8a80712b38b57ff15d7c9
2024-02-18 17:17:30 +00:00
Asher Simonds
390df26654 bootanimation: Refreshed bootanimation for new release
Change-Id: I55408a8af25036d2ff98ebea11351fcf809f339c
2024-02-14 22:37:18 +00:00
Chippa-a
62dd5baa00 lineage: Use 'intermediates-dir-for' for bootanimation src
Place bootanimation source files in a dedicated intermediate
dir to prevent the presence of a zero-byte archive in the
target zip file.

Change-Id: Iefd54bbcadd17985eb15e253aa4c74fbb7940b0d
Signed-off-by: Chippa-a <bagirovvusal99@gmail.com>
2023-10-04 22:37:50 +00:00
Chirayu Desai
cd6b82aa71
Move bootanimation to product
Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Change-Id: I9972653845c64aab944d0289d9357361e2feb344
2021-11-14 20:20:53 +02:00
Alessandro Astone
ade98959e0 config: Set screen size defaults globally
* Makes defaults available to other places than just bootanimation

Change-Id: I6865bdd08e7f3d9370ce8578691f52204d57fde7
2021-03-12 14:08:55 +01:00
Rashed Abdel-Tawab
52b26fadaa lineage: Use prebuilt ImageMagick for bootanim
Change-Id: I49301cf09f79d617868ac3d445d243020b587c9d
2019-09-12 00:09:44 +02:00
Luca Stefani
05b688012e
lineage: Rework bootanimation generation
Change-Id: Ib0b363c3e0545cb0c86dc69dd1a75f82dd777e59
2019-09-09 13:04:03 -07:00
Vasyl Gello
bc4bce82d4 Fix bootanimation destpath if building off-tree
If the build is invoked off-tree, like:

    . build/envsetup.sh
    export OUT_DIR=/some/other/dir/out
    export DIST_DIR=/some/other/dir/dist
    breakfast chagalllte
    mka \
        target-files-package dist

the bootanimation.zip is correctly generated in $OUT_DIR.

However, if the user overrides directories after breakfast, i.e:

    . build/envsetup.sh
    breakfast chagalllte
    mka \
        OUT_DIR=/some/other/dir/out \
        DIST_DIR=/some/other/dir/dist \
        target-files-package dist

the destination path of intermediate bootanimation.zip is still
controlled by $ANDROID_PRODUCT_OUT which is set by build/envsetup.sh.
This leads to a copy error and a failed build.

The fix overrides $ANDROID_PRODUCT_OUT by the always-known PRODUCT_OUT
(make variable defined in build/core/envsetup.mk), making it error-prone
to environment variable declaration.

Also, the "sh" invocation is replaced with generic make-variable
$(shell).

Change-Id: Ic94d1b538fc01946b628f9b5d776548a03acde97
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2019-07-09 09:56:02 +03:00
LuK1337
56030be8a5 lineage: Don't error out when screen size isn't set
* Generic AOSP devices don't set it and we don't really
  want to fork them just to set the bootanimation size.

Change-Id: I684454ae07348ee29c832f86f56bcfbd4f627b4d
2018-03-01 06:52:37 +00:00
Luca Stefani
6b47332546 bootanimation: Error if screen width or height aren't set
Change-Id: Ic102e49d39a12116e9a0b25accf0ef81520c495f
2018-02-18 11:39:01 +00:00
Dan Pasanen
91f7620c4d
vendor: change vendor to lineage
Change-Id: I2df13091f5d62b552ef434aef1a389f4fe1249e0
2017-08-23 03:26:28 +03:00
Dan Pasanen
b782210019 Revert "YOLO"
This reverts commit 430f569db3.

Change-Id: I99c4245625629940d83fe535fbdb79fe1b9b4887
2017-04-09 00:43:57 -05:00
Harry Youd
430f569db3 YOLO
Change-Id: If1605830592dd6cfccd0a06d94736f4e5e09eb7d
2017-04-02 20:03:11 +01:00
Zhao Wei Liew
d0850b3294 cm: bootanimation: Fail the build if mogrify is absent
We're no longer using convert, but mogrify.

Change-Id: Ifd58527b49e5548dd94b35a8cf0ffa4ad5196804
2017-02-10 22:03:31 +00:00
Christopher N. Hesse
70658805a6 bootanimation: Use mogrify to convert images in place
Fixes bootanimation generation for Darwin/BSD.

Change-Id: Id9e38bcb9db7b550f22bda1250dbb515599e8f93
2017-02-06 20:11:19 +00:00
Scott Warner
db8d7afd54 bootanimation: Limit the PNGs to 250 colors
Some systems seem to have with the convert command as-is:
convert: Cannot write PNG8 or color-type 3; colormap is NULL

Because we are writing PNG8, there area a max of 256 colors total.
Explicitly telling convert to stay under the max fixes the issue.

Change-Id: I595fb4503396ca20226ea76bf7b15ed9878752fd
2017-01-29 09:47:56 +00:00
Dan Pasanen
46973d7b79 bootanimation: get all the parts
Change-Id: I6f2b38a64629f918b79d28ba8b1d0d6535901142
2017-01-19 22:03:15 +00:00
Asher Simonds
070053c6ab cm: bootanimation: Improve boot animation
* Make it run at 60 FPS
 * Slow down the pace to make it more relaxed

Change-Id: I563b09da875c53f1cd456606ee7a6200e8841bb1
2017-01-19 13:25:07 +00:00
Zhao Wei Liew
e796a286bd cm: bootanimation: Clear intermediaries
Make sure that any changes to the boot animation can be picked up
and rebuilt by running 'mka bootanimation.zip'.

Change-Id: Ice10e919df4c1b651c5c5dbb9700cab38eeac748
2017-01-18 13:19:59 +00:00
Asher Simonds
e035b9ab41 vendor: lineage boot animation
Change-Id: Iff2087eb97aee5e586eecf3898f0066d99bc885c
2017-01-17 08:13:19 -06:00
Dan Pasanen
24a1cc95b6 Revert "cm: Revert the new boot animation generation process"
This reverts commit e2ec4c6051.

* New build server(s) will be able to support this

Change-Id: I990297e6db7aa6076199bb6344328e704b1d4ebe
2016-12-29 05:16:33 +00:00
Zhao Wei Liew
e2ec4c6051 cm: Revert the new boot animation generation process
The servers do not have ImageMagick installed right now,
breaking the automated builds.

Revert this for now.

This reverts the following commits:
840e781408 bootanim: Use a for loop to make part# folders
ce5405d1f7 Fix wrong bootanimation.zip from mkdir .../part{0..2}
6179d9494f cm: Build bootanimation.zip
67ddf37281 cm: Rework boot animation generation

Change-Id: I63fc43da9b1a6afea5f791e879f0bfc9a385d98d
2016-12-04 01:00:43 -08:00
Rashed Abdel-Tawab
840e781408
bootanim: Use a for loop to make part# folders
Change-Id: Iec90f3521e589de4e8352c0349e1a0751d65d989
2016-12-02 23:06:47 -05:00
David Marble
ce5405d1f7 Fix wrong bootanimation.zip from mkdir .../part{0..2}
For some reason the mkdir command:
mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part{0..2}
creates a directory part{0..2} instead of three separate directories.
Non-fatal build errors and a 386 byte bootanimation.zip file result.
This explicitly creates each directory.

Change-Id: Ia6ae0e4f64521992de8cc34a376af3eaac5c8819
2016-12-02 15:43:11 -06:00
Griffin Millender
67ddf37281 cm: Rework boot animation generation
Keep the largest bootanimation extracted
and resize it at build-time.

Change-Id: Iee32f18440ff955d13ed85b273e97cbd540721fc
2016-12-01 22:43:29 +01:00