Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DBrightnessUtils.java59 final float normalizedRet = MathUtils.constrain(ret, 0, 12); in convertGammaToLinear() local
63 return normalizedRet / 12; in convertGammaToLinear()
/aosp14/frameworks/base/packages/SettingsLib/DisplayUtils/src/com/android/settingslib/display/
H A DBrightnessUtils.java89 final float normalizedRet = MathUtils.constrain(ret, 0, 12); in convertGammaToLinearFloat() local
93 return MathUtils.lerp(min, max, normalizedRet / 12); in convertGammaToLinearFloat()