Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.h61 virtual nsecs_t computeNextRefresh(int periodOffset, nsecs_t now) const = 0;
170 nsecs_t computeNextRefresh(int periodOffset, nsecs_t now) const override;
DDispSync.cpp307 nsecs_t computeNextRefresh(int periodOffset, nsecs_t now) const { in computeNextRefresh() argument
309 return computeNextRefreshLocked(periodOffset, now); in computeNextRefresh()
446 nsecs_t computeNextRefreshLocked(int periodOffset, nsecs_t now) const { in computeNextRefreshLocked() argument
451 return (((now - phase) / mPeriod) + periodOffset + 1) * mPeriod + phase; in computeNextRefreshLocked()
792 nsecs_t DispSync::computeNextRefresh(int periodOffset, nsecs_t now) const { in computeNextRefresh() argument
798 return (((now - phase) / mPeriod) + periodOffset + 1) * mPeriod + phase; in computeNextRefresh()
DVSyncReactor.cpp226 nsecs_t VSyncReactor::computeNextRefresh(int periodOffset, nsecs_t now) const { in computeNextRefresh() argument
227 auto const currentPeriod = periodOffset ? mTracker->currentPeriod() : 0; in computeNextRefresh()
228 return mTracker->nextAnticipatedVSyncTimeFrom(now + periodOffset * currentPeriod); in computeNextRefresh()
DVSyncReactor.h46 nsecs_t computeNextRefresh(int periodOffset, nsecs_t now) const final;