Rabbit-R1/original r1/java/sources/androidx/compose/material3/TabPosition.java

59 lines
3.2 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package androidx.compose.material3;
import androidx.compose.ui.unit.Dp;
import io.sentry.protocol.ViewHierarchyNode;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* compiled from: TabRow.kt */
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0007\u0018\u00002\u00020\u0001B\u001a\b\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003ø\u0001\u0000¢\u0006\u0002\u0010\u0005J\u0013\u0010\f\u001a\u00020\r2\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\b\u0010\u000f\u001a\u00020\u0010H\u0016J\b\u0010\u0011\u001a\u00020\u0012H\u0016R\u001c\u0010\u0002\u001a\u00020\u0003ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\b\u001a\u0004\b\u0006\u0010\u0007R\u001a\u0010\t\u001a\u00020\u00038Fø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\u0006\u001a\u0004\b\n\u0010\u0007R\u001c\u0010\u0004\u001a\u00020\u0003ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\b\u001a\u0004\b\u000b\u0010\u0007\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\\u001e0\u0001\n\u0002\b!¨\u0006\u0013"}, d2 = {"Landroidx/compose/material3/TabPosition;", "", "left", "Landroidx/compose/ui/unit/Dp;", ViewHierarchyNode.JsonKeys.WIDTH, "(FFLkotlin/jvm/internal/DefaultConstructorMarker;)V", "getLeft-D9Ej5fM", "()F", "F", "right", "getRight-D9Ej5fM", "getWidth-D9Ej5fM", "equals", "", "other", "hashCode", "", "toString", "", "material3_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class TabPosition {
public static final int $stable = 0;
private final float left;
private final float width;
public /* synthetic */ TabPosition(float f, float f2, DefaultConstructorMarker defaultConstructorMarker) {
this(f, f2);
}
/* renamed from: getLeft-D9Ej5fM, reason: not valid java name and from getter */
public final float getLeft() {
return this.left;
}
/* renamed from: getWidth-D9Ej5fM, reason: not valid java name and from getter */
public final float getWidth() {
return this.width;
}
private TabPosition(float f, float f2) {
this.left = f;
this.width = f2;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof TabPosition)) {
return false;
}
TabPosition tabPosition = (TabPosition) other;
return Dp.m4888equalsimpl0(this.left, tabPosition.left) && Dp.m4888equalsimpl0(this.width, tabPosition.width);
}
public int hashCode() {
return (Dp.m4889hashCodeimpl(this.left) * 31) + Dp.m4889hashCodeimpl(this.width);
}
public String toString() {
return "TabPosition(left=" + ((Object) Dp.m4894toStringimpl(this.left)) + ", right=" + ((Object) Dp.m4894toStringimpl(m1515getRightD9Ej5fM())) + ", width=" + ((Object) Dp.m4894toStringimpl(this.width)) + ')';
}
/* renamed from: getRight-D9Ej5fM, reason: not valid java name */
public final float m1515getRightD9Ej5fM() {
return Dp.m4883constructorimpl(this.left + this.width);
}
}