mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-15 10:27:17 +01:00
84 lines
4.2 KiB
Java
84 lines
4.2 KiB
Java
package androidx.compose.foundation;
|
|
|
|
import androidx.compose.animation.core.ArcMode$$ExternalSyntheticOutline0;
|
|
import androidx.compose.runtime.Immutable;
|
|
import androidx.compose.ui.graphics.Brush;
|
|
import androidx.compose.ui.unit.Dp;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Immutable
|
|
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\n\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\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J$\u0010\f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005ø\u0001\u0000¢\u0006\u0004\b\r\u0010\u000eJ\u0013\u0010\u000f\u001a\u00020\u00102\b\u0010\u0011\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\b\u0010\u0012\u001a\u00020\u0013H\u0016J\b\u0010\u0014\u001a\u00020\u0015H\u0016R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0019\u0010\u0002\u001a\u00020\u0003ø\u0001\u0000ø\u0001\u0001¢\u0006\n\n\u0002\u0010\u000b\u001a\u0004\b\t\u0010\n\u0082\u0002\u000b\n\u0005\b¡\u001e0\u0001\n\u0002\b!¨\u0006\u0016"}, d2 = {"Landroidx/compose/foundation/BorderStroke;", "", "width", "Landroidx/compose/ui/unit/Dp;", "brush", "Landroidx/compose/ui/graphics/Brush;", "(FLandroidx/compose/ui/graphics/Brush;Lkotlin/jvm/internal/DefaultConstructorMarker;)V", "getBrush", "()Landroidx/compose/ui/graphics/Brush;", "getWidth-D9Ej5fM", "()F", "F", "copy", "copy-D5KLDUw", "(FLandroidx/compose/ui/graphics/Brush;)Landroidx/compose/foundation/BorderStroke;", "equals", "", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "hashCode", "", "toString", "", "foundation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class BorderStroke {
|
|
public static final int $stable = 0;
|
|
|
|
@NotNull
|
|
private final Brush brush;
|
|
private final float width;
|
|
|
|
private BorderStroke(float f, Brush brush) {
|
|
this.width = f;
|
|
this.brush = brush;
|
|
}
|
|
|
|
/* renamed from: copy-D5KLDUw$default, reason: not valid java name */
|
|
public static /* synthetic */ BorderStroke m444copyD5KLDUw$default(BorderStroke borderStroke, float f, Brush brush, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
f = borderStroke.width;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
brush = borderStroke.brush;
|
|
}
|
|
return borderStroke.m445copyD5KLDUw(f, brush);
|
|
}
|
|
|
|
@NotNull
|
|
/* renamed from: copy-D5KLDUw, reason: not valid java name */
|
|
public final BorderStroke m445copyD5KLDUw(float width, @NotNull Brush brush) {
|
|
return new BorderStroke(width, brush, null);
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof BorderStroke)) {
|
|
return false;
|
|
}
|
|
BorderStroke borderStroke = (BorderStroke) other;
|
|
return Dp.m7373equalsimpl0(this.width, borderStroke.width) && Intrinsics.areEqual(this.brush, borderStroke.brush);
|
|
}
|
|
|
|
@NotNull
|
|
public final Brush getBrush() {
|
|
return this.brush;
|
|
}
|
|
|
|
/* renamed from: getWidth-D9Ej5fM, reason: not valid java name and from getter */
|
|
public final float getWidth() {
|
|
return this.width;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.brush.hashCode() + (Dp.m7374hashCodeimpl(this.width) * 31);
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder("BorderStroke(width=");
|
|
ArcMode$$ExternalSyntheticOutline0.m(sb, ", brush=", this.width);
|
|
sb.append(this.brush);
|
|
sb.append(')');
|
|
return sb.toString();
|
|
}
|
|
|
|
public /* synthetic */ BorderStroke(float f, Brush brush, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(f, brush);
|
|
}
|
|
}
|