History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
61b8eaf289e736cbc40f489c8c6f270daf094dd1 23-May-2018 Lucas Dupin <dupin@google.com> Wait a little longer to hide wallpaper

Test: visual
Bug: 63868547
Change-Id: Ic9f8419baadac60839f54c22d7b9f86eb83b4f42
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java
3d7ccaf8b5e81378770cb3e18ff66d19418b8135 03-Apr-2018 Lucas Dupin <dupin@google.com> AOD clock and notification animation

Better transitions for pulsing notifications and other keyguard
messages.

Fixes: 77601057
Fixes: 67641732
Test: visual
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardSliceViewTest.java
Test: atest packages/SystemUI/tests/src/com/android/systemui/util/wakelock/KeepAwakeAnimationListenerTest.java
Merged-In: I3e3ec844834bf7f5d9ab341f308e78a002248a87
Change-Id: I1e6d95c62dc7463e8084a64f04c6dee3173967a6
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java
cbe0596c4d7d438ac840fffe4b819ef5f5bea6f9 27-Apr-2018 Lucas Dupin <dupin@google.com> Hide low-power mode black frame

Hide the wallpaper earlier and wait a little longer to
switch to low power mode.

This way the flickering area is less noticeable, since
less pixels will be visible, and users are less likely
to be looking at the screen.

Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/DozeParametersTest.java
Change-Id: I24f2d64f580d7fdc63f6c768446d06140c29cfa5
Fixes: 78302022
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java
39880be88c3b40c45e189199d7b7a633410bd85d 23-Apr-2018 Adrian Roos <roosa@google.com> AOD: Fix WakeLock leak

Bug: 78402666
Test: Toggle screen off and on again real quick. Verify "Doze" wake lock was not leaked.
Change-Id: Ie34f8aeeb5d10628f2a40567267ab36e694e21bb
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java
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/src/com/android/systemui/doze/DozeScreenState.java
5854384a6a32a2e7753a0442453045a66ee3e98f 15-Feb-2018 Lucas Dupin <dupin@google.com> Logging prox sensor entry point and screen state

Bug: 71913808
Change-Id: I67ebb06aa20f258e9297a8f8f2b87148c31363b1
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java
12663d30baa5d691f3d132d9242e6186b0791807 08-Feb-2018 Lucas Dupin <dupin@google.com> Remove black frame when pulsing

Fixes: 73121392
Test: Receive notification on AOD
Change-Id: I04802b3b456e2c484fc5aaab8460a08b82f952e4
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java
a79ad59d49cdb3ef6f4cf864094063e3e9111586 31-Aug-2017 Adrian Roos <roosa@google.com> AOD: Keep brightness sensor registered while covered

Keeps the brightness sensor registered even if proximity is near.

This allows the brightness sensor to react faster after coming out
of a pocket.

Also wait with unpausing AOD until the brightness sensor reports
a valid brightness again.

Bug: 65010918
Test: Cover prox sensor for 10s, verify with 'adb shell dumpsys sensorservice' that the binned brightness sensor is still registered.
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenBrightnessTest.java
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeTriggersTest.java
Change-Id: Ife1bb7399a7ad8a15b1f4d210bb38044cbe9d3ae
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java
5502b8942f15e7141686a623f6176339e2389b8d 22-Aug-2017 Adrian Roos <roosa@google.com> AOD: Fix crash when AOD is stopped immediately after starting

Fixes an issue where the screen state was set after DozeService was already
destroyed, causing a crash.

Change-Id: I13ff590b62f905330ccb438692410e118b76c242
Fixes: 64907936
Test: runtest -x $ANDROID_BUILD_TOP/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java
8db9311cb683c58b7d61f812ae4975feca926aa4 11-Aug-2017 Adrian Roos <roosa@google.com> AOD: Fix navbar flicker when transitioning to AOD

Under certain circumstances, the transition to AOD can happen before
the navigation bar gets a chance to hide itself, which happens in a
traversal. To work around this, post turning the screen on such that
it only happens after the next traversal.

Change-Id: I178b9394e7cc6baa8e9552c9819c3ce9b044defb
Fixes: 64599221
Test: Open Whatsapp / Gmail, turn off screen, verify navbar does not flicker.
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java
2981eb0d59f3568bfe84ce905c82fc17d62d21c5 27-May-2017 Adrian Roos <roosa@google.com> AOD: Refactor doze brigthness controllers, add AOD auto brightness support

- Factor out doze brightness and screen state controllers
- Add support for setting the screen brightness from a
sensor in AOD / when pulsing
- Refactor FakeSensorManager for generic sensors, add a light sensor

Bug: 38354633
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenTest.java
Change-Id: I55f2bee253cee23a76ba857ba1f19052ff88a753
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/DozeScreenState.java