Searched refs:startAngle (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/ |
D | CompositeCircleView.java | 77 public void configure(float startAngle, int[] values, int[] colors, int strokeWidth) { in configure() argument 94 startAngle = startAngle + (SEGMENT_ANGLE_SPACING_DEG * 0.5f); in configure() 115 pcv.setStartAngle(startAngle); in configure() 124 mPartialCircleCenterAngles[i] = (startAngle + (sweepAngle * 0.5f)) % 360; in configure() 142 startAngle += sweepAngle; in configure() 143 startAngle += SEGMENT_ANGLE_SPACING_DEG; in configure() 144 startAngle %= 360; in configure()
|
D | PartialCircleView.java | 76 public void setStartAngle(float startAngle) { in setStartAngle() argument 77 if (mStartAngle != startAngle) { in setStartAngle() 78 mStartAngle = startAngle; in setStartAngle()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ZoomControlWheel.java | 160 private void drawArc(Canvas canvas, int startAngle, int sweepAngle, in drawArc() argument 167 canvas.drawArc(mBackgroundRect, startAngle, sweepAngle, false, mBackgroundPaint); in drawArc() 173 int startAngle = -MAX_SLIDER_ANGLE - (int) Math.toDegrees(mRotateAngle); in onDraw() local 175 if ((startAngle + radians) > 0) radians = -startAngle; in onDraw() 176 drawArc(canvas, startAngle, radians, in onDraw()
|
D | IndicatorControlWheel.java | 314 int startAngle = ((mCurrentLevel == 0) ? CLOSE_ICON_DEFAULT_DEGREES in rotateWheel() local 325 int expectedAngle = startAngle + (totalDegrees * elapsedTime / ANIMATION_TIME); in rotateWheel()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | MaterialProgressDrawable.java | 197 public void setStartEndTrim(float startAngle, float endAngle) { in setStartEndTrim() argument 198 mRing.setStartTrim(startAngle); in setStartEndTrim() 537 final float startAngle = (mStartTrim + mRotation) * 360; in draw() local 539 float sweepAngle = endAngle - startAngle; in draw() 542 c.drawArc(arcBounds, startAngle, sweepAngle, false, mPaint); in draw() 544 drawTriangle(c, startAngle, sweepAngle, bounds); in draw() 554 private void drawTriangle(Canvas c, float startAngle, float sweepAngle, Rect bounds) { in drawTriangle() argument 581 c.rotate(startAngle + sweepAngle - ARROW_OFFSET_ANGLE, bounds.exactCenterX(), in drawTriangle()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchCircleView.kt | 148 val startAngle = 270 + markerAngle in onDraw() constant 150 canvas.drawArc(mArcRect, startAngle, sweepAngle, false, mPaint) in onDraw()
|