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.java271 final int screenBrightnessSettingMinimum = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
274 mScreenBrightnessDozeConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
277 mScreenBrightnessDimConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
280 mScreenBrightnessDarkConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
336 int bottom = clampAbsoluteBrightness(screenBrightness[0]); in DisplayPowerController()
1186 return (float)clampAbsoluteBrightness(value) / PowerManager.BRIGHTNESS_ON; in normalizeAbsoluteBrightness()
1189 private static int clampAbsoluteBrightness(int value) { in clampAbsoluteBrightness() method
/frameworks/base/core/java/android/service/dreams/
DDreamService.java773 brightness = clampAbsoluteBrightness(brightness); in setDozeScreenBrightness()
1088 private static int clampAbsoluteBrightness(int value) { in clampAbsoluteBrightness() method in DreamService