Lines Matching refs:phase
77 void updateModel(nsecs_t period, nsecs_t phase, nsecs_t referenceTime) { in updateModel() argument
81 mPhase = phase; in updateModel()
212 status_t addEventListener(const char* name, nsecs_t phase, DispSync::Callback* callback, in addEventListener() argument
225 listener.mPhase = phase; in addEventListener()
282 status_t changePhaseOffset(DispSync::Callback* callback, nsecs_t phase) { in changePhaseOffset() argument
289 eventListener.mPhase = phase; in changePhaseOffset()
294 nsecs_t diff = oldPhase - phase; in changePhaseOffset()
387 nsecs_t phase = mPhase + listener.mPhase; in computeListenerNextEventTimeLocked() local
388 ALOGV("[%s] Phase = %" PRId64, mName, ns2us(phase)); in computeListenerNextEventTimeLocked()
389 baseTime -= phase; in computeListenerNextEventTimeLocked()
406 nsecs_t t = (numPeriods + 1) * mPeriod + phase; in computeListenerNextEventTimeLocked()
620 status_t DispSync::addEventListener(const char* name, nsecs_t phase, Callback* callback, in addEventListener() argument
623 return mThread->addEventListener(name, phase, callback, lastCallbackTime); in addEventListener()
638 status_t DispSync::changePhaseOffset(Callback* callback, nsecs_t phase) { in changePhaseOffset() argument
640 return mThread->changePhaseOffset(callback, phase); in changePhaseOffset()
789 nsecs_t phase = mReferenceTime + mPhase; in computeNextRefresh() local
793 return (((now - phase) / mPeriod) + periodOffset + 1) * mPeriod + phase; in computeNextRefresh()