Lines Matching refs:modeIt
42 DisplayModeIterator modeIt; member
54 const auto& [modeIt, overallScore, _] = current; in getMaxScoreRefreshRate()
56 std::string name = to_string(modeIt->second->getFps()); in getMaxScoreRefreshRate()
65 return it->modeIt->second; in getMaxScoreRefreshRate()
374 for (const DisplayModeIterator modeIt : mAppRequestRefreshRates) { in getBestRefreshRateLocked() local
375 scores.emplace_back(RefreshRateScore{modeIt, 0.0f}); in getBestRefreshRateLocked()
388 for (auto& [modeIt, overallScore, fixedRateBelowThresholdLayersScore] : scores) { in getBestRefreshRateLocked()
389 const auto& [id, mode] = *modeIt; in getBestRefreshRateLocked()
492 const auto& [modeIt, overallScore, _] = current; in getBestRefreshRateLocked()
497 to_string(maxScoreIt->modeIt->second->getFps()).c_str(), in getBestRefreshRateLocked()
499 return maxScoreIt->modeIt->second->getFps() >= in getBestRefreshRateLocked()
504 for (auto& [modeIt, overallScore, fixedRateBelowThresholdLayersScore] : scores) { in getBestRefreshRateLocked()
509 ALOGV("%s adjusted overallScore is %.4f", to_string(modeIt->second->getFps()).c_str(), in getBestRefreshRateLocked()
608 const auto& mode1 = lhs.modeIt->second; in getFrameRateOverrides()
609 const auto& mode2 = rhs.modeIt->second; in getFrameRateOverrides()
640 for (auto& [modeIt, score, _] : scores) { in getFrameRateOverrides()
642 const auto layerScore = calculateLayerScoreLocked(*layer, modeIt->second->getFps(), in getFrameRateOverrides()
651 const auto& [id, mode] = *score.modeIt; in getFrameRateOverrides()
691 for (const DisplayModeIterator modeIt : mPrimaryRefreshRates) { in getMinRefreshRateByPolicyLocked() local
692 const auto& mode = modeIt->second; in getMinRefreshRateByPolicyLocked()
860 [modeId](DisplayModeIterator modeIt) { in isModeAllowed() argument
861 return modeIt->second->getId() == modeId; in isModeAllowed()
886 for (const auto modeIt : modes) { in constructAvailableRefreshRates() local
887 str += to_string(modeIt->second->getFps()); in constructAvailableRefreshRates()