mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
174 lines
12 KiB
Java
174 lines
12 KiB
Java
package androidx.compose.ui.input.pointer;
|
|
|
|
import androidx.compose.ui.geometry.Offset;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* compiled from: InternalPointerInput.kt */
|
|
@Metadata(d1 = {"\u0000J\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0007\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b(\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0080\b\u0018\u00002\u00020\u0001Bd\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\u0007\u0012\u0006\u0010\t\u001a\u00020\n\u0012\u0006\u0010\u000b\u001a\u00020\f\u0012\u0006\u0010\r\u001a\u00020\u000e\u0012\b\b\u0002\u0010\u000f\u001a\u00020\n\u0012\u000e\b\u0002\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00120\u0011\u0012\b\b\u0002\u0010\u0013\u001a\u00020\u0007ø\u0001\u0000¢\u0006\u0002\u0010\u0014J\u0019\u0010&\u001a\u00020\u0003HÆ\u0003ø\u0001\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b'\u0010\u001aJ\u0019\u0010(\u001a\u00020\u0007HÆ\u0003ø\u0001\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b)\u0010\u001aJ\t\u0010*\u001a\u00020\u0005HÆ\u0003J\u0019\u0010+\u001a\u00020\u0007HÆ\u0003ø\u0001\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b,\u0010\u001aJ\u0019\u0010-\u001a\u00020\u0007HÆ\u0003ø\u0001\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b.\u0010\u001aJ\t\u0010/\u001a\u00020\nHÆ\u0003J\t\u00100\u001a\u00020\fHÆ\u0003J\u0019\u00101\u001a\u00020\u000eHÆ\u0003ø\u0001\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b2\u0010#J\t\u00103\u001a\u00020\nHÆ\u0003J\u000f\u00104\u001a\b\u0012\u0004\u0012\u00020\u00120\u0011HÆ\u0003J\u0080\u0001\u00105\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\u00072\b\b\u0002\u0010\t\u001a\u00020\n2\b\b\u0002\u0010\u000b\u001a\u00020\f2\b\b\u0002\u0010\r\u001a\u00020\u000e2\b\b\u0002\u0010\u000f\u001a\u00020\n2\u000e\b\u0002\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00120\u00112\b\b\u0002\u0010\u0013\u001a\u00020\u0007HÆ\u0001ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b6\u00107J\u0013\u00108\u001a\u00020\n2\b\u00109\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010:\u001a\u00020;HÖ\u0001J\t\u0010<\u001a\u00020=HÖ\u0001R\u0011\u0010\t\u001a\u00020\n¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0016R\u0017\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00120\u0011¢\u0006\b\n\u0000\u001a\u0004\b\u0017\u0010\u0018R\u001c\u0010\u0002\u001a\u00020\u0003ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u001b\u001a\u0004\b\u0019\u0010\u001aR\u0011\u0010\u000f\u001a\u00020\n¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u0016R\u001c\u0010\b\u001a\u00020\u0007ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u001b\u001a\u0004\b\u001d\u0010\u001aR\u001c\u0010\u0006\u001a\u00020\u0007ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u001b\u001a\u0004\b\u001e\u0010\u001aR\u0011\u0010\u000b\u001a\u00020\f¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010 R\u001c\u0010\u0013\u001a\u00020\u0007ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u001b\u001a\u0004\b!\u0010\u001aR\u001c\u0010\r\u001a\u00020\u000eø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010$\u001a\u0004\b\"\u0010#R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b%\u0010\u001a\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\b¡\u001e0\u0001\n\u0002\b!¨\u0006>"}, d2 = {"Landroidx/compose/ui/input/pointer/PointerInputEventData;", "", "id", "Landroidx/compose/ui/input/pointer/PointerId;", "uptime", "", "positionOnScreen", "Landroidx/compose/ui/geometry/Offset;", "position", "down", "", "pressure", "", "type", "Landroidx/compose/ui/input/pointer/PointerType;", "issuesEnterExit", "historical", "", "Landroidx/compose/ui/input/pointer/HistoricalChange;", "scrollDelta", "(JJJJZFIZLjava/util/List;JLkotlin/jvm/internal/DefaultConstructorMarker;)V", "getDown", "()Z", "getHistorical", "()Ljava/util/List;", "getId-J3iCeTQ", "()J", "J", "getIssuesEnterExit", "getPosition-F1C5BW0", "getPositionOnScreen-F1C5BW0", "getPressure", "()F", "getScrollDelta-F1C5BW0", "getType-T8wyACA", "()I", "I", "getUptime", "component1", "component1-J3iCeTQ", "component10", "component10-F1C5BW0", "component2", "component3", "component3-F1C5BW0", "component4", "component4-F1C5BW0", "component5", "component6", "component7", "component7-T8wyACA", "component8", "component9", "copy", "copy-gYeeOSc", "(JJJJZFIZLjava/util/List;J)Landroidx/compose/ui/input/pointer/PointerInputEventData;", "equals", "other", "hashCode", "", "toString", "", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final /* data */ class PointerInputEventData {
|
|
private final boolean down;
|
|
private final List<HistoricalChange> historical;
|
|
private final long id;
|
|
private final boolean issuesEnterExit;
|
|
private final long position;
|
|
private final long positionOnScreen;
|
|
private final float pressure;
|
|
private final long scrollDelta;
|
|
private final int type;
|
|
private final long uptime;
|
|
|
|
public /* synthetic */ PointerInputEventData(long j, long j2, long j3, long j4, boolean z, float f, int i, boolean z2, List list, long j5, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(j, j2, j3, j4, z, f, i, z2, list, j5);
|
|
}
|
|
|
|
/* renamed from: component1-J3iCeTQ, reason: not valid java name and from getter */
|
|
public final long getId() {
|
|
return this.id;
|
|
}
|
|
|
|
/* renamed from: component10-F1C5BW0, reason: not valid java name and from getter */
|
|
public final long getScrollDelta() {
|
|
return this.scrollDelta;
|
|
}
|
|
|
|
/* renamed from: component2, reason: from getter */
|
|
public final long getUptime() {
|
|
return this.uptime;
|
|
}
|
|
|
|
/* renamed from: component3-F1C5BW0, reason: not valid java name and from getter */
|
|
public final long getPositionOnScreen() {
|
|
return this.positionOnScreen;
|
|
}
|
|
|
|
/* renamed from: component4-F1C5BW0, reason: not valid java name and from getter */
|
|
public final long getPosition() {
|
|
return this.position;
|
|
}
|
|
|
|
/* renamed from: component5, reason: from getter */
|
|
public final boolean getDown() {
|
|
return this.down;
|
|
}
|
|
|
|
/* renamed from: component6, reason: from getter */
|
|
public final float getPressure() {
|
|
return this.pressure;
|
|
}
|
|
|
|
/* renamed from: component7-T8wyACA, reason: not valid java name and from getter */
|
|
public final int getType() {
|
|
return this.type;
|
|
}
|
|
|
|
/* renamed from: component8, reason: from getter */
|
|
public final boolean getIssuesEnterExit() {
|
|
return this.issuesEnterExit;
|
|
}
|
|
|
|
public final List<HistoricalChange> component9() {
|
|
return this.historical;
|
|
}
|
|
|
|
/* renamed from: copy-gYeeOSc, reason: not valid java name */
|
|
public final PointerInputEventData m3770copygYeeOSc(long id, long uptime, long positionOnScreen, long position, boolean down, float pressure, int type, boolean issuesEnterExit, List<HistoricalChange> historical, long scrollDelta) {
|
|
Intrinsics.checkNotNullParameter(historical, "historical");
|
|
return new PointerInputEventData(id, uptime, positionOnScreen, position, down, pressure, type, issuesEnterExit, historical, scrollDelta, null);
|
|
}
|
|
|
|
public boolean equals(Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof PointerInputEventData)) {
|
|
return false;
|
|
}
|
|
PointerInputEventData pointerInputEventData = (PointerInputEventData) other;
|
|
return PointerId.m3741equalsimpl0(this.id, pointerInputEventData.id) && this.uptime == pointerInputEventData.uptime && Offset.m2397equalsimpl0(this.positionOnScreen, pointerInputEventData.positionOnScreen) && Offset.m2397equalsimpl0(this.position, pointerInputEventData.position) && this.down == pointerInputEventData.down && Float.compare(this.pressure, pointerInputEventData.pressure) == 0 && PointerType.m3829equalsimpl0(this.type, pointerInputEventData.type) && this.issuesEnterExit == pointerInputEventData.issuesEnterExit && Intrinsics.areEqual(this.historical, pointerInputEventData.historical) && Offset.m2397equalsimpl0(this.scrollDelta, pointerInputEventData.scrollDelta);
|
|
}
|
|
|
|
public final boolean getDown() {
|
|
return this.down;
|
|
}
|
|
|
|
public final List<HistoricalChange> getHistorical() {
|
|
return this.historical;
|
|
}
|
|
|
|
/* renamed from: getId-J3iCeTQ, reason: not valid java name */
|
|
public final long m3771getIdJ3iCeTQ() {
|
|
return this.id;
|
|
}
|
|
|
|
public final boolean getIssuesEnterExit() {
|
|
return this.issuesEnterExit;
|
|
}
|
|
|
|
/* renamed from: getPosition-F1C5BW0, reason: not valid java name */
|
|
public final long m3772getPositionF1C5BW0() {
|
|
return this.position;
|
|
}
|
|
|
|
/* renamed from: getPositionOnScreen-F1C5BW0, reason: not valid java name */
|
|
public final long m3773getPositionOnScreenF1C5BW0() {
|
|
return this.positionOnScreen;
|
|
}
|
|
|
|
public final float getPressure() {
|
|
return this.pressure;
|
|
}
|
|
|
|
/* renamed from: getScrollDelta-F1C5BW0, reason: not valid java name */
|
|
public final long m3774getScrollDeltaF1C5BW0() {
|
|
return this.scrollDelta;
|
|
}
|
|
|
|
/* renamed from: getType-T8wyACA, reason: not valid java name */
|
|
public final int m3775getTypeT8wyACA() {
|
|
return this.type;
|
|
}
|
|
|
|
public final long getUptime() {
|
|
return this.uptime;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public int hashCode() {
|
|
int m3742hashCodeimpl = ((((((PointerId.m3742hashCodeimpl(this.id) * 31) + Long.hashCode(this.uptime)) * 31) + Offset.m2402hashCodeimpl(this.positionOnScreen)) * 31) + Offset.m2402hashCodeimpl(this.position)) * 31;
|
|
boolean z = this.down;
|
|
int i = z;
|
|
if (z != 0) {
|
|
i = 1;
|
|
}
|
|
int hashCode = (((((m3742hashCodeimpl + i) * 31) + Float.hashCode(this.pressure)) * 31) + PointerType.m3830hashCodeimpl(this.type)) * 31;
|
|
boolean z2 = this.issuesEnterExit;
|
|
return ((((hashCode + (z2 ? 1 : z2 ? 1 : 0)) * 31) + this.historical.hashCode()) * 31) + Offset.m2402hashCodeimpl(this.scrollDelta);
|
|
}
|
|
|
|
public String toString() {
|
|
return "PointerInputEventData(id=" + ((Object) PointerId.m3743toStringimpl(this.id)) + ", uptime=" + this.uptime + ", positionOnScreen=" + ((Object) Offset.m2408toStringimpl(this.positionOnScreen)) + ", position=" + ((Object) Offset.m2408toStringimpl(this.position)) + ", down=" + this.down + ", pressure=" + this.pressure + ", type=" + ((Object) PointerType.m3831toStringimpl(this.type)) + ", issuesEnterExit=" + this.issuesEnterExit + ", historical=" + this.historical + ", scrollDelta=" + ((Object) Offset.m2408toStringimpl(this.scrollDelta)) + ')';
|
|
}
|
|
|
|
private PointerInputEventData(long j, long j2, long j3, long j4, boolean z, float f, int i, boolean z2, List<HistoricalChange> historical, long j5) {
|
|
Intrinsics.checkNotNullParameter(historical, "historical");
|
|
this.id = j;
|
|
this.uptime = j2;
|
|
this.positionOnScreen = j3;
|
|
this.position = j4;
|
|
this.down = z;
|
|
this.pressure = f;
|
|
this.type = i;
|
|
this.issuesEnterExit = z2;
|
|
this.historical = historical;
|
|
this.scrollDelta = j5;
|
|
}
|
|
|
|
public /* synthetic */ PointerInputEventData(long j, long j2, long j3, long j4, boolean z, float f, int i, boolean z2, List list, long j5, int i2, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(j, j2, j3, j4, z, f, i, (i2 & 128) != 0 ? false : z2, (i2 & 256) != 0 ? new ArrayList() : list, (i2 & 512) != 0 ? Offset.INSTANCE.m2416getZeroF1C5BW0() : j5, null);
|
|
}
|
|
}
|