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

/frameworks/native/services/surfaceflinger/
H A DEventThread.h54 virtual void setPhaseOffset(nsecs_t phaseOffset) = 0;
103 void setPhaseOffset(nsecs_t phaseOffset);
H A DEventThread.cpp75 void EventThread::setPhaseOffset(nsecs_t phaseOffset) { argument
77 mVSyncSource->setPhaseOffset(phaseOffset);
H A DSurfaceFlinger.cpp334 DispSyncSource(DispSync* dispSync, nsecs_t phaseOffset, bool traceVsync, argument
345 mPhaseOffset(phaseOffset),
377 virtual void setPhaseOffset(nsecs_t phaseOffset) { argument
380 // Normalize phaseOffset to [0, period)
382 phaseOffset %= period;
383 if (phaseOffset < 0) {
384 // If we're here, then phaseOffset is in (-period, 0). After this
386 phaseOffset += period;
388 mPhaseOffset = phaseOffset;
H A DSurfaceFlinger_hwc1.cpp332 DispSyncSource(DispSync* dispSync, nsecs_t phaseOffset, bool traceVsync, argument
343 mPhaseOffset(phaseOffset),
375 virtual void setPhaseOffset(nsecs_t phaseOffset) { argument
378 // Normalize phaseOffset to [0, period)
380 phaseOffset %= period;
381 if (phaseOffset < 0) {
382 // If we're here, then phaseOffset is in (-period, 0). After this
384 phaseOffset += period;
386 mPhaseOffset = phaseOffset;

Completed in 35 milliseconds