- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
306 lines
8.7 KiB
Java
306 lines
8.7 KiB
Java
package com.applovin.impl;
|
|
|
|
import android.graphics.Bitmap;
|
|
import android.os.Bundle;
|
|
import android.text.Layout;
|
|
import android.text.Spanned;
|
|
import android.text.SpannedString;
|
|
import android.text.TextUtils;
|
|
import androidx.core.view.ViewCompat;
|
|
import com.applovin.exoplayer2.common.base.Objects;
|
|
import com.applovin.impl.o2;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class b5 implements o2 {
|
|
public static final b5 s = new b().a("").a();
|
|
public static final o2.a t = new o2.a() { // from class: com.applovin.impl.b5$$ExternalSyntheticLambda0
|
|
@Override // com.applovin.impl.o2.a
|
|
public final o2 a(Bundle bundle) {
|
|
b5 a2;
|
|
a2 = b5.a(bundle);
|
|
return a2;
|
|
}
|
|
};
|
|
public final CharSequence a;
|
|
public final Layout.Alignment b;
|
|
public final Layout.Alignment c;
|
|
public final Bitmap d;
|
|
public final float f;
|
|
public final int g;
|
|
public final int h;
|
|
public final float i;
|
|
public final int j;
|
|
public final float k;
|
|
public final float l;
|
|
public final boolean m;
|
|
public final int n;
|
|
public final int o;
|
|
public final float p;
|
|
public final int q;
|
|
public final float r;
|
|
|
|
private b5(CharSequence charSequence, Layout.Alignment alignment, Layout.Alignment alignment2, Bitmap bitmap, float f, int i, int i2, float f2, int i3, int i4, float f3, float f4, float f5, boolean z, int i5, int i6, float f6) {
|
|
if (charSequence == null) {
|
|
b1.a(bitmap);
|
|
} else {
|
|
b1.a(bitmap == null);
|
|
}
|
|
if (charSequence instanceof Spanned) {
|
|
this.a = SpannedString.valueOf(charSequence);
|
|
} else if (charSequence != null) {
|
|
this.a = charSequence.toString();
|
|
} else {
|
|
this.a = null;
|
|
}
|
|
this.b = alignment;
|
|
this.c = alignment2;
|
|
this.d = bitmap;
|
|
this.f = f;
|
|
this.g = i;
|
|
this.h = i2;
|
|
this.i = f2;
|
|
this.j = i3;
|
|
this.k = f4;
|
|
this.l = f5;
|
|
this.m = z;
|
|
this.n = i5;
|
|
this.o = i4;
|
|
this.p = f3;
|
|
this.q = i6;
|
|
this.r = f6;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
Bitmap bitmap;
|
|
Bitmap bitmap2;
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || b5.class != obj.getClass()) {
|
|
return false;
|
|
}
|
|
b5 b5Var = (b5) obj;
|
|
return TextUtils.equals(this.a, b5Var.a) && this.b == b5Var.b && this.c == b5Var.c && ((bitmap = this.d) != null ? !((bitmap2 = b5Var.d) == null || !bitmap.sameAs(bitmap2)) : b5Var.d == null) && this.f == b5Var.f && this.g == b5Var.g && this.h == b5Var.h && this.i == b5Var.i && this.j == b5Var.j && this.k == b5Var.k && this.l == b5Var.l && this.m == b5Var.m && this.n == b5Var.n && this.o == b5Var.o && this.p == b5Var.p && this.q == b5Var.q && this.r == b5Var.r;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return Objects.hashCode(this.a, this.b, this.c, this.d, Float.valueOf(this.f), Integer.valueOf(this.g), Integer.valueOf(this.h), Float.valueOf(this.i), Integer.valueOf(this.j), Float.valueOf(this.k), Float.valueOf(this.l), Boolean.valueOf(this.m), Integer.valueOf(this.n), Integer.valueOf(this.o), Float.valueOf(this.p), Integer.valueOf(this.q), Float.valueOf(this.r));
|
|
}
|
|
|
|
public static final class b {
|
|
private CharSequence a;
|
|
private Bitmap b;
|
|
private Layout.Alignment c;
|
|
private Layout.Alignment d;
|
|
private float e;
|
|
private int f;
|
|
private int g;
|
|
private float h;
|
|
private int i;
|
|
private int j;
|
|
private float k;
|
|
private float l;
|
|
private float m;
|
|
private boolean n;
|
|
private int o;
|
|
private int p;
|
|
private float q;
|
|
|
|
public b a(float f) {
|
|
this.m = f;
|
|
return this;
|
|
}
|
|
|
|
public b a(float f, int i) {
|
|
this.e = f;
|
|
this.f = i;
|
|
return this;
|
|
}
|
|
|
|
public b a(int i) {
|
|
this.g = i;
|
|
return this;
|
|
}
|
|
|
|
public b a(Bitmap bitmap) {
|
|
this.b = bitmap;
|
|
return this;
|
|
}
|
|
|
|
public b a(Layout.Alignment alignment) {
|
|
this.d = alignment;
|
|
return this;
|
|
}
|
|
|
|
public b a(CharSequence charSequence) {
|
|
this.a = charSequence;
|
|
return this;
|
|
}
|
|
|
|
public b b() {
|
|
this.n = false;
|
|
return this;
|
|
}
|
|
|
|
public b b(float f) {
|
|
this.h = f;
|
|
return this;
|
|
}
|
|
|
|
public b b(float f, int i) {
|
|
this.k = f;
|
|
this.j = i;
|
|
return this;
|
|
}
|
|
|
|
public b b(int i) {
|
|
this.i = i;
|
|
return this;
|
|
}
|
|
|
|
public b b(Layout.Alignment alignment) {
|
|
this.c = alignment;
|
|
return this;
|
|
}
|
|
|
|
public int c() {
|
|
return this.g;
|
|
}
|
|
|
|
public b c(float f) {
|
|
this.q = f;
|
|
return this;
|
|
}
|
|
|
|
public b c(int i) {
|
|
this.p = i;
|
|
return this;
|
|
}
|
|
|
|
public int d() {
|
|
return this.i;
|
|
}
|
|
|
|
public b d(float f) {
|
|
this.l = f;
|
|
return this;
|
|
}
|
|
|
|
public b d(int i) {
|
|
this.o = i;
|
|
this.n = true;
|
|
return this;
|
|
}
|
|
|
|
public CharSequence e() {
|
|
return this.a;
|
|
}
|
|
|
|
public b() {
|
|
this.a = null;
|
|
this.b = null;
|
|
this.c = null;
|
|
this.d = null;
|
|
this.e = -3.4028235E38f;
|
|
this.f = Integer.MIN_VALUE;
|
|
this.g = Integer.MIN_VALUE;
|
|
this.h = -3.4028235E38f;
|
|
this.i = Integer.MIN_VALUE;
|
|
this.j = Integer.MIN_VALUE;
|
|
this.k = -3.4028235E38f;
|
|
this.l = -3.4028235E38f;
|
|
this.m = -3.4028235E38f;
|
|
this.n = false;
|
|
this.o = ViewCompat.MEASURED_STATE_MASK;
|
|
this.p = Integer.MIN_VALUE;
|
|
}
|
|
|
|
private b(b5 b5Var) {
|
|
this.a = b5Var.a;
|
|
this.b = b5Var.d;
|
|
this.c = b5Var.b;
|
|
this.d = b5Var.c;
|
|
this.e = b5Var.f;
|
|
this.f = b5Var.g;
|
|
this.g = b5Var.h;
|
|
this.h = b5Var.i;
|
|
this.i = b5Var.j;
|
|
this.j = b5Var.o;
|
|
this.k = b5Var.p;
|
|
this.l = b5Var.k;
|
|
this.m = b5Var.l;
|
|
this.n = b5Var.m;
|
|
this.o = b5Var.n;
|
|
this.p = b5Var.q;
|
|
this.q = b5Var.r;
|
|
}
|
|
|
|
public b5 a() {
|
|
return new b5(this.a, this.c, this.d, this.b, this.e, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.o, this.p, this.q);
|
|
}
|
|
}
|
|
|
|
private static String a(int i) {
|
|
return Integer.toString(i, 36);
|
|
}
|
|
|
|
public b a() {
|
|
return new b();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final b5 a(Bundle bundle) {
|
|
b bVar = new b();
|
|
CharSequence charSequence = bundle.getCharSequence(a(0));
|
|
if (charSequence != null) {
|
|
bVar.a(charSequence);
|
|
}
|
|
Layout.Alignment alignment = (Layout.Alignment) bundle.getSerializable(a(1));
|
|
if (alignment != null) {
|
|
bVar.b(alignment);
|
|
}
|
|
Layout.Alignment alignment2 = (Layout.Alignment) bundle.getSerializable(a(2));
|
|
if (alignment2 != null) {
|
|
bVar.a(alignment2);
|
|
}
|
|
Bitmap bitmap = (Bitmap) bundle.getParcelable(a(3));
|
|
if (bitmap != null) {
|
|
bVar.a(bitmap);
|
|
}
|
|
if (bundle.containsKey(a(4)) && bundle.containsKey(a(5))) {
|
|
bVar.a(bundle.getFloat(a(4)), bundle.getInt(a(5)));
|
|
}
|
|
if (bundle.containsKey(a(6))) {
|
|
bVar.a(bundle.getInt(a(6)));
|
|
}
|
|
if (bundle.containsKey(a(7))) {
|
|
bVar.b(bundle.getFloat(a(7)));
|
|
}
|
|
if (bundle.containsKey(a(8))) {
|
|
bVar.b(bundle.getInt(a(8)));
|
|
}
|
|
if (bundle.containsKey(a(10)) && bundle.containsKey(a(9))) {
|
|
bVar.b(bundle.getFloat(a(10)), bundle.getInt(a(9)));
|
|
}
|
|
if (bundle.containsKey(a(11))) {
|
|
bVar.d(bundle.getFloat(a(11)));
|
|
}
|
|
if (bundle.containsKey(a(12))) {
|
|
bVar.a(bundle.getFloat(a(12)));
|
|
}
|
|
if (bundle.containsKey(a(13))) {
|
|
bVar.d(bundle.getInt(a(13)));
|
|
}
|
|
if (!bundle.getBoolean(a(14), false)) {
|
|
bVar.b();
|
|
}
|
|
if (bundle.containsKey(a(15))) {
|
|
bVar.c(bundle.getInt(a(15)));
|
|
}
|
|
if (bundle.containsKey(a(16))) {
|
|
bVar.c(bundle.getFloat(a(16)));
|
|
}
|
|
return bVar.a();
|
|
}
|
|
}
|