Home
last modified time | relevance | path

Searched refs:getPoints (Results 1 – 25 of 34) sorted by relevance

12

/external/opencensus-java/contrib/dropwizard/src/test/java/io/opencensus/contrib/dropwizard/
DDropWizardMetricsTest.java138 assertThat(metrics.get(0).getTimeSeriesList().get(0).getPoints().size()).isEqualTo(1); in collect()
139 assertThat(metrics.get(0).getTimeSeriesList().get(0).getPoints().get(0).getValue()) in collect()
154 assertThat(metrics.get(1).getTimeSeriesList().get(0).getPoints().size()).isEqualTo(1); in collect()
155 assertThat(metrics.get(1).getTimeSeriesList().get(0).getPoints().get(0).getValue()) in collect()
170 assertThat(metrics.get(2).getTimeSeriesList().get(0).getPoints().size()).isEqualTo(1); in collect()
171 assertThat(metrics.get(2).getTimeSeriesList().get(0).getPoints().get(0).getValue()) in collect()
186 assertThat(metrics.get(3).getTimeSeriesList().get(0).getPoints().size()).isEqualTo(1); in collect()
187 assertThat(metrics.get(3).getTimeSeriesList().get(0).getPoints().get(0).getValue()) in collect()
202 assertThat(metrics.get(4).getTimeSeriesList().get(0).getPoints().size()).isEqualTo(1); in collect()
203 assertThat(metrics.get(4).getTimeSeriesList().get(0).getPoints().get(0).getValue()) in collect()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java105 if (cluster.getPoints().isEmpty()) { in cluster()
121 newCenter = cluster.getCenter().centroidOf(cluster.getPoints()); in cluster()
211 if (!cluster.getPoints().isEmpty()) { in getPointFromLargestVarianceCluster()
216 for (final T point : cluster.getPoints()) { in getPointFromLargestVarianceCluster()
236 final List<T> selectedPoints = selected.getPoints(); in getPointFromLargestVarianceCluster()
254 final int number = cluster.getPoints().size(); in getPointFromLargestNumberCluster()
270 final List<T> selectedPoints = selected.getPoints(); in getPointFromLargestNumberCluster()
290 final List<T> points = cluster.getPoints(); in getFarthestPoint()
307 return selectedCluster.getPoints().remove(selectedPoint); in getFarthestPoint()
DCluster.java62 public List<T> getPoints() { in getPoints() method in Cluster
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPathTest.java23 List<ShadowPath.Point> moveToPoints = shadowOf(path).getPoints(); in testMoveTo()
35 List<ShadowPath.Point> lineToPoints = shadowOf(path).getPoints(); in testLineTo()
50 List<ShadowPath.Point> points = shadowPath.getPoints(); in testReset()
62 assertEquals(shadowOf(path).getPoints(), shadowOf(copiedPath).getPoints()); in test_copyConstructor()
DShadowCanvasTest.java115 assertEquals(drawnPath.getPoints().get(0), new ShadowPath.Point(10, 10, LINE_TO)); in drawPath_shouldRecordThePathAndThePaint()
136 …assertEquals(shadowOf(shadow.getDrawnPath(0)).getPoints().get(0), new ShadowPath.Point(10, 10, LIN… in drawPath_shouldRecordThePointsOfEachPathEvenWhenItIsTheSameInstance()
137 …assertEquals(shadowOf(shadow.getDrawnPath(1)).getPoints().get(0), new ShadowPath.Point(20, 20, LIN… in drawPath_shouldRecordThePointsOfEachPathEvenWhenItIsTheSameInstance()
154 assertEquals("Path " + shadowOf(path1).getPoints().toString() + "\n" in drawPath_shouldAppendDescriptionToBitmap()
155 + "Path " + shadowOf(path2).getPoints().toString(), shadowOf(canvas).getDescription()); in drawPath_shouldAppendDescriptionToBitmap()
157 assertEquals("Path " + shadowOf(path1).getPoints().toString() + "\n" in drawPath_shouldAppendDescriptionToBitmap()
158 … + "Path " + shadowOf(path2).getPoints().toString(), shadowOf(targetBitmap).getDescription()); in drawPath_shouldAppendDescriptionToBitmap()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowPathTest.java29 List<ShadowPath.Point> moveToPoints = shadowOf(path).getPoints(); in testMoveTo()
41 List<ShadowPath.Point> lineToPoints = shadowOf(path).getPoints(); in testLineTo()
56 List<ShadowPath.Point> points = shadowPath.getPoints(); in testReset()
69 assertEquals(shadowOf(path).getPoints(), shadowOf(copiedPath).getPoints()); in copyConstructor_copiesShadowPoints()
DShadowCanvasTest.java134 assertEquals(drawnPath.getPoints().get(0), new ShadowPath.Point(10, 10, LINE_TO)); in drawPath_shouldRecordThePathAndThePaint()
157 shadowOf(shadow.getDrawnPath(0)).getPoints().get(0), new ShadowPath.Point(10, 10, LINE_TO)); in drawPath_shouldRecordThePointsOfEachPathEvenWhenItIsTheSameInstance()
159 shadowOf(shadow.getDrawnPath(1)).getPoints().get(0), new ShadowPath.Point(20, 20, LINE_TO)); in drawPath_shouldRecordThePointsOfEachPathEvenWhenItIsTheSameInstance()
178 + shadowOf(path1).getPoints().toString() in drawPath_shouldAppendDescriptionToBitmap()
181 + shadowOf(path2).getPoints().toString(), in drawPath_shouldAppendDescriptionToBitmap()
186 + shadowOf(path1).getPoints().toString() in drawPath_shouldAppendDescriptionToBitmap()
189 + shadowOf(path2).getPoints().toString(), in drawPath_shouldAppendDescriptionToBitmap()
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/data/filter/
DApproximator.java46 return line.getPoints(); in reduceWithDouglasPeucker()
98 public float[] getPoints() { in getPoints() method in Approximator.Line
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/
DLongGaugeImplTest.java127 assertThat(metric.getTimeSeriesList().get(0).getPoints().size()).isEqualTo(1); in getOrCreateTimeSeries_WithNegativePointValues()
128 assertThat(metric.getTimeSeriesList().get(0).getPoints().get(0).getValue()) in getOrCreateTimeSeries_WithNegativePointValues()
130 assertThat(metric.getTimeSeriesList().get(0).getPoints().get(0).getTimestamp()) in getOrCreateTimeSeries_WithNegativePointValues()
DDoubleGaugeImplTest.java128 assertThat(metric.getTimeSeriesList().get(0).getPoints().size()).isEqualTo(1); in getOrCreateTimeSeries_WithNegativePointValues()
129 assertThat(metric.getTimeSeriesList().get(0).getPoints().get(0).getValue()) in getOrCreateTimeSeries_WithNegativePointValues()
131 assertThat(metric.getTimeSeriesList().get(0).getPoints().get(0).getTimestamp()) in getOrCreateTimeSeries_WithNegativePointValues()
/external/skia/docs/examples/
DPath_getPoints.cpp8 int count = path.getPoints(points, max); in draw()
Dstrokerect_gm.cpp60 fillPath.getPoints(points.get(), n); in draw()
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DTimeSeriesTest.java59 assertThat(cumulativeTimeSeries.getPoints()).containsExactly(POINT_1).inOrder(); in testGet_TimeSeries()
101 assertThat(cumulativeTimeSeries.getPoints()).containsExactly(POINT_1).inOrder(); in testGet_WithOnePointTimeSeries()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPath.java18 public abstract List<Point> getPoints(); in getPoints() method in ShadowPath
DShadowLegacyPath.java52 points = new ArrayList<>(shadowPath.getPoints()); in __constructor__()
157 public List<Point> getPoints() { in getPoints() method in ShadowLegacyPath
DShadowNativePath.java235 public List<Point> getPoints() { in getPoints() method in ShadowNativePath
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/
DTimeSeries.java116 public abstract List<Point> getPoints(); in getPoints() method in TimeSeries
DMetric.java107 for (Point point : timeSeries.getPoints()) { in checkTypeMatch()
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/content/
DPolystarShape.java71 public AnimatableFloatValue getPoints() { in getPoints() method in PolystarShape
/external/skia/gm/
Dpathcontourstart.cpp113 path.getPoints(points.get(), n); in drawOneColumn()
Dstrokerect.cpp48 path.getPoints(points.get(), n); in draw_path()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPath.java55 points = new ArrayList<>(shadowPath.getPoints()); in __constructor__()
157 public List<Point> getPoints() { in getPoints() method in ShadowPath
/external/skia/include/private/
DSkPathRef.h496 const SkPoint* getPoints() const { in getPoints() function
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/content/
DPolystarContent.java56 pointsAnimation = polystarShape.getPoints().createAnimation(); in PolystarContent()
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativePathTest.java445 ((ShadowPath) Shadow.extract(path)).getPoints(); in legacyShadowPathAPIs_notSupported()

12