Searched refs:convertLinearToGammaFloat (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/display/ |
D | BrightnessUtilsTest.java | 40 assertThat(BrightnessUtils.convertLinearToGammaFloat(MIN_FLOAT, MIN_FLOAT, MAX_FLOAT)) in linearToGamma_minValue_shouldReturnMin() 48 assertThat(BrightnessUtils.convertLinearToGammaFloat(MAX_FLOAT, MIN_FLOAT, MAX_FLOAT)) in linearToGamma_maxValue_shouldReturnGammaSpaceMax()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | BrightnessUtils.java | 118 return convertLinearToGammaFloat((float) val, (float) min, (float) max); in convertLinearToGamma() 129 public static final int convertLinearToGammaFloat(float val, float min, float max) { in convertLinearToGammaFloat() method in BrightnessUtils
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/ |
D | BrightnessController.java | 21 import static com.android.settingslib.display.BrightnessUtils.convertLinearToGammaFloat; 417 final int sliderVal = convertLinearToGammaFloat(brightnessValue, min, max); in updateSlider()
|