code: private void setupPaints() {
      barPaint.setColor(barColor);
      barPaint.setAntiAlias(true);
      barPaint.setStyle(Style.STROKE);
      barPaint.setStrokeWidth(barWidth);
  
      rimPaint.setColor(rimColor);
      rimPaint.setAntiAlias(true);
      rimPaint.setStyle(Style.STROKE);
      rimPaint.setStrokeWidth(rimWidth);
    }
docs: Set the properties of the paints we're using to
  draw the progress wheel