Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DShapeCache.cpp145 float startAngle, float sweepAngle, bool useCenter, SkPaint* paint) { in getArc() argument
146 ArcShapeCacheEntry entry(width, height, startAngle, sweepAngle, useCenter, paint); in getArc()
153 if (useCenter) { in getArc()
156 path.arcTo(r, startAngle, sweepAngle, !useCenter); in getArc()
157 if (useCenter) { in getArc()
DShapeCache.h261 bool useCenter, SkPaint* paint): in ArcShapeCacheEntry()
267 mUseCenter = useCenter ? 1 : 0; in ArcShapeCacheEntry()
409 bool useCenter, SkPaint* paint);
DOpenGLRenderer.cpp2424 float startAngle, float sweepAngle, bool useCenter, SkPaint* p) { in drawArc() argument
2434 …kStroke_Style || p->getPathEffect() != 0 || p->getStrokeCap() != SkPaint::kButt_Cap || useCenter) { in drawArc()
2437 startAngle, sweepAngle, useCenter, p); in drawArc()
2447 if (useCenter) { in drawArc()
2450 path.arcTo(rect, startAngle, sweepAngle, !useCenter); in drawArc()
2451 if (useCenter) { in drawArc()
DOpenGLRenderer.h194 float startAngle, float sweepAngle, bool useCenter, SkPaint* paint);
DDisplayListRenderer.h601 float startAngle, float sweepAngle, bool useCenter, SkPaint* paint);
DDisplayListRenderer.cpp1711 float startAngle, float sweepAngle, bool useCenter, SkPaint* paint) { in drawArc() argument
1715 addInt(useCenter ? 1 : 0); in drawArc()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java987 public void drawArc(RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() argument
993 useCenter, paint.mNativePaint); in drawArc()
1691 boolean useCenter, int paint); in native_drawArc() argument
/frameworks/base/core/java/android/view/
DGLES20Canvas.java717 public void drawArc(RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() argument
722 startAngle, sweepAngle, useCenter, paint.mNativePaint); in drawArc()
730 boolean useCenter, int paint); in nDrawArc() argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java737 final boolean useCenter, int paint) { in native_drawArc() argument
748 useCenter ? Arc2D.PIE : Arc2D.OPEN); in native_drawArc()
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp448 jfloat startAngle, jfloat sweepAngle, jboolean useCenter, SkPaint* paint) { in android_view_GLES20Canvas_drawArc() argument
449 renderer->drawArc(left, top, right, bottom, startAngle, sweepAngle, useCenter, paint); in android_view_GLES20Canvas_drawArc()
/frameworks/base/core/jni/android/graphics/
DCanvas.cpp419 jboolean useCenter, SkPaint* paint) { in drawArc() argument
423 SkFloatToScalar(sweepAngle), useCenter, *paint); in drawArc()