Home
last modified time | relevance | path

Searched refs:maxGamma (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
392 adjustment = -MathUtils.log(gamma) / MathUtils.log(maxGamma); in inferAutoBrightnessAdjustment()
396 Slog.d(TAG, "inferAutoBrightnessAdjustment: " + maxGamma + "^" + -adjustment + "=" + in inferAutoBrightnessAdjustment()
397 MathUtils.pow(maxGamma, -adjustment) + " == " + gamma); in inferAutoBrightnessAdjustment()
405 float userLux, float userBrightness, float adjustment, float maxGamma) { in getAdjustedCurve() argument
412 float gamma = MathUtils.pow(maxGamma, -adjustment); in getAdjustedCurve()
414 Slog.d(TAG, "getAdjustedCurve: " + maxGamma + "^" + -adjustment + "=" + in getAdjustedCurve()
415 MathUtils.pow(maxGamma, -adjustment) + " == " + gamma); in getAdjustedCurve()
459 public SimpleMappingStrategy(float[] lux, int[] brightness, float maxGamma) { in SimpleMappingStrategy() argument
476 mMaxGamma = maxGamma; in SimpleMappingStrategy()
[all …]