package w0;

import android.graphics.Bitmap;
import android.text.Layout;
import android.text.Spanned;
import android.text.SpannedString;
import android.text.TextUtils;
import java.util.Objects;
import x0.AbstractC1709a;
import x0.v;

/* JADX INFO: loaded from: classes.dex */
public final class b {

    /* JADX INFO: renamed from: A, reason: collision with root package name */
    public static final String f18180A;

    /* JADX INFO: renamed from: B, reason: collision with root package name */
    public static final String f18181B;

    /* JADX INFO: renamed from: C, reason: collision with root package name */
    public static final String f18182C;
    public static final String D;

    /* JADX INFO: renamed from: E, reason: collision with root package name */
    public static final String f18183E;

    /* JADX INFO: renamed from: F, reason: collision with root package name */
    public static final String f18184F;

    /* JADX INFO: renamed from: G, reason: collision with root package name */
    public static final String f18185G;
    public static final String H;

    /* JADX INFO: renamed from: I, reason: collision with root package name */
    public static final String f18186I;

    /* JADX INFO: renamed from: J, reason: collision with root package name */
    public static final String f18187J;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public static final String f18188r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public static final String f18189s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public static final String f18190t;

    /* JADX INFO: renamed from: u, reason: collision with root package name */
    public static final String f18191u;

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public static final String f18192v;

    /* JADX INFO: renamed from: w, reason: collision with root package name */
    public static final String f18193w;

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    public static final String f18194x;

    /* JADX INFO: renamed from: y, reason: collision with root package name */
    public static final String f18195y;

    /* JADX INFO: renamed from: z, reason: collision with root package name */
    public static final String f18196z;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final CharSequence f18197a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Layout.Alignment f18198b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final Layout.Alignment f18199c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final Bitmap f18200d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final float f18201e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final int f18202f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final int f18203g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final float f18204h;
    public final int i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final float f18205j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final float f18206k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final boolean f18207l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final int f18208m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final int f18209n;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public final float f18210o;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public final int f18211p;

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final float f18212q;

    static {
        new b("", null, null, null, -3.4028235E38f, Integer.MIN_VALUE, Integer.MIN_VALUE, -3.4028235E38f, Integer.MIN_VALUE, Integer.MIN_VALUE, -3.4028235E38f, -3.4028235E38f, -3.4028235E38f, false, -16777216, Integer.MIN_VALUE, 0.0f);
        int i = v.f18553a;
        f18188r = Integer.toString(0, 36);
        f18189s = Integer.toString(17, 36);
        f18190t = Integer.toString(1, 36);
        f18191u = Integer.toString(2, 36);
        f18192v = Integer.toString(3, 36);
        f18193w = Integer.toString(18, 36);
        f18194x = Integer.toString(4, 36);
        f18195y = Integer.toString(5, 36);
        f18196z = Integer.toString(6, 36);
        f18180A = Integer.toString(7, 36);
        f18181B = Integer.toString(8, 36);
        f18182C = Integer.toString(9, 36);
        D = Integer.toString(10, 36);
        f18183E = Integer.toString(11, 36);
        f18184F = Integer.toString(12, 36);
        f18185G = Integer.toString(13, 36);
        H = Integer.toString(14, 36);
        f18186I = Integer.toString(15, 36);
        f18187J = Integer.toString(16, 36);
    }

    public b(CharSequence charSequence, Layout.Alignment alignment, Layout.Alignment alignment2, Bitmap bitmap, float f3, int i, int i5, float f7, int i8, int i9, float f8, float f9, float f10, boolean z8, int i10, int i11, float f11) {
        if (charSequence == null) {
            bitmap.getClass();
        } else {
            AbstractC1709a.d(bitmap == null);
        }
        if (charSequence instanceof Spanned) {
            this.f18197a = SpannedString.valueOf(charSequence);
        } else if (charSequence != null) {
            this.f18197a = charSequence.toString();
        } else {
            this.f18197a = null;
        }
        this.f18198b = alignment;
        this.f18199c = alignment2;
        this.f18200d = bitmap;
        this.f18201e = f3;
        this.f18202f = i;
        this.f18203g = i5;
        this.f18204h = f7;
        this.i = i8;
        this.f18205j = f9;
        this.f18206k = f10;
        this.f18207l = z8;
        this.f18208m = i10;
        this.f18209n = i9;
        this.f18210o = f8;
        this.f18211p = i11;
        this.f18212q = f11;
    }

    public final a a() {
        a aVar = new a();
        aVar.f18164a = this.f18197a;
        aVar.f18165b = this.f18200d;
        aVar.f18166c = this.f18198b;
        aVar.f18167d = this.f18199c;
        aVar.f18168e = this.f18201e;
        aVar.f18169f = this.f18202f;
        aVar.f18170g = this.f18203g;
        aVar.f18171h = this.f18204h;
        aVar.i = this.i;
        aVar.f18172j = this.f18209n;
        aVar.f18173k = this.f18210o;
        aVar.f18174l = this.f18205j;
        aVar.f18175m = this.f18206k;
        aVar.f18176n = this.f18207l;
        aVar.f18177o = this.f18208m;
        aVar.f18178p = this.f18211p;
        aVar.f18179q = this.f18212q;
        return aVar;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && b.class == obj.getClass()) {
            b bVar = (b) obj;
            if (TextUtils.equals(this.f18197a, bVar.f18197a) && this.f18198b == bVar.f18198b && this.f18199c == bVar.f18199c) {
                Bitmap bitmap = bVar.f18200d;
                Bitmap bitmap2 = this.f18200d;
                if (bitmap2 != null ? !(bitmap == null || !bitmap2.sameAs(bitmap)) : bitmap == null) {
                    if (this.f18201e == bVar.f18201e && this.f18202f == bVar.f18202f && this.f18203g == bVar.f18203g && this.f18204h == bVar.f18204h && this.i == bVar.i && this.f18205j == bVar.f18205j && this.f18206k == bVar.f18206k && this.f18207l == bVar.f18207l && this.f18208m == bVar.f18208m && this.f18209n == bVar.f18209n && this.f18210o == bVar.f18210o && this.f18211p == bVar.f18211p && this.f18212q == bVar.f18212q) {
                        return true;
                    }
                }
            }
        }
        return false;
    }

    public final int hashCode() {
        return Objects.hash(this.f18197a, this.f18198b, this.f18199c, this.f18200d, Float.valueOf(this.f18201e), Integer.valueOf(this.f18202f), Integer.valueOf(this.f18203g), Float.valueOf(this.f18204h), Integer.valueOf(this.i), Float.valueOf(this.f18205j), Float.valueOf(this.f18206k), Boolean.valueOf(this.f18207l), Integer.valueOf(this.f18208m), Integer.valueOf(this.f18209n), Float.valueOf(this.f18210o), Integer.valueOf(this.f18211p), Float.valueOf(this.f18212q));
    }
}
