Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.cpp87 std::vector<DisplayModeIterator> sortedModes; in sortByRefreshRate() local
88 sortedModes.reserve(modes.size()); in sortByRefreshRate()
90 sortedModes.push_back(it); in sortByRefreshRate()
93 std::sort(sortedModes.begin(), sortedModes.end(), [](auto it1, auto it2) { in sortByRefreshRate()
104 return sortedModes; in sortByRefreshRate()
129 bool shouldEnableFrameRateOverride(const std::vector<DisplayModeIterator>& sortedModes) { in shouldEnableFrameRateOverride() argument
130 for (const auto it1 : sortedModes) { in shouldEnableFrameRateOverride()
132 for (const auto it2 : sortedModes) { in shouldEnableFrameRateOverride()
1300 const auto sortedModes = sortByRefreshRate(mDisplayModes); in updateDisplayModes() local
1301 mMinRefreshRateModeIt = sortedModes.front(); in updateDisplayModes()
[all …]