package B2;

import android.graphics.Rect;

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

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final z2.b f484a;

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

    public m(z2.b bVar, float f6) {
        this.f484a = bVar;
        this.f485b = f6;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!m.class.equals(obj != null ? obj.getClass() : null)) {
            return false;
        }
        kotlin.jvm.internal.o.f(obj, "null cannot be cast to non-null type androidx.window.layout.WindowMetrics");
        m mVar = (m) obj;
        return kotlin.jvm.internal.o.c(this.f484a, mVar.f484a) && this.f485b == mVar.f485b;
    }

    public final int hashCode() {
        return Float.hashCode(this.f485b) + (this.f484a.hashCode() * 31);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("WindowMetrics(_bounds=");
        sb.append(this.f484a);
        sb.append(", density=");
        return com.google.android.recaptcha.internal.a.l(sb, this.f485b, ')');
    }

    public m(Rect rect, float f6) {
        this.f484a = new z2.b(rect);
        this.f485b = f6;
    }
}
