Home
last modified time | relevance | path

Searched refs:sweepAngle (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/view/
DRoundScrollbarRenderer.java77 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/
DPath.java451 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 …]
DCanvas.java1192 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/
DArcShape.java41 public ArcShape(float startAngle, float sweepAngle) { in ArcShape() argument
43 mSweep = sweepAngle; in ArcShape()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java307 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/
DMaterialProgressDrawable.java534 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/
DRecordedOp.h205 ArcOp(BASE_PARAMS, float startAngle, float sweepAngle, bool useCenter) in ArcOp()
208 , sweepAngle(sweepAngle) in ArcOp()
211 const float sweepAngle; member
DPathCache.cpp554 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()
DDisplayListCanvas.cpp393 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()
DRecordingCanvas.cpp435 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()
DPathCache.h199 PathTexture* getArc(float width, float height, float startAngle, float sweepAngle,
DSkiaCanvas.cpp131 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()
DDisplayListCanvas.h190 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) override;
DRecordingCanvas.h169 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) override;
DOpenGLRenderer.h190 float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint);
DBakedOpDispatcher.cpp406 op.startAngle, op.sweepAngle, op.useCenter, op.paint); in onArcOp()
418 path.arcTo(rect, op.startAngle, op.sweepAngle, !op.useCenter); in onArcOp()
DOpenGLRenderer.cpp1890 float startAngle, float sweepAngle, bool useCenter, const SkPaint* p) {
1901 startAngle, sweepAngle, useCenter, p);
1914 path.arcTo(rect, startAngle, sweepAngle, !useCenter);
DDisplayListOp.h1155 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/
DNopCanvas.java178 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/
DPath.cpp154 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/
DCanvas.h191 float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) = 0;
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp295 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, in drawArc() argument
298 get_canvas(canvasHandle)->drawArc(left, top, right, bottom, startAngle, sweepAngle, in drawArc()