package z1; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; /* loaded from: classes.dex */ public final class b0 implements s1.v, s1.r { /* renamed from: a, reason: collision with root package name */ private final Resources f15716a; /* renamed from: b, reason: collision with root package name */ private final s1.v f15717b; private b0(Resources resources, s1.v vVar) { this.f15716a = (Resources) m2.j.d(resources); this.f15717b = (s1.v) m2.j.d(vVar); } public static s1.v e(Resources resources, s1.v vVar) { if (vVar == null) { return null; } return new b0(resources, vVar); } @Override // s1.v public void a() { this.f15717b.a(); } @Override // s1.v public int b() { return this.f15717b.b(); } @Override // s1.v /* renamed from: c, reason: merged with bridge method [inline-methods] */ public BitmapDrawable get() { return new BitmapDrawable(this.f15716a, (Bitmap) this.f15717b.get()); } @Override // s1.v public Class d() { return BitmapDrawable.class; } @Override // s1.r public void initialize() { s1.v vVar = this.f15717b; if (vVar instanceof s1.r) { ((s1.r) vVar).initialize(); } } }