Searched refs:average (Results 1 – 6 of 6) sorted by relevance
/cts/libs/commonutil/src/com/android/cts/util/ |
D | Stat.java | 36 public StatResult(double average, double min, double max, double stddev, int dataCount) { in StatResult() argument 37 mAverage = average; in StatResult() 49 double average = data[0]; in getStat() local 54 average += data[i]; in getStat() 63 average /= data.length; in getStat() 66 double stddev = Math.sqrt(eX2 - average * average); in getStat() 67 return new StatResult(average, min, max, stddev, data.length); in getStat() 88 double average = 0.0; in getStatWithOutlierRejection() local 96 average += data[i]; in getStatWithOutlierRejection() 109 average /= validDataCounter; in getStatWithOutlierRejection() [all …]
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | Stat.java | 35 public StatResult(double average, double min, double max, double stddev, int dataCount) { in StatResult() argument 36 mAverage = average; in StatResult() 48 double average = data[0]; in getStat() local 53 average += data[i]; in getStat() 62 average /= data.length; in getStat() 65 double stddev = Math.sqrt(eX2 - average * average); in getStat() 66 return new StatResult(average, min, max, stddev, data.length); in getStat() 87 double average = 0.0; in getStatWithOutlierRejection() local 95 average += data[i]; in getStatWithOutlierRejection() 108 average /= validDataCounter; in getStatWithOutlierRejection() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Correlation.java | 57 double average = 0; in computeCorrelation() local 61 average += mDataAutocorrelated[i]; in computeCorrelation() 70 average = average/mDataAutocorrelated.length; in computeCorrelation() 74 log(String.format(" average : %.3f rms: %.3f", average, rms)); in computeCorrelation() 77 if (average>0) { in computeCorrelation() 80 double raw = (rms-average) /(factor*average); in computeCorrelation()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | BurstCaptureRawTest.java | 398 double average = 0.0; in execute() local 401 average += deltaList.get(i); in execute() 403 average /= deltaList.size(); in execute() 408 double diff = deltaList.get(i) - average; in execute() 413 Log.i(TAG, String.format("average = %.2f, stddev = %.2f", average, stddev)); in execute()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | MediaUtils.java | 440 double average = getAverage(data); in getStdev() local 447 variance += (data[i] - average) * (data[i] - average); in getStdev()
|
/cts/apps/CameraITS/pymodules/its/ |
D | image.py | 685 return numpy.average(numpy.sqrt(gy*gy + gx*gx))
|