Home
last modified time | relevance | path

Searched refs:clampAbsoluteBrightness (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java270 final int screenBrightnessSettingMinimum = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
273 mScreenBrightnessDozeConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
276 mScreenBrightnessDimConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
279 mScreenBrightnessDarkConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
326 int bottom = clampAbsoluteBrightness(screenBrightness[0]); in DisplayPowerController()
1144 return (float)clampAbsoluteBrightness(value) / PowerManager.BRIGHTNESS_ON; in normalizeAbsoluteBrightness()
1147 private static int clampAbsoluteBrightness(int value) { in clampAbsoluteBrightness() method
/frameworks/base/core/java/android/service/dreams/
DDreamService.java755 brightness = clampAbsoluteBrightness(brightness); in setDozeScreenBrightness()
1070 private static int clampAbsoluteBrightness(int value) { in clampAbsoluteBrightness() method in DreamService