summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/doze/DozePauser.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove DozeFactory. Add DozeComponent/DozeScope.Dave Mankoff2020-07-091-3/+13
| | | | | | | | | | | 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
* enable experiments for AOD timeoutChris Wren2017-09-281-3/+4
| | | | | | Bug: 67009600 Test: runtest systemui Change-Id: I5505b69051a55608b3c3803c48dd51603845e9c9
* Hook up AOD knobs to Settings.Globaljackqdyulei2017-08-311-3/+5
| | | | | | | | | | | | | | | | | | This cl creates AlwaysOnDisplayPolicy, which get values for the following knobs(go/aod-experiments) from Settings.Global: 1. screen_brightness_array 2. dimming_scrim_array 3. prox_screen_off_delay 4. prox_cooldown_trigger 5. prox_cooldown_period Also update code to make sure AlwaysOnDisplayPolicy is used everywhere. Bug: 64899561 Test: runtest -x AlwaysOnDisplayPolicyTest Change-Id: I2e83ff980771e67177e4964bd83aa68b2bdca65f
* AOD: Add hysteresis to pausing the displayAdrian Roos2017-06-301-0/+53
Delays pausing the display by several seconds to avoid flickering when the prox is only covered transiently. Also adds cooldown to the proximity sensor, such that when it toggles too often it gets disabled for a while. Bug: 62292293 Test: cover prox for less than 10s, observe display stays on. Cover for more, observe display turns off. Change-Id: Ifa407b84760fc299fbbcfa92d9e942e0093c4b73