summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2017-11-21 17:57:52 +0000
committerMichael Wright <michaelwr@google.com>2017-12-07 17:10:26 +0000
commiteef0e13f018f33bf3db2f8311bbb429369e13394 (patch)
tree0023b8e4b3bfdbc3344c6f1c5677b56caa15bd46 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4d51f44535ff3935c0aabed0371dc988112b925b (diff)
Add an API for setting a new brightness curve.
In addition, this also provides multiple strategies for mapping from ambient room brightness in lux to display brightness. The default one is the classic strategy, where we map directly from lux to backlight brightness in an arbitrary unit. The newer and preferred strategy is to use the physical brightness of the display, but requires that the brightness properties of the display are appropriately configured. Bug: 69406783 Test: atest com.android.server.display.BrightnessMappingStrategyTest && atest android.hardware.display.BrightnessConfigurationTest && atest android.hardware.display.PersistentDataStoreTeset Change-Id: I60227bdb6c299d0fa92686cbf3e5994b336a3a79
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions