content: package androidx.core.graphics.drawable;
  
  import android.content.res.Resources;
  import android.graphics.Bitmap;
  import android.graphics.Outline;
  import android.graphics.Rect;
  import android.view.Gravity;
  
  class RoundedBitmapDrawable21 extends RoundedBitmapDrawable {
      protected RoundedBitmapDrawable21(Resources res, Bitmap bitmap) {
          super(res, bitmap);
      }
  
      public void getOutline(Outline outline) {
          updateDstRect();
          outline.setRoundRect(this.mDstRect, getCornerRadius());
      }
  
      /* access modifiers changed from: package-private */
      public void gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) {
          Gravity.apply(gravity, bitmapWidth, bitmapHeight, bounds, outRect, 0);
      }
  
      public boolean hasMipMap() {
          return this.mBitmap != null && this.mBitmap.hasMipMap();
      }
  
      public void setMipMap(boolean mipMap) {
          if (this.mBitmap != null) {
              this.mBitmap.setHasMipMap(mipMap);
              invalidateSelf();
          }
      }
  }
  