Home
last modified time | relevance | path

Searched refs:whitePercent (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchCircleView.java138 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()
DStopwatchCircleView.kt134 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/
DTimerCircleView.java130 final float whitePercent = 1 - redPercent; in onDraw() local
133 canvas.drawArc(mArcRect, 270, whitePercent * 360, false, mPaint); in onDraw()
DTimerCircleView.kt131 val whitePercent = 1 - redPercent in onDraw() constant
134 canvas.drawArc(mArcRect, 270f, whitePercent * 360, false, mPaint) in onDraw()