Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDispSync.cpp421 double sampleAvgX = 0; in updateModelLocked() local
428 sampleAvgX += cos(samplePhase); in updateModelLocked()
432 sampleAvgX /= double(mNumResyncSamples); in updateModelLocked()
435 mPhase = nsecs_t(atan2(sampleAvgY, sampleAvgX) / scale); in updateModelLocked()