Home
last modified time | relevance | path

Searched refs:BRIGHTNESS_ON (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java126 (float) DISPLAY_LEVELS_BACKLIGHT[i] / PowerManager.BRIGHTNESS_ON; in testSimpleStrategyMappingAtControlPoints()
139 final float backlight = simple.getBrightness(lux) * PowerManager.BRIGHTNESS_ON; in testSimpleStrategyMappingBetweenControlPoints()
153 final float[] nits = { 0, PowerManager.BRIGHTNESS_ON }; in testSimpleStrategyIgnoresNewConfiguration()
170 (float) DISPLAY_LEVELS_BACKLIGHT[N - 1] / PowerManager.BRIGHTNESS_ON; in testSimpleStrategyIgnoresNullConfiguration()
198 final float backlight = physical.getBrightness(lux) * PowerManager.BRIGHTNESS_ON; in testPhysicalStrategyMappingBetweenControlPoints()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java244 PowerManager.BRIGHTNESS_OFF, PowerManager.BRIGHTNESS_ON); in normalizeAbsoluteBrightness()
245 return (float) brightness / PowerManager.BRIGHTNESS_ON; in normalizeAbsoluteBrightness()
599 PowerManager.BRIGHTNESS_OFF, PowerManager.BRIGHTNESS_ON, "backlight"); in PhysicalMappingStrategy()
DDisplayPowerState.java88 mScreenBrightness = PowerManager.BRIGHTNESS_ON; in DisplayPowerState()
DDisplayPowerController.java828 brightness = PowerManager.BRIGHTNESS_ON; in updatePowerState()
845 mLastUserSetScreenBrightness / (float) PowerManager.BRIGHTNESS_ON, in updatePowerState()
1729 return MathUtils.constrain(value, PowerManager.BRIGHTNESS_OFF, PowerManager.BRIGHTNESS_ON); in clampAbsoluteBrightness()
DAutomaticBrightnessController.java662 clampScreenBrightness(Math.round(value * PowerManager.BRIGHTNESS_ON)); in updateAutoBrightness()
DDisplayManagerService.java504 } else if (brightness > PowerManager.BRIGHTNESS_ON) { in requestGlobalDisplayStateInternal()
505 brightness = PowerManager.BRIGHTNESS_ON; in requestGlobalDisplayStateInternal()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java77 assertTrue(mServiceFake.screenBrightness <= PowerManager.BRIGHTNESS_ON); in testInitialize_setsScreenBrightnessToValidValue()
/frameworks/base/core/java/android/os/
DPowerManager.java285 public static final int BRIGHTNESS_ON = 255; field in PowerManager
/frameworks/base/core/java/android/service/dreams/
DDreamService.java1146 return MathUtils.constrain(value, PowerManager.BRIGHTNESS_OFF, PowerManager.BRIGHTNESS_ON); in clampAbsoluteBrightness()
/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java995 return (int)(value * PowerManager.BRIGHTNESS_ON); in toBrightnessOverride()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java4626 || screenBrightness > PowerManager.BRIGHTNESS_ON) { in setScreenBrightnessOverrideFromWindowManager()
4648 || screenBrightness > PowerManager.BRIGHTNESS_ON) { in setDozeOverrideFromDreamManager()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt4140 Landroid/os/PowerManager;->BRIGHTNESS_ON:I