summaryrefslogtreecommitdiff
path: root/wifi/java/src
diff options
context:
space:
mode:
author Piotr Wilczyński <wilczynskip@google.com> 2023-03-21 13:53:17 +0000
committer Piotr Wilczyński <wilczynskip@google.com> 2023-04-18 15:51:59 +0000
commit12ec62cb43531ad794efa2750996fb81c875af0e (patch)
tree5e5ed381ecf29f35a753865e127a27fa6460827a /wifi/java/src
parent766ec400f26c4c5ea661d8dcdb10fdb87505a3c3 (diff)
Keep the adjusted and unadjusted spline in BrightnessMappingStrategy
When RBC is applied, the spline in BMS is adjusted. In these situations, we should use the unadjusted spline for nit conversion: - persisting the nits value between displays (ag/21508452): it's easier to store the unadjusted nit value than the adjusted one and changing it when RBC is turned off - passing the nit value to follower displays: we should let each display apply its own adjustments In all other situations, we continue to use the adjusted spline. Bug: 273650471 Test: atest BrightnessMappingStrategyTest Test: atest DisplayBrightnessControllerTest Test: atest DisplayPowerControllerTest Test: atest DisplayPowerController2Test Change-Id: I3853feab7974163aff3ea5e7cd80cc5a8e307d15
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions