Searched refs:vsyncPeriod (Results 1 – 4 of 4) sorted by relevance
35 TimePoint GetNextVsyncInPhase(Nanoseconds vsyncPeriod, TimePoint previousVsync, TimePoint now) { in GetNextVsyncInPhase() argument37 const auto nextMultiple = (elapsed / vsyncPeriod) + 1; in GetNextVsyncInPhase()38 return previousVsync + (nextMultiple * vsyncPeriod); in GetNextVsyncInPhase()137 Nanoseconds vsyncPeriod = mVsyncPeriod; in threadLoop() local144 TimePoint nextVsync = GetNextVsyncInPhase(vsyncPeriod, mPreviousVsync, now); in threadLoop()154 vsyncPeriod = updateVsyncPeriodLocked(mPreviousVsync); in threadLoop()161 static_cast<int32_t>(asNanosDuration(vsyncPeriod))); in threadLoop()
36 uint64_t vsyncPeriod; in getVsyncHzFromProperty() local37 if (!::android::base::ParseUint(vsyncProp, &vsyncPeriod)) { in getVsyncHzFromProperty()43 return static_cast<uint32_t>(vsyncPeriod); in getVsyncHzFromProperty()
281 displayConfiguration.vsyncPeriod = displayConfig.getVsyncPeriod(); in getDisplayConfigurations()511 int32_t vsyncPeriod; in setActiveConfigWithConstraints() local512 error = getDisplayVsyncPeriod(&vsyncPeriod); in setActiveConfigWithConstraints()518 return mVsyncThread.scheduleVsyncUpdate(vsyncPeriod, constraints, outTimeline); in setActiveConfigWithConstraints()
68 ndk::ScopedAStatus getDisplayVsyncPeriod(int64_t displayId, int32_t* vsyncPeriod) override;