History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
60a7739798f1637fdae6b50198dad285e162e663 25-Apr-2017 Adrian Roos <roosa@google.com> AOD: Remove wake up fully config flag

Fixes: 37270258
Test: Double tap, make sure device does not wake up to lockscreen, only to ambient display
Change-Id: Iaf0c3bfb5dcf566adae7f37b51c866d92bce7a1d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
490ef3cda4c45b512730b470f4e26f8f9ceb7754 15-Apr-2017 Adrian Roos <roosa@google.com> Merge "AOD: Prolong AOD2 after interaction, turn off AOD when prox covered" into oc-dev
67cca7442bfeffc0bace506a796cfdd39e5d511c 14-Apr-2017 Adrian Roos <roosa@google.com> AOD: Prolong AOD2 after interaction, turn off AOD when prox covered

Turns off AOD 1 and 2 when the proximity sensor is covered.
Also extends the AOD2 duration when the screen is touched or
the lift gesture is triggered.

Also fixes some issues with the fingerprint unlock transition
from AOD where the doze state for the NotificationPanelView
was cleared too early.

Also hides the wallpaper while we're dozing.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeMachineTest.java
Fixes: 36893539
Fixes: 36893538
Fixes: 36033906
Fixes: 37327153
Change-Id: I3fccae1515a0daf2ff99589ed78ec947687e6262
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
601fe4aca3b69080ce150fa290aad6f9cf85ff09 29-Mar-2017 Adrian Roos <roosa@google.com> Revert "AOD: Wake up fully on gestures by default"

Bug: 35909567
Bug: 30876804

This reverts commit d84a080e9488c97031fb19a88798c798fe48ac13.

Change-Id: Id51edce39967075cffe8fbe3860200cfe3a355ae
(cherry picked from commit ae4306edba13d07bf090f07fde109d0b83e2f1e5)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
0261fb2a190a9eff14ef06efafc468e92829426a 07-Mar-2017 Adrian Roos <roosa@google.com> Revert "Revert "AOD: Refactor always on configuration""

This reverts commit cdcc5c438949ce3d942c95204555680e080c17ed.

Bug: 36027947
Change-Id: Iee23682a9d82f930484c3f4c15d99f21a0f1bc36
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
805dfb836abcd8489e5af828cc0451a87d25f954 07-Mar-2017 Adrian Roos <roosa@google.com> Merge "Revert "AOD: Refactor always on configuration""
c45944b68009c319c93d48f1c4df60393f108fff 07-Mar-2017 Adrian Roos <roosa@google.com> Revert "AOD: Refactor always on configuration"

This reverts commit 28d26a821f5fa078af756ceb3e94090a10f73175.

Bug: 36027947
Change-Id: I3d4c2e58b753120ff668a4594f60692abc6a3426
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
4540811b4d2e749161afa4f0e64019b836431c3b 07-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "AOD: Refactor always on configuration"
d84a080e9488c97031fb19a88798c798fe48ac13 06-Mar-2017 Adrian Roos <roosa@google.com> AOD: Wake up fully on gestures by default

Fixes: 35909567
Bug: 30876804
Test: manual
Change-Id: Ie90c451ca3d8fe6ca62853fb3a555401dc322f00
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
28d26a821f5fa078af756ceb3e94090a10f73175 27-Feb-2017 Adrian Roos <roosa@google.com> AOD: Refactor always on configuration

Moves the AOD configuration helper to the framework such that it is
available outside SystemUI

Bug: 30876804
Change-Id: Ic35bd3c04d150fd3eb85d76db0043880b31a011f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
5cd29e41accdb7b66f5b46387b57f72e748ad105 22-Feb-2017 Adrian Roos <roosa@google.com> AOD: readd AOD settings on debuggable builds

Bug: 30876804
Test: On user build, verify that "Ambient Display" does not appear in SystemUI Tuner.
Change-Id: I75ba7ce11346f9cb8bf5683b17debe77edca20bf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
7a1654e8e40dfa0928a0348fc5954614554a8a06 14-Feb-2017 Adrian Roos <roosa@google.com> AOD: Add toggle for waking up instead of ambient display on sensors

Bug: 30876804
Test: Open SysUI tuner -> Ambient Display -> Toggle wake up on sensors setting, verify that double tap and lift wake up phone instead of triggering ambient display.
Change-Id: Ia33ab1ab5ed532f239262d70e00dac3fec0330e2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
ebea7a7e56937fbbb18cb0bfcd871af2ee4605fe 26-Oct-2016 Adrian Roos <roosa@google.com> AmbientDisplay: Add always on prototype

Test: adb shell settings put secure doze_always_on 1
Change-Id: I3f293b3ef43847b7848af416b44f212fc40514d4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
b7e4e10618614aa8af5dec078a9784e50f9c9917 14-Oct-2016 Adrian Roos <roosa@google.com> Separate ambient display triggers

Allows configuring notification and sensor triggers
separately. Introduces a helper class that hosts the
logic for determining what kinds of triggers a device
supports.

Bug: 32073185
Change-Id: Ie7e8eb6b895dcc54e6f972e70642c7248b9e223a
Test: disable "ambient display", sensor triggers should still work
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
7294c115fd33a9259bf584092a1131dbeccf04bd 20-Sep-2016 Adrian Roos <roosa@google.com> DozeService: Seperate double tap and pickup

Adds handling for a separate double tap gesture
and allows enabling double tap and pickup
individually.

Test: Turn screen off, toggle gestures with `adb shell settings put secure doze_pulse_on_pick_up 0/1` and `adb shell settings put secure doze_pulse_on_double_tap 0/1`
Bug: 30595437
Change-Id: Id7b79f90b28429cf321544a3e425cf33c575d1c3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
d13602f1e72377466ec90bce8a46084ea5877df1 22-Aug-2016 Adrian Roos <roosa@google.com> Ambient: Pulse for every noisy notification exactly once

Also increases the pulse duration and switches timing to
elapsed realtime instead of wall time for robustness. Also
remove triggering for notification light for simplifying code.
Only noisy notifications are able to trigger the light anyway and
noisy notifications already trigger ambient on their own.

Change-Id: I4efbe530bb1a60cabaa46c2b04bcd5e12cdef680
Fixes: 31004875
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
5753f05e85aa26fb370260e3dcfd44a27f8e43de 13-Jul-2016 Adrian Roos <roosa@google.com> Doze: Add config for fine grained proximity checks

Bug: 29619338
Change-Id: Ic9ff7fc78f47873858881c1a4ac14bc2b834ab84
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
bb998c927c5a908664e4508f736226e9025ac84b 22-Sep-2015 Selim Cinek <cinek@google.com> Extended the maximum pulsing duration when dozing

Change-Id: Ib0f4cb4c7a011ce6df4100189b79ed4c2476c2c6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
50ff3afb01f2ac4a93dba418a71d54ad8adeba9d 13-Aug-2015 Jorim Jaggi <jjaggi@google.com> Start pulse fading exactly when screen is turned on

Bug: 23163299
Change-Id: I0f6d5dbfa02e455292e06a4f8f69ab68e9da2b6b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
f5d250deecc4ce79ef8a74f1c4eb76e268556115 02-Dec-2014 John Spurlock <jspurlock@google.com> Doze: Fast path for pickup pulses.

Decrease the pulse duration when pulsing for pickup.
Add an option to skip the proximity check entirely, but don't
turn it on yet.

Bug: 18373928
Change-Id: I54f8dee004229193a18d488759bf797a16470cab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
686e4d57d8679ad4759ce872181294444a324638 21-Nov-2014 John Spurlock <jspurlock@google.com> Doze: Make proximity check configurable.

Default to true, but make it available for overlay or setting
at runtime.

Bug: 18373928
Change-Id: I6abc1924ea0f03620f4683dc055f64ede5782809
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
cfaec4862e5f07879ec5e83f2f0445ca02d38e00 29-Oct-2014 Jorim Jaggi <jjaggi@google.com> Follow up to I495ce480c25de24b6433adebdfe923b637d98f66

Bug: 18146441
Change-Id: Ifaa7ca6b4a1c6f084112b7420f999b80b173604c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
16423aa0c6d1f5a8e9abd294d876933d44361fbc 28-Oct-2014 Jorim Jaggi <jjaggi@google.com> Improve doze transitions

This change animates the status bar and the bottom area when exiting
doze mode from touch. We also prevent all animations when exiting
from other means, i.e. usually when the power button is pressed, so
we don't have a distracting animation there. In addition, this also
optimizes the scrim animations a bit in terms of interpolation and
duration to make the experience smoother and cleans up some logic.

Bug: 18146441
Bug: 17717584
Change-Id: I495ce480c25de24b6433adebdfe923b637d98f66
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
50a8ea6ec2a41cee05d1509f10c795d6b3bb90a8 16-Sep-2014 John Spurlock <jspurlock@google.com> Doze: Workaround vibration-related pickup gestures.

Ensure the pickup is registered a safe period of time after the
last notification before resetting the notification pulse schedule.

Bug:17496795
Change-Id: I0edc9bcbdf078cbf55df5935744a3eee7e902b5d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
190d026167401ed593924dd12ab6e134e2d08e94 14-Sep-2014 John Spurlock <jspurlock@google.com> Doze: Aggressively dial down notification-related pulses.

When dozing and buzz-worthy notifications arrive, don't follow
the LED logic with periodic pulses.

Instead, follow a simple decay schedule after the initial arrival,
pulsing only at 10s, 30s, 60s, and 120s.

The schedule is reset when a new notification arrives, but only
for the first three times, until either the pickup sensor is
triggered or the device exits doze.

Also:
- Make the notification trigger configurable.
- Centralize existing sysprop configuration into DozeParameters.
- Decouple vibration from debugging, make separately configurable.
- Remove "delayed" pulse concept, fold into new schedule.

Bug:17496795
Change-Id: I64fc1c862bcfa1c288a4fd91c9d17e3bff245add
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java
d06aa570374ecfe5c707140a12a309b1b7c07e08 10-Sep-2014 John Spurlock <jspurlock@google.com> Doze: Introduce a pulse period function.

Instead of pulsing every 30 seconds to mimic the LED, use
a function that pulses more frequently for new notifications,
decaying to a slower pulse, and eventually stopping.

Specifically, the step function for the interval is:
- 10 seconds for the first minute
- then 30 seconds until the five minute mark
- then 60 seconds until the 30 minute mark
- then no pulsing at all

- Since we pulse more frequently on new notifications, remove
the "multi-pulse" concept.
- Move all doze-related duration parameters to a new helper,
backed by config, overridable by sysprops, include in dump.
- Wake up from dozing when hitting volume keys during a pulse.
-
Bug:17393939
Change-Id: Ica86f08b25c738338fced165c77faf3dfccd0343
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java