Searched refs:mPhaseOffset (Results 1 – 4 of 4) sorted by relevance
53 static constexpr std::chrono::nanoseconds mPhaseOffset = 6ms; member in android::__anonc64f8db30111::DispSyncSourceTest81 mDispSyncSource = std::make_unique<DispSyncSource>(mDispSync.get(), mPhaseOffset.count(), true, in createDispSyncSource()114 EXPECT_EQ(mDispSync->getCallbackPhase(), mPhaseOffset.count()); in TEST_F()127 EXPECT_EQ(mDispSync->getCallbackPhase(), mPhaseOffset.count()); in TEST_F()135 mDispSyncSource->setPhaseOffset((mPhaseOffset / 2).count()); in TEST_F()137 EXPECT_EQ(mDispSync->getCallbackPhase(), (mPhaseOffset / 2).count()); in TEST_F()
37 mPhaseOffset(phaseOffset) {} in DispSyncSource()42 status_t err = mDispSync->addEventListener(mName, mPhaseOffset, in setVSyncEnabled()76 mPhaseOffset = phaseOffset; in setPhaseOffset()84 mDispSync->changePhaseOffset(static_cast<DispSync::Callback*>(this), mPhaseOffset); in setPhaseOffset()
55 nsecs_t mPhaseOffset GUARDED_BY(mVsyncMutex);
965 mPhaseOffset = 0.0; in process()966 mMagnitude = calculateMagnitude(&mPhaseOffset); in process()968 if (fabs(mPreviousPhaseOffset - mPhaseOffset) < 0.001) { in process()972 mPreviousPhaseOffset = mPhaseOffset; in process()980 float predicted = sinf(mPhase + mPhaseOffset) * mMagnitude; in process()1085 double mPhaseOffset = 0.0; variable