Rabbit-R1/android (non root)/java/sources/androidx/compose/material3/Shapes.java
2024-05-21 17:08:36 -04:00

109 lines
6.7 KiB
Java

package androidx.compose.material3;
import androidx.compose.foundation.shape.CornerBasedShape;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: Shapes.kt */
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\r\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\u0001B7\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0007\u001a\u00020\u0003¢\u0006\u0002\u0010\bJ8\u0010\u000f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00032\b\b\u0002\u0010\u0006\u001a\u00020\u00032\b\b\u0002\u0010\u0007\u001a\u00020\u0003J\u0013\u0010\u0010\u001a\u00020\u00112\b\u0010\u0012\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\b\u0010\u0013\u001a\u00020\u0014H\u0016J\b\u0010\u0015\u001a\u00020\u0016H\u0016R\u0011\u0010\u0007\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\nR\u0011\u0010\u0006\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\nR\u0011\u0010\u0005\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\nR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\\u0006\u0017"}, d2 = {"Landroidx/compose/material3/Shapes;", "", "extraSmall", "Landroidx/compose/foundation/shape/CornerBasedShape;", "small", "medium", "large", "extraLarge", "(Landroidx/compose/foundation/shape/CornerBasedShape;Landroidx/compose/foundation/shape/CornerBasedShape;Landroidx/compose/foundation/shape/CornerBasedShape;Landroidx/compose/foundation/shape/CornerBasedShape;Landroidx/compose/foundation/shape/CornerBasedShape;)V", "getExtraLarge", "()Landroidx/compose/foundation/shape/CornerBasedShape;", "getExtraSmall", "getLarge", "getMedium", "getSmall", "copy", "equals", "", "other", "hashCode", "", "toString", "", "material3_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class Shapes {
public static final int $stable = 0;
private final CornerBasedShape extraLarge;
private final CornerBasedShape extraSmall;
private final CornerBasedShape large;
private final CornerBasedShape medium;
private final CornerBasedShape small;
public Shapes() {
this(null, null, null, null, null, 31, null);
}
public final CornerBasedShape getExtraLarge() {
return this.extraLarge;
}
public final CornerBasedShape getExtraSmall() {
return this.extraSmall;
}
public final CornerBasedShape getLarge() {
return this.large;
}
public final CornerBasedShape getMedium() {
return this.medium;
}
public final CornerBasedShape getSmall() {
return this.small;
}
public Shapes(CornerBasedShape extraSmall, CornerBasedShape small, CornerBasedShape medium, CornerBasedShape large, CornerBasedShape extraLarge) {
Intrinsics.checkNotNullParameter(extraSmall, "extraSmall");
Intrinsics.checkNotNullParameter(small, "small");
Intrinsics.checkNotNullParameter(medium, "medium");
Intrinsics.checkNotNullParameter(large, "large");
Intrinsics.checkNotNullParameter(extraLarge, "extraLarge");
this.extraSmall = extraSmall;
this.small = small;
this.medium = medium;
this.large = large;
this.extraLarge = extraLarge;
}
public /* synthetic */ Shapes(CornerBasedShape cornerBasedShape, CornerBasedShape cornerBasedShape2, CornerBasedShape cornerBasedShape3, CornerBasedShape cornerBasedShape4, CornerBasedShape cornerBasedShape5, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? ShapeDefaults.INSTANCE.getExtraSmall() : cornerBasedShape, (i & 2) != 0 ? ShapeDefaults.INSTANCE.getSmall() : cornerBasedShape2, (i & 4) != 0 ? ShapeDefaults.INSTANCE.getMedium() : cornerBasedShape3, (i & 8) != 0 ? ShapeDefaults.INSTANCE.getLarge() : cornerBasedShape4, (i & 16) != 0 ? ShapeDefaults.INSTANCE.getExtraLarge() : cornerBasedShape5);
}
public static /* synthetic */ Shapes copy$default(Shapes shapes, CornerBasedShape cornerBasedShape, CornerBasedShape cornerBasedShape2, CornerBasedShape cornerBasedShape3, CornerBasedShape cornerBasedShape4, CornerBasedShape cornerBasedShape5, int i, Object obj) {
if ((i & 1) != 0) {
cornerBasedShape = shapes.extraSmall;
}
if ((i & 2) != 0) {
cornerBasedShape2 = shapes.small;
}
CornerBasedShape cornerBasedShape6 = cornerBasedShape2;
if ((i & 4) != 0) {
cornerBasedShape3 = shapes.medium;
}
CornerBasedShape cornerBasedShape7 = cornerBasedShape3;
if ((i & 8) != 0) {
cornerBasedShape4 = shapes.large;
}
CornerBasedShape cornerBasedShape8 = cornerBasedShape4;
if ((i & 16) != 0) {
cornerBasedShape5 = shapes.extraLarge;
}
return shapes.copy(cornerBasedShape, cornerBasedShape6, cornerBasedShape7, cornerBasedShape8, cornerBasedShape5);
}
public final Shapes copy(CornerBasedShape extraSmall, CornerBasedShape small, CornerBasedShape medium, CornerBasedShape large, CornerBasedShape extraLarge) {
Intrinsics.checkNotNullParameter(extraSmall, "extraSmall");
Intrinsics.checkNotNullParameter(small, "small");
Intrinsics.checkNotNullParameter(medium, "medium");
Intrinsics.checkNotNullParameter(large, "large");
Intrinsics.checkNotNullParameter(extraLarge, "extraLarge");
return new Shapes(extraSmall, small, medium, large, extraLarge);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof Shapes)) {
return false;
}
Shapes shapes = (Shapes) other;
return Intrinsics.areEqual(this.extraSmall, shapes.extraSmall) && Intrinsics.areEqual(this.small, shapes.small) && Intrinsics.areEqual(this.medium, shapes.medium) && Intrinsics.areEqual(this.large, shapes.large) && Intrinsics.areEqual(this.extraLarge, shapes.extraLarge);
}
public int hashCode() {
return (((((((this.extraSmall.hashCode() * 31) + this.small.hashCode()) * 31) + this.medium.hashCode()) * 31) + this.large.hashCode()) * 31) + this.extraLarge.hashCode();
}
public String toString() {
return "Shapes(extraSmall=" + this.extraSmall + ", small=" + this.small + ", medium=" + this.medium + ", large=" + this.large + ", extraLarge=" + this.extraLarge + ')';
}
}