Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/display/
DBrightnessUtilsTest.java45 assertThat(BrightnessUtils.convertGammaToLinear(MIN, MIN, MAX)).isEqualTo(MIN); in gammaToLinear_minValue_shouldReturnMin()
50 assertThat(BrightnessUtils.convertGammaToLinear(GAMMA_SPACE_MAX, MIN, MAX)).isEqualTo(MAX); in gammaToLinear_gammaSpaceValue_shouldReturnMax()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DBrightnessUtils.java53 public static final int convertGammaToLinear(int val, int min, int max) { in convertGammaToLinear() method in BrightnessUtils
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java20 import static com.android.settingslib.display.BrightnessUtils.convertGammaToLinear;
364 final int val = convertGammaToLinear(value, min, max); in onChanged()
424 if (val == convertGammaToLinear(mControl.getValue(), min, max)) { in updateSlider()