Home
last modified time | relevance | path

Searched refs:BRIGHTNESS_MAX (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessThrottlerTest.java120 PowerManager.BRIGHTNESS_MAX + EPSILON)); in testBrightnessThrottlingData()
158 assertEquals(PowerManager.BRIGHTNESS_MAX, throttler.getBrightnessCap(), 0f); in testThrottlingUnsupported()
179 assertEquals(PowerManager.BRIGHTNESS_MAX, throttler.getBrightnessCap(), 0f); in testThrottlingSingleLevel()
210 assertEquals(PowerManager.BRIGHTNESS_MAX, throttler.getBrightnessCap(), 0f); in testThrottlingSingleLevel()
237 assertEquals(PowerManager.BRIGHTNESS_MAX, throttler.getBrightnessCap(), 0f); in testThrottlingMultiLevel()
292 assertEquals(PowerManager.BRIGHTNESS_MAX, throttler.getBrightnessCap(), 0f); in testThrottlingMultiLevel()
315 assertEquals(PowerManager.BRIGHTNESS_MAX, throttler.getBrightnessCap(), 0f); in testUpdateThrottlingData()
334 assertEquals(PowerManager.BRIGHTNESS_MAX, throttler.getBrightnessCap(), 0f); in testUpdateThrottlingData()
359 testThrottling(throttler, listener, PowerManager.BRIGHTNESS_MAX, 0.25f); in testInvalidThrottlingStrings()
361 testThrottling(throttler, listener, PowerManager.BRIGHTNESS_MAX, 0.25f); in testInvalidThrottlingStrings()
[all …]
DBrightnessMappingStrategyTest.java166 PowerManager.BRIGHTNESS_MAX, DISPLAY_LEVELS_BACKLIGHT[i]); in testSimpleStrategyMappingAtControlPoints()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessThrottler.java68 private float mBrightnessCap = PowerManager.BRIGHTNESS_MAX;
127 mBrightnessCap = PowerManager.BRIGHTNESS_MAX; in stop()
162 if (brightness > PowerManager.BRIGHTNESS_MAX) { in verifyAndConstrainBrightnessCap()
164 + "brightness " + PowerManager.BRIGHTNESS_MAX); in verifyAndConstrainBrightnessCap()
165 brightness = PowerManager.BRIGHTNESS_MAX; in verifyAndConstrainBrightnessCap()
183 float brightnessCap = PowerManager.BRIGHTNESS_MAX; in updateThrottling()
330 if (value < PowerManager.BRIGHTNESS_MIN || value > PowerManager.BRIGHTNESS_MAX) { in parseBrightness()
DDisplayDeviceConfig.java1607 mBacklightMaximum = PowerManager.BRIGHTNESS_MAX; in initFromDefaultValues()
1609 mBrightnessRampFastDecrease = PowerManager.BRIGHTNESS_MAX; in initFromDefaultValues()
1610 mBrightnessRampFastIncrease = PowerManager.BRIGHTNESS_MAX; in initFromDefaultValues()
1611 mBrightnessRampSlowDecrease = PowerManager.BRIGHTNESS_MAX; in initFromDefaultValues()
1612 mBrightnessRampSlowIncrease = PowerManager.BRIGHTNESS_MAX; in initFromDefaultValues()
2169 PowerManager.BRIGHTNESS_MIN, PowerManager.BRIGHTNESS_MAX, mBacklight[i]); in createBacklightConversionSplines()
2927 if (level.brightness > PowerManager.BRIGHTNESS_MAX) { in create()
2930 + PowerManager.BRIGHTNESS_MAX); in create()
DDisplayPowerController.java1118 PowerManager.BRIGHTNESS_MIN, PowerManager.BRIGHTNESS_MAX, dozeScaleFactor, in setUpAutoBrightness()
1471 brightnessState = PowerManager.BRIGHTNESS_MAX; in updatePowerState()
1987 displayUniqueId, PowerManager.BRIGHTNESS_MIN, PowerManager.BRIGHTNESS_MAX, hbmData, in createHbmControllerLocked()
2177 && brightness <= PowerManager.BRIGHTNESS_MAX;
2911 PowerManager.BRIGHTNESS_MAX);
2946 float hbmTransitionPoint = PowerManager.BRIGHTNESS_MAX;
2988 event.thermalMax == PowerManager.BRIGHTNESS_MAX
3082 hbmMax = PowerManager.BRIGHTNESS_MAX;
3086 thermalMax = PowerManager.BRIGHTNESS_MAX;
DDisplayPowerState.java92 mScreenBrightness = (displayState != Display.STATE_OFF) ? PowerManager.BRIGHTNESS_MAX in DisplayPowerState()
DBrightnessMappingStrategy.java830 PowerManager.BRIGHTNESS_MIN, PowerManager.BRIGHTNESS_MAX, "brightness"); in PhysicalMappingStrategy()
1110 if (hbmTransition < PowerManager.BRIGHTNESS_MAX) { in dumpConfigDiff()
DDisplayManagerService.java767 } else if (brightnessState > PowerManager.BRIGHTNESS_MAX) { in clampBrightness()
768 brightnessState = PowerManager.BRIGHTNESS_MAX; in clampBrightness()
3619 && (brightness <= PowerManager.BRIGHTNESS_MAX); in isValidBrightness()
DLocalDisplayAdapter.java713 mInfo.brightnessMaximum = PowerManager.BRIGHTNESS_MAX; in getDisplayDeviceInfoLocked()
/frameworks/base/core/java/com/android/internal/display/
DBrightnessSynchronizer.java143 final float maxFloat = PowerManager.BRIGHTNESS_MAX; in brightnessIntToFloat()
170 final float maxFloat = PowerManager.BRIGHTNESS_MAX; in brightnessFloatToIntRange()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java160 return PowerManager.BRIGHTNESS_MAX; in getBrightnessConstraint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessController.java102 private float mBrightnessMax = PowerManager.BRIGHTNESS_MAX;
/frameworks/base/core/java/android/os/
DPowerManager.java276 public static final float BRIGHTNESS_MAX = 1.0f; field in PowerManager
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3546 return value >= PowerManager.BRIGHTNESS_MIN && value <= PowerManager.BRIGHTNESS_MAX;
6571 || screenBrightness > PowerManager.BRIGHTNESS_MAX) {
/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java917 || mScreenBrightnessOverride > PowerManager.BRIGHTNESS_MAX in performSurfacePlacementNoTrace()