@Override
  protected void onBoundsChange(Rect bounds) {
    super.onBoundsChange(bounds);
    updatePath();
  }
Gets whether to set FILTER_BITMAP_FLAG flag to Paint.
drawee/src/main/java/com/facebook/drawee/drawable/RoundedCornersDrawable.java