Home
last modified time | relevance | path

Searched refs:minRenderFrameRate (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/mode/
DVoteSummary.java36 public float minRenderFrameRate; field in VoteSummary
113 minRenderFrameRate = Math.min(minRenderFrameRate, otherSummary.minRenderFrameRate); in limitRefreshRanges()
193 minRenderFrameRate = maxRenderFrameRate; in disableRenderRateSwitching()
196 minRenderFrameRate = maxRenderFrameRate = fps; in disableRenderRateSwitching()
242 if (refreshRate < (minRenderFrameRate - FLOAT_TOLERANCE) in validateModeWithinRenderRefreshRange()
247 + ": minRenderFrameRate=" + minRenderFrameRate in validateModeWithinRenderRefreshRange()
263 + ": minRenderFrameRate=" + minRenderFrameRate in validateModeRenderRateAchievable()
321 return adjustedPhysicalRefreshRate >= (minRenderFrameRate - FLOAT_TOLERANCE); in isRenderRateAchievable()
325 if (minRenderFrameRate > maxRenderFrameRate + FLOAT_TOLERANCE) { in isValid()
328 + ": minRenderFrameRate=" + minRenderFrameRate in isValid()
[all …]
DRefreshRateVote.java70 summary.minRenderFrameRate = Math.max(summary.minRenderFrameRate, mMinRefreshRate); in updateSummary()
DDisplayModeDirector.java431 primarySummary.minRenderFrameRate, in getDesiredDisplayModeSpecs()
438 appRequestSummary.minRenderFrameRate, in getDesiredDisplayModeSpecs()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DRenderVoteTest.kt41 fun `updates minRenderFrameRate if summary has less`() { in updates minRenderFrameRate if summary has less()
43 summary.minRenderFrameRate = 45f in updates minRenderFrameRate if summary has less()
47 assertThat(summary.minRenderFrameRate).isEqualTo(MIN_REFRESH_RATE) in updates minRenderFrameRate if summary has less()
51 fun `does not update minRenderFrameRate if summary has more`() { in does not update minRenderFrameRate if summary has more()
53 summary.minRenderFrameRate = 75f in does not update minRenderFrameRate if summary has more()
57 assertThat(summary.minRenderFrameRate).isEqualTo(75f) in does not update minRenderFrameRate if summary has more()
DVoteSummaryTest.kt160 summary.minRenderFrameRate = 60f in summary invalid if has requestedRefreshRate less than minRenederRate()
172 summary.minRenderFrameRate = 60f in summary invalid if has requestedRefreshRate more than maxRenderFrameRate()
184 summary.minRenderFrameRate = 60f in summary valid if all requestedRefreshRates inside render rate limits()