Searched refs:lux2 (Results 1 – 2 of 2) sorted by relevance
132 float lux2 = 10.0f; in testNoHysteresisAtMinBrightness() local134 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux2)) in testNoHysteresisAtMinBrightness()135 .thenReturn(lux2); in testNoHysteresisAtMinBrightness()136 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux2)) in testNoHysteresisAtMinBrightness()137 .thenReturn(lux2); in testNoHysteresisAtMinBrightness()142 listener.onSensorChanged(TestUtils.createSensorEvent(lightSensor, (int) lux2)); in testNoHysteresisAtMinBrightness()179 float lux2 = 110.0f; in testNoHysteresisAtMaxBrightness() local181 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux2)) in testNoHysteresisAtMaxBrightness()182 .thenReturn(lux2); in testNoHysteresisAtMaxBrightness()183 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux2)) in testNoHysteresisAtMaxBrightness()[all …]
1402 private boolean isDifferentZone(float lux1, float lux2) { in isDifferentZone() argument1408 if ((lux1 <= boundary && lux2 > boundary) in isDifferentZone()1409 || (lux1 > boundary && lux2 <= boundary)) { in isDifferentZone()