Commit Graph

8 Commits

Author SHA1 Message Date
Christopher N. Hesse d2bf7327bb bootanimation: Use mogrify to convert images in place
Fixes bootanimation generation for Darwin/BSD.

Change-Id: Id9e38bcb9db7b550f22bda1250dbb515599e8f93
(cherry picked from commit 70658805a6ddbecd55877fafe4fba8b2efd83f74)
2017-02-10 18:18:03 +00:00
Scott Warner 8b06d3a3b1 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-27 14:28:10 +00:00
Dan Pasanen 642b513a80 bootanimation: get all the parts
Change-Id: I6f2b38a64629f918b79d28ba8b1d0d6535901142
2017-01-19 22:03:01 +00:00
Asher Simonds cac593aa29 cm: bootanimation: Improve boot animation
* Make it run at 60 FPS
 * Slow down the pace to make it more relaxed

Change-Id: I563b09da875c53f1cd456606ee7a6200e8841bb1
(cherry picked from commit 070053c6abf1d2d23a9cbbcf910db139fde8100c)
2017-01-19 13:25:31 +00:00
Asher Simonds 2371d23f28 vendor: lineage boot animation
Change-Id: Iff2087eb97aee5e586eecf3898f0066d99bc885c
2017-01-17 19:29:58 +08:00
Rashed Abdel-Tawab 3521fa5a3b bootanim: Use a for loop to make part# folders
Change-Id: Iec90f3521e589de4e8352c0349e1a0751d65d989
2017-01-04 11:05:55 +08:00
David Marble f5897a1be6 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
2017-01-04 11:05:55 +08:00
Griffin Millender 5517e01a9e cm: Rework boot animation generation
Keep the largest bootanimation extracted
and resize it at build-time.

Change-Id: Iee32f18440ff955d13ed85b273e97cbd540721fc
2017-01-04 11:05:55 +08:00