Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DBrightnessSliderTestCase.java21 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/
DBrightnessUtilsTest.java54 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/
DBrightnessLevelPreferenceController.java25 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/
DBrightnessSlider.java24 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/
DDisplayInterface.java25 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/
DBrightnessUtils.java66 public static final int convertGammaToLinear(int val, int min, int max) { in convertGammaToLinear() method in BrightnessUtils