/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | BezierLineAndPointRenderer.java | 32 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) { in appendToPath() argument 37 mid.set((lastPoint.x + thisPoint.x) / 2, (lastPoint.y + thisPoint.y) / 2); in appendToPath() 38 path.quadTo((lastPoint.x + mid.x) / 2, lastPoint.y, mid.x, mid.y); in appendToPath() 40 path.quadTo((mid.x + thisPoint.x) / 2, lastPoint.y, thisPoint.x, thisPoint.y); in appendToPath()
|
D | LineAndPointRenderer.java | 73 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) { in appendToPath() argument 81 PointF lastPoint = null; in drawSeries() local 118 if(lastPoint != null) { in drawSeries() 119 appendToPath(path, thisPoint, lastPoint); in drawSeries() 122 lastPoint = thisPoint; in drawSeries() 124 if(lastPoint != null) { in drawSeries() 125 renderPath(canvas, plotArea, path, firstPoint, lastPoint, formatter); in drawSeries() 128 lastPoint = null; in drawSeries() 132 renderPath(canvas, plotArea, path, firstPoint, lastPoint, formatter); in drawSeries() 155 …ath(Canvas canvas, RectF plotArea, Path path, PointF firstPoint, PointF lastPoint, LineAndPointFor… in renderPath() argument [all …]
|
D | StepRenderer.java | 34 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) { in appendToPath() argument 37 path.lineTo(thisPoint.x, lastPoint.y); in appendToPath()
|
/external/skia/src/gpu/tessellate/ |
D | GrPathTessellator.cpp | 299 SkPoint lastPoint = startPoint; in prepare() local 303 startPoint = lastPoint = pts[0]; in prepare() 309 lastPoint = pts[1]; in prepare() 313 lastPoint = pts[2]; in prepare() 317 lastPoint = pts[3]; in prepare() 321 lastPoint = pts[2]; in prepare() 327 if (lastPoint != startPoint) { in prepare() 328 GrPathUtils::convertLineToCubic(lastPoint, startPoint, vertexData + fPatchVertexCount); in prepare()
|
D | GrStrokeIterator.h | 315 SkPoint lastPoint = lastPts[SkPathPriv::PtsInIter((unsigned)lastVerb) - 1]; in fillSquareCapPoints() local 316 fEndingCapPts = {lastPoint, lastPoint + lastTangent}; in fillSquareCapPoints()
|
/external/skia/tests/ |
D | TriangulatingPathRendererTests.cpp | 886 SkPoint startPoint{}, lastPoint{}; in verify_simple_inner_polygons() local 890 if (lastPoint != startPoint) { in verify_simple_inner_polygons() 891 add_edge(innerFanEdges, lastPoint, startPoint); in verify_simple_inner_polygons() 893 lastPoint = startPoint = pts[0]; in verify_simple_inner_polygons() 896 lastPoint = startPoint; in verify_simple_inner_polygons() 899 lastPoint = pts[1]; in verify_simple_inner_polygons() 903 lastPoint = pts[2]; in verify_simple_inner_polygons() 906 lastPoint = pts[3]; in verify_simple_inner_polygons() 909 if (pts[0] != lastPoint) { in verify_simple_inner_polygons() 910 add_edge(innerFanEdges, pts[0], lastPoint); in verify_simple_inner_polygons() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | CachedPathIteratorFactory.java | 391 float lastPoint[] = new float[2]; in jumpToSegment() local 399 lastPoint[0], in jumpToSegment() 400 lastPoint[1], in jumpToSegment() 418 getShapeEndPoint(mTypes[mNextIndex], mCoordinates[mNextIndex], lastPoint); in jumpToSegment()
|
/external/replicaisland/tools/ |
D | ExtractPoints.js | 73 var lastPoint = points[(y + 1) % points.length]; variable 80 edge.endX = lastPoint.anchor[0]; 81 edge.endY = lastPoint.anchor[1];
|
/external/skia/src/gpu/ops/ |
D | GrDefaultPathRenderer.cpp | 297 void needSpace(int vertsNeeded, int indicesNeeded = 0, const SkPoint* lastPoint = nullptr) { in needSpace() argument 312 if (lastPoint) { in needSpace() 313 SkASSERT(*(fCurVert - 1) == *lastPoint); in needSpace() 325 if (lastPoint) { in needSpace() 330 *(fCurVert++) = *lastPoint; in needSpace()
|
D | GrAAConvexTessellator.cpp | 752 if (!duplicate_pt(newPt, fCandidateVerts.lastPoint())) { in createInsetRing() 770 bool dupPrev = duplicate_pt(newPt, fCandidateVerts.lastPoint()); in createInsetRing() 782 … bool dupPrevVsNext = duplicate_pt(fCandidateVerts.firstPoint(), fCandidateVerts.lastPoint()); in createInsetRing() 926 if (this->numPts() > 0 && duplicate_pt(p, this->lastPoint())) { in lineTo() 939 if (duplicate_pt(p, this->lastPoint())) { in lineTo() 995 SkPoint lastPoint = *(quads++); in conicTo() local 999 quadPts[0] = lastPoint; in conicTo() 1003 lastPoint = quadPts[2]; in conicTo()
|
D | GrAAConvexTessellator.h | 54 const SkPoint& lastPoint() const { return fPts.top(); } in lastPoint() function 76 const SkPoint& lastPoint() const { return fPts.top().fPt; } in lastPoint() function
|
/external/skqp/src/gpu/ops/ |
D | GrAAConvexTessellator.cpp | 736 if (!duplicate_pt(newPt, fCandidateVerts.lastPoint())) { in createInsetRing() 754 bool dupPrev = duplicate_pt(newPt, fCandidateVerts.lastPoint()); in createInsetRing() 766 … bool dupPrevVsNext = duplicate_pt(fCandidateVerts.firstPoint(), fCandidateVerts.lastPoint()); in createInsetRing() 910 if (this->numPts() > 0 && duplicate_pt(p, this->lastPoint())) { in lineTo() 922 if (duplicate_pt(p, this->lastPoint())) { in lineTo() 974 SkPoint lastPoint = *(quads++); in conicTo() local 978 quadPts[0] = lastPoint; in conicTo() 982 lastPoint = quadPts[2]; in conicTo()
|
D | GrAAConvexTessellator.h | 54 const SkPoint& lastPoint() const { return fPts.top(); } in lastPoint() function 76 const SkPoint& lastPoint() const { return fPts.top().fPt; } in lastPoint() function
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | TestMetazones.java | 294 long lastPoint = Long.MIN_VALUE; in getDifferencesOverRange() local 296 if (lastPoint != Long.MIN_VALUE) { in getDifferencesOverRange() 297 long start = lastPoint; in getDifferencesOverRange() 325 lastPoint = point; in getDifferencesOverRange()
|
/external/skia/src/core/ |
D | SkScan_AntiPath.cpp | 614 SkPoint lastPoint = path.getPoint(0); in compute_complexity() local 617 sumLength += SkPoint::Distance(lastPoint, point); in compute_complexity() 618 lastPoint = point; in compute_complexity()
|
/external/skqp/src/core/ |
D | SkScan_AntiPath.cpp | 616 SkPoint lastPoint = path.getPoint(0); in compute_complexity() local 619 sumLength += SkPoint::Distance(lastPoint, point); in compute_complexity() 620 lastPoint = point; in compute_complexity()
|
/external/skia/src/utils/ |
D | SkShadowTessellator.cpp | 831 SkPoint lastPoint = *(quads++); in handleConic() local 835 quadPts[0] = lastPoint; in handleConic() 839 lastPoint = quadPts[2]; in handleConic()
|
/external/skqp/src/utils/ |
D | SkShadowTessellator.cpp | 827 SkPoint lastPoint = *(quads++); in handleConic() local 831 quadPts[0] = lastPoint; in handleConic() 835 lastPoint = quadPts[2]; in handleConic()
|