Searched refs:convertToNits (Results 1 – 4 of 4) sorted by relevance
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
H A D | BrightnessMappingStrategyTest.java | 250 assertEquals(DISPLAY_RANGE_NITS[0], strategy.convertToNits(BACKLIGHT_RANGE_ZERO_TO_ONE[0]), in testPhysicalStrategyRecalculateSplines() 252 assertEquals(DISPLAY_RANGE_NITS[1], strategy.convertToNits(BACKLIGHT_RANGE_ZERO_TO_ONE[1]), in testPhysicalStrategyRecalculateSplines() 258 strategy.convertToNits(BACKLIGHT_RANGE_ZERO_TO_ONE[0]), 0.0001f /* tolerance */); in testPhysicalStrategyRecalculateSplines() 260 strategy.convertToNits(BACKLIGHT_RANGE_ZERO_TO_ONE[1]), 0.0001f /* tolerance */); in testPhysicalStrategyRecalculateSplines() 264 assertEquals(DISPLAY_RANGE_NITS[0], strategy.convertToNits(BACKLIGHT_RANGE_ZERO_TO_ONE[0]), in testPhysicalStrategyRecalculateSplines() 266 assertEquals(DISPLAY_RANGE_NITS[1], strategy.convertToNits(BACKLIGHT_RANGE_ZERO_TO_ONE[1]), in testPhysicalStrategyRecalculateSplines()
|
/aosp12/frameworks/base/services/core/java/com/android/server/display/ |
H A D | BrightnessMappingStrategy.java | 264 public abstract float convertToNits(float brightness); in convertToNits() method in BrightnessMappingStrategy 598 public float convertToNits(float brightness) { in convertToNits() method in BrightnessMappingStrategy.SimpleMappingStrategy 814 public float convertToNits(float brightness) { in convertToNits() method in BrightnessMappingStrategy.PhysicalMappingStrategy
|
H A D | DisplayPowerController.java | 846 final float brightness = convertToNits(mPowerState.getScreenBrightness()); in initialize() 2142 final float brightnessInNits = convertToNits(brightness); in notifyBrightnessChanged() 2157 private float convertToNits(float brightness) { in convertToNits() method 2159 return mBrightnessMapper.convertToNits(brightness); in convertToNits()
|
/aosp12/frameworks/base/services/ |
H A D | art-profile | 17497 HSPLcom/android/server/display/BrightnessMappingStrategy$PhysicalMappingStrategy;->convertToNits(F)… 18224 HSPLcom/android/server/display/DisplayPowerController;->convertToNits(F)F+]Lcom/android/server/disp…
|