Searched refs:sampleAvgY (Results 1 – 1 of 1) sorted by relevance
693 double sampleAvgY = 0; in updateModelLocked() local700 sampleAvgY += sin(samplePhase); in updateModelLocked()704 sampleAvgY /= double(mNumResyncSamples - numSamplesSkipped); in updateModelLocked()706 mPhase = nsecs_t(atan2(sampleAvgY, sampleAvgX) / scale); in updateModelLocked()