Home
last modified time | relevance | path

Searched refs:brightnessFloatToInt (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/util/
DBrightnessUtilsTest.java83 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()
/packages/services/Car/service/src/com/android/car/util/
DBrightnessUtils.java153 public static int brightnessFloatToInt(float brightnessFloat) { in brightnessFloatToInt() method in BrightnessUtils
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DBrightnessSlider.java147 int linear = BrightnessSynchronizer.brightnessFloatToInt(linearFloat); in getSeekbarValue()
/packages/services/Car/service/src/com/android/car/systeminterface/
DDisplayInterface.java251 int linear = BrightnessUtils.brightnessFloatToInt( in refreshDisplayBrightnessFromDisplay()