Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/utility/
DMonotonicCounter.h107 const int64_t numPeriods = (mCounter64 + period - 1) / period; in roundUp64() local
108 mCounter64 = numPeriods * period; in roundUp64()
/frameworks/native/services/surfaceflinger/
DFrameTracker.cpp196 int numPeriods = int((duration + mDisplayPeriod/2) / in updateStatsLocked() local
201 if (numPeriods < nextBucket) { in updateStatsLocked()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.cpp1571 const auto numPeriods = displayRefreshRate.getValue() / layerFrameRate.getValue(); in getFrameRateDivisor() local
1572 const auto numPeriodsRounded = std::round(numPeriods); in getFrameRateDivisor()
1573 if (std::abs(numPeriods - numPeriodsRounded) > kThreshold) { in getFrameRateDivisor()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java1198 float numPeriods = currentMode.getRefreshRate() / frameRateHz; in getDisplayInfoForFrameRateOverride()
1199 float numPeriodsRound = Math.round(numPeriods); in getDisplayInfoForFrameRateOverride()
1200 if (Math.abs(numPeriods - numPeriodsRound) > THRESHOLD_FOR_REFRESH_RATES_DIVISORS) { in getDisplayInfoForFrameRateOverride()