Home
last modified time | relevance | path

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

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DBrightnessClamperControllerTest.java171 when(mMockClamper.getCustomAnimationRate()).thenReturn(customAnimationRate); in testClamp_inactiveClamperNotApplied()
183 assertEquals(-1, state.getCustomAnimationRate(), FLOAT_TOLERANCE); in testClamp_inactiveClamperNotApplied()
195 when(mMockClamper.getCustomAnimationRate()).thenReturn(customAnimationRate); in testClamp_activeClamperApplied_brightnessAboveMax()
207 assertEquals(customAnimationRate, state.getCustomAnimationRate(), FLOAT_TOLERANCE); in testClamp_activeClamperApplied_brightnessAboveMax()
219 when(mMockClamper.getCustomAnimationRate()).thenReturn(customAnimationRate); in testClamp_activeClamperApplied_brightnessBelowMax()
231 assertEquals(customAnimationRate, state.getCustomAnimationRate(), FLOAT_TOLERANCE); in testClamp_activeClamperApplied_brightnessBelowMax()
243 when(mMockClamper.getCustomAnimationRate()).thenReturn(customAnimationRate); in testClamp_activeClamperAppliedTwoTimes_keepsSlowChange()
258 assertEquals(customAnimationRate, state.getCustomAnimationRate(), FLOAT_TOLERANCE); in testClamp_activeClamperAppliedTwoTimes_keepsSlowChange()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayBrightnessState.java61 mCustomAnimationRate = builder.getCustomAnimationRate(); in DisplayBrightnessState()
128 public float getCustomAnimationRate() { in getCustomAnimationRate() method in DisplayBrightnessState
209 && mCustomAnimationRate == otherState.getCustomAnimationRate() in equals()
270 builder.setCustomAnimationRate(state.getCustomAnimationRate()); in from()
425 public float getCustomAnimationRate() { in getCustomAnimationRate() method in DisplayBrightnessState.Builder
DDisplayPowerController.java1364 float customAnimationRate = displayBrightnessState.getCustomAnimationRate(); in updatePowerStateInternal()
1557 customAnimationRate = Math.max(customAnimationRate, clampedState.getCustomAnimationRate()); in updatePowerStateInternal()
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DBrightnessClamper.java52 float getCustomAnimationRate() { in getCustomAnimationRate() method in BrightnessClamper
DBrightnessClamperController.java267 customAnimationRate = minClamper.getCustomAnimationRate(); in recalculateBrightnessCap()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayBrightnessStateTest.java107 .append(displayBrightnessState.getCustomAnimationRate()) in getString()
/frameworks/base/services/
Dart-wear-profile10099 PLcom/android/server/display/DisplayBrightnessState$Builder;->getCustomAnimationRate()F
10122 PLcom/android/server/display/DisplayBrightnessState;->getCustomAnimationRate()F