Home
last modified time | relevance | path

Searched refs:maxRenderFrameRate (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/mode/
DVoteSummary.java37 public float maxRenderFrameRate; field in VoteSummary
114 maxRenderFrameRate = Math.max(maxRenderFrameRate, otherSummary.maxRenderFrameRate); in limitRefreshRanges()
185 maxRenderFrameRate = Math.min(maxRenderFrameRate, fps); in disableModeSwitching()
193 minRenderFrameRate = maxRenderFrameRate; in disableRenderRateSwitching()
196 minRenderFrameRate = maxRenderFrameRate = fps; in disableRenderRateSwitching()
243 || refreshRate > (maxRenderFrameRate + FLOAT_TOLERANCE)) { in validateModeWithinRenderRefreshRange()
248 + ", maxRenderFrameRate=" + maxRenderFrameRate in validateModeWithinRenderRefreshRange()
264 + ", maxRenderFrameRate=" + maxRenderFrameRate in validateModeRenderRateAchievable()
318 (int) Math.ceil((physicalRefreshRate / maxRenderFrameRate) in isRenderRateAchievable()
325 if (minRenderFrameRate > maxRenderFrameRate + FLOAT_TOLERANCE) { in isValid()
[all …]
DRefreshRateVote.java71 summary.maxRenderFrameRate = Math.min(summary.maxRenderFrameRate, mMaxRefreshRate); in updateSummary()
108 summary.maxRenderFrameRate = Math.min(summary.maxRenderFrameRate, mMaxRefreshRate); in updateSummary()
DDisplayModeDirector.java418 primarySummary.maxRenderFrameRate = Math.max(baseMode.getRefreshRate(), in getDesiredDisplayModeSpecs()
419 primarySummary.maxRenderFrameRate); in getDesiredDisplayModeSpecs()
420 appRequestSummary.maxRenderFrameRate = Math.max(baseMode.getRefreshRate(), in getDesiredDisplayModeSpecs()
421 appRequestSummary.maxRenderFrameRate); in getDesiredDisplayModeSpecs()
432 primarySummary.maxRenderFrameRate)), in getDesiredDisplayModeSpecs()
439 appRequestSummary.maxRenderFrameRate)), in getDesiredDisplayModeSpecs()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DPhysicalVoteTest.kt80 fun `updates maxRenderFrameRate if summary has more`() { in updates maxRenderFrameRate if summary has more()
82 summary.maxRenderFrameRate = 120f in updates maxRenderFrameRate if summary has more()
86 assertThat(summary.maxRenderFrameRate).isEqualTo(MAX_REFRESH_RATE) in updates maxRenderFrameRate if summary has more()
90 fun `does not update maxRenderFrameRate if summary has less`() { in does not update maxRenderFrameRate if summary has less()
92 summary.maxRenderFrameRate = 75f in does not update maxRenderFrameRate if summary has less()
96 assertThat(summary.maxRenderFrameRate).isEqualTo(75f) in does not update maxRenderFrameRate if summary has less()
DRenderVoteTest.kt61 fun `updates maxRenderFrameRate if summary has more`() { in updates maxRenderFrameRate if summary has more()
63 summary.maxRenderFrameRate = 120f in updates maxRenderFrameRate if summary has more()
67 assertThat(summary.maxRenderFrameRate).isEqualTo(MAX_REFRESH_RATE) in updates maxRenderFrameRate if summary has more()
71 fun `does not update maxRenderFrameRate if summary has less`() { in does not update maxRenderFrameRate if summary has less()
73 summary.maxRenderFrameRate = 75f in does not update maxRenderFrameRate if summary has less()
77 assertThat(summary.maxRenderFrameRate).isEqualTo(75f) in does not update maxRenderFrameRate if summary has less()
DVoteSummaryTest.kt161 summary.maxRenderFrameRate = 120f in summary invalid if has requestedRefreshRate less than minRenederRate()
169 fun `summary invalid if has requestedRefreshRate more than maxRenderFrameRate`() { in summary invalid if has requestedRefreshRate more than maxRenderFrameRate()
173 summary.maxRenderFrameRate = 120f in summary invalid if has requestedRefreshRate more than maxRenderFrameRate()
185 summary.maxRenderFrameRate = 120f in summary valid if all requestedRefreshRates inside render rate limits()
204 summary.maxRenderFrameRate = Float.POSITIVE_INFINITY in createSummary()