diff options
author | 2021-08-25 20:10:46 +0000 | |
---|---|---|
committer | 2021-08-26 20:28:08 +0000 | |
commit | 488ff7459cd752e718ec4aa1f6ea0dd28aa91078 (patch) | |
tree | d4e1fc8fb44817de96e30522d7a73d14223af4b3 /cmds/bootanimation/BootAnimation.h | |
parent | 0bacd2b4737a6c94037744e8b6f16fd00758c0ab (diff) |
Support rendering white pixels.
This CL allows dynamic color boot animations to render graphics in shades of white.
Bug: 190093578
Test: adb shell stop; adb shell start. Complete reboot to see the full
sequence (including the loader part)
Change-Id: I672a49aff90fa04daa4bdd6fd3c0b5497cc1a115
Diffstat (limited to 'cmds/bootanimation/BootAnimation.h')
-rw-r--r-- | cmds/bootanimation/BootAnimation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/bootanimation/BootAnimation.h b/cmds/bootanimation/BootAnimation.h index 0e29621f0326..7a597da533ee 100644 --- a/cmds/bootanimation/BootAnimation.h +++ b/cmds/bootanimation/BootAnimation.h @@ -111,6 +111,8 @@ public: Font progressFont; // Controls if dynamic coloring is enabled for the whole animation. bool dynamicColoringEnabled = false; + int colorTransitionStart = 0; // Start frame of dynamic color transition. + int colorTransitionEnd = 0; // End frame of dynamic color transition. float startColors[4][3]; // Start colors of dynamic color transition. float endColors[4][3]; // End colors of dynamic color transition. }; |