diff options
| author | 2023-04-25 15:03:21 +0000 | |
|---|---|---|
| committer | 2023-04-26 14:59:33 +0000 | |
| commit | f74a62ac2136cb5a2229ceddf640002abc057899 (patch) | |
| tree | 5c6f6722bcda00f530263d499088e0d1db1257cd /cmds/bootanimation/BootAnimationUtil.cpp | |
| parent | 66a64d23038ac4d603c04329c0fb405923b84082 (diff) | |
Fixing ColorFade animation in landscape mode
Bug: b/277612338
Test: manual testing
Test steps:
Increase animation duration: set DisplayPowerController2.COLOR_FADE_OFF_ANIMATION_DURATION_MILLIS value to e.g 2000 (2s.)
Set ColorFade.MODE_FADE mode: Hardcode DisplayPowerController2.mColorFadeFadesConfig = true
Set ColorFade.MODE_COOL_DOWN mode: Hardcode DisplayPowerController2.mColorFadeFadesConfig = false
Tested MODE_FADE/MODE_COOL_DOWN on tablet/phone
Test steps:
1) lauch application suppoting both portait and landscape modes (e.g Chrome)
2) Rotate device to portait mode
3) Turn on and Turn off device using power button
4) Verify off animation plays
5) Rotate device to landscape mode
8) Turn on and Turn off device using power button
9) Verify off animation plays
10) Verify that animation play (in ColorFade.MODE_FADE animation rotates, in ColorFade.MODE_COOL_DOWN animation statys locked)
Change-Id: I950d8b6c3c36037d49eadb1e164391a53482ce97
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions