Home
last modified time | relevance | path

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

/frameworks/base/startop/apps/test/src/
DInitCheckOverheadBenchmarks.java28 public static int mSum; field in InitCheckOverheadBenchmarks
55 mSum += mStep; in localStaticFor()
60 mSum = OtherClass.mStartingValue; in nonLocalStaticFor()
62 mSum += OtherClass.mStep; in nonLocalStaticFor()
68 mSum += mStep; in localStaticForTwo()
74 mSum = OtherClass.mStartingValue; in nonLocalStaticForTwo()
76 mSum += OtherClass.mStep; in nonLocalStaticForTwo()
84 mSum += mStep; in localStaticDoWhile()
90 mSum = OtherClass.mStartingValue; in nonLocalStaticDoWhile()
93 mSum += OtherClass.mStep; in nonLocalStaticDoWhile()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DHistogram.java27 private Allocation mSum; field in Histogram
54 mSum = Allocation.createSized(mRS, Element.I32(mRS), 256); in createTest()
57 mScript.set_gSum(mSum); in createTest()
70 mHist.setOutput(mSum); in runTest()
75 mScript.forEach_pass2(mSum); in runTest()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DHistogram.java27 private Allocation mSum; field in Histogram
48 mSum = Allocation.createSized(mRS, Element.I32(mRS), 256); in createTest()
51 mScript.set_gSum(mSum); in createTest()
66 mHist.setOutput(mSum); in runTest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DSpeedAnglesClassifier.java93 private float mSum; field in SpeedAnglesClassifier.Data
103 mSum = 0.0f; in Data()
135 mSum += difference; in addPoint()
144 final float v = mSumSquares / mCount - (mSum / mCount) * (mSum / mCount); in getAnglesVariance()
DAnglesClassifier.java102 private float mSum; field in AnglesClassifier.Data
118 mSum = mSecondSum = 0.0f; in Data()
156 mFirstAngleVariance = getAnglesVariance(mSumSquares, mSum, mCount); in addPoint()
166 mSum += difference; in addPoint()
179 float anglesVariance = getAnglesVariance(mSumSquares, mSum, mCount); in getAnglesVariance()
/frameworks/native/libs/input/
DLatencyStatistics.cpp40 mSum += value; in addValue()
49 return mSum / mCount; in getMean()
79 mSum = 0; in reset()
/frameworks/native/include/input/
DLatencyStatistics.h33 float mSum; variable
/frameworks/base/location/java/com/android/internal/location/gnssmetrics/
DGnssMetrics.java472 private double mSum; field in GnssMetrics.Statistics
479 mSum = 0.0; in reset()
487 mSum += item; in addItem()
499 return mSum / mCount; in getMean()
504 double m = mSum / mCount; in getStandardDeviation()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h549 mMin(INT64_MAX), mMax(INT64_MIN), mSum(0), mCount(0), in Histogram()
558 int64_t getSum() const { return mSum; } in getSum()
559 int64_t getAvg() const { return mSum / (mCount == 0 ? 1 : mCount); } in getAvg()
564 int64_t mMin, mMax, mSum, mCount; member
/frameworks/av/media/libstagefright/
DMediaCodec.cpp822 mSum = 0; in setup()
845 mSum += sample; in insert()