Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.cpp681 : mKnownFrameRates(constructKnownFrameRates(modes)), mConfig(config) { in RefreshRateConfigs()
871 if (frameRate.lessThanOrEqualWithMargin(*mKnownFrameRates.begin())) { in findClosestKnownFrameRate()
872 return *mKnownFrameRates.begin(); in findClosestKnownFrameRate()
875 if (frameRate.greaterThanOrEqualWithMargin(*std::prev(mKnownFrameRates.end()))) { in findClosestKnownFrameRate()
876 return *std::prev(mKnownFrameRates.end()); in findClosestKnownFrameRate()
879 auto lowerBound = std::lower_bound(mKnownFrameRates.begin(), mKnownFrameRates.end(), frameRate, in findClosestKnownFrameRate()
DRefreshRateConfigs.h438 const std::vector<Fps> mKnownFrameRates; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp63 return refreshRateConfigs.mKnownFrameRates; in getKnownFrameRate()