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.java273 final int screenBrightnessSettingMinimum = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
276 mScreenBrightnessDozeConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
279 mScreenBrightnessDimConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
282 mScreenBrightnessDarkConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
346 int bottom = clampAbsoluteBrightness(screenBrightness[0]); in DisplayPowerController()
1209 return (float)clampAbsoluteBrightness(value) / PowerManager.BRIGHTNESS_ON; in normalizeAbsoluteBrightness()
1212 private static int clampAbsoluteBrightness(int value) { in clampAbsoluteBrightness() method
/frameworks/base/core/java/android/service/dreams/
DDreamService.java774 brightness = clampAbsoluteBrightness(brightness); in setDozeScreenBrightness()
1089 private static int clampAbsoluteBrightness(int value) { in clampAbsoluteBrightness() method in DreamService