Home
last modified time | relevance | path

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

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java212 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMinBrightness()
222 when(mScreenBrightnessThresholds.getBrighteningThreshold(normalizedBrightness1)) in testNoHysteresisAtMinBrightness()
232 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux2)) in testNoHysteresisAtMinBrightness()
255 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()
265 when(mScreenBrightnessThresholds.getBrighteningThreshold(normalizedBrightness1)) in testNoHysteresisAtMaxBrightness()
276 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux2)) in testNoHysteresisAtMaxBrightness()
714 assertEquals(1.5f, hysteresisLevels.getBrighteningThreshold(0.0f), EPSILON);
720 assertEquals(20000f, hysteresisLevels.getBrighteningThreshold(10000.0f), EPSILON * 2);
724 assertEquals(748.5f, hysteresisLevels.getBrighteningThreshold(499f), EPSILON);
728 assertEquals(1000f, hysteresisLevels.getBrighteningThreshold(500f), EPSILON);
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java759 mAmbientBrightnessThresholdsIdle.getBrighteningThreshold(lux); in setAmbientLux()
764 mAmbientBrightnessThresholds.getBrighteningThreshold(lux); in setAmbientLux()
997 mScreenBrightnessThresholdsIdle.getBrighteningThreshold( in updateAutoBrightness()
1004 mScreenBrightnessThresholds.getBrighteningThreshold( in updateAutoBrightness()
/frameworks/base/services/core/java/com/android/server/display/config/
DHysteresisLevels.java134 public float getBrighteningThreshold(float value) { in getBrighteningThreshold() method in HysteresisLevels