40 lines
1.2 KiB
Java
40 lines
1.2 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.Bitmap;
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import android.net.Uri;
|
||
|
import android.widget.ImageView;
|
||
|
import java.io.File;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class fKN implements uGc {
|
||
|
private final YSJ d;
|
||
|
|
||
|
public fKN(YSJ ysj) {
|
||
|
this.d = ysj;
|
||
|
}
|
||
|
|
||
|
@Override // o.uGc
|
||
|
public final void aAk_(Object obj, ImageView imageView) {
|
||
|
Cdw<Bitmap> Dt_;
|
||
|
if ((obj instanceof Uri) || obj == null) {
|
||
|
Dt_ = this.d.b().Dt_((Uri) obj);
|
||
|
} else if (obj instanceof File) {
|
||
|
Dt_ = this.d.b().a((File) obj);
|
||
|
} else if (obj instanceof byte[]) {
|
||
|
Dt_ = this.d.b().e((byte[]) obj);
|
||
|
} else if (obj instanceof Integer) {
|
||
|
Dt_ = this.d.b().a((Integer) obj);
|
||
|
} else if (obj instanceof String) {
|
||
|
Dt_ = this.d.b().a((String) obj);
|
||
|
} else if (obj instanceof Drawable) {
|
||
|
Dt_ = this.d.b().Ds_((Drawable) obj);
|
||
|
} else if (obj instanceof Bitmap) {
|
||
|
Dt_ = this.d.b().Dr_((Bitmap) obj);
|
||
|
} else {
|
||
|
Dt_ = this.d.b().c(obj);
|
||
|
}
|
||
|
Dt_.b(new PNS().p().a(LHy.e)).Dq_(imageView);
|
||
|
}
|
||
|
}
|