Home
last modified time | relevance | path

Searched refs:primaryRefreshRateRange (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java94 Truth.assertThat(modeSpecs.primaryRefreshRateRange.min).isEqualTo(0f); in testDisplayModeVoting()
95 Truth.assertThat(modeSpecs.primaryRefreshRateRange.max).isEqualTo(Float.POSITIVE_INFINITY); in testDisplayModeVoting()
116 Truth.assertThat(modeSpecs.primaryRefreshRateRange.min) in testDisplayModeVoting()
118 Truth.assertThat(modeSpecs.primaryRefreshRateRange.max) in testDisplayModeVoting()
136 Truth.assertThat(modeSpecs.primaryRefreshRateRange.min).isEqualTo(70f); in testDisplayModeVoting()
137 Truth.assertThat(modeSpecs.primaryRefreshRateRange.max).isEqualTo(80f); in testDisplayModeVoting()
156 Truth.assertThat(desiredSpecs.primaryRefreshRateRange.min).isWithin(FLOAT_TOLERANCE).of(60); in testVotingWithFloatingPointErrors()
157 Truth.assertThat(desiredSpecs.primaryRefreshRateRange.max).isWithin(FLOAT_TOLERANCE).of(60); in testVotingWithFloatingPointErrors()
175 Truth.assertThat(desiredSpecs.primaryRefreshRateRange.min).isWithin(FLOAT_TOLERANCE).of(60); in testBrightnessHasLowerPriorityThanUser()
176 Truth.assertThat(desiredSpecs.primaryRefreshRateRange.max).isWithin(FLOAT_TOLERANCE).of(60); in testBrightnessHasLowerPriorityThanUser()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java605 public final RefreshRateRange primaryRefreshRateRange; field in DisplayModeDirector.DesiredDisplayModeSpecs
615 primaryRefreshRateRange = new RefreshRateRange(); in DesiredDisplayModeSpecs()
620 @NonNull RefreshRateRange primaryRefreshRateRange, in DesiredDisplayModeSpecs() argument
623 this.primaryRefreshRateRange = primaryRefreshRateRange; in DesiredDisplayModeSpecs()
634 baseModeId, primaryRefreshRateRange.min, primaryRefreshRateRange.max, in toString()
655 if (!primaryRefreshRateRange.equals(desiredDisplayModeSpecs.primaryRefreshRateRange)) { in equals()
667 return Objects.hash(baseModeId, primaryRefreshRateRange, appRequestRefreshRateRange); in hashCode()
675 primaryRefreshRateRange.min = other.primaryRefreshRateRange.min; in copyFrom()
676 primaryRefreshRateRange.max = other.primaryRefreshRateRange.max; in copyFrom()
DLocalDisplayAdapter.java311 || mDisplayModeSpecs.primaryRefreshRateRange.min in updateDisplayConfigsLocked()
313 || mDisplayModeSpecs.primaryRefreshRateRange.max in updateDisplayConfigsLocked()
807 mDisplayModeSpecs.primaryRefreshRateRange.min, in setDesiredDisplayModeSpecsLocked()
808 mDisplayModeSpecs.primaryRefreshRateRange.max, in setDesiredDisplayModeSpecsLocked()