Searched refs:lux1 (Results 1 – 2 of 2) sorted by relevance
113 float lux1 = 100.0f; in testNoHysteresisAtMinBrightness() local115 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() local161 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()162 .thenReturn(lux1); in testNoHysteresisAtMaxBrightness()[all …]
1127 private boolean isDifferentZone(float lux1, float lux2) { in isDifferentZone() argument1133 if ((lux1 <= boundary && lux2 > boundary) in isDifferentZone()1134 || (lux1 > boundary && lux2 <= boundary)) { in isDifferentZone()