HomeSort by relevance Sort by last modified time
    Searched refs:mSumX (Results 1 - 2 of 2) sorted by null

  /frameworks/native/services/sensorservice/
Fusion.cpp 150 vec<TYPE, SIZE> mSumX;
153 Covariance() : mSumXX(0.0f), mSumX(0.0f), mN(0) { }
156 mSumX += x;
161 return mSumXX*N - (mSumX*transpose(mSumX))*(N*N);
166 mSumX = 0;
  /cts/libs/deviceutil/src/android/cts/util/
MediaUtils.java 678 /** calculate mSumX and mSumXX */
692 mSumX += x;
717 return mSumX / mNum;
727 double average = mSumX / mNum;
764 double average = mSumX / mNum;
765 if (window >= mSumX) {
768 int samples = (int)Math.ceil((mSumX - window) / average);
868 private double mSumX = 0;

Completed in 58 milliseconds