summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFiona Campbell <flc@google.com>2020-07-29 11:40:30 +0100
committerFiona Campbell <flc@google.com>2020-07-29 11:44:35 +0100
commit06d0c27a547d70a7ae34a5652ad13754cd8a86bc (patch)
tree6edcdc94d7aac38cbdc1b7cbdfce55356a44d224 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent2d727a0cf104b4021429a5962d8e157896f5e54f (diff)
Simplify BrightnessSynchronizer
Using the 0.0-1.0 scale for these operations is equivalent to using a constrained scale. Therefore using the hardcoded PowerManager values is more efficient. The context parameter has also been removed from these methods since this is no longer necessary to get stored PowerManager values. Bug: 162398030 Test: manual - test with different brightness constraints. Change-Id: Ie18e73b6f1b3effdbaf7e35eab14d51034442d07
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions