Searched refs:maxGamma (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessMappingStrategy.java | 519 protected float inferAutoBrightnessAdjustment(float maxGamma, float desiredBrightness, in inferAutoBrightnessAdjustment() argument 537 adjustment = -MathUtils.log(gamma) / MathUtils.log(maxGamma); in inferAutoBrightnessAdjustment() 541 Slog.d(TAG, "inferAutoBrightnessAdjustment: " + maxGamma + "^" + -adjustment + "=" + in inferAutoBrightnessAdjustment() 542 MathUtils.pow(maxGamma, -adjustment) + " == " + gamma); in inferAutoBrightnessAdjustment() 550 float userLux, float userBrightness, float adjustment, float maxGamma) { in getAdjustedCurve() argument 557 float gamma = MathUtils.pow(maxGamma, -adjustment); in getAdjustedCurve() 559 Slog.d(TAG, "getAdjustedCurve: " + maxGamma + "^" + -adjustment + "=" + in getAdjustedCurve() 560 MathUtils.pow(maxGamma, -adjustment) + " == " + gamma); in getAdjustedCurve() 608 private SimpleMappingStrategy(float[] lux, float[] brightness, float maxGamma, in SimpleMappingStrategy() argument 626 mMaxGamma = maxGamma; in SimpleMappingStrategy() [all …]
|
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/ |
D | GainmapMetadataEditor.kt | 65 private val maxGamma = 3.0f constant 159 ((currentMetadata.gamma - minGamma) / maxGamma * maxProgress).toInt()) in updateMetadataUi() 238 val newValue = minGamma + normalized * (maxGamma - minGamma) in updateGamma()
|