2021-12-17 21:59:34 +00:00
|
|
|
package b.f.j.d;
|
2021-07-24 02:37:17 +00:00
|
|
|
|
|
|
|
import android.graphics.Bitmap;
|
2021-12-17 21:59:34 +00:00
|
|
|
import b.c.a.a0.d;
|
|
|
|
import b.d.b.a.a;
|
|
|
|
import b.f.d.d.i;
|
2022-03-07 09:34:54 +00:00
|
|
|
/* compiled from: ImageDecodeOptions.java */
|
2022-04-04 09:20:14 +00:00
|
|
|
/* loaded from: classes2.dex */
|
2021-07-24 02:37:17 +00:00
|
|
|
public class b {
|
|
|
|
public static final b a = new b(new c());
|
|
|
|
|
2021-12-17 21:59:34 +00:00
|
|
|
/* renamed from: b reason: collision with root package name */
|
2022-03-28 08:10:50 +00:00
|
|
|
public final int f563b = 100;
|
2021-12-17 21:59:34 +00:00
|
|
|
public final int c = Integer.MAX_VALUE;
|
2021-07-24 02:37:17 +00:00
|
|
|
public final Bitmap.Config d;
|
2022-01-13 08:07:50 +00:00
|
|
|
public final Bitmap.Config e;
|
2021-07-24 02:37:17 +00:00
|
|
|
|
|
|
|
public b(c cVar) {
|
|
|
|
this.d = cVar.a;
|
2022-03-28 08:10:50 +00:00
|
|
|
this.e = cVar.f564b;
|
2021-07-24 02:37:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public boolean equals(Object obj) {
|
|
|
|
if (this == obj) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (obj == null || b.class != obj.getClass()) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
b bVar = (b) obj;
|
2022-03-28 08:10:50 +00:00
|
|
|
return this.f563b == bVar.f563b && this.c == bVar.c && this.d == bVar.d && this.e == bVar.e;
|
2021-07-24 02:37:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public int hashCode() {
|
2022-03-28 08:10:50 +00:00
|
|
|
int ordinal = (this.d.ordinal() + (((((((((((this.f563b * 31) + this.c) * 31) + 0) * 31) + 0) * 31) + 0) * 31) + 0) * 31)) * 31;
|
2022-01-13 08:07:50 +00:00
|
|
|
Bitmap.Config config = this.e;
|
|
|
|
return ((((((ordinal + (config != null ? config.ordinal() : 0)) * 31) + 0) * 31) + 0) * 31) + 0;
|
2021-07-24 02:37:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public String toString() {
|
2022-03-21 18:52:30 +00:00
|
|
|
StringBuilder R = a.R("ImageDecodeOptions{");
|
2022-01-13 08:07:50 +00:00
|
|
|
i h2 = d.h2(this);
|
2022-03-28 08:10:50 +00:00
|
|
|
h2.a("minDecodeIntervalMs", this.f563b);
|
2022-01-13 08:07:50 +00:00
|
|
|
h2.a("maxDimensionPx", this.c);
|
|
|
|
h2.b("decodePreviewFrame", false);
|
|
|
|
h2.b("useLastFrameForPreview", false);
|
|
|
|
h2.b("decodeAllFrames", false);
|
|
|
|
h2.b("forceStaticImage", false);
|
|
|
|
h2.c("bitmapConfigName", this.d.name());
|
|
|
|
h2.c("animatedBitmapConfigName", this.e.name());
|
|
|
|
h2.c("customImageDecoder", null);
|
|
|
|
h2.c("bitmapTransformation", null);
|
|
|
|
h2.c("colorSpace", null);
|
2022-03-21 18:52:30 +00:00
|
|
|
return a.H(R, h2.toString(), "}");
|
2021-07-24 02:37:17 +00:00
|
|
|
}
|
|
|
|
}
|