Lines Matching refs:nextVsyncTime
36 nsecs_t getExpectedCallbackTime(nsecs_t nextVsyncTime, in getExpectedCallbackTime() argument
38 return nextVsyncTime - timing.readyDuration - timing.workDuration; in getExpectedCallbackTime()
43 const auto nextVsyncTime = tracker.nextAnticipatedVSyncTimeFrom( in getExpectedCallbackTime() local
45 return getExpectedCallbackTime(nextVsyncTime, timing); in getExpectedCallbackTime()
91 auto nextVsyncTime = tracker.nextAnticipatedVSyncTimeFrom( in schedule() local
93 auto nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule()
96 mArmedInfo && (nextVsyncTime > (mArmedInfo->mActualVsyncTime + mMinVsyncDistance)); in schedule()
100 return getExpectedCallbackTime(nextVsyncTime, timing); in schedule()
104 ((*mLastDispatchTime + mMinVsyncDistance) >= nextVsyncTime && in schedule()
105 (*mLastDispatchTime - mMinVsyncDistance) <= nextVsyncTime); in schedule()
107 nextVsyncTime = in schedule()
109 nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule()
112 auto const nextReadyTime = nextVsyncTime - timing.readyDuration; in schedule()
114 mArmedInfo = {nextWakeupTime, nextVsyncTime, nextReadyTime}; in schedule()
115 return getExpectedCallbackTime(nextVsyncTime, timing); in schedule()
139 const auto nextVsyncTime = tracker.nextAnticipatedVSyncTimeFrom(earliestVsync); in update() local
140 const auto nextReadyTime = nextVsyncTime - mScheduleTiming.readyDuration; in update()
143 mArmedInfo = {nextWakeupTime, nextVsyncTime, nextReadyTime}; in update()