Lines Matching refs:frameRate
288 const auto frameRate = getFrameRateOverride(uid); in isVsyncValid() local
289 if (!frameRate.has_value()) { in isVsyncValid()
293 ATRACE_FORMAT("%s uid: %d frameRate: %s", __func__, uid, to_string(*frameRate).c_str()); in isVsyncValid()
294 return getVsyncSchedule()->getTracker().isVSyncInPhase(expectedVsyncTime.ns(), *frameRate); in isVsyncValid()
297 bool Scheduler::isVsyncInPhase(TimePoint expectedVsyncTime, Fps frameRate) const { in isVsyncInPhase()
298 return getVsyncSchedule()->getTracker().isVSyncInPhase(expectedVsyncTime.ns(), frameRate); in isVsyncInPhase()
320 const auto frameRate = getFrameRateOverride(uid); in getVsyncPeriod() local
321 if (!frameRate.has_value()) { in getVsyncPeriod()
325 const auto divisor = RefreshRateSelector::getFrameRateDivisor(refreshRate, *frameRate); in getVsyncPeriod()
381 connection->frameRate = iter->second.frameRate; in createDisplayEventConnection()
1006 layerChoreographers.frameRate = fps; in updateAttachedChoreographersFrameRate()
1014 choreographerConnection->frameRate = fps; in updateAttachedChoreographersFrameRate()
1034 const auto frameRate = Fps::fromValue(layerHierarchy.getLayer()->frameRate); in updateAttachedChoreographersInternal() local
1035 ALOGV("%s: %s frameRate %s parentDivisor=%d", __func__, name, to_string(frameRate).c_str(), in updateAttachedChoreographersInternal()
1038 if (frameRate.isValid()) { in updateAttachedChoreographersInternal()
1043 divisor = RefreshRateSelector::getFrameRateDivisor(displayRefreshRate, frameRate); in updateAttachedChoreographersInternal()
1047 std::round(displayRefreshRate.getValue() / frameRate.getValue())); in updateAttachedChoreographersInternal()