Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp706 double sampleAvgY = 0; in updateModelLocked() local
713 sampleAvgY += sin(samplePhase); in updateModelLocked()
717 sampleAvgY /= double(mNumResyncSamples - numSamplesSkipped); in updateModelLocked()
719 mPhase = nsecs_t(atan2(sampleAvgY, sampleAvgX) / scale); in updateModelLocked()