Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerState.java313 float brightnessState = mScreenState != Display.STATE_OFF
315 if (mPhotonicModulator.setState(mScreenState, brightnessState)) {
365 public boolean setState(int state, float brightnessState) { in setState() argument
369 brightnessState, mPendingBacklight); in setState()
373 + Display.stateToString(state) + ", backlight=" + brightnessState); in setState()
377 mPendingBacklight = brightnessState; in setState()
409 final float brightnessState; in run() local
414 brightnessState = mPendingBacklight; in run()
416 brightnessState, mActualBacklight); in run()
432 mActualBacklight = brightnessState; in run()
[all …]
DDisplayPowerController.java793 float brightnessState = PowerManager.BRIGHTNESS_INVALID_FLOAT; in updatePowerState() local
807 brightnessState = mPowerRequest.dozeScreenBrightness; in updatePowerState()
860 brightnessState = PowerManager.BRIGHTNESS_OFF_FLOAT; in updatePowerState()
866 brightnessState = mScreenBrightnessForVr; in updatePowerState()
870 if ((Float.isNaN(brightnessState)) in updatePowerState()
872 brightnessState = mPowerRequest.screenBrightnessOverride; in updatePowerState()
883 && Float.isNaN(brightnessState) in updatePowerState()
891 brightnessState = mTemporaryScreenBrightness; in updatePowerState()
919 && brightnessState != PowerManager.BRIGHTNESS_OFF_FLOAT) { in updatePowerState()
920 brightnessState = PowerManager.BRIGHTNESS_MAX; in updatePowerState()
[all …]
DLocalDisplayAdapter.java587 public Runnable requestDisplayStateLocked(final int state, final float brightnessState) { in requestDisplayStateLocked() argument
590 brightnessState, PowerManager.BRIGHTNESS_OFF_FLOAT); in requestDisplayStateLocked()
593 mBrightnessState, brightnessState)) in requestDisplayStateLocked()
606 mBrightnessState = brightnessState; in requestDisplayStateLocked()
647 setDisplayBrightness(brightnessState); in requestDisplayStateLocked()
DDisplayManagerService.java554 private void requestGlobalDisplayStateInternal(int state, float brightnessState) { in requestGlobalDisplayStateInternal() argument
559 brightnessState = PowerManager.BRIGHTNESS_OFF_FLOAT; in requestGlobalDisplayStateInternal()
560 } else if (brightnessState != PowerManager.BRIGHTNESS_OFF_FLOAT in requestGlobalDisplayStateInternal()
561 && brightnessState < PowerManager.BRIGHTNESS_MIN) { in requestGlobalDisplayStateInternal()
562 brightnessState = PowerManager.BRIGHTNESS_INVALID_FLOAT; in requestGlobalDisplayStateInternal()
563 } else if (brightnessState > PowerManager.BRIGHTNESS_MAX) { in requestGlobalDisplayStateInternal()
564 brightnessState = PowerManager.BRIGHTNESS_MAX; in requestGlobalDisplayStateInternal()
574 && mGlobalDisplayBrightness == brightnessState) { in requestGlobalDisplayStateInternal()
580 + ", brightness=" + brightnessState + ")"); in requestGlobalDisplayStateInternal()
582 mGlobalDisplayBrightness = brightnessState; in requestGlobalDisplayStateInternal()
DDisplayDevice.java155 public Runnable requestDisplayStateLocked(int state, float brightnessState) { in requestDisplayStateLocked() argument
DVirtualDisplayAdapter.java294 public Runnable requestDisplayStateLocked(int state, float brightnessState) { in requestDisplayStateLocked() argument