Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRecordedOp.h206 ArcOp(BASE_PARAMS, float startAngle, float sweepAngle, bool useCenter) in ArcOp()
210 , useCenter(useCenter) {} in ArcOp()
213 const bool useCenter; member
DPathCache.cpp536 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) { in getArc() argument
542 entry.shape.arc.mUseCenter = useCenter; in getArc()
550 if (useCenter) { in getArc()
553 path.arcTo(r, startAngle, sweepAngle, !useCenter); in getArc()
554 if (useCenter) { in getArc()
DSkiaCanvasProxy.h63 virtual void onDrawArc(const SkRect&, SkScalar startAngle, SkScalar sweepAngle, bool useCenter,
DPathCache.h206 bool useCenter, const SkPaint* paint);
DBakedOpDispatcher.cpp397 || op.useCenter) { in onArcOp()
400 op.startAngle, op.sweepAngle, op.useCenter, op.paint); in onArcOp()
409 if (op.useCenter) { in onArcOp()
412 path.arcTo(rect, op.startAngle, op.sweepAngle, !op.useCenter); in onArcOp()
413 if (op.useCenter) { in onArcOp()
DSkiaCanvasProxy.cpp108 bool useCenter, const SkPaint& paint) { in onDrawArc() argument
110 startAngle, sweepAngle, useCenter, paint); in onDrawArc()
DSkiaCanvas.h124 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) override;
DRecordingCanvas.cpp432 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) { in drawArc() argument
443 startAngle, sweepAngle, useCenter)); in drawArc()
DSkiaCanvas.cpp513 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) { in drawArc() argument
516 mCanvas->drawArc(arc, startAngle, sweepAngle, useCenter, paint); in drawArc()
DRecordingCanvas.h169 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) override;
/frameworks/base/tools/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/graphics/java/android/graphics/
DBaseCanvas.java84 float sweepAngle, boolean useCenter, @NonNull Paint paint) { in drawArc() argument
87 useCenter, paint.getNativeInstance()); in drawArc()
90 public void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() argument
93 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, in drawArc()
592 float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint); in nDrawArc() argument
DCanvas.java1321 public void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() argument
1323 super.drawArc(oval, startAngle, sweepAngle, useCenter, paint); in drawArc()
1351 float sweepAngle, boolean useCenter, @NonNull Paint paint) { in drawArc() argument
1352 super.drawArc(left, top, right, bottom, startAngle, sweepAngle, useCenter, paint); in drawArc()
/frameworks/base/core/java/android/view/
DRecordingCanvas.java58 float sweepAngle, boolean useCenter, @NonNull Paint paint) { in drawArc() argument
60 useCenter, paint.getNativeInstance()); in drawArc()
65 boolean useCenter, @NonNull Paint paint) { in drawArc() argument
66 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, in drawArc()
584 float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint); in nDrawArc() argument
/frameworks/base/libs/hwui/tests/unit/
DFatalTestCanvas.h73 void onDrawArc(const SkRect&, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in onDrawArc() argument
DRenderNodeDrawableTests.cpp358 void onDrawArc(const SkRect&, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in RENDERTHREAD_TEST() argument
/frameworks/base/libs/hwui/hwui/
DCanvas.h229 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) = 0;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java265 final boolean useCenter, long paint) { in nDrawArc() argument
274 useCenter ? Arc2D.PIE : Arc2D.OPEN); in nDrawArc()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp300 jboolean useCenter, jlong paintHandle) { in drawArc() argument
303 useCenter, *paint); in drawArc()