Searched refs:phaseOffset (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/
H A DEventThread.h55 virtual void setPhaseOffset(nsecs_t phaseOffset) = 0;
104 void setPhaseOffset(nsecs_t phaseOffset);
H A DEventThread.cpp75 void EventThread::setPhaseOffset(nsecs_t phaseOffset) { argument
77 mVSyncSource->setPhaseOffset(phaseOffset);
H A DSurfaceFlinger.cpp391 DispSyncSource(DispSync* dispSync, nsecs_t phaseOffset, bool traceVsync, argument
402 mPhaseOffset(phaseOffset),
434 virtual void setPhaseOffset(nsecs_t phaseOffset) { argument
437 // Normalize phaseOffset to [0, period)
439 phaseOffset %= period;
440 if (phaseOffset < 0) {
441 // If we're here, then phaseOffset is in (-period, 0). After this
443 phaseOffset += period;
445 mPhaseOffset = phaseOffset;
H A DSurfaceFlinger_hwc1.cpp366 DispSyncSource(DispSync* dispSync, nsecs_t phaseOffset, bool traceVsync, argument
377 mPhaseOffset(phaseOffset),
409 virtual void setPhaseOffset(nsecs_t phaseOffset) { argument
412 // Normalize phaseOffset to [0, period)
414 phaseOffset %= period;
415 if (phaseOffset < 0) {
416 // If we're here, then phaseOffset is in (-period, 0). After this
418 phaseOffset += period;
420 mPhaseOffset = phaseOffset;

Completed in 307 milliseconds