summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJosh Tsuji <tsuji@google.com>2021-07-01 22:32:51 -0400
committerJosh Tsuji <tsuji@google.com>2021-07-02 09:21:46 -0700
commitf0bc45fba09e9183ad6bdc75207b05eb33b02e72 (patch)
treebcbfef4d0fc87e87d94201cff4c68e8fdd33065e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta52ca6db467997e8a90f864b5ff4ced4417a44ba (diff)
Clamp brightness to dim value if we're timing out and playing the screen off animation.
This is the value PowerManager uses to dim the screen just before timeout, per https://source.corp.google.com/sc-dev/frameworks/base/core/res/res/values/config.xml;l=1349?q=config_screenBrightnessDim. Fixes: 190581215 Test: watch the screen off, no brightness jump Change-Id: I54856416dae1270c4379cb0547712edeba02b204
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions