Searched refs:whitePercent (Results 1 – 4 of 4) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchCircleView.java | 138 final float whitePercent = 1 - (redPercent > 1 ? 1 : redPercent); in onDraw() local 141 canvas.drawArc(mArcRect, 270 + (1 - whitePercent) * 360, whitePercent * 360, false, mPaint); in onDraw()
|
D | StopwatchCircleView.kt | 134 val whitePercent: Float = 1f - if (redPercent > 1) 1f else redPercent in onDraw() constant 137 canvas.drawArc(mArcRect, 270 + (1 - whitePercent) * 360, whitePercent * 360, false, mPaint) in onDraw()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerCircleView.java | 130 final float whitePercent = 1 - redPercent; in onDraw() local 133 canvas.drawArc(mArcRect, 270, whitePercent * 360, false, mPaint); in onDraw()
|
D | TimerCircleView.kt | 131 val whitePercent = 1 - redPercent in onDraw() constant 134 canvas.drawArc(mArcRect, 270f, whitePercent * 360, false, mPaint) in onDraw()
|