Home
last modified time | relevance | path

Searched refs:points (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/gesture/src/android/gesture/cts/
DLineGestureStrokeHelper.java89 GestureStroke createGestureStroke(GesturePoint... points) { in createGestureStroke() argument
90 ArrayList<GesturePoint> list = new ArrayList<GesturePoint>(points.length); in createGestureStroke()
91 for (GesturePoint point : points) { in createGestureStroke()
DGestureComparator.java56 Assert.assertTrue(Arrays.equals(expectedStroke.points, observedStroke.points)); in assertGestureStrokesEqual()
/cts/libs/deviceutil/src/android/cts/util/
DMediaPerfUtils.java111 final double[] points = { in logPerformanceStats() local
122 final double[] percentiles = statsUs.getPercentiles(points); in logPerformanceStats()
132 return 1e6 / percentiles[points.length - 2]; in logPerformanceStats()
DMediaUtils.java840 public double[] getPercentiles(double... points) { in getPercentiles() argument
842 double[] res = new double[points.length]; in getPercentiles()
843 for (int i = 0; i < points.length; ++i) { in getPercentiles()
844 if (mNum < 1 || points[i] < 0 || points[i] > 100) { in getPercentiles()
847 res[i] = mSortedData[(int)Math.round(points[i] / 100 * (mNum - 1))]; in getPercentiles()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencySpeakerActivity.java424 int points = freqAverage.getSize(); in computeResultsForVector() local
425 if (points > 0) { in computeResultsForVector()
427 double[] values = new double[points]; in computeResultsForVector()
429 results.mValuesLog = new double[points]; in computeResultsForVector()
430 for (int i = 0; i < points; i++) { in computeResultsForVector()
435 for (int i = 0; i < points; i++) { in computeResultsForVector()
463 for (int i = 0; i < points; i++) { in computeResultsForVector()
DAudioFrequencyUnprocessedActivity.java411 int points = freqAverage.getSize(); in computeResultsForVector() local
412 if (points > 0) { in computeResultsForVector()
414 double[] values = new double[points]; in computeResultsForVector()
416 results.mValuesLog = new double[points]; in computeResultsForVector()
417 for (int i = 0; i < points; i++) { in computeResultsForVector()
422 for (int i = 0; i < points; i++) { in computeResultsForVector()
450 for (int i = 0; i < points; i++) { in computeResultsForVector()
DAudioFrequencyLineActivity.java398 int points = freqAverage.getSize(); in computeResultsForVector() local
399 if (points > 0) { in computeResultsForVector()
401 double[] values = new double[points]; in computeResultsForVector()
403 results.mValuesLog = new double[points]; in computeResultsForVector()
404 for (int i = 0; i < points; i++) { in computeResultsForVector()
409 for (int i = 0; i < points; i++) { in computeResultsForVector()
437 for (int i = 0; i < points; i++) { in computeResultsForVector()
DAudioFrequencyMicActivity.java560 int points = freqAverage.getSize(); in computeResultsForVector() local
561 if (points > 0) { in computeResultsForVector()
563 double[] values = new double[points]; in computeResultsForVector()
565 results.mValuesLog = new double[points]; in computeResultsForVector()
566 for (int i = 0; i < points; i++) { in computeResultsForVector()
571 for (int i = 0; i < points; i++) { in computeResultsForVector()
599 for (int i = 0; i < points; i++) { in computeResultsForVector()