16cfe45dec96154d37b36364f67cedce16ca2484 |
|
08-Feb-2018 |
Lucas Dupin <dupin@google.com> |
Screen off animation SysUI can now control the screen off animation as long as config_dozeAfterScreenOff is set to false. The current implementation collapses the notification shade and moves the clock whenever the use is on the lock screen, or will fade the scrims and show the clock when the keyguard is occluded. Display state change (on, doze, doze_suspended) is delayed to let the animations occur at 60Hz. Test: atest packages/SystemUI/tests/src/com/android/systemui/doze/DozeUiTest.java Test: atest packages/SystemUI/tests/src/com/android/systemui/doze/DozeWallpaperStateTest.java Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java Test: atest tests/src/com/android/systemui/statusbar/phone/DozeScrimControllerTest.java Test: atest tests/src/com/android/systemui/statusbar/phone/DozeParametersTest.java Test: atest packages/SystemUI/tests/src/com/android/systemui/keyguard/WakefulnessLifecycleTest.java Fixes: 73178121 Change-Id: Id5d964452f342d4e97bedf1084efa808604e602c
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/DozeScrimControllerTest.java
|
9e3fa1033c1fb43c82abf93f231636a4b103c0e4 |
|
09-Nov-2017 |
Lucas Dupin <dupin@google.com> |
Refactoring ScrimController ScrimController is now a state machine with tests. The main motivation for refactoring this class was to centralize ownership of the scrim state. Before, animations could be triggered by StatusBar, StatusBarKeyguardViewManager or DozeScrimController simultaneously, causing collision, sometimes overriding an expected state due to the call order and making it hard to calculate an actual state. Change-Id: I4f4d82549235d3fc7be35b235a2668e70b956cb7 Fixes: 64397851 Fixes: 65688233 Bug: 64155983 Test: runtest -x tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java Test: runtest -x tests/src/com/android/systemui/statusbar/phone/DozeScrimControllerTest.java Test: unlock using fingerprint, or challenge (pin/password/pattern) Test: trigger in-app bouncer (camera app) Test: pull down notification shade locked and unlocked Test: lock, look at AoD (or black display when AoD isn't supported)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/DozeScrimControllerTest.java
|