Searched refs:mMaximumBacklight (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | BrightnessSliderTestCase.java | 44 private int mMaximumBacklight; field in BrightnessSliderTestCase 52 mMaximumBacklight = powerManager.getMaximumScreenBrightnessSetting(); in setUp() 69 convertLinearToGamma(getScreenBrightness(), mMinimumBacklight, mMaximumBacklight)); in getQCItem_createsSlider() local 98 convertGammaToLinear(newValue, mMinimumBacklight, mMaximumBacklight)); in onNotifyChange_updatesBrightness() 117 return convertGammaToLinear(gamma, mMinimumBacklight, mMaximumBacklight); in getScreenBrightness()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | BrightnessSlider.java | 54 private final int mMaximumBacklight; field in BrightnessSlider 66 mMaximumBacklight = powerManager.getMaximumScreenBrightnessSetting(); in BrightnessSlider() 102 int linear = convertGammaToLinear(value, mMinimumBacklight, mMaximumBacklight); in onNotifyChange() 148 gamma = convertLinearToGamma(linear, mMinimumBacklight, mMaximumBacklight); in getSeekbarValue() 154 gamma = convertLinearToGamma(linear, mMinimumBacklight, mMaximumBacklight); in getSeekbarValue()
|
/packages/apps/Car/Settings/src/com/android/car/settings/display/ |
D | BrightnessLevelPreferenceController.java | 64 final int mMaximumBacklight; field in BrightnessLevelPreferenceController 73 mMaximumBacklight = powerManager.getMaximumScreenBrightnessSetting(); in BrightnessLevelPreferenceController() 119 int linear = convertGammaToLinear(gamma, mMinimumBacklight, mMaximumBacklight); in handlePreferenceChanged() 128 gamma = convertLinearToGamma(linear, mMinimumBacklight, mMaximumBacklight); in getSeekbarValue()
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | DisplayInterface.java | 151 private final int mMaximumBacklight; field in DisplayInterface.DefaultImpl 202 mMaximumBacklight = PowerManagerHelper.getMaximumScreenBrightnessSetting(context); in DefaultImpl() 253 int gamma = convertLinearToGamma(linear, mMinimumBacklight, mMaximumBacklight); in refreshDisplayBrightnessFromDisplay() 266 gamma = convertLinearToGamma(linear, mMinimumBacklight, mMaximumBacklight); in refreshDisplayBrigtnessFromSetting() 316 int linear = convertGammaToLinear(gamma, mMinimumBacklight, mMaximumBacklight); in setDisplayBrightness()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/display/ |
D | BrightnessLevelPreferenceControllerTest.java | 86 mMax = mController.mMaximumBacklight; in setUp()
|