Searched refs:lux1 (Results 1 – 2 of 2) sorted by relevance
209 float lux1 = 100.0f; in testNoHysteresisAtMinBrightness() local212 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMinBrightness()213 .thenReturn(lux1); in testNoHysteresisAtMinBrightness()214 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMinBrightness()215 .thenReturn(lux1); in testNoHysteresisAtMinBrightness()216 when(mBrightnessMappingStrategy.getBrightness(eq(lux1), eq(null), anyInt())) in testNoHysteresisAtMinBrightness()226 listener.onSensorChanged(TestUtils.createSensorEvent(mLightSensor, (int) lux1)); in testNoHysteresisAtMinBrightness()253 float lux1 = 100.0f; in testNoHysteresisAtMaxBrightness() local255 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()256 .thenReturn(lux1); in testNoHysteresisAtMaxBrightness()[all …]
2576 private boolean isDifferentZone(float lux1, float lux2, float[] luxThresholds) { in isDifferentZone() argument2580 if ((lux1 <= boundary && lux2 > boundary) in isDifferentZone()2581 || (lux1 > boundary && lux2 <= boundary)) { in isDifferentZone()