Files
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

62 lines
2.0 KiB
Java

package androidx.core.graphics;
import android.graphics.PointF;
import androidx.annotation.NonNull;
import androidx.core.util.Preconditions;
/* loaded from: classes.dex */
public final class PathSegment {
private final PointF mEnd;
private final float mEndFraction;
private final PointF mStart;
private final float mStartFraction;
@NonNull
public PointF getEnd() {
return this.mEnd;
}
public float getEndFraction() {
return this.mEndFraction;
}
@NonNull
public PointF getStart() {
return this.mStart;
}
public float getStartFraction() {
return this.mStartFraction;
}
public PathSegment(@NonNull PointF pointF, float f, @NonNull PointF pointF2, float f2) {
this.mStart = (PointF) Preconditions.checkNotNull(pointF, "start == null");
this.mStartFraction = f;
this.mEnd = (PointF) Preconditions.checkNotNull(pointF2, "end == null");
this.mEndFraction = f2;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof PathSegment)) {
return false;
}
PathSegment pathSegment = (PathSegment) obj;
return Float.compare(this.mStartFraction, pathSegment.mStartFraction) == 0 && Float.compare(this.mEndFraction, pathSegment.mEndFraction) == 0 && this.mStart.equals(pathSegment.mStart) && this.mEnd.equals(pathSegment.mEnd);
}
public int hashCode() {
int hashCode = this.mStart.hashCode() * 31;
float f = this.mStartFraction;
int floatToIntBits = (((hashCode + (f != 0.0f ? Float.floatToIntBits(f) : 0)) * 31) + this.mEnd.hashCode()) * 31;
float f2 = this.mEndFraction;
return floatToIntBits + (f2 != 0.0f ? Float.floatToIntBits(f2) : 0);
}
public String toString() {
return "PathSegment{start=" + this.mStart + ", startFraction=" + this.mStartFraction + ", end=" + this.mEnd + ", endFraction=" + this.mEndFraction + '}';
}
}