Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h72 FpsRange primaryRange; member
89 Policy(DisplayModeId defaultMode, FpsRange primaryRange, FpsRange appRequestRange) in Policy()
90 : Policy(defaultMode, kAllowGroupSwitchingDefault, primaryRange, appRequestRange) {} in Policy()
92 Policy(DisplayModeId defaultMode, bool allowGroupSwitching, FpsRange primaryRange, in Policy()
96 primaryRange(primaryRange), in Policy()
101 return defaultMode == other.defaultMode && primaryRange == other.primaryRange &&
DRefreshRateConfigs.cpp143 to_string(primaryRange).c_str(), to_string(appRequestRange).c_str()); in toString()
349 isApproxEqual(policy->primaryRange.min, policy->primaryRange.max); in getBestRefreshRateLocked()
420 const bool inPrimaryRange = policy->primaryRange.includes(mode->getFps()); in getBestRefreshRateLocked()
798 if (!policy.primaryRange.includes(mode->get()->getFps())) { in isPolicyValidLocked()
808 return policy.appRequestRange.min <= policy.primaryRange.min && in isPolicyValidLocked()
809 policy.appRequestRange.max >= policy.primaryRange.max; in isPolicyValidLocked()
897 mPrimaryRefreshRates = filterRefreshRates(policy->primaryRange, "primary"); in constructAvailableRefreshRates()
937 isApproxLess(currentPolicy->primaryRange.min, deviceMinFps)) { in getIdleTimerAction()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp7065 *outPrimaryRefreshRateMin = policy.primaryRange.min.getValue(); in getDesiredDisplayModeSpecs()
7066 *outPrimaryRefreshRateMax = policy.primaryRange.max.getValue(); in getDesiredDisplayModeSpecs()