/frameworks/base/core/java/android/view/ |
D | RoundScrollbarRenderer.java | 77 float sweepAngle = (linearThumbLength / maxScroll) * SCROLLBAR_ANGLE_RANGE; in drawRoundScrollbars() local 78 sweepAngle = clamp(sweepAngle, MIN_SCROLLBAR_ANGLE_SWIPE, MAX_SCROLLBAR_ANGLE_SWIPE); in drawRoundScrollbars() 80 float startAngle = (currentScroll * (SCROLLBAR_ANGLE_RANGE - sweepAngle)) in drawRoundScrollbars() 83 SCROLLBAR_ANGLE_RANGE / 2 - sweepAngle); in drawRoundScrollbars() 94 canvas.drawArc(mRect, startAngle, sweepAngle, false, mThumbPaint); in drawRoundScrollbars()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Path.java | 451 public void arcTo(RectF oval, float startAngle, float sweepAngle, in arcTo() argument 453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); in arcTo() 467 public void arcTo(RectF oval, float startAngle, float sweepAngle) { in arcTo() argument 468 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); in arcTo() 484 float sweepAngle, boolean forceMoveTo) { in arcTo() argument 486 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); in arcTo() 590 public void addArc(RectF oval, float startAngle, float sweepAngle) { in addArc() argument 591 addArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle); in addArc() 601 float sweepAngle) { in addArc() argument 603 native_addArc(mNativePath, left, top, right, bottom, startAngle, sweepAngle); in addArc() [all …]
|
D | Canvas.java | 1192 public void drawArc(@NonNull RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() argument 1194 drawArc(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, useCenter, in drawArc() 1220 float sweepAngle, boolean useCenter, @NonNull Paint paint) { in drawArc() argument 1221 native_drawArc(mNativeCanvasWrapper, left, top, right, bottom, startAngle, sweepAngle, in drawArc()
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | ArcShape.java | 41 public ArcShape(float startAngle, float sweepAngle) { in ArcShape() argument 43 mSweep = sweepAngle; in ArcShape()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Path_Delegate.java | 307 float startAngle, float sweepAngle, boolean forceMoveTo) { in native_arcTo() argument 313 pathDelegate.arcTo(left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); in native_arcTo() 363 float bottom, float startAngle, float sweepAngle) { in native_addArc() argument 372 -startAngle, -sweepAngle, Arc2D.OPEN), false); in native_addArc() 794 float sweepAngle, in arcTo() argument 797 -sweepAngle, Arc2D.OPEN); in arcTo()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | MaterialProgressDrawable.java | 534 float sweepAngle = endAngle - startAngle; in draw() local 537 c.drawArc(arcBounds, startAngle, sweepAngle, false, mPaint); in draw() 539 drawTriangle(c, startAngle, sweepAngle, bounds); in draw() 549 private void drawTriangle(Canvas c, float startAngle, float sweepAngle, Rect bounds) { in drawTriangle() argument 576 c.rotate(startAngle + sweepAngle - ARROW_OFFSET_ANGLE, bounds.exactCenterX(), in drawTriangle()
|
/frameworks/base/libs/hwui/ |
D | RecordedOp.h | 205 ArcOp(BASE_PARAMS, float startAngle, float sweepAngle, bool useCenter) in ArcOp() 208 , sweepAngle(sweepAngle) in ArcOp() 211 const float sweepAngle; member
|
D | PathCache.cpp | 554 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) { in getArc() argument 559 entry.shape.arc.mSweepAngle = sweepAngle; in getArc() 571 path.arcTo(r, startAngle, sweepAngle, !useCenter); in getArc()
|
D | DisplayListCanvas.cpp | 393 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) { in drawArc() argument 394 if (fabs(sweepAngle) >= 360.0f) { in drawArc() 398 startAngle, sweepAngle, useCenter, refPaint(&paint))); in drawArc()
|
D | RecordingCanvas.cpp | 435 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) { in drawArc() argument 438 if (fabs(sweepAngle) >= 360.0f) { in drawArc() 446 startAngle, sweepAngle, useCenter)); in drawArc()
|
D | PathCache.h | 199 PathTexture* getArc(float width, float height, float startAngle, float sweepAngle,
|
D | SkiaCanvas.cpp | 131 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) override; 606 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) { in drawArc() argument 608 mCanvas->drawArc(arc, startAngle, sweepAngle, useCenter, paint); in drawArc()
|
D | DisplayListCanvas.h | 190 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) override;
|
D | RecordingCanvas.h | 169 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) override;
|
D | OpenGLRenderer.h | 190 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint);
|
D | BakedOpDispatcher.cpp | 406 op.startAngle, op.sweepAngle, op.useCenter, op.paint); in onArcOp() 418 path.arcTo(rect, op.startAngle, op.sweepAngle, !op.useCenter); in onArcOp()
|
D | OpenGLRenderer.cpp | 1890 float startAngle, float sweepAngle, bool useCenter, const SkPaint* p) { 1901 startAngle, sweepAngle, useCenter, p); 1914 path.arcTo(rect, startAngle, sweepAngle, !useCenter);
|
D | DisplayListOp.h | 1155 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) in DrawArcOp() argument 1157 mStartAngle(startAngle), mSweepAngle(sweepAngle), mUseCenter(useCenter) {} in DrawArcOp()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 178 public void drawArc(RectF oval, float startAngle, float sweepAngle, boolean useCenter, in drawArc() argument 184 float sweepAngle, boolean useCenter, Paint paint) { in drawArc() argument
|
/frameworks/base/core/jni/android/graphics/ |
D | Path.cpp | 154 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, in arcTo() argument 158 obj->arcTo(oval, startAngle, sweepAngle, forceMoveTo); in arcTo() 188 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) { in addArc() argument 191 obj->addArc(oval, startAngle, sweepAngle); in addArc()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 191 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) = 0;
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 295 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, in drawArc() argument 298 get_canvas(canvasHandle)->drawArc(left, top, right, bottom, startAngle, sweepAngle, in drawArc()
|