Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java113 float lux1 = 100.0f; in testNoHysteresisAtMinBrightness() local
115 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMinBrightness()
116 .thenReturn(lux1); in testNoHysteresisAtMinBrightness()
117 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMinBrightness()
118 .thenReturn(lux1); in testNoHysteresisAtMinBrightness()
119 when(mBrightnessMappingStrategy.getBrightness(eq(lux1), eq(null), anyInt())) in testNoHysteresisAtMinBrightness()
128 listener.onSensorChanged(TestUtils.createSensorEvent(lightSensor, (int) lux1)); in testNoHysteresisAtMinBrightness()
159 float lux1 = 100.0f; in testNoHysteresisAtMaxBrightness() local
161 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()
162 .thenReturn(lux1); in testNoHysteresisAtMaxBrightness()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java1127 private boolean isDifferentZone(float lux1, float lux2) { in isDifferentZone() argument
1133 if ((lux1 <= boundary && lux2 > boundary) in isDifferentZone()
1134 || (lux1 > boundary && lux2 <= boundary)) { in isDifferentZone()