Lines Matching refs:phase
73 void updateModel(nsecs_t period, nsecs_t phase, nsecs_t referenceTime) { in updateModel() argument
77 mPhase = phase; in updateModel()
171 status_t addEventListener(const char* name, nsecs_t phase, DispSync::Callback* callback) { in addEventListener() argument
183 listener.mPhase = phase; in addEventListener()
212 status_t changePhaseOffset(DispSync::Callback* callback, nsecs_t phase) { in changePhaseOffset() argument
220 listener.mPhase = phase; in changePhaseOffset()
225 listener.mLastEventTime -= (oldPhase - phase); in changePhaseOffset()
308 nsecs_t phase = mPhase + listener.mPhase; in computeListenerNextEventTimeLocked() local
309 ALOGV("[%s] Phase = %" PRId64, mName, ns2us(phase)); in computeListenerNextEventTimeLocked()
310 baseTime -= phase; in computeListenerNextEventTimeLocked()
327 nsecs_t t = (numPeriods + 1) * mPeriod + phase; in computeListenerNextEventTimeLocked()
495 status_t DispSync::addEventListener(const char* name, nsecs_t phase, Callback* callback) { in addEventListener() argument
497 return mThread->addEventListener(name, phase, callback); in addEventListener()
512 status_t DispSync::changePhaseOffset(Callback* callback, nsecs_t phase) { in changePhaseOffset() argument
514 return mThread->changePhaseOffset(callback, phase); in changePhaseOffset()
653 nsecs_t phase = mReferenceTime + mPhase; in computeNextRefresh() local
654 return (((now - phase) / mPeriod) + periodOffset + 1) * mPeriod + phase; in computeNextRefresh()