Searched refs:convertGammaToLinear (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | BrightnessSliderTestCase.java | 21 import static com.android.settingslib.display.BrightnessUtils.convertGammaToLinear; 98 convertGammaToLinear(newValue, mMinimumBacklight, mMaximumBacklight)); in onNotifyChange_updatesBrightness() 117 return convertGammaToLinear(gamma, mMinimumBacklight, mMaximumBacklight); in getScreenBrightness()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/util/ |
D | BrightnessUtilsTest.java | 54 assertThat(BrightnessUtils.convertGammaToLinear(GAMMA_SPACE_MAX, MIN_INT, MAX_INT)) in gammaToLinear_gammaSpaceValue_shouldReturnMax() 67 assertThat(BrightnessUtils.convertGammaToLinear(53572, MIN_BACKLIGHT, MAX_BACKLIGHT)) in gammaToLinear_autoDefault()
|
/packages/apps/Car/Settings/src/com/android/car/settings/display/ |
D | BrightnessLevelPreferenceController.java | 25 import static com.android.settingslib.display.BrightnessUtils.convertGammaToLinear; 119 int linear = convertGammaToLinear(gamma, mMinimumBacklight, mMaximumBacklight); in handlePreferenceChanged()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | BrightnessSlider.java | 24 import static com.android.settingslib.display.BrightnessUtils.convertGammaToLinear; 102 int linear = convertGammaToLinear(value, mMinimumBacklight, mMaximumBacklight); in onNotifyChange()
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | DisplayInterface.java | 25 import static com.android.car.util.BrightnessUtils.convertGammaToLinear; 316 int linear = convertGammaToLinear(gamma, mMinimumBacklight, mMaximumBacklight); in setDisplayBrightness()
|
/packages/services/Car/service/src/com/android/car/util/ |
D | BrightnessUtils.java | 66 public static final int convertGammaToLinear(int val, int min, int max) { in convertGammaToLinear() method in BrightnessUtils
|