Searched refs:whitePercent (Results 1 – 2 of 2) sorted by relevance
134 val whitePercent: Float = 1f - if (redPercent > 1) 1f else redPercent in onDraw() constant137 canvas.drawArc(mArcRect, 270 + (1 - whitePercent) * 360, whitePercent * 360, false, mPaint) in onDraw()
131 val whitePercent = 1 - redPercent in onDraw() constant134 canvas.drawArc(mArcRect, 270f, whitePercent * 360, false, mPaint) in onDraw()