Searched refs:redPercent (Results 1 – 2 of 2) sorted by relevance
107 final float redPercent; in onDraw() local113 redPercent = 0; in onDraw()121 redPercent = 1; in onDraw()128 … redPercent = Math.min(1, (float) mTimer.getElapsedTime() / (float) mTimer.getTotalLength()); in onDraw()129 final float whitePercent = 1 - redPercent; in onDraw()136 canvas.drawArc(mArcRect, 270, -redPercent * 360 , false, mPaint); in onDraw()140 final float dotAngleDegrees = 270 - redPercent * 360; in onDraw()
136 final float redPercent = (float) currentLapTime / (float) firstLapTime; in onDraw() local137 final float whitePercent = 1 - (redPercent > 1 ? 1 : redPercent); in onDraw()144 canvas.drawArc(mArcRect, 270, redPercent * 360 , false, mPaint); in onDraw()157 final float dotAngleDegrees = 270 + redPercent * 360; in onDraw()