Searched refs:numPeriods (Results 1 – 4 of 4) sorted by relevance
107 const int64_t numPeriods = (mCounter64 + period - 1) / period; in roundUp64() local108 mCounter64 = numPeriods * period; in roundUp64()
196 int numPeriods = int((duration + mDisplayPeriod/2) / in updateStatsLocked() local201 if (numPeriods < nextBucket) { in updateStatsLocked()
1571 const auto numPeriods = displayRefreshRate.getValue() / layerFrameRate.getValue(); in getFrameRateDivisor() local1572 const auto numPeriodsRounded = std::round(numPeriods); in getFrameRateDivisor()1573 if (std::abs(numPeriods - numPeriodsRounded) > kThreshold) { in getFrameRateDivisor()
1198 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()