summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2018-01-16 18:04:59 +0000
committerMichael Wright <michaelwr@google.com>2018-01-24 15:55:05 +0000
commitd846023804ddadcd692666152db420c54594ddb9 (patch)
tree65bce750e8661cc9018553c882bfb2ecd760da95 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentac9a7c05c2451692df2928c116e34d2e450637a3 (diff)
Slider always represents absolute brightness
Currently the slider represents a gamma adjustment to the brightness curve when auto brightness is enabled and the absolute screen brightness when it's not. This is a fairly confusing behavior to most people, so this consolidates them to a single behavior: the slider always represents the current brightness and auto-brightness will automatically adjust it. This also moves a bunch of the brightness methods from PowerManager over to DisplayManager, since it's really the DisplayPowerController that's responsible for determining and setting the display brightness. Test: atest com.android.server.display.BrightnessMappingStrategyTest Bug: 69406898 Change-Id: I73b5982809a94cd50d563426a72d7965e923c994
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions