Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/systeminterface/
DDisplayInterface.java254 int percentBright = convertGammaToPercentBright(gamma); in refreshDisplayBrightnessFromDisplay() local
256 percentBright); in refreshDisplayBrightnessFromDisplay()
257 carPowerManagementService.sendDisplayBrightness(displayId, percentBright); in refreshDisplayBrightnessFromDisplay()
270 int percentBright = convertGammaToPercentBright(gamma); in refreshDisplayBrigtnessFromSetting() local
271 Slogf.i(TAG, "Refreshing percent brightness(from Setting) to %d", percentBright); in refreshDisplayBrigtnessFromSetting()
272 carPowerManagementService.sendDisplayBrightness(percentBright); in refreshDisplayBrigtnessFromSetting()
302 public void setDisplayBrightness(int percentBright) { in setDisplayBrightness() argument
303 setDisplayBrightness(DEFAULT_DISPLAY, percentBright); in setDisplayBrightness()
307 public void setDisplayBrightness(int displayId, int percentBright) { in setDisplayBrightness() argument
309 if (percentBright == mDisplayBrightnessSet.get(displayId)) { in setDisplayBrightness()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java3123 public void setDisplayBrightness(int displayId, int percentBright) { in setDisplayBrightness() argument
3125 if (percentBright == mDisplayBrightnessSet.get(displayId)) { in setDisplayBrightness()
3128 mDisplayBrightnessSet.put(displayId, percentBright); in setDisplayBrightness()