Searched refs:lux1 (Results 1 – 2 of 2) sorted by relevance
135 float lux1 = 100.0f; in testNoHysteresisAtMinBrightness() local138 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMinBrightness()139 .thenReturn(lux1); in testNoHysteresisAtMinBrightness()140 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMinBrightness()141 .thenReturn(lux1); in testNoHysteresisAtMinBrightness()142 when(mBrightnessMappingStrategy.getBrightness(eq(lux1), eq(null), anyInt())) in testNoHysteresisAtMinBrightness()182 float lux1 = 100.0f; in testNoHysteresisAtMaxBrightness() local184 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()185 .thenReturn(lux1); in testNoHysteresisAtMaxBrightness()186 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()[all …]
2066 private boolean isDifferentZone(float lux1, float lux2, int[] luxThresholds) { in isDifferentZone() argument2070 if ((lux1 <= boundary && lux2 > boundary) in isDifferentZone()2071 || (lux1 > boundary && lux2 <= boundary)) { in isDifferentZone()