package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.xW, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2907xW implements InterfaceC2367rn {
    public final float a;

    public C2907xW(float f) {
        this.a = f;
        if (f < 0.0f || f > 100.0f) {
            AbstractC2417sH.a("The percent should be in the range of [0, 100]");
        }
    }

    @Override // o.InterfaceC2367rn
    public final float a(long j, InterfaceC2281qr interfaceC2281qr) {
        return (this.a / 100.0f) * T80.c(j);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof C2907xW) && Float.compare(this.a, ((C2907xW) obj).a) == 0;
    }

    public final int hashCode() {
        return Float.hashCode(this.a);
    }

    public final String toString() {
        return "CornerSize(size = " + this.a + "%)";
    }
}
