645 lines
22 KiB
Java
645 lines
22 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.res.Resources;
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import android.util.Log;
|
||
|
import com.bumptech.glide.load.engine.GlideException;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Iterator;
|
||
|
import java.util.List;
|
||
|
import java.util.Objects;
|
||
|
import java.util.concurrent.Executor;
|
||
|
import o.C17692yuZ;
|
||
|
import o.oEA;
|
||
|
import o.ykj;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class NJQ<R> implements PXc, QTj, oWF {
|
||
|
private static final boolean c = Log.isLoggable("GlideRequest", 2);
|
||
|
private final String A;
|
||
|
private final YcZ<R> B;
|
||
|
private final Class<R> C;
|
||
|
private Sts D;
|
||
|
private int F;
|
||
|
private final Executor a;
|
||
|
private int b;
|
||
|
private final WJS<? super R> d;
|
||
|
private final Context e;
|
||
|
private volatile C17692yuZ f;
|
||
|
private Drawable g;
|
||
|
private Drawable h;
|
||
|
private final Fqf i;
|
||
|
private int j;
|
||
|
private final int k;
|
||
|
private final int l;
|
||
|
private boolean m;
|
||
|
private C17692yuZ.Sts n;
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
private final Object f8283o;
|
||
|
private final EnumC3495ayd p;
|
||
|
private final VZJ q;
|
||
|
private final List<InterfaceC6871cdb<R>> r;
|
||
|
private Drawable s;
|
||
|
private final Object t;
|
||
|
private final AbstractC11268ecD<?> u;
|
||
|
private final ykj v;
|
||
|
private long w;
|
||
|
private RuntimeException x;
|
||
|
private Ezi<R> y;
|
||
|
private final InterfaceC6871cdb<R> z;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* loaded from: classes.dex */
|
||
|
public enum Sts {
|
||
|
PENDING,
|
||
|
RUNNING,
|
||
|
WAITING_FOR_SIZE,
|
||
|
COMPLETE,
|
||
|
FAILED,
|
||
|
CLEARED
|
||
|
}
|
||
|
|
||
|
public static <R> NJQ<R> b(Context context, Fqf fqf, Object obj, Object obj2, Class<R> cls, AbstractC11268ecD<?> abstractC11268ecD, int i, int i2, EnumC3495ayd enumC3495ayd, YcZ<R> ycZ, InterfaceC6871cdb<R> interfaceC6871cdb, List<InterfaceC6871cdb<R>> list, VZJ vzj, C17692yuZ c17692yuZ, WJS<? super R> wjs, Executor executor) {
|
||
|
return new NJQ<>(context, fqf, obj, obj2, cls, abstractC11268ecD, i, i2, enumC3495ayd, ycZ, interfaceC6871cdb, list, vzj, c17692yuZ, wjs, executor);
|
||
|
}
|
||
|
|
||
|
private NJQ(Context context, Fqf fqf, Object obj, Object obj2, Class<R> cls, AbstractC11268ecD<?> abstractC11268ecD, int i, int i2, EnumC3495ayd enumC3495ayd, YcZ<R> ycZ, InterfaceC6871cdb<R> interfaceC6871cdb, List<InterfaceC6871cdb<R>> list, VZJ vzj, C17692yuZ c17692yuZ, WJS<? super R> wjs, Executor executor) {
|
||
|
this.A = c ? String.valueOf(super.hashCode()) : null;
|
||
|
this.v = new ykj.LWm();
|
||
|
this.t = obj;
|
||
|
this.e = context;
|
||
|
this.i = fqf;
|
||
|
this.f8283o = obj2;
|
||
|
this.C = cls;
|
||
|
this.u = abstractC11268ecD;
|
||
|
this.k = i;
|
||
|
this.l = i2;
|
||
|
this.p = enumC3495ayd;
|
||
|
this.B = ycZ;
|
||
|
this.z = interfaceC6871cdb;
|
||
|
this.r = list;
|
||
|
this.q = vzj;
|
||
|
this.f = c17692yuZ;
|
||
|
this.d = wjs;
|
||
|
this.a = executor;
|
||
|
this.D = Sts.PENDING;
|
||
|
if (this.x == null && fqf.f.a.containsKey(oEA.LWm.class)) {
|
||
|
this.x = new RuntimeException("Glide request origin trace");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.PXc
|
||
|
public final void a() {
|
||
|
VZJ vzj;
|
||
|
synchronized (this.t) {
|
||
|
if (!this.m) {
|
||
|
this.v.b();
|
||
|
this.w = PYC.e();
|
||
|
if (this.f8283o == null) {
|
||
|
if (FKd.c(this.k, this.l)) {
|
||
|
this.F = this.k;
|
||
|
this.j = this.l;
|
||
|
}
|
||
|
a(new GlideException("Received null model"), FD_() == null ? 5 : 3);
|
||
|
return;
|
||
|
}
|
||
|
if (this.D == Sts.RUNNING) {
|
||
|
throw new IllegalArgumentException("Cannot restart a running request");
|
||
|
}
|
||
|
if (this.D == Sts.COMPLETE) {
|
||
|
b(this.y, pNW.MEMORY_CACHE);
|
||
|
return;
|
||
|
}
|
||
|
List<InterfaceC6871cdb<R>> list = this.r;
|
||
|
if (list != null) {
|
||
|
for (InterfaceC6871cdb<R> interfaceC6871cdb : list) {
|
||
|
if (interfaceC6871cdb instanceof AbstractC16236mac) {
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
this.b = -1;
|
||
|
this.D = Sts.WAITING_FOR_SIZE;
|
||
|
if (FKd.c(this.k, this.l)) {
|
||
|
e(this.k, this.l);
|
||
|
} else {
|
||
|
this.B.e(this);
|
||
|
}
|
||
|
if ((this.D == Sts.RUNNING || this.D == Sts.WAITING_FOR_SIZE) && ((vzj = this.q) == null || vzj.c(this))) {
|
||
|
this.B.FU_(FE_());
|
||
|
}
|
||
|
if (c) {
|
||
|
PYC.e(this.w);
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
throw new IllegalStateException("You can't start or clear loads in RequestListener or Target callbacks. If you're trying to start a fallback request when a load fails, use RequestBuilder#error(RequestBuilder). Otherwise consider posting your into() or clear() calls to the main thread using a Handler instead.");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.PXc
|
||
|
public final void c() {
|
||
|
synchronized (this.t) {
|
||
|
if (!this.m) {
|
||
|
this.v.b();
|
||
|
if (this.D == Sts.CLEARED) {
|
||
|
return;
|
||
|
}
|
||
|
if (!this.m) {
|
||
|
this.v.b();
|
||
|
this.B.c(this);
|
||
|
C17692yuZ.Sts sts = this.n;
|
||
|
Ezi<R> ezi = null;
|
||
|
if (sts != null) {
|
||
|
synchronized (sts.a) {
|
||
|
sts.e.a(sts.c);
|
||
|
}
|
||
|
this.n = null;
|
||
|
}
|
||
|
Ezi<R> ezi2 = this.y;
|
||
|
if (ezi2 != null) {
|
||
|
this.y = null;
|
||
|
ezi = ezi2;
|
||
|
}
|
||
|
VZJ vzj = this.q;
|
||
|
if (vzj == null || vzj.e(this)) {
|
||
|
this.B.avx_(FE_());
|
||
|
}
|
||
|
this.D = Sts.CLEARED;
|
||
|
if (ezi != null) {
|
||
|
C17692yuZ.a(ezi);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
throw new IllegalStateException("You can't start or clear loads in RequestListener or Target callbacks. If you're trying to start a fallback request when a load fails, use RequestBuilder#error(RequestBuilder). Otherwise consider posting your into() or clear() calls to the main thread using a Handler instead.");
|
||
|
}
|
||
|
throw new IllegalStateException("You can't start or clear loads in RequestListener or Target callbacks. If you're trying to start a fallback request when a load fails, use RequestBuilder#error(RequestBuilder). Otherwise consider posting your into() or clear() calls to the main thread using a Handler instead.");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.PXc
|
||
|
public final void f() {
|
||
|
synchronized (this.t) {
|
||
|
if (h()) {
|
||
|
c();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.PXc
|
||
|
public final boolean h() {
|
||
|
boolean z;
|
||
|
synchronized (this.t) {
|
||
|
if (this.D != Sts.RUNNING) {
|
||
|
z = this.D == Sts.WAITING_FOR_SIZE;
|
||
|
}
|
||
|
}
|
||
|
return z;
|
||
|
}
|
||
|
|
||
|
@Override // o.PXc
|
||
|
public final boolean j() {
|
||
|
boolean z;
|
||
|
synchronized (this.t) {
|
||
|
z = this.D == Sts.COMPLETE;
|
||
|
}
|
||
|
return z;
|
||
|
}
|
||
|
|
||
|
@Override // o.PXc
|
||
|
public final boolean d() {
|
||
|
boolean z;
|
||
|
synchronized (this.t) {
|
||
|
z = this.D == Sts.CLEARED;
|
||
|
}
|
||
|
return z;
|
||
|
}
|
||
|
|
||
|
@Override // o.PXc
|
||
|
public final boolean b() {
|
||
|
boolean z;
|
||
|
synchronized (this.t) {
|
||
|
z = this.D == Sts.COMPLETE;
|
||
|
}
|
||
|
return z;
|
||
|
}
|
||
|
|
||
|
@Override // o.QTj
|
||
|
public final void e(int i, int i2) {
|
||
|
Object obj;
|
||
|
int i3 = i;
|
||
|
this.v.b();
|
||
|
Object obj2 = this.t;
|
||
|
synchronized (obj2) {
|
||
|
try {
|
||
|
boolean z = c;
|
||
|
if (z) {
|
||
|
PYC.e(this.w);
|
||
|
}
|
||
|
if (this.D == Sts.WAITING_FOR_SIZE) {
|
||
|
this.D = Sts.RUNNING;
|
||
|
float f = this.u.p;
|
||
|
if (i3 != Integer.MIN_VALUE) {
|
||
|
i3 = Math.round(i3 * f);
|
||
|
}
|
||
|
this.F = i3;
|
||
|
this.j = i2 != Integer.MIN_VALUE ? Math.round(f * i2) : i2;
|
||
|
if (z) {
|
||
|
PYC.e(this.w);
|
||
|
}
|
||
|
obj = obj2;
|
||
|
try {
|
||
|
try {
|
||
|
this.n = this.f.e(this.i, this.f8283o, this.u.l, this.F, this.j, this.u.m, this.C, this.p, this.u.d, this.u.t, this.u.g, this.u.f, this.u.k, this.u.h, this.u.q, this.u.s, this.u.i, this, this.a);
|
||
|
if (this.D != Sts.RUNNING) {
|
||
|
this.n = null;
|
||
|
}
|
||
|
if (z) {
|
||
|
PYC.e(this.w);
|
||
|
}
|
||
|
} catch (Throwable th) {
|
||
|
th = th;
|
||
|
throw th;
|
||
|
}
|
||
|
} catch (Throwable th2) {
|
||
|
th = th2;
|
||
|
}
|
||
|
}
|
||
|
} catch (Throwable th3) {
|
||
|
th = th3;
|
||
|
obj = obj2;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:25:0x0051, code lost:
|
||
|
|
||
|
if (r7 == null) goto L59;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:26:0x0053, code lost:
|
||
|
|
||
|
o.C17692yuZ.a(r7);
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:27:0x0056, code lost:
|
||
|
|
||
|
return;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:28:?, code lost:
|
||
|
|
||
|
return;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:40:0x00a7, code lost:
|
||
|
|
||
|
if (r7 == null) goto L60;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:41:0x00a9, code lost:
|
||
|
|
||
|
o.C17692yuZ.a(r7);
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:42:0x00ac, code lost:
|
||
|
|
||
|
return;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:43:?, code lost:
|
||
|
|
||
|
return;
|
||
|
*/
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
@Override // o.oWF
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public final void b(o.Ezi<?> r7, o.pNW r8) {
|
||
|
/*
|
||
|
r6 = this;
|
||
|
o.ykj r0 = r6.v
|
||
|
r0.b()
|
||
|
r0 = 0
|
||
|
java.lang.Object r1 = r6.t // Catch: java.lang.Throwable -> Lb7
|
||
|
monitor-enter(r1) // Catch: java.lang.Throwable -> Lb7
|
||
|
r6.n = r0 // Catch: java.lang.Throwable -> Laf
|
||
|
r2 = 5
|
||
|
if (r7 != 0) goto L2d
|
||
|
com.bumptech.glide.load.engine.GlideException r7 = new com.bumptech.glide.load.engine.GlideException // Catch: java.lang.Throwable -> Laf
|
||
|
java.lang.StringBuilder r8 = new java.lang.StringBuilder // Catch: java.lang.Throwable -> Laf
|
||
|
java.lang.String r3 = "Expected to receive a Resource<R> with an object of "
|
||
|
r8.<init>(r3) // Catch: java.lang.Throwable -> Laf
|
||
|
java.lang.Class<R> r3 = r6.C // Catch: java.lang.Throwable -> Laf
|
||
|
r8.append(r3) // Catch: java.lang.Throwable -> Laf
|
||
|
java.lang.String r3 = " inside, but instead got null."
|
||
|
r8.append(r3) // Catch: java.lang.Throwable -> Laf
|
||
|
java.lang.String r8 = r8.toString() // Catch: java.lang.Throwable -> Laf
|
||
|
r7.<init>(r8) // Catch: java.lang.Throwable -> Laf
|
||
|
r6.a(r7, r2) // Catch: java.lang.Throwable -> Laf
|
||
|
monitor-exit(r1)
|
||
|
return
|
||
|
L2d:
|
||
|
java.lang.Object r3 = r7.e() // Catch: java.lang.Throwable -> Laf
|
||
|
if (r3 == 0) goto L5c
|
||
|
java.lang.Class<R> r4 = r6.C // Catch: java.lang.Throwable -> Laf
|
||
|
java.lang.Class r5 = r3.getClass() // Catch: java.lang.Throwable -> Laf
|
||
|
boolean r4 = r4.isAssignableFrom(r5) // Catch: java.lang.Throwable -> Laf
|
||
|
if (r4 != 0) goto L40
|
||
|
goto L5c
|
||
|
L40:
|
||
|
o.VZJ r2 = r6.q // Catch: java.lang.Throwable -> Laf
|
||
|
if (r2 == 0) goto L57
|
||
|
boolean r2 = r2.a(r6) // Catch: java.lang.Throwable -> Laf
|
||
|
if (r2 != 0) goto L57
|
||
|
r6.y = r0 // Catch: java.lang.Throwable -> Lad
|
||
|
o.NJQ$Sts r8 = o.NJQ.Sts.COMPLETE // Catch: java.lang.Throwable -> Lad
|
||
|
r6.D = r8 // Catch: java.lang.Throwable -> Lad
|
||
|
monitor-exit(r1)
|
||
|
if (r7 == 0) goto L56
|
||
|
o.C17692yuZ.a(r7)
|
||
|
L56:
|
||
|
return
|
||
|
L57:
|
||
|
r6.a(r7, r3, r8) // Catch: java.lang.Throwable -> Laf
|
||
|
monitor-exit(r1)
|
||
|
return
|
||
|
L5c:
|
||
|
r6.y = r0 // Catch: java.lang.Throwable -> Lad
|
||
|
com.bumptech.glide.load.engine.GlideException r8 = new com.bumptech.glide.load.engine.GlideException // Catch: java.lang.Throwable -> Lad
|
||
|
java.lang.StringBuilder r0 = new java.lang.StringBuilder // Catch: java.lang.Throwable -> Lad
|
||
|
java.lang.String r4 = "Expected to receive an object of "
|
||
|
r0.<init>(r4) // Catch: java.lang.Throwable -> Lad
|
||
|
java.lang.Class<R> r4 = r6.C // Catch: java.lang.Throwable -> Lad
|
||
|
r0.append(r4) // Catch: java.lang.Throwable -> Lad
|
||
|
java.lang.String r4 = " but instead got "
|
||
|
r0.append(r4) // Catch: java.lang.Throwable -> Lad
|
||
|
if (r3 == 0) goto L78
|
||
|
java.lang.Class r4 = r3.getClass() // Catch: java.lang.Throwable -> Lad
|
||
|
goto L7a
|
||
|
L78:
|
||
|
java.lang.String r4 = ""
|
||
|
L7a:
|
||
|
r0.append(r4) // Catch: java.lang.Throwable -> Lad
|
||
|
java.lang.String r4 = "{"
|
||
|
r0.append(r4) // Catch: java.lang.Throwable -> Lad
|
||
|
r0.append(r3) // Catch: java.lang.Throwable -> Lad
|
||
|
java.lang.String r4 = "} inside Resource{"
|
||
|
r0.append(r4) // Catch: java.lang.Throwable -> Lad
|
||
|
r0.append(r7) // Catch: java.lang.Throwable -> Lad
|
||
|
java.lang.String r4 = "}."
|
||
|
r0.append(r4) // Catch: java.lang.Throwable -> Lad
|
||
|
if (r3 == 0) goto L97
|
||
|
java.lang.String r3 = ""
|
||
|
goto L99
|
||
|
L97:
|
||
|
java.lang.String r3 = " To indicate failure return a null Resource object, rather than a Resource object containing null data."
|
||
|
L99:
|
||
|
r0.append(r3) // Catch: java.lang.Throwable -> Lad
|
||
|
java.lang.String r0 = r0.toString() // Catch: java.lang.Throwable -> Lad
|
||
|
r8.<init>(r0) // Catch: java.lang.Throwable -> Lad
|
||
|
r6.a(r8, r2) // Catch: java.lang.Throwable -> Lad
|
||
|
monitor-exit(r1)
|
||
|
if (r7 == 0) goto Lac
|
||
|
o.C17692yuZ.a(r7)
|
||
|
Lac:
|
||
|
return
|
||
|
Lad:
|
||
|
r8 = move-exception
|
||
|
goto Lb2
|
||
|
Laf:
|
||
|
r7 = move-exception
|
||
|
r8 = r7
|
||
|
r7 = r0
|
||
|
Lb2:
|
||
|
monitor-exit(r1)
|
||
|
throw r8 // Catch: java.lang.Throwable -> Lb4
|
||
|
Lb4:
|
||
|
r8 = move-exception
|
||
|
r0 = r7
|
||
|
goto Lb8
|
||
|
Lb7:
|
||
|
r8 = move-exception
|
||
|
Lb8:
|
||
|
if (r0 == 0) goto Lbd
|
||
|
o.C17692yuZ.a(r0)
|
||
|
Lbd:
|
||
|
throw r8
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.NJQ.b(o.Ezi, o.pNW):void");
|
||
|
}
|
||
|
|
||
|
private void a(Ezi<R> ezi, R r, pNW pnw) {
|
||
|
boolean z;
|
||
|
VZJ vzj = this.q;
|
||
|
if (vzj != null) {
|
||
|
vzj.e().b();
|
||
|
}
|
||
|
this.D = Sts.COMPLETE;
|
||
|
this.y = ezi;
|
||
|
if (this.i.i <= 3) {
|
||
|
r.getClass().getSimpleName();
|
||
|
Objects.toString(pnw);
|
||
|
Objects.toString(this.f8283o);
|
||
|
PYC.e(this.w);
|
||
|
}
|
||
|
VZJ vzj2 = this.q;
|
||
|
if (vzj2 != null) {
|
||
|
vzj2.h(this);
|
||
|
}
|
||
|
boolean z2 = true;
|
||
|
this.m = true;
|
||
|
try {
|
||
|
List<InterfaceC6871cdb<R>> list = this.r;
|
||
|
if (list != null) {
|
||
|
Iterator<InterfaceC6871cdb<R>> it = list.iterator();
|
||
|
z = false;
|
||
|
while (it.hasNext()) {
|
||
|
z |= it.next().e(r);
|
||
|
}
|
||
|
} else {
|
||
|
z = false;
|
||
|
}
|
||
|
InterfaceC6871cdb<R> interfaceC6871cdb = this.z;
|
||
|
if (interfaceC6871cdb == null || !interfaceC6871cdb.e(r)) {
|
||
|
z2 = false;
|
||
|
}
|
||
|
if (!(z2 | z)) {
|
||
|
this.d.d();
|
||
|
this.B.d((YcZ<R>) r);
|
||
|
}
|
||
|
} finally {
|
||
|
this.m = false;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.oWF
|
||
|
public final void c(GlideException glideException) {
|
||
|
a(glideException, 5);
|
||
|
}
|
||
|
|
||
|
@Override // o.oWF
|
||
|
public final Object e() {
|
||
|
this.v.b();
|
||
|
return this.t;
|
||
|
}
|
||
|
|
||
|
private void a(GlideException glideException, int i) {
|
||
|
this.v.b();
|
||
|
synchronized (this.t) {
|
||
|
int i2 = this.i.i;
|
||
|
if (i2 <= i) {
|
||
|
Objects.toString(this.f8283o);
|
||
|
if (i2 <= 4) {
|
||
|
ArrayList arrayList = new ArrayList();
|
||
|
glideException.a(glideException, arrayList);
|
||
|
int size = arrayList.size();
|
||
|
int i3 = 0;
|
||
|
while (i3 < size) {
|
||
|
int i4 = i3 + 1;
|
||
|
arrayList.get(i3);
|
||
|
i3 = i4;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
this.n = null;
|
||
|
this.D = Sts.FAILED;
|
||
|
VZJ vzj = this.q;
|
||
|
if (vzj != null) {
|
||
|
vzj.d(this);
|
||
|
}
|
||
|
this.m = true;
|
||
|
try {
|
||
|
List<InterfaceC6871cdb<R>> list = this.r;
|
||
|
if (list != null) {
|
||
|
for (InterfaceC6871cdb<R> interfaceC6871cdb : list) {
|
||
|
VZJ vzj2 = this.q;
|
||
|
if (vzj2 != null) {
|
||
|
vzj2.e().b();
|
||
|
}
|
||
|
interfaceC6871cdb.b(glideException);
|
||
|
}
|
||
|
}
|
||
|
InterfaceC6871cdb<R> interfaceC6871cdb2 = this.z;
|
||
|
if (interfaceC6871cdb2 != null) {
|
||
|
VZJ vzj3 = this.q;
|
||
|
if (vzj3 != null) {
|
||
|
vzj3.e().b();
|
||
|
}
|
||
|
interfaceC6871cdb2.b(glideException);
|
||
|
}
|
||
|
VZJ vzj4 = this.q;
|
||
|
if (vzj4 == null || vzj4.c(this)) {
|
||
|
Drawable FD_ = this.f8283o == null ? FD_() : null;
|
||
|
if (FD_ == null) {
|
||
|
if (this.h == null) {
|
||
|
Drawable drawable = this.u.e;
|
||
|
this.h = drawable;
|
||
|
if (drawable == null && this.u.b > 0) {
|
||
|
this.h = FF_(this.u.b);
|
||
|
}
|
||
|
}
|
||
|
FD_ = this.h;
|
||
|
}
|
||
|
if (FD_ == null) {
|
||
|
FD_ = FE_();
|
||
|
}
|
||
|
this.B.avy_(FD_);
|
||
|
}
|
||
|
} finally {
|
||
|
this.m = false;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.PXc
|
||
|
public final boolean b(PXc pXc) {
|
||
|
int i;
|
||
|
int i2;
|
||
|
Object obj;
|
||
|
Class<R> cls;
|
||
|
AbstractC11268ecD<?> abstractC11268ecD;
|
||
|
EnumC3495ayd enumC3495ayd;
|
||
|
int size;
|
||
|
int i3;
|
||
|
int i4;
|
||
|
Object obj2;
|
||
|
Class<R> cls2;
|
||
|
AbstractC11268ecD<?> abstractC11268ecD2;
|
||
|
EnumC3495ayd enumC3495ayd2;
|
||
|
int size2;
|
||
|
if (!(pXc instanceof NJQ)) {
|
||
|
return false;
|
||
|
}
|
||
|
synchronized (this.t) {
|
||
|
i = this.k;
|
||
|
i2 = this.l;
|
||
|
obj = this.f8283o;
|
||
|
cls = this.C;
|
||
|
abstractC11268ecD = this.u;
|
||
|
enumC3495ayd = this.p;
|
||
|
List<InterfaceC6871cdb<R>> list = this.r;
|
||
|
size = list != null ? list.size() : 0;
|
||
|
}
|
||
|
NJQ njq = (NJQ) pXc;
|
||
|
synchronized (njq.t) {
|
||
|
i3 = njq.k;
|
||
|
i4 = njq.l;
|
||
|
obj2 = njq.f8283o;
|
||
|
cls2 = njq.C;
|
||
|
abstractC11268ecD2 = njq.u;
|
||
|
enumC3495ayd2 = njq.p;
|
||
|
List<InterfaceC6871cdb<R>> list2 = njq.r;
|
||
|
size2 = list2 != null ? list2.size() : 0;
|
||
|
}
|
||
|
return i == i3 && i2 == i4 && FKd.d(obj, obj2) && cls.equals(cls2) && abstractC11268ecD.equals(abstractC11268ecD2) && enumC3495ayd == enumC3495ayd2 && size == size2;
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
Object obj;
|
||
|
Class<R> cls;
|
||
|
synchronized (this.t) {
|
||
|
obj = this.f8283o;
|
||
|
cls = this.C;
|
||
|
}
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
sb.append(super.toString());
|
||
|
sb.append("[model=");
|
||
|
sb.append(obj);
|
||
|
sb.append(", transcodeClass=");
|
||
|
sb.append(cls);
|
||
|
sb.append("]");
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
private Drawable FD_() {
|
||
|
if (this.g == null) {
|
||
|
Drawable drawable = this.u.a;
|
||
|
this.g = drawable;
|
||
|
if (drawable == null && this.u.c > 0) {
|
||
|
this.g = FF_(this.u.c);
|
||
|
}
|
||
|
}
|
||
|
return this.g;
|
||
|
}
|
||
|
|
||
|
private Drawable FE_() {
|
||
|
if (this.s == null) {
|
||
|
Drawable drawable = this.u.f8973o;
|
||
|
this.s = drawable;
|
||
|
if (drawable == null && this.u.n > 0) {
|
||
|
this.s = FF_(this.u.n);
|
||
|
}
|
||
|
}
|
||
|
return this.s;
|
||
|
}
|
||
|
|
||
|
private Drawable FF_(int i) {
|
||
|
Resources.Theme theme;
|
||
|
if (this.u.r == null) {
|
||
|
theme = this.e.getTheme();
|
||
|
} else {
|
||
|
theme = this.u.r;
|
||
|
}
|
||
|
Fqf fqf = this.i;
|
||
|
return tqX.Fl_(fqf, fqf, i, theme);
|
||
|
}
|
||
|
}
|