alexandroid/decompiled/jadx/sources/androidx/compose/ui/graphics/PathSegment.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

116 lines
5.6 KiB
Java

package androidx.compose.ui.graphics;
import androidx.collection.DoubleList$$ExternalSyntheticOutline0;
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
import io.branch.referral.validators.LinkingValidatorConstants;
import java.util.Arrays;
import kotlin.Metadata;
import kotlin.enums.EnumEntries;
import kotlin.enums.EnumEntriesKt;
import org.apache.http.protocol.HTTP;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0014\n\u0000\n\u0002\u0010\u0007\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\u0018\u00002\u00020\u0001:\u0001\u0017B!\b\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007¢\u0006\u0004\b\b\u0010\tJ\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\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\rR\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000f¨\u0006\u0018"}, d2 = {"Landroidx/compose/ui/graphics/PathSegment;", "", "type", "Landroidx/compose/ui/graphics/PathSegment$Type;", "points", "", "weight", "", "<init>", "(Landroidx/compose/ui/graphics/PathSegment$Type;[FF)V", "getType", "()Landroidx/compose/ui/graphics/PathSegment$Type;", "getPoints", "()[F", "getWeight", "()F", "equals", "", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "hashCode", "", "toString", "", "Type", "ui-graphics_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
/* loaded from: classes13.dex */
public final class PathSegment {
@NotNull
private final float[] points;
@NotNull
private final Type type;
private final float weight;
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\n\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003j\u0002\b\u0004j\u0002\b\u0005j\u0002\b\u0006j\u0002\b\u0007j\u0002\b\bj\u0002\b\tj\u0002\b\n¨\u0006\u000b"}, d2 = {"Landroidx/compose/ui/graphics/PathSegment$Type;", "", "<init>", "(Ljava/lang/String;I)V", "Move", "Line", "Quadratic", "Conic", "Cubic", HTTP.CONN_CLOSE, LinkingValidatorConstants.step3ButtonText, "ui-graphics_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
public static final class Type {
private static final /* synthetic */ EnumEntries $ENTRIES;
private static final /* synthetic */ Type[] $VALUES;
public static final Type Move = new Type("Move", 0);
public static final Type Line = new Type("Line", 1);
public static final Type Quadratic = new Type("Quadratic", 2);
public static final Type Conic = new Type("Conic", 3);
public static final Type Cubic = new Type("Cubic", 4);
public static final Type Close = new Type(HTTP.CONN_CLOSE, 5);
public static final Type Done = new Type(LinkingValidatorConstants.step3ButtonText, 6);
private static final /* synthetic */ Type[] $values() {
return new Type[]{Move, Line, Quadratic, Conic, Cubic, Close, Done};
}
static {
Type[] $values = $values();
$VALUES = $values;
$ENTRIES = EnumEntriesKt.enumEntries($values);
}
private Type(String str, int i) {
}
@NotNull
public static EnumEntries<Type> getEntries() {
return $ENTRIES;
}
public static Type valueOf(String str) {
return (Type) Enum.valueOf(Type.class, str);
}
public static Type[] values() {
return (Type[]) $VALUES.clone();
}
}
public PathSegment(@NotNull Type type, @NotNull float[] fArr, float f) {
this.type = type;
this.points = fArr;
this.weight = f;
}
public boolean equals(@Nullable Object other) {
if (this == other) {
return true;
}
if (other != null && PathSegment.class == other.getClass()) {
PathSegment pathSegment = (PathSegment) other;
if (this.type == pathSegment.type && Arrays.equals(this.points, pathSegment.points) && this.weight == pathSegment.weight) {
return true;
}
}
return false;
}
@NotNull
public final float[] getPoints() {
return this.points;
}
@NotNull
public final Type getType() {
return this.type;
}
public final float getWeight() {
return this.weight;
}
public int hashCode() {
return Float.hashCode(this.weight) + ((Arrays.hashCode(this.points) + (this.type.hashCode() * 31)) * 31);
}
@NotNull
public String toString() {
StringBuilder sb = new StringBuilder("PathSegment(type=");
sb.append(this.type);
sb.append(", points=");
String arrays = Arrays.toString(this.points);
arrays.getClass();
sb.append(arrays);
sb.append(", weight=");
return DoubleList$$ExternalSyntheticOutline0.m(sb, this.weight, ')');
}
}