Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java374 protected float inferAutoBrightnessAdjustment(float maxGamma, float desiredBrightness, in inferAutoBrightnessAdjustment() argument
381 adjustment = (desiredBrightness - currentBrightness); in inferAutoBrightnessAdjustment()
383 } else if (desiredBrightness == 0) { in inferAutoBrightnessAdjustment()
386 } else if (desiredBrightness == 1) { in inferAutoBrightnessAdjustment()
390 gamma = MathUtils.log(desiredBrightness) / MathUtils.log(currentBrightness); in inferAutoBrightnessAdjustment()
399 MathUtils.pow(currentBrightness, gamma) + " == " + desiredBrightness); in inferAutoBrightnessAdjustment()