Home
last modified time | relevance | path

Searched refs:sweepAngle (Results 1 – 16 of 16) 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.java1195 public void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() argument
1197 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, in drawArc()
1223 float sweepAngle, boolean useCenter, @NonNull Paint paint) { in drawArc() argument
1224 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.java304 float startAngle, float sweepAngle, boolean forceMoveTo) { in native_arcTo() argument
310 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); in native_arcTo()
360 float bottom, float startAngle, float sweepAngle) { in native_addArc() argument
369 -startAngle, -sweepAngle, Arc2D.OPEN), false); in native_addArc()
777 float sweepAngle, in arcTo() argument
780 -sweepAngle, Arc2D.OPEN); in arcTo()
/frameworks/support/v4/java/android/support/v4/widget/
DMaterialProgressDrawable.java535 float sweepAngle = endAngle - startAngle; in draw() local
538 c.drawArc(arcBounds, startAngle, sweepAngle, false, mPaint); in draw()
540 drawTriangle(c, startAngle, sweepAngle, bounds); in draw()
550 private void drawTriangle(Canvas c, float startAngle, float sweepAngle, Rect bounds) { in drawTriangle() argument
577 c.rotate(startAngle + sweepAngle - ARROW_OFFSET_ANGLE, bounds.exactCenterX(), in drawTriangle()
/frameworks/base/core/jni/android/graphics/
DPath.cpp154 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, in arcTo() argument
158 obj->arcTo(oval, startAngle, sweepAngle, forceMoveTo); in arcTo()
188 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) { in addArc() argument
191 obj->addArc(oval, startAngle, sweepAngle); in addArc()
/frameworks/base/libs/hwui/
DPathCache.cpp538 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) { in getArc() argument
543 entry.shape.arc.mSweepAngle = sweepAngle; in getArc()
555 path.arcTo(r, startAngle, sweepAngle, !useCenter); in getArc()
DDisplayListCanvas.cpp402 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) { in drawArc() argument
403 if (fabs(sweepAngle) >= 360.0f) { in drawArc()
407 startAngle, sweepAngle, useCenter, refPaint(&paint))); in drawArc()
DCanvas.h127 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) = 0;
DSkiaCanvas.cpp104 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) override;
526 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) { in drawArc() argument
528 mCanvas->drawArc(arc, startAngle, sweepAngle, useCenter, paint); in drawArc()
DPathCache.h201 PathTexture* getArc(float width, float height, float startAngle, float sweepAngle,
DDisplayListCanvas.h213 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) override;
DOpenGLRenderer.h210 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint);
DDisplayListOp.h1149 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) in DrawArcOp() argument
1151 mStartAngle(startAngle), mSweepAngle(sweepAngle), mUseCenter(useCenter) {} in DrawArcOp()
DOpenGLRenderer.cpp1950 float startAngle, float sweepAngle, bool useCenter, const SkPaint* p) {
1961 startAngle, sweepAngle, useCenter, p);
1974 path.arcTo(rect, startAngle, sweepAngle, !useCenter);
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp277 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, in drawArc() argument
280 get_canvas(canvasHandle)->drawArc(left, top, right, bottom, startAngle, sweepAngle, in drawArc()