Home
last modified time | relevance | path

Searched refs:startAngle (Results 1 – 5 of 5) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DZoomControlWheel.java160 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()
DIndicatorControlWheel.java307 int startAngle = ((mCurrentLevel == 0) ? CLOSE_ICON_DEFAULT_DEGREES in rotateWheel() local
318 int expectedAngle = startAngle + (totalDegrees * elapsedTime / ANIMATION_TIME); in rotateWheel()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DMaterialProgressDrawable.java197 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/
DStopwatchCircleView.java152 final float startAngle = 270 + markerAngle; in onDraw() local
154 canvas.drawArc(mArcRect, startAngle, sweepAngle, false, mPaint); in onDraw()
DStopwatchCircleView.kt148 val startAngle = 270 + markerAngle in onDraw() constant
150 canvas.drawArc(mArcRect, startAngle, sweepAngle, false, mPaint) in onDraw()