Home
last modified time | relevance | path

Searched refs:sweep (Results 1 – 25 of 76) sorted by relevance

1234

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/
DPieRenderer.java69 float sweep = (float) (scale * (values[i]) * 360); in onRender() local
70 offset += sweep; in onRender()
73 radius, lastOffset, sweep); in onRender()
80 float rad, float startAngle, float sweep) { in drawSegment() argument
103 PointF r2Outer = calculateLineEnd(cx, cy, rad, startAngle + sweep); in drawSegment()
104 PointF r2Inner = calculateLineEnd(cx, cy, donutSizePx, startAngle + sweep); in drawSegment()
119 startAngle, sweep); in drawSegment()
125 p.arcTo(bounds, startAngle, sweep); in drawSegment()
134 startAngle + sweep, -sweep); in drawSegment()
153 (rad-((rad- donutSizePx)/2)), startAngle + (sweep/2)); in drawSegment()
/external/skqp/tests/
DPathOpsAngleIdeas.cpp118 static void setQuadHullSweep(const SkDQuad& quad, SkDVector sweep[2]) { in setQuadHullSweep()
119 sweep[0] = quad[1] - quad[0]; in setQuadHullSweep()
120 sweep[1] = quad[2] - quad[0]; in setQuadHullSweep()
130 SkDVector sweep[2], tweep[2]; in checkParallel() local
131 setQuadHullSweep(quad1, sweep); in checkParallel()
142 double s0dt0 = sweep[0].dot(tweep[0]); in checkParallel()
144 double s0xt0 = sweep[0].crossCheck(tweep[0]); in checkParallel()
146 double sDist = sweep[0].length() * m; in checkParallel()
165 SkDVector sweep[2], tweep[2]; in quadHullsOverlap() local
166 setQuadHullSweep(quad1, sweep); in quadHullsOverlap()
[all …]
/external/skia/tests/
DPathOpsAngleIdeas.cpp118 static void setQuadHullSweep(const SkDQuad& quad, SkDVector sweep[2]) { in setQuadHullSweep()
119 sweep[0] = quad[1] - quad[0]; in setQuadHullSweep()
120 sweep[1] = quad[2] - quad[0]; in setQuadHullSweep()
130 SkDVector sweep[2], tweep[2]; in checkParallel() local
131 setQuadHullSweep(quad1, sweep); in checkParallel()
142 double s0dt0 = sweep[0].dot(tweep[0]); in checkParallel()
144 double s0xt0 = sweep[0].crossCheck(tweep[0]); in checkParallel()
146 double sDist = sweep[0].length() * m; in checkParallel()
165 SkDVector sweep[2], tweep[2]; in quadHullsOverlap() local
166 setQuadHullSweep(quad1, sweep); in quadHullsOverlap()
[all …]
/external/fonttools/Lib/fontTools/svgLib/path/
Darc.py26 def __init__(self, current_point, rx, ry, rotation, large, sweep, target_point): argument
32 self.sweep = sweep
87 if self.sweep == self.large:
100 if theta_arc < 0 and self.sweep:
102 elif theta_arc > 0 and not self.sweep:
/external/skia/samplecode/
DSampleArc.cpp47 void setSweep(SkScalar sweep) { in setSweep() argument
48 if (fSweep != sweep) { in setSweep()
49 fSweep = sweep; in setSweep()
106 static void DrawLabel(SkCanvas* canvas, const SkRect& rect, SkScalar start, SkScalar sweep) { in DrawLabel() argument
111 str.appendScalar(sweep); in DrawLabel()
/external/skqp/samplecode/
DSampleArc.cpp47 void setSweep(SkScalar sweep) { in setSweep() argument
48 if (fSweep != sweep) { in setSweep()
49 fSweep = sweep; in setSweep()
106 static void DrawLabel(SkCanvas* canvas, const SkRect& rect, SkScalar start, SkScalar sweep) { in DrawLabel() argument
111 str.appendScalar(sweep); in DrawLabel()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPathParser.java497 double sweep = (eta1 - eta0); in drawArc() local
498 if (isPositiveArc != (sweep >= 0)) { in drawArc()
499 if (sweep > 0) { in drawArc()
500 sweep -= 2 * Math.PI; in drawArc()
502 sweep += 2 * Math.PI; in drawArc()
512 arcToBezier(p, cx, cy, a, b, x0, y0, thetaD, eta0, sweep); in drawArc()
539 double sweep) { in arcToBezier() argument
544 int numSegments = Math.abs((int) Math.ceil(sweep * 4 / Math.PI)); in arcToBezier()
554 double anglePerSegment = sweep / numSegments; in arcToBezier()
/external/swiftshader/src/OpenGL/libEGL/
DTexture.hpp35 virtual void sweep() = 0; // Garbage collect if no external references
43 sweep(); in release()
/external/skia/src/pathops/
DSkOpAngle.cpp337 const SkDVector* sweep, * tweep; in checkParallel() local
339 sweep = this->fPart.fSweep; in checkParallel()
342 sweep = &scratch[0]; in checkParallel()
350 double s0xt0 = sweep->crossCheck(*tweep); in checkParallel()
437 const SkDVector* sweep = this->fPart.fSweep; in convexHullOverlaps() local
439 double s0xs1 = sweep[0].crossCheck(sweep[1]); in convexHullOverlaps()
440 double s0xt0 = sweep[0].crossCheck(tweep[0]); in convexHullOverlaps()
441 double s1xt0 = sweep[1].crossCheck(tweep[0]); in convexHullOverlaps()
443 double s0xt1 = sweep[0].crossCheck(tweep[1]); in convexHullOverlaps()
444 double s1xt1 = sweep[1].crossCheck(tweep[1]); in convexHullOverlaps()
[all …]
/external/skqp/src/pathops/
DSkOpAngle.cpp337 const SkDVector* sweep, * tweep; in checkParallel() local
339 sweep = this->fPart.fSweep; in checkParallel()
342 sweep = &scratch[0]; in checkParallel()
350 double s0xt0 = sweep->crossCheck(*tweep); in checkParallel()
437 const SkDVector* sweep = this->fPart.fSweep; in convexHullOverlaps() local
439 double s0xs1 = sweep[0].crossCheck(sweep[1]); in convexHullOverlaps()
440 double s0xt0 = sweep[0].crossCheck(tweep[0]); in convexHullOverlaps()
441 double s1xt0 = sweep[1].crossCheck(tweep[0]); in convexHullOverlaps()
443 double s0xt1 = sweep[0].crossCheck(tweep[1]); in convexHullOverlaps()
444 double s1xt1 = sweep[1].crossCheck(tweep[1]); in convexHullOverlaps()
[all …]
/external/bcc/tools/
Dnodegc_example.txt35 2.001 63120.00 GC mark-sweep-compact
37 3.207 20847.00 GC mark-sweep-compact
41 is a collection that takes over 60ms (mark-sweep-compact).
Drubygc_example.txt35 2.001 63120.00 GC mark-sweep-compact
37 3.207 20847.00 GC mark-sweep-compact
41 is a collection that takes over 60ms (mark-sweep-compact).
Dpythongc_example.txt35 2.001 63120.00 GC mark-sweep-compact
37 3.207 20847.00 GC mark-sweep-compact
41 is a collection that takes over 60ms (mark-sweep-compact).
Djavagc_example.txt35 2.001 63120.00 GC mark-sweep-compact
37 3.207 20847.00 GC mark-sweep-compact
41 is a collection that takes over 60ms (mark-sweep-compact).
/external/bcc/tools/lib/
Dugc_example.txt35 2.001 63120.00 GC mark-sweep-compact
37 3.207 20847.00 GC mark-sweep-compact
41 is a collection that takes over 60ms (mark-sweep-compact).
/external/skqp/src/utils/
DSkParsePath.cpp167 SkScalar angle, largeArc, sweep; in FromSVGString() local
174 && (data = find_scalar(data, &sweep, false, 0)) in FromSVGString()
178 (SkPath::Direction) !SkToBool(sweep), points[0]); in FromSVGString()
/external/skia/src/utils/
DSkParsePath.cpp167 SkScalar angle, largeArc, sweep; in FromSVGString() local
174 && (data = find_scalar(data, &sweep, false, 0)) in FromSVGString()
178 (SkPath::Direction) !SkToBool(sweep), points[0]); in FromSVGString()
/external/skqp/gm/
Dcirculararcs.cpp42 for (auto sweep : kSweeps) { in draw_arcs() local
43 canvas->drawArc(kRect, start, sweep, useCenter, p0); in draw_arcs()
44 canvas->drawArc(kRect, start, -(360.f - sweep), useCenter, p1); in draw_arcs()
Daddarc.cpp211 SkScalar sweep = ccw ? end - start : start - end; local
213 path->arcTo(bounds, start, sweep, false);
215 path->addArc(bounds, start, sweep);
/external/skia/gm/
Dcirculararcs.cpp42 for (auto sweep : kSweeps) { in draw_arcs() local
43 canvas->drawArc(kRect, start, sweep, useCenter, p0); in draw_arcs()
44 canvas->drawArc(kRect, start, -(360.f - sweep), useCenter, p1); in draw_arcs()
Daddarc.cpp211 SkScalar sweep = ccw ? end - start : start - end; local
213 path->arcTo(bounds, start, sweep, false);
215 path->addArc(bounds, start, sweep);
/external/skia/include/core/
DSkPath.h905 Direction sweep, SkScalar x, SkScalar y);
930 SkPath& arcTo(const SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, Direction sweep, in arcTo() argument
932 return this->arcTo(r.fX, r.fY, xAxisRotate, largeArc, sweep, xy.fX, xy.fY); in arcTo()
962 Direction sweep, SkScalar dx, SkScalar dy);
/external/skqp/include/core/
DSkPath.h905 Direction sweep, SkScalar x, SkScalar y);
930 SkPath& arcTo(const SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, Direction sweep, in arcTo() argument
932 return this->arcTo(r.fX, r.fY, xAxisRotate, largeArc, sweep, xy.fX, xy.fY); in arcTo()
962 Direction sweep, SkScalar dx, SkScalar dy);
/external/skqp/modules/pathkit/
Dpathkit_wasm_bindings.cpp328 const auto sweep = SkRadiansToDegrees(endAngle - startAngle) - 360 * ccw; in ApplyAddArc() local
329 temp.addArc(bounds, SkRadiansToDegrees(startAngle), sweep); in ApplyAddArc()
339 const auto sweep = SkRadiansToDegrees(endAngle - startAngle) - (360 * ccw); in ApplyEllipse() local
340 temp.addArc(bounds, SkRadiansToDegrees(startAngle), sweep); in ApplyEllipse()
/external/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp328 const auto sweep = SkRadiansToDegrees(endAngle - startAngle) - 360 * ccw; in ApplyAddArc() local
329 temp.addArc(bounds, SkRadiansToDegrees(startAngle), sweep); in ApplyAddArc()
339 const auto sweep = SkRadiansToDegrees(endAngle - startAngle) - (360 * ccw); in ApplyEllipse() local
340 temp.addArc(bounds, SkRadiansToDegrees(startAngle), sweep); in ApplyEllipse()

1234