Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java375 float currentBrightness) { in inferAutoBrightnessAdjustment() argument
380 if (currentBrightness <= 0.1f || currentBrightness >= 0.9f) { in inferAutoBrightnessAdjustment()
381 adjustment = (desiredBrightness - currentBrightness); in inferAutoBrightnessAdjustment()
390 gamma = MathUtils.log(desiredBrightness) / MathUtils.log(currentBrightness); in inferAutoBrightnessAdjustment()
398 Slog.d(TAG, "inferAutoBrightnessAdjustment: " + currentBrightness + "^" + gamma + "=" + in inferAutoBrightnessAdjustment()
399 MathUtils.pow(currentBrightness, gamma) + " == " + desiredBrightness); in inferAutoBrightnessAdjustment()