Searched refs:newBrightness (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/services/core/java/com/android/server/display/ |
H A D | BrightnessMappingStrategy.java | 496 float newBrightness = MathUtils.constrain( in smoothCurve() local 498 if (newBrightness == currBrightness) { in smoothCurve() 502 prevBrightness = newBrightness; in smoothCurve() 503 brightness[i] = newBrightness; in smoothCurve() 512 float newBrightness = MathUtils.constrain( in smoothCurve() local 514 if (newBrightness == currBrightness) { in smoothCurve() 518 prevBrightness = newBrightness; in smoothCurve() 519 brightness[i] = newBrightness; in smoothCurve() 576 newBrightness[i] = MathUtils.pow(newBrightness[i], gamma); in getAdjustedCurve() 586 newBrightness = curve.second; in getAdjustedCurve() [all …]
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
H A D | ModifierShortcutTests.java | 197 float[] newBrightness = new float[]{0.065738f, 0.0275134f, 0.0f}; in testKeyCodeBrightnessDown() local 202 mPhoneWindowManager.verifyNewBrightness(newBrightness[i]); in testKeyCodeBrightnessDown()
|
H A D | TestPhoneWindowManager.java | 386 void verifyNewBrightness(float newBrightness) { in verifyNewBrightness() argument 388 AdditionalMatchers.eq(newBrightness, 0.001f)); in verifyNewBrightness()
|
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
H A D | DisplayPowerControllerTest.java | 1017 float newBrightness = 0.4f; in testBrightnessNitsPersistWhenDisplayDeviceChanges() local 1020 .thenReturn(newBrightness); in testBrightnessNitsPersistWhenDisplayDeviceChanges() 1029 verify(mHolder.animator, times(2)).animateTo(eq(newBrightness), anyFloat(), anyFloat()); in testBrightnessNitsPersistWhenDisplayDeviceChanges()
|
H A D | DisplayPowerController2Test.java | 1015 float newBrightness = 0.4f; in testBrightnessNitsPersistWhenDisplayDeviceChanges() local 1018 .thenReturn(newBrightness); in testBrightnessNitsPersistWhenDisplayDeviceChanges() 1027 verify(mHolder.animator, times(2)).animateTo(eq(newBrightness), anyFloat(), anyFloat()); in testBrightnessNitsPersistWhenDisplayDeviceChanges()
|