Home
last modified time | relevance | path

Searched refs:drawArc (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DShapesActivity.java128 canvas.drawArc(mArc, -30.0f, 70.0f, true, mNormalPaint); in onDraw()
131 canvas.drawArc(mArc, -30.0f, 70.0f, true, mStrokePaint); in onDraw()
134 canvas.drawArc(mArc, -30.0f, 70.0f, true, mFillPaint); in onDraw()
139 canvas.drawArc(mArc, 30.0f, 100.0f, false, mNormalPaint); in onDraw()
142 canvas.drawArc(mArc, 30.0f, 100.0f, false, mStrokePaint); in onDraw()
145 canvas.drawArc(mArc, 30.0f, 100.0f, false, mFillPaint); in onDraw()
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DCardViewBaseImpl.java51 canvas.drawArc(mCornerRect, 180, 90, true, paint); in initStatic()
54 canvas.drawArc(mCornerRect, 180, 90, true, paint); in initStatic()
57 canvas.drawArc(mCornerRect, 180, 90, true, paint); in initStatic()
60 canvas.drawArc(mCornerRect, 180, 90, true, paint); in initStatic()
/frameworks/support/core-ui/tests/java/android/support/v4/widget/
DCircularProgressDrawableTest.java71 verify(mMockCanvas).drawArc(captor.capture(), anyFloat(), anyFloat(), anyBoolean(), in sizeIsSquareBasedOnSmallerEdgeWithNoCenterRadius()
90 verify(mMockCanvas).drawArc(boundsCaptor.capture(), anyFloat(), anyFloat(), anyBoolean(), in setCenterRadiusFixesSize()
/frameworks/base/core/java/android/view/
DRoundScrollbarRenderer.java92 canvas.drawArc(mRect, -SCROLLBAR_ANGLE_RANGE / 2, SCROLLBAR_ANGLE_RANGE, false, in drawRoundScrollbars()
94 canvas.drawArc(mRect, startAngle, sweepAngle, false, mThumbPaint); in drawRoundScrollbars()
DRecordingCanvas.java57 public final void drawArc(float left, float top, float right, float bottom, float startAngle, in drawArc() method in RecordingCanvas
64 public final void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, in drawArc() method in RecordingCanvas
66 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, in drawArc()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DArcShape.java64 canvas.drawArc(rect(), mStartAngle, mSweepAngle, true, paint); in draw()
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp170 static void drawArc(SkPath* p, in drawArc() function
208 drawArc(p, x0, y0, x1, y1, a * adjust, in drawArc()
451 drawArc(outPath, in addCommand()
467 drawArc(outPath, in addCommand()
/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() method in NopCanvas
187 public void drawArc(float left, float top, float right, float bottom, float startAngle, in drawArc() method in NopCanvas
/frameworks/support/compat/java/android/support/v4/graphics/
DPathParser.java569 drawArc(path, in addCommand()
585 drawArc(path, in addCommand()
611 private static void drawArc(Path p, in drawArc() method in PathParser.PathDataNode
649 drawArc(p, x0, y0, x1, y1, a * adjust, in drawArc()
/frameworks/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java656 drawArc(path, in addCommand()
672 drawArc(path, in addCommand()
698 private static void drawArc(@NonNull Path_Delegate p, float x0, float y0, float x1, in drawArc() method in PathParser_Delegate.PathDataNode
732 drawArc(p, x0, y0, x1, y1, a * adjust, b * adjust, theta, in drawArc()
/frameworks/base/libs/hwui/tests/common/scenes/
DShapeAnimation.cpp38 canvas.drawArc(0, 0, size, size, 50, 189, true, paint); in createContent()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java1321 public void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() method in Canvas
1323 super.drawArc(oval, startAngle, sweepAngle, useCenter, paint); in drawArc()
1350 public void drawArc(float left, float top, float right, float bottom, float startAngle, in drawArc() method in Canvas
1352 super.drawArc(left, top, right, bottom, startAngle, sweepAngle, useCenter, paint); in drawArc()
DBaseCanvas.java83 public void drawArc(float left, float top, float right, float bottom, float startAngle, in drawArc() method in BaseCanvas
90 public void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() method in BaseCanvas
93 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, in drawArc()
/frameworks/support/wear/src/android/support/wear/widget/
DProgressDrawable.java158 canvas.drawArc( in draw()
DCircledImageView.java264 canvas.drawArc(mOval, -90, 360 * mProgress, false, mPaint); in onDraw()
/frameworks/base/libs/hwui/tests/unit/
DRecordingCanvasTests.cpp104 canvas.drawArc(0, 0, 200, 200, 0, 360, true, emptyPaint); in OPENGL_PIPELINE_TEST()
112 OPENGL_PIPELINE_TEST(RecordingCanvas, drawArc) { in OPENGL_PIPELINE_TEST() argument
114 canvas.drawArc(0, 0, 200, 200, 0, 180, true, SkPaint()); in OPENGL_PIPELINE_TEST()
115 canvas.drawArc(0, 0, 100, 100, 0, 360, true, SkPaint()); in OPENGL_PIPELINE_TEST()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DDisplayModifier.java406 canvas.drawArc(gRect, 260, 285, false, paint);
414 canvas.drawArc(gRect, 260, 285, true, paint);
/frameworks/base/libs/hwui/hwui/
DCanvas.h231 virtual void drawArc(float left, float top, float right, float bottom,
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp299 static void drawArc(JNIEnv* env, jobject, jlong canvasHandle, jfloat left, jfloat top, in drawArc() function
303 get_canvas(canvasHandle)->drawArc(left, top, right, bottom, startAngle, sweepAngle, in drawArc()
628 {"nDrawArc","(JFFFFFFZJ)V", (void*) CanvasJNI::drawArc},
/frameworks/base/libs/hwui/
DSkiaCanvas.h123 virtual void drawArc(float left, float top, float right, float bottom,
DSkiaCanvas.cpp512 void SkiaCanvas::drawArc(float left, float top, float right, float bottom, in drawArc() function in android::SkiaCanvas
516 mCanvas->drawArc(arc, startAngle, sweepAngle, useCenter, paint); in drawArc()
DRecordingCanvas.h168 virtual void drawArc(float left, float top, float right, float bottom,
DSkiaCanvasProxy.cpp109 mCanvas->drawArc(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, in onDrawArc()
DRecordingCanvas.cpp431 void RecordingCanvas::drawArc(float left, float top, float right, float bottom, in drawArc() function in android::uirenderer::RecordingCanvas
/frameworks/support/core-ui/java/android/support/v4/widget/
DCircularProgressDrawable.java711 c.drawArc(arcBounds, startAngle, sweepAngle, false, mPaint); in draw()

12