Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.cpp97 std::vector<DisplayModeIterator> sortedModes; in sortByRefreshRate() local
98 sortedModes.reserve(modes.size()); in sortByRefreshRate()
105 sortedModes.push_back(it); in sortByRefreshRate()
109 std::sort(sortedModes.begin(), sortedModes.end(), [](auto it1, auto it2) { in sortByRefreshRate()
120 return sortedModes; in sortByRefreshRate()
123 bool canModesSupportFrameRateOverride(const std::vector<DisplayModeIterator>& sortedModes) { in canModesSupportFrameRateOverride() argument
124 for (const auto it1 : sortedModes) { in canModesSupportFrameRateOverride()
126 for (const auto it2 : sortedModes) { in canModesSupportFrameRateOverride()
780 const auto sortedModes = in updateDisplayModes() local
782 mMinRefreshRateModeIt = sortedModes.front(); in updateDisplayModes()
[all …]