package o6; import android.graphics.Bitmap; /* loaded from: classes2.dex */ public class e implements h6.h, h6.f { /* renamed from: a, reason: collision with root package name */ private final Bitmap f12728a; /* renamed from: b, reason: collision with root package name */ private final i6.b f12729b; public e(Bitmap bitmap, i6.b bVar) { this.f12728a = (Bitmap) b7.j.e(bitmap, "Bitmap must not be null"); this.f12729b = (i6.b) b7.j.e(bVar, "BitmapPool must not be null"); } public static e e(Bitmap bitmap, i6.b bVar) { if (bitmap == null) { return null; } return new e(bitmap, bVar); } @Override // h6.h public void a() { this.f12729b.c(this.f12728a); } @Override // h6.h public int b() { return b7.k.j(this.f12728a); } @Override // h6.h /* renamed from: c, reason: merged with bridge method [inline-methods] */ public Bitmap get() { return this.f12728a; } @Override // h6.h public Class d() { return Bitmap.class; } @Override // h6.f public void initialize() { this.f12728a.prepareToDraw(); } }