Home
last modified time | relevance | path

Searched refs:currentBrightnessSetting (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/brightness/
DDisplayBrightnessController.java582 float currentBrightnessSetting = Float.NaN; in loadNitBasedBrightnessSetting() local
591 currentBrightnessSetting = brightnessForDefaultDisplay; in loadNitBasedBrightnessSetting()
596 if (Float.isNaN(currentBrightnessSetting)) { in loadNitBasedBrightnessSetting()
597 currentBrightnessSetting = getScreenBrightnessSetting(); in loadNitBasedBrightnessSetting()
601 mCurrentScreenBrightness = currentBrightnessSetting; in loadNitBasedBrightnessSetting()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java1428 float currentBrightnessSetting = mDisplayBrightnessController.getCurrentBrightness(); in updatePowerStateInternal() local
1450 updateScreenBrightnessSetting = currentBrightnessSetting != brightnessState; in updatePowerStateInternal()
1522 rawBrightnessState = currentBrightnessSetting; in updatePowerStateInternal()
1524 if (brightnessState != currentBrightnessSetting) { in updatePowerStateInternal()