Searched refs:BRIGHTNESS_ON (Results 1 – 12 of 12) 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()170 (float) DISPLAY_LEVELS_BACKLIGHT[N - 1] / PowerManager.BRIGHTNESS_ON; in testSimpleStrategyIgnoresNullConfiguration()198 final float backlight = physical.getBrightness(lux) * PowerManager.BRIGHTNESS_ON; in testPhysicalStrategyMappingBetweenControlPoints()
244 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()
88 mScreenBrightness = PowerManager.BRIGHTNESS_ON; in DisplayPowerState()
828 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()
662 clampScreenBrightness(Math.round(value * PowerManager.BRIGHTNESS_ON)); in updateAutoBrightness()
504 } else if (brightness > PowerManager.BRIGHTNESS_ON) { in requestGlobalDisplayStateInternal()505 brightness = PowerManager.BRIGHTNESS_ON; in requestGlobalDisplayStateInternal()
77 assertTrue(mServiceFake.screenBrightness <= PowerManager.BRIGHTNESS_ON); in testInitialize_setsScreenBrightnessToValidValue()
285 public static final int BRIGHTNESS_ON = 255; field in PowerManager
1146 return MathUtils.constrain(value, PowerManager.BRIGHTNESS_OFF, PowerManager.BRIGHTNESS_ON); in clampAbsoluteBrightness()
995 return (int)(value * PowerManager.BRIGHTNESS_ON); in toBrightnessOverride()
4626 || screenBrightness > PowerManager.BRIGHTNESS_ON) { in setScreenBrightnessOverrideFromWindowManager()4648 || screenBrightness > PowerManager.BRIGHTNESS_ON) { in setDozeOverrideFromDreamManager()
4140 Landroid/os/PowerManager;->BRIGHTNESS_ON:I