Home
last modified time | relevance | path

Searched refs:phaseOffset (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DDispSyncSource.cpp30 DispSyncSource::DispSyncSource(DispSync* dispSync, nsecs_t phaseOffset, in DispSyncSource() argument
40 mPhaseOffset(phaseOffset), in DispSyncSource()
70 void DispSyncSource::setPhaseOffset(nsecs_t phaseOffset) { in setPhaseOffset() argument
74 if (phaseOffset >= mOffsetThresholdForNextVsync) { in setPhaseOffset()
75 phaseOffset -= period; in setPhaseOffset()
79 const int numPeriods = phaseOffset / period; in setPhaseOffset()
80 phaseOffset -= numPeriods * period; in setPhaseOffset()
81 if (mPhaseOffset == phaseOffset) { in setPhaseOffset()
85 mPhaseOffset = phaseOffset; in setPhaseOffset()
DDispSyncSource.h28 DispSyncSource(DispSync* dispSync, nsecs_t phaseOffset, nsecs_t offsetThresholdForNextVsync,
36 void setPhaseOffset(nsecs_t phaseOffset) override;
DEventThread.h67 virtual void setPhaseOffset(nsecs_t phaseOffset) = 0;
114 virtual void setPhaseOffset(nsecs_t phaseOffset) = 0;
153 void setPhaseOffset(nsecs_t phaseOffset) override;
DEventThread.cpp207 void EventThread::setPhaseOffset(nsecs_t phaseOffset) { in setPhaseOffset() argument
209 mVSyncSource->setPhaseOffset(phaseOffset); in setPhaseOffset()
DScheduler.cpp213 void Scheduler::setPhaseOffset(const sp<Scheduler::ConnectionHandle>& handle, nsecs_t phaseOffset) { in setPhaseOffset() argument
215 mConnections[handle->id]->thread->setPhaseOffset(phaseOffset); in setPhaseOffset()
DScheduler.h121 void setPhaseOffset(const sp<ConnectionHandle>& handle, nsecs_t phaseOffset);
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockEventThread.h38 MOCK_METHOD1(setPhaseOffset, void(nsecs_t phaseOffset));
/frameworks/av/media/libaaudio/examples/loopback/src/
DLoopbackAnalyzer.h1003 double phaseOffset = 0.0; in process() local
1004 double magnitude = calculateMagnitude(&phaseOffset); in process()