@Override
  public void setScaleDownInsideBorders(boolean scaleDownInsideBorders) {
    if (mScaleDownInsideBorders != scaleDownInsideBorders) {
      mScaleDownInsideBorders = scaleDownInsideBorders;
      mIsPathDirty = true;
      invalidateSelf();
    }
  }
Sets whether image should be scaled down inside borders.

@param scaleDownInsideBorders
drawee/src/main/java/com/facebook/drawee/drawable/RoundedDrawable.java