Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DSpeedAnglesClassifier.java92 private float mSumSquares; field in SpeedAnglesClassifier.Data
102 mSumSquares = 0.0f; in Data()
136 mSumSquares += difference * difference; in addPoint()
144 final float v = mSumSquares / mCount - (mSum / mCount) * (mSum / mCount); in getAnglesVariance()
146 FalsingLog.i(TAG, "getAnglesVariance: sum^2=" + mSumSquares in getAnglesVariance()
DAnglesClassifier.java100 private float mSumSquares; field in AnglesClassifier.Data
117 mSumSquares = mSecondSumSquares = 0.0f; in Data()
156 mFirstAngleVariance = getAnglesVariance(mSumSquares, mSum, mCount); in addPoint()
167 mSumSquares += difference * difference; in addPoint()
179 float anglesVariance = getAnglesVariance(mSumSquares, mSum, mCount); in getAnglesVariance()