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.java72 float bestRefreshRate = mode.getRefreshRate(); in findLowRefreshRateMode() local
74 if (refreshRates[i] >= 60f && refreshRates[i] < bestRefreshRate) { in findLowRefreshRateMode()
75 bestRefreshRate = refreshRates[i]; in findLowRefreshRateMode()
78 return displayInfo.findDefaultModeByRefreshRate(bestRefreshRate); in findLowRefreshRateMode()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.cpp433 const RefreshRate* bestRefreshRate = maxVoteLayers > 0 in getBestRefreshRateLocked() local
446 return *bestRefreshRate; in getBestRefreshRateLocked()
466 bestRefreshRate->fps.lessThanWithMargin(touchRefreshRate.fps)) { in getBestRefreshRateLocked()
472 return *bestRefreshRate; in getBestRefreshRateLocked()
576 const RefreshRate* bestRefreshRate = getBestRefreshRate(scores.begin(), scores.end()); in getFrameRateOverrides() local
577 frameRateOverrides.emplace(uid, bestRefreshRate->getFps()); in getFrameRateOverrides()
586 const RefreshRate* bestRefreshRate = begin->refreshRate; in getBestRefreshRate() local
596 bestRefreshRate = refreshRate; in getBestRefreshRate()
600 return bestRefreshRate; in getBestRefreshRate()