code: private void drawSlices(Canvas canvas) {
          final PieChartData data = dataProvider.getPieChartData();
          final float sliceScale = 360f / maxSum;
          float lastAngle = rotation;
          int sliceIndex = 0;
          for (SliceValue sliceValue : data.getValues()) {
              final float angle = Math.abs(sliceValue.getValue()) * sliceScale;
              if (isTouched() && selectedValue.getFirstIndex() == sliceIndex) {
                  drawSlice(canvas, sliceValue, lastAngle, angle, MODE_HIGHLIGHT);
              } else {
                  drawSlice(canvas, sliceValue, lastAngle, angle, MODE_DRAW);
              }
              lastAngle += angle;
              ++sliceIndex;
          }
      }
docs: Draw all slices for this PieChart, if mode == {@link #MODE_HIGHLIGHT} currently selected slices will be redrawn
  and
  highlighted.
  
  @param canvas