Searched defs:useCenter (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/libs/hwui/
H A DPathCache.cpp536 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) {
542 entry.shape.arc.mUseCenter = useCenter;
550 if (useCenter) {
553 path.arcTo(r, startAngle, sweepAngle, !useCenter);
554 if (useCenter) {
535 getArc(float width, float height, float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) argument
H A DRecordedOp.h206 ArcOp(BASE_PARAMS, float startAngle, float sweepAngle, bool useCenter) argument
210 , useCenter(useCenter) {}
213 const bool useCenter; member in struct:android::uirenderer::ArcOp
H A DRecordingCanvas.cpp432 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) {
443 startAngle, sweepAngle, useCenter)); local
431 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument
H A DSkiaCanvasProxy.cpp108 bool useCenter, const SkPaint& paint) {
110 startAngle, sweepAngle, useCenter, paint);
107 onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, const SkPaint& paint) argument
H A DSkiaCanvas.cpp513 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) {
516 mCanvas->drawArc(arc, startAngle, sweepAngle, useCenter, paint);
512 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument
/frameworks/base/libs/hwui/tests/unit/
H A DFatalTestCanvas.h73 void onDrawArc(const SkRect&, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java182 public void drawArc(RectF oval, float startAngle, float sweepAngle, boolean useCenter, argument
188 float sweepAngle, boolean useCenter, Paint paint) {
187 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, Paint paint) argument
/frameworks/base/core/java/android/view/
H A DRecordingCanvas.java58 float sweepAngle, boolean useCenter, @NonNull Paint paint) {
60 useCenter, paint.getNativeInstance());
65 boolean useCenter, @NonNull Paint paint) {
66 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter,
584 float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint);
57 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument
64 drawArc(@onNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument
583 nDrawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument
/frameworks/base/graphics/java/android/graphics/
H A DBaseCanvas.java84 float sweepAngle, boolean useCenter, @NonNull Paint paint) {
87 useCenter, paint.getNativeInstance());
90 public void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, argument
93 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter,
592 float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint);
83 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument
591 nDrawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument
H A DCanvas.java1317 * @param useCenter If true, include the center of the oval in the arc, and close it if it is
1321 public void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, argument
1323 super.drawArc(oval, startAngle, sweepAngle, useCenter, paint);
1346 * @param useCenter If true, include the center of the oval in the arc, and close it if it is
1351 float sweepAngle, boolean useCenter, @NonNull Paint paint) {
1352 super.drawArc(left, top, right, bottom, startAngle, sweepAngle, useCenter, paint);
1350 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBaseCanvas_Delegate.java265 final boolean useCenter, long paint) {
274 useCenter ? Arc2D.PIE : Arc2D.OPEN);
262 nDrawArc(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/core/jni/
H A Dandroid_graphics_Canvas.cpp300 jboolean useCenter, jlong paintHandle) {
303 useCenter, *paint);
298 drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, jlong paintHandle) argument

Completed in 106 milliseconds