Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp692 double sampleAvgX = 0; in updateModelLocked() local
699 sampleAvgX += cos(samplePhase); in updateModelLocked()
703 sampleAvgX /= double(mNumResyncSamples - numSamplesSkipped); in updateModelLocked()
706 mPhase = nsecs_t(atan2(sampleAvgY, sampleAvgX) / scale); in updateModelLocked()