Searched defs:sweep (Results 1 - 5 of 5) sorted by relevance
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | PathParser.java | 549 // (rx ry x-axis-rotation large-arc-flag sweep-flag x y) 651 double sweep = (eta1 - eta0); 652 if (isPositiveArc != (sweep >= 0)) { 653 if (sweep > 0) { 654 sweep -= 2 * Math.PI; 656 sweep += 2 * Math.PI; 666 arcToBezier(p, cx, cy, a, b, x0, y0, thetaD, eta0, sweep); 681 * @param sweep The angle (positive or negative) of the sweep of the arc on the ellipse 692 double sweep) { 683 arcToBezier(Path p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | VectorDrawableUtils.cpp | 111 * @param sweep The angle (positive or negative) of the sweep of the arc on the ellipse 122 double sweep) { 127 int numSegments = ceil(fabs(sweep * 4 / M_PI)); 137 double anglePerSegment = sweep / numSegments; 229 double sweep = (eta1 - eta0); local 230 if (isPositiveArc != (sweep >= 0)) { 231 if (sweep > 0) { 232 sweep -= 2 * M_PI; 234 sweep 113 arcToBezier(SkPath* p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | PathParser_Delegate.java | 652 // (rx ry x-axis-rotation large-arc-flag sweep-flag x y) 753 double sweep = (eta1 - eta0); 754 if (isPositiveArc != (sweep >= 0)) { 755 if (sweep > 0) { 756 sweep -= 2 * Math.PI; 758 sweep += 2 * Math.PI; 769 "cx, cy, a, b, x0, y0, thetaD, eta0, sweep = " + cx + " , " 772 + Math.toDegrees(eta0) + " , " + Math.toDegrees(sweep)); 774 arcToBezier(p, cx, cy, a, b, x0, y0, thetaD, eta0, sweep); 790 * @param sweep Th 792 arcToBezier(@onNull Path_Delegate p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 647 final float startAngle, final float sweep, 658 -startAngle, -sweep, 645 native_drawArc(long nativeCanvas, final float left, final float top, final float right, final float bottom, final float startAngle, final float sweep, final boolean useCenter, long paint) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1176 * <p>If the sweep angle is >= 360, then the oval is drawn 1178 * treats the sweep angle modulo 360. If the sweep angle is negative, 1179 * the sweep angle is treated as sweep angle modulo 360</p> 1205 * <p>If the sweep angle is >= 360, then the oval is drawn 1207 * treats the sweep angle modulo 360. If the sweep angle is negative, 1208 * the sweep angle is treated as sweep angl 2073 native_drawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument [all...] |
Completed in 300 milliseconds