Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncPredictor.cpp46 static auto constexpr kMaxPercent = 100u; variable
67 kOutlierTolerancePercent(std::min(outlierTolerancePercent, kMaxPercent)), in VSyncPredictor()
98 (timestamp - aValidTimestamp) % idealPeriod() * kMaxPercent / idealPeriod(); in validate()
100 percent <= (kMaxPercent - kOutlierTolerancePercent)) { in validate()
109 const auto distancePercent = std::abs(*iter - timestamp) * kMaxPercent / idealPeriod(); in validate()
245 auto const percent = std::abs(anticipatedPeriod - idealPeriod()) * kMaxPercent / idealPeriod(); in addVsyncTimestamp()