Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDispSync.cpp429 double sampleAvgY = 0; in updateModelLocked() local
436 sampleAvgY += sin(samplePhase); in updateModelLocked()
440 sampleAvgY /= double(mNumResyncSamples); in updateModelLocked()
442 mPhase = nsecs_t(atan2(sampleAvgY, sampleAvgX) / scale); in updateModelLocked()