Searched refs:brightnessFloatToInt (Results 1 – 4 of 4) sorted by relevance
83 assertThat(BrightnessUtils.brightnessFloatToInt(MIN_FLOAT)).isEqualTo(MIN_INT); in brightnessFloatToInt_shouldReturnMin()88 assertThat(BrightnessUtils.brightnessFloatToInt(MAX_FLOAT)).isEqualTo(MAX_BACKLIGHT); in brightnessFloatToInt_shouldReturnMax()98 assertThat(BrightnessUtils.brightnessFloatToInt(0.5f)).isEqualTo(128); in testBrightnessFloatToInt()
153 public static int brightnessFloatToInt(float brightnessFloat) { in brightnessFloatToInt() method in BrightnessUtils
147 int linear = BrightnessSynchronizer.brightnessFloatToInt(linearFloat); in getSeekbarValue()
251 int linear = BrightnessUtils.brightnessFloatToInt( in refreshDisplayBrightnessFromDisplay()