Home
last modified time | relevance | path

Searched refs:BRIGHTNESS_ON (Results 1 – 11 of 11) 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()
169 (float) DISPLAY_LEVELS_BACKLIGHT[N - 1] / PowerManager.BRIGHTNESS_ON; in testSimpleStrategyIgnoresNullConfiguration()
197 final float backlight = physical.getBrightness(lux) * PowerManager.BRIGHTNESS_ON; in testPhysicalStrategyMappingBetweenControlPoints()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java281 PowerManager.BRIGHTNESS_OFF, PowerManager.BRIGHTNESS_ON); in normalizeAbsoluteBrightness()
282 return (float) brightness / PowerManager.BRIGHTNESS_ON; in normalizeAbsoluteBrightness()
637 PowerManager.BRIGHTNESS_OFF, PowerManager.BRIGHTNESS_ON, "backlight"); in PhysicalMappingStrategy()
DDisplayPowerState.java88 mScreenBrightness = PowerManager.BRIGHTNESS_ON; in DisplayPowerState()
DDisplayPowerController.java911 brightness = PowerManager.BRIGHTNESS_ON; in updatePowerState()
929 mLastUserSetScreenBrightness / (float) PowerManager.BRIGHTNESS_ON, in updatePowerState()
1868 return MathUtils.constrain(value, PowerManager.BRIGHTNESS_OFF, PowerManager.BRIGHTNESS_ON); in clampAbsoluteBrightness()
DAutomaticBrightnessController.java729 clampScreenBrightness(Math.round(value * PowerManager.BRIGHTNESS_ON)); in updateAutoBrightness()
DDisplayManagerService.java533 } else if (brightness > PowerManager.BRIGHTNESS_ON) { in requestGlobalDisplayStateInternal()
534 brightness = PowerManager.BRIGHTNESS_ON; in requestGlobalDisplayStateInternal()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java83 assertTrue(mServiceFake.screenBrightness <= PowerManager.BRIGHTNESS_ON); in testInitialize_setsScreenBrightnessToValidValue()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java1156 return MathUtils.constrain(value, PowerManager.BRIGHTNESS_OFF, PowerManager.BRIGHTNESS_ON); in clampAbsoluteBrightness()
/frameworks/base/core/java/android/os/
DPowerManager.java295 public static final int BRIGHTNESS_ON = 255; field in PowerManager
/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java964 return (int)(value * PowerManager.BRIGHTNESS_ON); in toBrightnessOverride()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java4865 || screenBrightness > PowerManager.BRIGHTNESS_ON) { in setScreenBrightnessOverrideFromWindowManager()
4887 || screenBrightness > PowerManager.BRIGHTNESS_ON) { in setDozeOverrideFromDreamManager()