Searched refs:convertLinearToGammaFloat (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/display/ |
D | BrightnessUtilsTest.java | 40 assertThat(BrightnessUtils.convertLinearToGammaFloat(MIN_FLOAT, MIN_FLOAT, MAX_FLOAT)) in linearToGamma_minValue_shouldReturnMin() 48 assertThat(BrightnessUtils.convertLinearToGammaFloat(MAX_FLOAT, MIN_FLOAT, MAX_FLOAT)) in linearToGamma_maxValue_shouldReturnGammaSpaceMax()
|
/frameworks/base/packages/SettingsLib/DisplayUtils/src/com/android/settingslib/display/ |
D | BrightnessUtils.java | 119 return convertLinearToGammaFloat((float) val, (float) min, (float) max); in convertLinearToGamma() 130 public static final int convertLinearToGammaFloat(float val, float min, float max) { in convertLinearToGammaFloat() method in BrightnessUtils
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/domain/interactor/ |
D | ScreenBrightnessInteractorTest.kt | 73 .isEqualTo(BrightnessUtils.convertLinearToGammaFloat(brightness, min, max)) in gammaBrightness() 94 .isEqualTo(BrightnessUtils.convertLinearToGammaFloat(brightness, min, max)) in gammaBrightness_constrained()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/ui/viewmodel/ |
D | BrightnessSliderViewModelTest.kt | 79 BrightnessUtils.convertLinearToGammaFloat( in brightnessChangeInRepository_changeInFlow() 91 BrightnessUtils.convertLinearToGammaFloat( in brightnessChangeInRepository_changeInFlow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/domain/interactor/ |
D | ScreenBrightnessInteractor.kt | 103 BrightnessUtils.convertLinearToGammaFloat(floatValue, min.floatValue, max.floatValue) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/ |
D | BrightnessController.java | 21 import static com.android.settingslib.display.BrightnessUtils.convertLinearToGammaFloat; 432 final int sliderVal = convertLinearToGammaFloat(brightnessValue, min, max); in updateSlider()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/ |
D | AccessibilityMenuService.java | 329 int gamma = BrightnessUtils.convertLinearToGammaFloat( in adjustBrightness()
|