51 lines
1.2 KiB
Java
51 lines
1.2 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.res.Resources;
|
||
|
import android.graphics.Bitmap;
|
||
|
import android.graphics.drawable.BitmapDrawable;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class JzU implements Ezi<BitmapDrawable>, WJU {
|
||
|
private final Resources a;
|
||
|
private final Ezi<Bitmap> e;
|
||
|
|
||
|
public JzU(Resources resources, Ezi<Bitmap> ezi) {
|
||
|
if (resources == null) {
|
||
|
throw new NullPointerException("Argument must not be null");
|
||
|
}
|
||
|
this.a = resources;
|
||
|
if (ezi == null) {
|
||
|
throw new NullPointerException("Argument must not be null");
|
||
|
}
|
||
|
this.e = ezi;
|
||
|
}
|
||
|
|
||
|
@Override // o.Ezi
|
||
|
public final Class<BitmapDrawable> d() {
|
||
|
return BitmapDrawable.class;
|
||
|
}
|
||
|
|
||
|
@Override // o.Ezi
|
||
|
public final int a() {
|
||
|
return this.e.a();
|
||
|
}
|
||
|
|
||
|
@Override // o.Ezi
|
||
|
public final void b() {
|
||
|
this.e.b();
|
||
|
}
|
||
|
|
||
|
@Override // o.WJU
|
||
|
public final void c() {
|
||
|
Ezi<Bitmap> ezi = this.e;
|
||
|
if (ezi instanceof WJU) {
|
||
|
((WJU) ezi).c();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.Ezi
|
||
|
public final /* synthetic */ BitmapDrawable e() {
|
||
|
return new BitmapDrawable(this.a, this.e.e());
|
||
|
}
|
||
|
}
|