mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-17 03:17:17 +01:00
222 lines
14 KiB
Java
222 lines
14 KiB
Java
package androidx.compose.ui.input.pointer;
|
|
|
|
import androidx.collection.DoubleList$$ExternalSyntheticOutline0;
|
|
import androidx.compose.animation.core.ArcMode$$ExternalSyntheticOutline0;
|
|
import androidx.compose.runtime.BitVector$$ExternalSyntheticOutline0;
|
|
import androidx.compose.runtime.internal.StabilityInferred;
|
|
import androidx.compose.ui.geometry.Offset;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
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 */
|
|
@StabilityInferred(parameters = 0)
|
|
@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\u0081\b\u0018\u00002\u00020\u0001Bm\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\u0012\b\b\u0002\u0010\u0014\u001a\u00020\u0007¢\u0006\u0004\b\u0015\u0010\u0016J\u0010\u0010)\u001a\u00020\u0003HÆ\u0003¢\u0006\u0004\b*\u0010\u0018J\t\u0010+\u001a\u00020\u0005HÆ\u0003J\u0010\u0010,\u001a\u00020\u0007HÆ\u0003¢\u0006\u0004\b-\u0010\u0018J\u0010\u0010.\u001a\u00020\u0007HÆ\u0003¢\u0006\u0004\b/\u0010\u0018J\t\u00100\u001a\u00020\nHÆ\u0003J\t\u00101\u001a\u00020\fHÆ\u0003J\u0010\u00102\u001a\u00020\u000eHÆ\u0003¢\u0006\u0004\b3\u0010\"J\t\u00104\u001a\u00020\nHÆ\u0003J\u000f\u00105\u001a\b\u0012\u0004\u0012\u00020\u00120\u0011HÆ\u0003J\u0010\u00106\u001a\u00020\u0007HÆ\u0003¢\u0006\u0004\b7\u0010\u0018J\u0010\u00108\u001a\u00020\u0007HÆ\u0003¢\u0006\u0004\b9\u0010\u0018J\u0084\u0001\u0010:\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\u00072\b\b\u0002\u0010\u0014\u001a\u00020\u0007HÆ\u0001¢\u0006\u0004\b;\u0010<J\u0013\u0010=\u001a\u00020\n2\b\u0010>\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010?\u001a\u00020@HÖ\u0001J\t\u0010A\u001a\u00020BHÖ\u0001R\u0013\u0010\u0002\u001a\u00020\u0003¢\u0006\n\n\u0002\u0010\u0019\u001a\u0004\b\u0017\u0010\u0018R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u0018R\u0013\u0010\u0006\u001a\u00020\u0007¢\u0006\n\n\u0002\u0010\u0019\u001a\u0004\b\u001b\u0010\u0018R\u0013\u0010\b\u001a\u00020\u0007¢\u0006\n\n\u0002\u0010\u0019\u001a\u0004\b\u001c\u0010\u0018R\u0011\u0010\t\u001a\u00020\n¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u001eR\u0011\u0010\u000b\u001a\u00020\f¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010 R\u0013\u0010\r\u001a\u00020\u000e¢\u0006\n\n\u0002\u0010#\u001a\u0004\b!\u0010\"R\u0011\u0010\u000f\u001a\u00020\n¢\u0006\b\n\u0000\u001a\u0004\b$\u0010\u001eR\u0017\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00120\u0011¢\u0006\b\n\u0000\u001a\u0004\b%\u0010&R\u0013\u0010\u0013\u001a\u00020\u0007¢\u0006\n\n\u0002\u0010\u0019\u001a\u0004\b'\u0010\u0018R\u0013\u0010\u0014\u001a\u00020\u0007¢\u0006\n\n\u0002\u0010\u0019\u001a\u0004\b(\u0010\u0018¨\u0006C"}, 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;", "activeHover", "historical", "", "Landroidx/compose/ui/input/pointer/HistoricalChange;", "scrollDelta", "originalEventPosition", "<init>", "(JJJJZFIZLjava/util/List;JJLkotlin/jvm/internal/DefaultConstructorMarker;)V", "getId-J3iCeTQ", "()J", "J", "getUptime", "getPositionOnScreen-F1C5BW0", "getPosition-F1C5BW0", "getDown", "()Z", "getPressure", "()F", "getType-T8wyACA", "()I", "I", "getActiveHover", "getHistorical", "()Ljava/util/List;", "getScrollDelta-F1C5BW0", "getOriginalEventPosition-F1C5BW0", "component1", "component1-J3iCeTQ", "component2", "component3", "component3-F1C5BW0", "component4", "component4-F1C5BW0", "component5", "component6", "component7", "component7-T8wyACA", "component8", "component9", "component10", "component10-F1C5BW0", "component11", "component11-F1C5BW0", "copy", "copy-rc8HELY", "(JJJJZFIZLjava/util/List;JJ)Landroidx/compose/ui/input/pointer/PointerInputEventData;", "equals", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "hashCode", "", "toString", "", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public final /* data */ class PointerInputEventData {
|
|
public static final int $stable = 8;
|
|
private final boolean activeHover;
|
|
private final boolean down;
|
|
|
|
@NotNull
|
|
private final List<HistoricalChange> historical;
|
|
private final long id;
|
|
private final long originalEventPosition;
|
|
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, long j6, 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.m4416getZeroF1C5BW0() : j5, (i2 & 1024) != 0 ? Offset.INSTANCE.m4416getZeroF1C5BW0() : j6, null);
|
|
}
|
|
|
|
/* renamed from: copy-rc8HELY$default, reason: not valid java name */
|
|
public static /* synthetic */ PointerInputEventData m5949copyrc8HELY$default(PointerInputEventData pointerInputEventData, long j, long j2, long j3, long j4, boolean z, float f, int i, boolean z2, List list, long j5, long j6, int i2, Object obj) {
|
|
long j7;
|
|
long j8;
|
|
long j9;
|
|
long j10;
|
|
long j11 = (i2 & 1) != 0 ? pointerInputEventData.id : j;
|
|
long j12 = (i2 & 2) != 0 ? pointerInputEventData.uptime : j2;
|
|
long j13 = (i2 & 4) != 0 ? pointerInputEventData.positionOnScreen : j3;
|
|
long j14 = (i2 & 8) != 0 ? pointerInputEventData.position : j4;
|
|
boolean z3 = (i2 & 16) != 0 ? pointerInputEventData.down : z;
|
|
float f2 = (i2 & 32) != 0 ? pointerInputEventData.pressure : f;
|
|
int i3 = (i2 & 64) != 0 ? pointerInputEventData.type : i;
|
|
boolean z4 = (i2 & 128) != 0 ? pointerInputEventData.activeHover : z2;
|
|
List list2 = (i2 & 256) != 0 ? pointerInputEventData.historical : list;
|
|
if ((i2 & 512) != 0) {
|
|
j7 = j11;
|
|
j8 = pointerInputEventData.scrollDelta;
|
|
} else {
|
|
j7 = j11;
|
|
j8 = j5;
|
|
}
|
|
if ((i2 & 1024) != 0) {
|
|
j10 = j8;
|
|
j9 = pointerInputEventData.originalEventPosition;
|
|
} else {
|
|
j9 = j6;
|
|
j10 = j8;
|
|
}
|
|
return pointerInputEventData.m5956copyrc8HELY(j7, j12, j13, j14, z3, f2, i3, z4, list2, j10, j9);
|
|
}
|
|
|
|
/* 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: component11-F1C5BW0, reason: not valid java name and from getter */
|
|
public final long getOriginalEventPosition() {
|
|
return this.originalEventPosition;
|
|
}
|
|
|
|
/* 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 getActiveHover() {
|
|
return this.activeHover;
|
|
}
|
|
|
|
@NotNull
|
|
public final List<HistoricalChange> component9() {
|
|
return this.historical;
|
|
}
|
|
|
|
@NotNull
|
|
/* renamed from: copy-rc8HELY, reason: not valid java name */
|
|
public final PointerInputEventData m5956copyrc8HELY(long id, long uptime, long positionOnScreen, long position, boolean down, float pressure, int type, boolean activeHover, @NotNull List<HistoricalChange> historical, long scrollDelta, long originalEventPosition) {
|
|
return new PointerInputEventData(id, uptime, positionOnScreen, position, down, pressure, type, activeHover, historical, scrollDelta, originalEventPosition, null);
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof PointerInputEventData)) {
|
|
return false;
|
|
}
|
|
PointerInputEventData pointerInputEventData = (PointerInputEventData) other;
|
|
return PointerId.m5925equalsimpl0(this.id, pointerInputEventData.id) && this.uptime == pointerInputEventData.uptime && Offset.m4397equalsimpl0(this.positionOnScreen, pointerInputEventData.positionOnScreen) && Offset.m4397equalsimpl0(this.position, pointerInputEventData.position) && this.down == pointerInputEventData.down && Float.compare(this.pressure, pointerInputEventData.pressure) == 0 && PointerType.m6014equalsimpl0(this.type, pointerInputEventData.type) && this.activeHover == pointerInputEventData.activeHover && Intrinsics.areEqual(this.historical, pointerInputEventData.historical) && Offset.m4397equalsimpl0(this.scrollDelta, pointerInputEventData.scrollDelta) && Offset.m4397equalsimpl0(this.originalEventPosition, pointerInputEventData.originalEventPosition);
|
|
}
|
|
|
|
public final boolean getActiveHover() {
|
|
return this.activeHover;
|
|
}
|
|
|
|
public final boolean getDown() {
|
|
return this.down;
|
|
}
|
|
|
|
@NotNull
|
|
public final List<HistoricalChange> getHistorical() {
|
|
return this.historical;
|
|
}
|
|
|
|
/* renamed from: getId-J3iCeTQ, reason: not valid java name */
|
|
public final long m5957getIdJ3iCeTQ() {
|
|
return this.id;
|
|
}
|
|
|
|
/* renamed from: getOriginalEventPosition-F1C5BW0, reason: not valid java name */
|
|
public final long m5958getOriginalEventPositionF1C5BW0() {
|
|
return this.originalEventPosition;
|
|
}
|
|
|
|
/* renamed from: getPosition-F1C5BW0, reason: not valid java name */
|
|
public final long m5959getPositionF1C5BW0() {
|
|
return this.position;
|
|
}
|
|
|
|
/* renamed from: getPositionOnScreen-F1C5BW0, reason: not valid java name */
|
|
public final long m5960getPositionOnScreenF1C5BW0() {
|
|
return this.positionOnScreen;
|
|
}
|
|
|
|
public final float getPressure() {
|
|
return this.pressure;
|
|
}
|
|
|
|
/* renamed from: getScrollDelta-F1C5BW0, reason: not valid java name */
|
|
public final long m5961getScrollDeltaF1C5BW0() {
|
|
return this.scrollDelta;
|
|
}
|
|
|
|
/* renamed from: getType-T8wyACA, reason: not valid java name */
|
|
public final int m5962getTypeT8wyACA() {
|
|
return this.type;
|
|
}
|
|
|
|
public final long getUptime() {
|
|
return this.uptime;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return Offset.m4402hashCodeimpl(this.originalEventPosition) + ((Offset.m4402hashCodeimpl(this.scrollDelta) + ArcMode$$ExternalSyntheticOutline0.m(this.historical, DoubleList$$ExternalSyntheticOutline0.m(this.activeHover, (PointerType.m6015hashCodeimpl(this.type) + DoubleList$$ExternalSyntheticOutline0.m(this.pressure, DoubleList$$ExternalSyntheticOutline0.m(this.down, (Offset.m4402hashCodeimpl(this.position) + ((Offset.m4402hashCodeimpl(this.positionOnScreen) + BitVector$$ExternalSyntheticOutline0.m(this.uptime, PointerId.m5926hashCodeimpl(this.id) * 31, 31)) * 31)) * 31, 31), 31)) * 31, 31), 31)) * 31);
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
return "PointerInputEventData(id=" + ((Object) PointerId.m5927toStringimpl(this.id)) + ", uptime=" + this.uptime + ", positionOnScreen=" + ((Object) Offset.m4408toStringimpl(this.positionOnScreen)) + ", position=" + ((Object) Offset.m4408toStringimpl(this.position)) + ", down=" + this.down + ", pressure=" + this.pressure + ", type=" + ((Object) PointerType.m6016toStringimpl(this.type)) + ", activeHover=" + this.activeHover + ", historical=" + this.historical + ", scrollDelta=" + ((Object) Offset.m4408toStringimpl(this.scrollDelta)) + ", originalEventPosition=" + ((Object) Offset.m4408toStringimpl(this.originalEventPosition)) + ')';
|
|
}
|
|
|
|
private PointerInputEventData(long j, long j2, long j3, long j4, boolean z, float f, int i, boolean z2, List<HistoricalChange> list, long j5, long j6) {
|
|
this.id = j;
|
|
this.uptime = j2;
|
|
this.positionOnScreen = j3;
|
|
this.position = j4;
|
|
this.down = z;
|
|
this.pressure = f;
|
|
this.type = i;
|
|
this.activeHover = z2;
|
|
this.historical = list;
|
|
this.scrollDelta = j5;
|
|
this.originalEventPosition = j6;
|
|
}
|
|
|
|
public /* synthetic */ PointerInputEventData(long j, long j2, long j3, long j4, boolean z, float f, int i, boolean z2, List list, long j5, long j6, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(j, j2, j3, j4, z, f, i, z2, list, j5, j6);
|
|
}
|
|
}
|