Searched refs:sampleAvgY (Results 1 – 2 of 2) sorted by relevance
147 double sampleAvgY = 0.0; in updateModelLocked() local155 sampleAvgY += sin(samplePhase); in updateModelLocked()159 sampleAvgY /= (double) mNumSamples - 1.0; in updateModelLocked()160 mPhase = (long) (atan2(sampleAvgY, sampleAvgX) / scale); in updateModelLocked()
681 double sampleAvgY = 0; in updateModelLocked() local689 sampleAvgY += sin(samplePhase); in updateModelLocked()693 sampleAvgY /= double(mNumResyncSamples - 1); in updateModelLocked()695 mPhase = nsecs_t(atan2(sampleAvgY, sampleAvgX) / scale); in updateModelLocked()