Lines Matching refs:screenBrightness
2319 int screenBrightness = mScreenBrightnessSettingDefault;
2329 screenBrightness = mScreenBrightnessForVrSetting;
2332 screenBrightness = mScreenBrightnessOverrideFromWindowManager;
2336 screenBrightness = mTemporaryScreenBrightnessSettingOverride;
2338 screenBrightness = mScreenBrightnessSetting;
2341 screenBrightness = mScreenBrightnessSettingDefault;
2351 screenBrightness = Math.max(Math.min(screenBrightness,
2357 mDisplayPowerRequest.screenBrightness = screenBrightness;
3111 int screenState, int screenBrightness) {
3114 || mDozeScreenBrightnessOverrideFromDreamManager != screenBrightness) {
3116 mDozeScreenBrightnessOverrideFromDreamManager = screenBrightness;
4665 public void setScreenBrightnessOverrideFromWindowManager(int screenBrightness) {
4666 if (screenBrightness < PowerManager.BRIGHTNESS_DEFAULT
4667 || screenBrightness > PowerManager.BRIGHTNESS_ON) {
4668 screenBrightness = PowerManager.BRIGHTNESS_DEFAULT;
4670 setScreenBrightnessOverrideFromWindowManagerInternal(screenBrightness);
4674 public void setDozeOverrideFromDreamManager(int screenState, int screenBrightness) {
4687 if (screenBrightness < PowerManager.BRIGHTNESS_DEFAULT
4688 || screenBrightness > PowerManager.BRIGHTNESS_ON) {
4689 screenBrightness = PowerManager.BRIGHTNESS_DEFAULT;
4691 setDozeOverrideFromDreamManagerInternal(screenState, screenBrightness);