diff options
author | John Spurlock <jspurlock@google.com> | 2014-09-10 10:40:49 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-09-11 14:25:11 -0400 |
commit | d06aa570374ecfe5c707140a12a309b1b7c07e08 (patch) | |
tree | 10a9a3a54db44b5b7d2b1be0c5faf557f5b47c0c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 0ecb0c4397445984a5c5db4c31f1210fb9b594a1 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions