package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Pd, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0392Pd extends AbstractC2811wV {
    public final C2493t4 q;
    public final long r;
    public int s = 1;
    public final long t;
    public float u;
    public C0444Rd v;

    public C0392Pd(C2493t4 c2493t4, long j) {
        int i;
        int i2;
        this.q = c2493t4;
        this.r = j;
        if (((int) 0) < 0 || ((int) 0) < 0 || (i = (int) (j >> 32)) < 0 || (i2 = (int) (4294967295L & j)) < 0 || i > c2493t4.a.getWidth() || i2 > c2493t4.a.getHeight()) {
            throw new IllegalArgumentException("Failed requirement.");
        }
        this.t = j;
        this.u = 1.0f;
    }

    @Override // o.AbstractC2811wV
    public final boolean b(float f) {
        this.u = f;
        return true;
    }

    @Override // o.AbstractC2811wV
    public final boolean c(C0444Rd c0444Rd) {
        this.v = c0444Rd;
        return true;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C0392Pd)) {
            return false;
        }
        C0392Pd c0392Pd = (C0392Pd) obj;
        return F3.c(this.q, c0392Pd.q) && C0704aI.a(0L, 0L) && C1470iI.a(this.r, c0392Pd.r) && this.s == c0392Pd.s;
    }

    @Override // o.AbstractC2811wV
    public final long g() {
        return C1884mi0.O(this.t);
    }

    public final int hashCode() {
        return Integer.hashCode(this.s) + AbstractC0126Ew.f(AbstractC0126Ew.f(this.q.hashCode() * 31, 31, 0L), 31, this.r);
    }

    @Override // o.AbstractC2811wV
    public final void i(C2610uK c2610uK) {
        InterfaceC2095ot.I(c2610uK, this.q, this.r, (Math.round(Float.intBitsToFloat((int) (r1.f() & 4294967295L))) & 4294967295L) | (Math.round(Float.intBitsToFloat((int) (c2610uK.l.f() >> 32))) << 32), this.u, this.v, this.s, 328);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("BitmapPainter(image=");
        sb.append(this.q);
        sb.append(", srcOffset=");
        sb.append((Object) C0704aI.d(0L));
        sb.append(", srcSize=");
        sb.append((Object) C1470iI.b(this.r));
        sb.append(", filterQuality=");
        int i = this.s;
        sb.append((Object) (i == 0 ? "None" : i == 1 ? "Low" : i == 2 ? "Medium" : i == 3 ? "High" : "Unknown"));
        sb.append(')');
        return sb.toString();
    }
}
