Searched refs:BRIGHTNESS_ON (Results 1 – 11 of 11) sorted by relevance
126 (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()
281 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()
88 mScreenBrightness = PowerManager.BRIGHTNESS_ON; in DisplayPowerState()
911 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()
729 clampScreenBrightness(Math.round(value * PowerManager.BRIGHTNESS_ON)); in updateAutoBrightness()
533 } else if (brightness > PowerManager.BRIGHTNESS_ON) { in requestGlobalDisplayStateInternal()534 brightness = PowerManager.BRIGHTNESS_ON; in requestGlobalDisplayStateInternal()
83 assertTrue(mServiceFake.screenBrightness <= PowerManager.BRIGHTNESS_ON); in testInitialize_setsScreenBrightnessToValidValue()
1156 return MathUtils.constrain(value, PowerManager.BRIGHTNESS_OFF, PowerManager.BRIGHTNESS_ON); in clampAbsoluteBrightness()
295 public static final int BRIGHTNESS_ON = 255; field in PowerManager
964 return (int)(value * PowerManager.BRIGHTNESS_ON); in toBrightnessOverride()
4865 || screenBrightness > PowerManager.BRIGHTNESS_ON) { in setScreenBrightnessOverrideFromWindowManager()4887 || screenBrightness > PowerManager.BRIGHTNESS_ON) { in setDozeOverrideFromDreamManager()