summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJosh Tsuji <tsuji@google.com>2021-10-04 15:23:59 -0400
committerJosh Tsuji <tsuji@google.com>2021-10-05 14:47:51 +0000
commitbb8219d84b2dcf91176674dabc856dc98fc03f7a (patch)
tree12904c5397179d25961ee59d3f470013403863f0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentf093f0d0dcff94a84b8b54a294eed6546db6269a (diff)
[DO NOT MERGE] Improve brightness handling during screen off timeout.
- 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. 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: I528a944e04f8906cd8c7740eea97dd8fba7c3d3e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions