Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DSpeedAnglesClassifier.java96 private float mAnglesCount; field in SpeedAnglesClassifier.Data
106 mAnglesCount = mAcceleratingAngles = 0.0f; in Data()
129 mAnglesCount++; in addPoint()
153 if (mAnglesCount == 0.0f) { in getAnglesPercentage()
156 final float v = (mAcceleratingAngles) / mAnglesCount; in getAnglesPercentage()
159 + " count=" + mAnglesCount + " result=" + v); in getAnglesPercentage()
DAnglesClassifier.java108 private float mAnglesCount; field in AnglesClassifier.Data
121 mAnglesCount = mLeftAngles = mRightAngles = mStraightAngles = 0.0f; in Data()
139 mAnglesCount++; in addPoint()
194 if (mAnglesCount == 0.0f) { in getAnglesPercentage()
198 … final float result = (Math.max(mLeftAngles, mRightAngles) + mStraightAngles) / mAnglesCount; in getAnglesPercentage()
201 + mRightAngles + " straight=" + mStraightAngles + " count=" + mAnglesCount in getAnglesPercentage()