Home
last modified time | relevance | path

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

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