Commit graph

17 commits

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