Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/
DBrightnessSynchronizer.java86 public static float brightnessIntToFloat(Context context, int brightnessInt) { in brightnessIntToFloat() argument
99 return brightnessIntToFloat(brightnessInt, minBrightnessInt, maxBrightnessInt, in brightnessIntToFloat()
106 public static float brightnessIntToFloat(int brightnessInt, int minInt, int maxInt, in brightnessIntToFloat() argument
108 if (brightnessInt == PowerManager.BRIGHTNESS_OFF) { in brightnessIntToFloat()
110 } else if (brightnessInt == PowerManager.BRIGHTNESS_INVALID) { in brightnessIntToFloat()
114 brightnessInt); in brightnessIntToFloat()
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java321 int brightnessInt = BrightnessSynchronizer.brightnessFloatToInt( in setBrightness() local
323 int color = brightnessInt & 0x000000ff; in setBrightness()