Searched refs:MAX_BRIGHTNESS (Results 1 – 1 of 1) sorted by relevance
45 public static final int MAX_BRIGHTNESS = 100; field in PowerHalService405 int brightness = v.value.int32Values.get(0) * MAX_BRIGHTNESS / maxBrightness; in dispatchEvents()409 } else if (brightness > MAX_BRIGHTNESS) { in dispatchEvents()411 + MAX_BRIGHTNESS); in dispatchEvents()412 brightness = MAX_BRIGHTNESS; in dispatchEvents()