@Override
  public void setRadii(float[] radii) {
    if (radii == null) {
      Arrays.fill(mRadii, 0);
    } else {
      Preconditions.checkArgument(radii.length == 8, "radii should have exactly 8 values");
      System.arraycopy(radii, 0, mRadii, 0, 8);
    }
    updatePath();
    invalidateSelf();
  }
Sets the rounding radii.

@param radii Each corner receive two radius values [X, Y]. The corners are ordered top-left,
    top-right, bottom-right, bottom-left
drawee/src/main/java/com/facebook/drawee/drawable/RoundedColorDrawable.java