Home | History | Annotate | Download | only in surfaceflinger

Lines Matching full:period

64     void updateModel(nsecs_t period, nsecs_t phase) {
66 mPeriod = period;
163 // a period of the last event time, we need to initialize the last
164 // event time to a half a period in the past.
404 void DispSync::setPeriod(nsecs_t period) {
406 mPeriod = period;
449 ATRACE_INT64("DispSync:Period", mPeriod);
453 // Artificially inflate the period if requested.
465 // Need to compare present fences against the un-adjusted refresh period,
467 nsecs_t period = mPeriod / (1 + mRefreshSkipCount);
475 nsecs_t sampleErr = (sample - mPhase) % period;
476 if (sampleErr > period / 2) {
477 sampleErr -= period;