| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Test: atest DozeScreenStateTest
Fixes: 218885442
Change-Id: Ib6cbdf14c2a1ec6aedfb0924ed30983779f7d624
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
doze display mode
Fixes a few issues with fold to AOD animation:
1) Sometimes when folding a foldable device and showing AOD
we see the underlying app (launcher/wallpaper)
for 1-2 seconds. It happens because the system
sends 'hide system dialogs' broadcast when starting
dreaming which collapses and hides the notification shade.
We need the notification shade in expanded state to show
the scrims and AOD UI. Added ignoring of collapsing when
fold to AOD animation is hapenning.
2) When folding from unlocked state the animation was
playing with reduced FPS (the display was going into
doze mode). Added delay for going into doze mode
when animation is about to happen.
Bug: 202844967
Test: fold/unfold when locked/unlocked
Test: power button screen off from locked/unlocked states
Change-Id: I2af5e4965ef7db234a1931ca442640c96000ec56
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Align doze brightness logic with DisplayPowerController, so that the
'minimum dim amount' is taken into account by DozeScreenBrightness.
- Clamp brightness to the now-correct dim value during the entire screen
off animation, rather than sometimes transitioning to the sensor value.
Apply the sensor brightness value on changing to the DOZE Display state,
which happens after the screen off animation.
This brings the changes from ag/15974454 (Improve brightness handling
during screen off timeout) and ag/16047064 (Fix DozeScreenBrightnessTest)
into sc-v2/master from sc/qpr1, along with externalizing the minimum dim
percent as a config value.
Bug: 194972547
Test: at 0%, 45%, and 100% brightness, allow the screen to time out in
bright and dark rooms, observe minimal brightness changes
Change-Id: I0a1ae320274661e58d6b398a8facdfad54e49a06
|
| |
|
|
|
|
|
|
|
|
|
|
| |
In case there's a delay between onAllAuthenticatorsRegistered
and onEnrollmentChanged
Test: atest KeyguardUpdateMonitorTest
Test: manually add delays to AuthController#onAllAuthenticatorsRegistered
and #onEnrollmentsChanged and check that UDFPS still works after the
delay on the lock screen and AOD
Fixes: 205670174
Change-Id: Id9a20f466750fa506b7a1d95d5fe764bef27de41
|
| |
|
|
|
|
|
|
|
|
| |
We don't want to change display states while the user
is interacting with the UDFPS sensor or else we'll
lose the touch and cut fp authentication short.
Test: atest DozeScreenSTateTest
Bug: 198710028
Change-Id: I3a8168e6f1970c36717e0a7a223bcc74c3ec5600
|
| |
|
|
|
|
|
|
|
|
|
| |
This replaces DozeFactory with some Dagger idioms. The DozeComponent
is a subcomponent, created by DozeService, for all your Doze related
needs. Items that should only live within the DozeService can be
annotated with @DozeScope.
Fixes: 159701507
Test: atest SystemUITests && manual
Change-Id: I76d0709b1689408d95b4913d0d46761174cf5ea9
|
| |
|
|
|
|
|
|
|
| |
Display was not turning off animated in some occasions, due to a
wrong variable being used.
Test: atest DozeScreenStateTest
Fixes: 152246123
Change-Id: I5e6f32566d74f67476018b01013fc177702311a7
|
| |
|
|
|
|
| |
Test: manual, atest PlatformScenarioTests:DozeMachineTest
Bug: 147584235, 147587999
Change-Id: I5265f8d0572813e28278134196fc0fd26e0dfb25
|
| |
|
|
|
|
| |
Bug: 140915138, 136070077
Test: atest SystemUITests.java
Change-Id: I03d92c809074fd66b857cd406fc3a200a05e53e9
|
| |
|
|
|
|
|
|
|
|
| |
Bug: 130369676
Test: atest DozeDockHandlerTest
Test: atest DozeScreenBrightnessTest
Test: atest DozeTriggersTest
Test: atest DozeScreenStateTest
Test: atest ScrimControllerTest
Change-Id: Ie4c22f9d4086bea565890dc2205e535ec8f2c254
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Smoothly fade out the display, using the scrims before changing the
display power mode.
Fixes: 130369676
Test: atest DozeDockHandlerTest
Test: atest DozeScreenBrightnessTest
Test: atest DozeTriggersTest
Test: atest DozeScreenStateTest
Test: atest ScrimControllerTest
Change-Id: I1933312768b0326b545b23f0e8906c1e1eb5252a
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Use slower animation when turning on the display, and request
a black frame when going to sleep.
Fixes: 137398766
Test: Wake up with presence sensor
Test: Wake up by uncovering prox sensor
Test: Wake up by pressing power (with AOD on or off)
Test: Receive notification from AOD
Change-Id: Ic3201e4c6b9de3d1322c9473897bca21fe63f773
|
| |
|
|
|
|
|
|
|
|
| |
- Display flickering timeout slightly shortened
- Lock screen timeout now can be configured in config_lockScreenDisplayTimeout
Test: pressing power and waiting for timeout on LS
Test: pressing power and waiting for timeout on bouncer
Bug: 134781705
Change-Id: Idd96514b01c719ad6df7cd4674af9b78b626e0e4
|
| |
|
|
|
|
|
|
|
|
| |
Fixes: 121039718
Test: atest ScrimControllerTest
Test: atest KeepAwakeAnimationListenerTest
Test: atest SettableWakeLockTest
Test: atest WakeLockTest
Test: adb shell dumpsys activity service com.android.systemui
Change-Id: I612874da597fba6974edd1f702932ee1a5629fc7
|
| |
|
|
|
|
| |
Test: visual
Bug: 63868547
Change-Id: Ic9f8419baadac60839f54c22d7b9f86eb83b4f42
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Bug: 78402666
Test: Toggle screen off and on again real quick. Verify "Doze" wake lock was not leaked.
Change-Id: Ie34f8aeeb5d10628f2a40567267ab36e694e21bb
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Bug: 71913808
Change-Id: I67ebb06aa20f258e9297a8f8f2b87148c31363b1
|
| |
|
|
|
|
| |
Fixes: 73121392
Test: Receive notification on AOD
Change-Id: I04802b3b456e2c484fc5aaab8460a08b82f952e4
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
- 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
|