Searched refs:lux1 (Results 1 – 2 of 2) sorted by relevance
111 float lux1 = 100.0f; in testNoHysteresisAtMinBrightness() local114 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMinBrightness()115 .thenReturn(lux1); in testNoHysteresisAtMinBrightness()116 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMinBrightness()117 .thenReturn(lux1); in testNoHysteresisAtMinBrightness()118 when(mBrightnessMappingStrategy.getBrightness(eq(lux1), eq(null), anyInt())) in testNoHysteresisAtMinBrightness()128 listener.onSensorChanged(TestUtils.createSensorEvent(lightSensor, (int) lux1)); in testNoHysteresisAtMinBrightness()158 float lux1 = 100.0f; in testNoHysteresisAtMaxBrightness() local160 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()161 .thenReturn(lux1); 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()