Searched refs:BACKLIGHT_RANGE_ZERO_TO_ONE (Results 1 – 2 of 2) sorted by relevance
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
H A D | BrightnessMappingStrategyTest.java | 92 private static final float[] BACKLIGHT_RANGE_ZERO_TO_ONE = { 0.0f, 1.0f }; field in BrightnessMappingStrategyTest 200 DisplayDeviceConfig ddc = createDdc(DISPLAY_RANGE_NITS, BACKLIGHT_RANGE_ZERO_TO_ONE); in testPhysicalStrategyMappingBetweenControlPoints() 204 Spline.createSpline(BACKLIGHT_RANGE_ZERO_TO_ONE, DISPLAY_RANGE_NITS); in testPhysicalStrategyMappingBetweenControlPoints() 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() 353 DisplayDeviceConfig ddc = createDdc(DISPLAY_RANGE_NITS, BACKLIGHT_RANGE_ZERO_TO_ONE); in testStrategiesAdaptToUserDataPoint() [all …]
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/ |
H A D | LocalDisplayAdapterTest.java | 108 private static final float[] BACKLIGHT_RANGE_ZERO_TO_ONE = { 0.0f, 1.0f }; field in LocalDisplayAdapterTest 133 .thenReturn(BACKLIGHT_RANGE_ZERO_TO_ONE[0]); in setUp() 136 .thenReturn(BACKLIGHT_RANGE_ZERO_TO_ONE[1]); in setUp()
|