Home
last modified time | relevance | path

Searched refs:useCenter (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/hwui/
DRecordingCanvas.cpp227 DrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in DrawArc()
232 , useCenter(useCenter) in DrawArc()
237 bool useCenter; member
240 c->drawArc(oval, startAngle, sweepAngle, useCenter, paint); in draw()
591 bool useCenter, const SkPaint& paint) { in drawArc() argument
592 this->push<DrawArc>(0, oval, startAngle, sweepAngle, useCenter, paint); in drawArc()
863 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
864 fDL->drawArc(oval, startAngle, sweepAngle, useCenter, paint); in onDrawArc()
DSkiaCanvas.h120 float sweepAngle, bool useCenter, const SkPaint& paint) override;
DSkiaCanvas.cpp522 float sweepAngle, bool useCenter, const SkPaint& paint) { in drawArc() argument
528 mCanvas->drawArc(arc, startAngle, sweepAngle, useCenter, *filterPaint(paint)); in drawArc()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java182 public void drawArc(RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() argument
188 float sweepAngle, boolean useCenter, Paint paint) { in drawArc() argument
/frameworks/base/libs/hwui/tests/unit/
DFatalTestCanvas.h50 void onDrawArc(const SkRect&, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in onDrawArc() argument
DRenderNodeDrawableTests.cpp436 void onDrawArc(const SkRect&, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java95 float sweepAngle, boolean useCenter, @NonNull Paint paint) { in drawArc() argument
98 useCenter, paint.getNativeInstance()); in drawArc()
101 public void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() argument
104 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, in drawArc()
703 float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint); in nDrawArc() argument
DBaseRecordingCanvas.java49 float sweepAngle, boolean useCenter, @NonNull Paint paint) { in drawArc() argument
51 useCenter, paint.getNativeInstance()); in drawArc()
56 boolean useCenter, @NonNull Paint paint) { in drawArc() argument
57 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, in drawArc()
633 float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint); in nDrawArc() argument
DCanvas.java1475 public void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() argument
1477 super.drawArc(oval, startAngle, sweepAngle, useCenter, paint); in drawArc()
1505 float sweepAngle, boolean useCenter, @NonNull Paint paint) { in drawArc() argument
1506 super.drawArc(left, top, right, bottom, startAngle, sweepAngle, useCenter, paint); in drawArc()
/frameworks/base/libs/hwui/hwui/
DCanvas.h250 float sweepAngle, bool useCenter, const SkPaint& paint) = 0;
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java275 final boolean useCenter, long paint) { in nDrawArc() argument
284 useCenter ? Arc2D.PIE : Arc2D.OPEN); in nDrawArc()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp350 jboolean useCenter, jlong paintHandle) { in drawArc() argument
353 useCenter, *paint); in drawArc()