Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/
H A DAutomaticBrightnessControllerTest.java135 float lux1 = 100.0f; in testNoHysteresisAtMinBrightness() local
138 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMinBrightness()
139 .thenReturn(lux1); in testNoHysteresisAtMinBrightness()
140 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMinBrightness()
141 .thenReturn(lux1); in testNoHysteresisAtMinBrightness()
142 when(mBrightnessMappingStrategy.getBrightness(eq(lux1), eq(null), anyInt())) in testNoHysteresisAtMinBrightness()
182 float lux1 = 100.0f; in testNoHysteresisAtMaxBrightness() local
184 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()
185 .thenReturn(lux1); in testNoHysteresisAtMaxBrightness()
186 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayModeDirector.java2066 private boolean isDifferentZone(float lux1, float lux2, int[] luxThresholds) { in isDifferentZone() argument
2070 if ((lux1 <= boundary && lux2 > boundary) in isDifferentZone()
2071 || (lux1 > boundary && lux2 <= boundary)) { in isDifferentZone()