Searched refs:BRIGHTNESS_ADJ_RESOLUTION (Results 1 – 1 of 1) sorted by relevance
45 private static final float BRIGHTNESS_ADJ_RESOLUTION = 2048; field in BrightnessController221 final float adj = value / (BRIGHTNESS_ADJ_RESOLUTION / 2f) - 1; in onChanged()292 mControl.setMax((int) BRIGHTNESS_ADJ_RESOLUTION); in updateSlider()293 mControl.setValue((int) ((value + 1) * BRIGHTNESS_ADJ_RESOLUTION / 2f)); in updateSlider()