Home
last modified time | relevance | path

Searched refs:normalizedBrightness1 (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java211 float normalizedBrightness1 = 0.02f; in testNoHysteresisAtMinBrightness() local
217 .thenReturn(normalizedBrightness1); in testNoHysteresisAtMinBrightness()
222 when(mScreenBrightnessThresholds.getBrighteningThreshold(normalizedBrightness1)) in testNoHysteresisAtMinBrightness()
227 assertEquals(normalizedBrightness1, mController.getAutomaticScreenBrightness(), EPSILON); in testNoHysteresisAtMinBrightness()
254 float normalizedBrightness1 = 0.98f; in testNoHysteresisAtMaxBrightness() local
260 .thenReturn(normalizedBrightness1); in testNoHysteresisAtMaxBrightness()
265 when(mScreenBrightnessThresholds.getBrighteningThreshold(normalizedBrightness1)) in testNoHysteresisAtMaxBrightness()
270 assertEquals(normalizedBrightness1, mController.getAutomaticScreenBrightness(), EPSILON); in testNoHysteresisAtMaxBrightness()