/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
D | PieRenderer.java | 69 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/ |
D | PathOpsAngleIdeas.cpp | 118 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/ |
D | PathOpsAngleIdeas.cpp | 118 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/ |
D | arc.py | 26 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/ |
D | SampleArc.cpp | 47 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/ |
D | SampleArc.cpp | 47 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/ |
D | ShadowPathParser.java | 497 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/ |
D | Texture.hpp | 35 virtual void sweep() = 0; // Garbage collect if no external references 43 sweep(); in release()
|
/external/skia/src/pathops/ |
D | SkOpAngle.cpp | 337 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/ |
D | SkOpAngle.cpp | 337 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/ |
D | nodegc_example.txt | 35 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).
|
D | rubygc_example.txt | 35 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).
|
D | pythongc_example.txt | 35 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).
|
D | javagc_example.txt | 35 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/ |
D | ugc_example.txt | 35 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/ |
D | SkParsePath.cpp | 167 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/ |
D | SkParsePath.cpp | 167 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/ |
D | circulararcs.cpp | 42 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()
|
D | addarc.cpp | 211 SkScalar sweep = ccw ? end - start : start - end; local 213 path->arcTo(bounds, start, sweep, false); 215 path->addArc(bounds, start, sweep);
|
/external/skia/gm/ |
D | circulararcs.cpp | 42 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()
|
D | addarc.cpp | 211 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/ |
D | SkPath.h | 905 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/ |
D | SkPath.h | 905 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/ |
D | pathkit_wasm_bindings.cpp | 328 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/ |
D | pathkit_wasm_bindings.cpp | 328 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()
|