Commit graph

11 commits

Author SHA1 Message Date
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