Home
last modified time | relevance | path

Searched refs:newLux (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java551 float[] newLux = lux; in getAdjustedCurve() local
554 PLOG.logCurve("unadjusted curve", newLux, newBrightness); in getAdjustedCurve()
568 PLOG.logCurve("gamma adjusted curve", newLux, newBrightness); in getAdjustedCurve()
571 Pair<float[], float[]> curve = insertControlPoint(newLux, newBrightness, userLux, in getAdjustedCurve()
573 newLux = curve.first; in getAdjustedCurve()
576 PLOG.logCurve("gamma and user adjusted curve", newLux, newBrightness); in getAdjustedCurve()
582 return Pair.create(newLux, newBrightness); in getAdjustedCurve()
DDisplayDeviceConfig.java2813 int newLux = point.getLux().intValue(); in validateIdleScreenRefreshRateTimeoutConfig() local
2814 if (previousLux >= newLux) { in validateIdleScreenRefreshRateTimeoutConfig()
2824 previousLux = newLux; in validateIdleScreenRefreshRateTimeoutConfig()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java833 int newLux = 2000;
834 listener.onSensorChanged(TestUtils.createSensorEvent(mLightSensor, newLux,
844 assertEquals(newLux, sensorValues[1], EPSILON);
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java2626 int newLux = point.getLux().intValue(); in updateIdleScreenRefreshRate() local
2627 if (newLux <= ambientLux) { in updateIdleScreenRefreshRate()