Home
last modified time | relevance | path

Searched refs:bestRefreshRate (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java101 float bestRefreshRate = defaultMode.getRefreshRate(); in findLowRefreshRateMode() local
102 mMinSupportedRefreshRate = bestRefreshRate; in findLowRefreshRateMode()
103 mMaxSupportedRefreshRate = bestRefreshRate; in findLowRefreshRateMode()
108 if (refreshRates[i] >= 60f && refreshRates[i] < bestRefreshRate) { in findLowRefreshRateMode()
109 bestRefreshRate = refreshRates[i]; in findLowRefreshRateMode()
112 return displayInfo.findDefaultModeByRefreshRate(bestRefreshRate); in findLowRefreshRateMode()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.cpp516 const DisplayModePtr& bestRefreshRate = maxVoteLayers > 0 in getBestRefreshRateLocked() local
529 return {bestRefreshRate, kNoSignals}; in getBestRefreshRateLocked()
552 bestRefreshRate->getFps() < touchRefreshRate->getFps()) { in getBestRefreshRateLocked()
557 return {bestRefreshRate, kNoSignals}; in getBestRefreshRateLocked()
664 const DisplayModePtr& bestRefreshRate = in getFrameRateOverrides() local
667 frameRateOverrides.emplace(uid, bestRefreshRate->getFps()); in getFrameRateOverrides()