alexandroid/decompiled/jadx/sources/androidx/compose/foundation/text/selection/SelectionHandleInfo.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

130 lines
7.2 KiB
Java

package androidx.compose.foundation.text.selection;
import androidx.biometric.ErrorUtils$$ExternalSyntheticOutline0;
import androidx.compose.foundation.text.Handle;
import androidx.compose.runtime.internal.StabilityInferred;
import androidx.compose.ui.geometry.Offset;
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
import com.facebook.react.uimanager.ViewProps;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@StabilityInferred(parameters = 1)
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0015\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0080\b\u0018\u00002\u00020\u0001B%\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\t¢\u0006\u0002\u0010\nJ\t\u0010\u0014\u001a\u00020\u0003HÆ\u0003J\u0016\u0010\u0015\u001a\u00020\u0005HÆ\u0003ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0016\u0010\u0010J\t\u0010\u0017\u001a\u00020\u0007HÆ\u0003J\t\u0010\u0018\u001a\u00020\tHÆ\u0003J;\u0010\u0019\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\tHÆ\u0001ø\u0001\u0000¢\u0006\u0004\b\u001a\u0010\u001bJ\u0013\u0010\u001c\u001a\u00020\t2\b\u0010\u001d\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u001e\u001a\u00020\u001fHÖ\u0001J\t\u0010 \u001a\u00020!HÖ\u0001R\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0019\u0010\u0004\u001a\u00020\u0005ø\u0001\u0000ø\u0001\u0001¢\u0006\n\n\u0002\u0010\u0011\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\b\u001a\u00020\t¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013\u0082\u0002\u000b\n\u0005\b¡\u001e0\u0001\n\u0002\b!¨\u0006\""}, d2 = {"Landroidx/compose/foundation/text/selection/SelectionHandleInfo;", "", "handle", "Landroidx/compose/foundation/text/Handle;", "position", "Landroidx/compose/ui/geometry/Offset;", "anchor", "Landroidx/compose/foundation/text/selection/SelectionHandleAnchor;", ViewProps.VISIBLE, "", "(Landroidx/compose/foundation/text/Handle;JLandroidx/compose/foundation/text/selection/SelectionHandleAnchor;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V", "getAnchor", "()Landroidx/compose/foundation/text/selection/SelectionHandleAnchor;", "getHandle", "()Landroidx/compose/foundation/text/Handle;", "getPosition-F1C5BW0", "()J", "J", "getVisible", "()Z", "component1", "component2", "component2-F1C5BW0", "component3", "component4", "copy", "copy-ubNVwUQ", "(Landroidx/compose/foundation/text/Handle;JLandroidx/compose/foundation/text/selection/SelectionHandleAnchor;Z)Landroidx/compose/foundation/text/selection/SelectionHandleInfo;", "equals", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "hashCode", "", "toString", "", "foundation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class SelectionHandleInfo {
public static final int $stable = 0;
@NotNull
private final SelectionHandleAnchor anchor;
@NotNull
private final Handle handle;
private final long position;
private final boolean visible;
private SelectionHandleInfo(Handle handle, long j, SelectionHandleAnchor selectionHandleAnchor, boolean z) {
this.handle = handle;
this.position = j;
this.anchor = selectionHandleAnchor;
this.visible = z;
}
/* renamed from: copy-ubNVwUQ$default, reason: not valid java name */
public static /* synthetic */ SelectionHandleInfo m1523copyubNVwUQ$default(SelectionHandleInfo selectionHandleInfo, Handle handle, long j, SelectionHandleAnchor selectionHandleAnchor, boolean z, int i, Object obj) {
if ((i & 1) != 0) {
handle = selectionHandleInfo.handle;
}
if ((i & 2) != 0) {
j = selectionHandleInfo.position;
}
if ((i & 4) != 0) {
selectionHandleAnchor = selectionHandleInfo.anchor;
}
if ((i & 8) != 0) {
z = selectionHandleInfo.visible;
}
return selectionHandleInfo.m1525copyubNVwUQ(handle, j, selectionHandleAnchor, z);
}
@NotNull
/* renamed from: component1, reason: from getter */
public final Handle getHandle() {
return this.handle;
}
/* renamed from: component2-F1C5BW0, reason: not valid java name and from getter */
public final long getPosition() {
return this.position;
}
@NotNull
/* renamed from: component3, reason: from getter */
public final SelectionHandleAnchor getAnchor() {
return this.anchor;
}
/* renamed from: component4, reason: from getter */
public final boolean getVisible() {
return this.visible;
}
@NotNull
/* renamed from: copy-ubNVwUQ, reason: not valid java name */
public final SelectionHandleInfo m1525copyubNVwUQ(@NotNull Handle handle, long position, @NotNull SelectionHandleAnchor anchor, boolean visible) {
return new SelectionHandleInfo(handle, position, anchor, visible, null);
}
public boolean equals(@Nullable Object other) {
if (this == other) {
return true;
}
if (!(other instanceof SelectionHandleInfo)) {
return false;
}
SelectionHandleInfo selectionHandleInfo = (SelectionHandleInfo) other;
return this.handle == selectionHandleInfo.handle && Offset.m4397equalsimpl0(this.position, selectionHandleInfo.position) && this.anchor == selectionHandleInfo.anchor && this.visible == selectionHandleInfo.visible;
}
@NotNull
public final SelectionHandleAnchor getAnchor() {
return this.anchor;
}
@NotNull
public final Handle getHandle() {
return this.handle;
}
/* renamed from: getPosition-F1C5BW0, reason: not valid java name */
public final long m1526getPositionF1C5BW0() {
return this.position;
}
public final boolean getVisible() {
return this.visible;
}
public int hashCode() {
return Boolean.hashCode(this.visible) + ((this.anchor.hashCode() + ((Offset.m4402hashCodeimpl(this.position) + (this.handle.hashCode() * 31)) * 31)) * 31);
}
@NotNull
public String toString() {
StringBuilder sb = new StringBuilder("SelectionHandleInfo(handle=");
sb.append(this.handle);
sb.append(", position=");
sb.append((Object) Offset.m4408toStringimpl(this.position));
sb.append(", anchor=");
sb.append(this.anchor);
sb.append(", visible=");
return ErrorUtils$$ExternalSyntheticOutline0.m(sb, this.visible, ')');
}
public /* synthetic */ SelectionHandleInfo(Handle handle, long j, SelectionHandleAnchor selectionHandleAnchor, boolean z, DefaultConstructorMarker defaultConstructorMarker) {
this(handle, j, selectionHandleAnchor, z);
}
}