Searched refs:convertLinearToGammaFloat (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/util/ |
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()
|
/packages/services/Car/service/src/com/android/car/util/ |
D | BrightnessUtils.java | 103 return convertLinearToGammaFloat((float) val, (float) min, (float) max); in convertLinearToGamma() 114 public static final int convertLinearToGammaFloat(float val, float min, float max) { in convertLinearToGammaFloat() method in BrightnessUtils
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | BrightnessLevelPreferenceController.java | 21 import static com.android.settingslib.display.BrightnessUtils.convertLinearToGammaFloat; 180 value = convertLinearToGammaFloat(info.brightness, info.brightnessMinimum, in getCurrentBrightness()
|