Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.cpp745 : mKnownFrameRates(constructKnownFrameRates(modes)), mConfig(config) { in RefreshRateConfigs()
904 if (frameRate <= mKnownFrameRates.front()) { in findClosestKnownFrameRate()
905 return mKnownFrameRates.front(); in findClosestKnownFrameRate()
908 if (frameRate >= mKnownFrameRates.back()) { in findClosestKnownFrameRate()
909 return mKnownFrameRates.back(); in findClosestKnownFrameRate()
912 auto lowerBound = std::lower_bound(mKnownFrameRates.begin(), mKnownFrameRates.end(), frameRate, in findClosestKnownFrameRate()
DRefreshRateConfigs.h395 const std::vector<Fps> mKnownFrameRates; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp59 const std::vector<Fps>& knownFrameRates() const { return mKnownFrameRates; } in knownFrameRates()