Home
last modified time | relevance | path

Searched refs:sweepAngle (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DPath.java436 public void arcTo(RectF oval, float startAngle, float sweepAngle, in arcTo() argument
438 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); in arcTo()
452 public void arcTo(RectF oval, float startAngle, float sweepAngle) { in arcTo() argument
453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); in arcTo()
469 float sweepAngle, boolean forceMoveTo) { in arcTo() argument
471 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); in arcTo()
575 public void addArc(RectF oval, float startAngle, float sweepAngle) { in addArc() argument
576 addArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle); in addArc()
586 float sweepAngle) { in addArc() argument
588 native_addArc(mNativePath, left, top, right, bottom, startAngle, sweepAngle); in addArc()
[all …]
DCanvas.java1150 public void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() argument
1152 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, in drawArc()
1178 float sweepAngle, boolean useCenter, @NonNull Paint paint) { in drawArc() argument
1179 native_drawArc(mNativeCanvasWrapper, left, top, right, bottom, startAngle, sweepAngle, in drawArc()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DArcShape.java40 public ArcShape(float startAngle, float sweepAngle) { in ArcShape() argument
42 mSweep = sweepAngle; in ArcShape()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java302 float startAngle, float sweepAngle, boolean forceMoveTo) { in native_arcTo() argument
308 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); in native_arcTo()
358 float bottom, float startAngle, float sweepAngle) { in native_addArc() argument
367 -startAngle, -sweepAngle, Arc2D.OPEN), false); in native_addArc()
728 float sweepAngle, in arcTo() argument
731 -sweepAngle, Arc2D.OPEN); in arcTo()
/frameworks/support/v4/java/android/support/v4/widget/
DMaterialProgressDrawable.java473 float sweepAngle = endAngle - startAngle; in draw() local
476 c.drawArc(arcBounds, startAngle, sweepAngle, false, mPaint); in draw()
478 drawTriangle(c, startAngle, sweepAngle, bounds); in draw()
488 private void drawTriangle(Canvas c, float startAngle, float sweepAngle, Rect bounds) { in drawTriangle() argument
515 c.rotate(startAngle + sweepAngle - ARROW_OFFSET_ANGLE, bounds.exactCenterX(), in drawTriangle()
/frameworks/base/core/jni/android/graphics/
DPath.cpp156 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, in arcTo() argument
160 obj->arcTo(oval, startAngle, sweepAngle, forceMoveTo); in arcTo()
190 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) { in addArc() argument
193 obj->addArc(oval, startAngle, sweepAngle); in addArc()
DSkiaCanvas.cpp105 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint);
536 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) { in drawArc() argument
538 mCanvas->drawArc(arc, startAngle, sweepAngle, useCenter, paint); in drawArc()
/frameworks/base/libs/hwui/
DPathCache.cpp597 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) { in getArc() argument
602 entry.shape.arc.mSweepAngle = sweepAngle; in getArc()
614 path.arcTo(r, startAngle, sweepAngle, !useCenter); in getArc()
DDisplayListRenderer.cpp320 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) { in drawArc() argument
321 if (fabs(sweepAngle) >= 360.0f) { in drawArc()
327 startAngle, sweepAngle, useCenter, paint)); in drawArc()
DPathCache.h193 PathTexture* getArc(float width, float height, float startAngle, float sweepAngle,
DRenderer.h197 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) = 0;
DDisplayListRenderer.h136 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint);
DOpenGLRenderer.h194 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint);
DDisplayListOp.h1199 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) in DrawArcOp() argument
1201 mStartAngle(startAngle), mSweepAngle(sweepAngle), mUseCenter(useCenter) {} in DrawArcOp()
DOpenGLRenderer.cpp2601 float startAngle, float sweepAngle, bool useCenter, const SkPaint* p) {
2612 startAngle, sweepAngle, useCenter, p);
2625 path.arcTo(rect, startAngle, sweepAngle, !useCenter);
/frameworks/base/include/private/graphics/
DCanvas.h106 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) = 0;
/frameworks/base/core/java/android/view/
DGLES20Canvas.java542 float startAngle, float sweepAngle, boolean useCenter, Paint paint) { in drawArc() argument
544 startAngle, sweepAngle, useCenter, paint.mNativePaint); in drawArc()
548 float right, float bottom, float startAngle, float sweepAngle, in nDrawArc() argument
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp267 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, in drawArc() argument
270 get_canvas(canvasHandle)->drawArc(left, top, right, bottom, startAngle, sweepAngle, in drawArc()
Dandroid_view_GLES20Canvas.cpp524 jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintPtr) { in android_view_GLES20Canvas_drawArc() argument
527 renderer->drawArc(left, top, right, bottom, startAngle, sweepAngle, useCenter, paint); in android_view_GLES20Canvas_drawArc()