Home
last modified time | relevance | path

Searched refs:linearBrightness (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/data/repository/
DScreenBrightnessDisplayManagerRepositoryTest.kt95 val brightness by collectLastValue(underTest.linearBrightness) in startingBrightnessInfo()
114 val brightness by collectLastValue(underTest.linearBrightness) in followsChangingBrightnessInfo()
154 val brightness by collectLastValue(underTest.linearBrightness) in minMaxWhenCollecting()
/frameworks/base/core/java/com/android/internal/display/
DBrightnessSynchronizer.java319 float linearBrightness = BrightnessUtils.convertGammaToLinear(userPerceptionBrightness); in brightnessIntSettingToFloat() local
330 return MathUtils.lerp(info.brightnessMinimum, info.brightnessMaximum, linearBrightness); in brightnessIntSettingToFloat()
357 float linearBrightness = in brightnessFloatToIntSetting() local
361 float userPerceptionBrightness = BrightnessUtils.convertLinearToGamma(linearBrightness); in brightnessFloatToIntSetting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/data/repository/
DScreenBrightnessRepository.kt59 val linearBrightness: Flow<LinearBrightness> constant
176 override val linearBrightness = in getMinMaxLinearBrightness() constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/brightness/data/repository/
DFakeScreenBrightnessRepository.kt36 override val linearBrightness = brightnessInfo.map { LinearBrightness(it.brightness) } in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/domain/interactor/
DScreenBrightnessInteractor.kt61 linearBrightness, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/domain/interactor/
DScreenBrightnessInteractorTest.kt128 val brightness by collectLastValue(fakeScreenBrightnessRepository.linearBrightness) in setBrightness()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3607 float linearBrightness = mDisplayManager.getBrightness(screenDisplayId);
3609 float gammaBrightness = BrightnessUtils.convertLinearToGamma(linearBrightness);