mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 18:12:31 -06:00
128 lines
8.3 KiB
Java
128 lines
8.3 KiB
Java
package androidx.compose.foundation.text;
|
|
|
|
import androidx.compose.ui.text.input.ImeAction;
|
|
import androidx.compose.ui.text.input.ImeOptions;
|
|
import androidx.compose.ui.text.input.KeyboardCapitalization;
|
|
import androidx.compose.ui.text.input.KeyboardType;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
|
|
/* compiled from: KeyboardOptions.kt */
|
|
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u000e\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0007\u0018\u0000 \u001f2\u00020\u0001:\u0001\u001fB0\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005\u0012\b\b\u0002\u0010\u0006\u001a\u00020\u0007\u0012\b\b\u0002\u0010\b\u001a\u00020\tø\u0001\u0000¢\u0006\u0002\u0010\nJ;\u0010\u0012\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\tø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\u0013\u0010\u0014J\u0013\u0010\u0015\u001a\u00020\u00052\b\u0010\u0016\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\b\u0010\u0017\u001a\u00020\u0018H\u0016J\u0017\u0010\u0019\u001a\u00020\u001a2\b\b\u0002\u0010\u001b\u001a\u00020\u0005H\u0000¢\u0006\u0002\b\u001cJ\b\u0010\u001d\u001a\u00020\u001eH\u0016R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u001c\u0010\u0002\u001a\u00020\u0003ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u000f\u001a\u0004\b\r\u0010\u000eR\u001c\u0010\b\u001a\u00020\tø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u000f\u001a\u0004\b\u0010\u0010\u000eR\u001c\u0010\u0006\u001a\u00020\u0007ø\u0001\u0000ø\u0001\u0001ø\u0001\u0002¢\u0006\n\n\u0002\u0010\u000f\u001a\u0004\b\u0011\u0010\u000e\u0082\u0002\u000f\n\u0002\b\u0019\n\u0005\b¡\u001e0\u0001\n\u0002\b!¨\u0006 "}, d2 = {"Landroidx/compose/foundation/text/KeyboardOptions;", "", "capitalization", "Landroidx/compose/ui/text/input/KeyboardCapitalization;", "autoCorrect", "", "keyboardType", "Landroidx/compose/ui/text/input/KeyboardType;", "imeAction", "Landroidx/compose/ui/text/input/ImeAction;", "(IZIILkotlin/jvm/internal/DefaultConstructorMarker;)V", "getAutoCorrect", "()Z", "getCapitalization-IUNYP9k", "()I", "I", "getImeAction-eUduSuo", "getKeyboardType-PjHm6EE", "copy", "copy-3m2b7yw", "(IZII)Landroidx/compose/foundation/text/KeyboardOptions;", "equals", "other", "hashCode", "", "toImeOptions", "Landroidx/compose/ui/text/input/ImeOptions;", "singleLine", "toImeOptions$foundation_release", "toString", "", "Companion", "foundation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class KeyboardOptions {
|
|
public static final int $stable = 0;
|
|
|
|
/* renamed from: Companion, reason: from kotlin metadata */
|
|
public static final Companion INSTANCE = new Companion(null);
|
|
private static final KeyboardOptions Default = new KeyboardOptions(0, false, 0, 0, 15, null);
|
|
private final boolean autoCorrect;
|
|
private final int capitalization;
|
|
private final int imeAction;
|
|
private final int keyboardType;
|
|
|
|
public /* synthetic */ KeyboardOptions(int i, boolean z, int i2, int i3, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(i, z, i2, i3);
|
|
}
|
|
|
|
public final boolean getAutoCorrect() {
|
|
return this.autoCorrect;
|
|
}
|
|
|
|
/* renamed from: getCapitalization-IUNYP9k, reason: not valid java name and from getter */
|
|
public final int getCapitalization() {
|
|
return this.capitalization;
|
|
}
|
|
|
|
/* renamed from: getImeAction-eUduSuo, reason: not valid java name and from getter */
|
|
public final int getImeAction() {
|
|
return this.imeAction;
|
|
}
|
|
|
|
/* renamed from: getKeyboardType-PjHm6EE, reason: not valid java name and from getter */
|
|
public final int getKeyboardType() {
|
|
return this.keyboardType;
|
|
}
|
|
|
|
private KeyboardOptions(int i, boolean z, int i2, int i3) {
|
|
this.capitalization = i;
|
|
this.autoCorrect = z;
|
|
this.keyboardType = i2;
|
|
this.imeAction = i3;
|
|
}
|
|
|
|
public /* synthetic */ KeyboardOptions(int i, boolean z, int i2, int i3, int i4, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this((i4 & 1) != 0 ? KeyboardCapitalization.INSTANCE.m4600getNoneIUNYP9k() : i, (i4 & 2) != 0 ? true : z, (i4 & 4) != 0 ? KeyboardType.INSTANCE.m4626getTextPjHm6EE() : i2, (i4 & 8) != 0 ? ImeAction.INSTANCE.m4573getDefaulteUduSuo() : i3, null);
|
|
}
|
|
|
|
/* compiled from: KeyboardOptions.kt */
|
|
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u001c\u0010\u0003\u001a\u00020\u00048\u0006X\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0005\u0010\u0002\u001a\u0004\b\u0006\u0010\u0007¨\u0006\b"}, d2 = {"Landroidx/compose/foundation/text/KeyboardOptions$Companion;", "", "()V", "Default", "Landroidx/compose/foundation/text/KeyboardOptions;", "getDefault$annotations", "getDefault", "()Landroidx/compose/foundation/text/KeyboardOptions;", "foundation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
public static /* synthetic */ void getDefault$annotations() {
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
|
|
public final KeyboardOptions getDefault() {
|
|
return KeyboardOptions.Default;
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ ImeOptions toImeOptions$foundation_release$default(KeyboardOptions keyboardOptions, boolean z, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
z = ImeOptions.INSTANCE.getDefault().getSingleLine();
|
|
}
|
|
return keyboardOptions.toImeOptions$foundation_release(z);
|
|
}
|
|
|
|
public final ImeOptions toImeOptions$foundation_release(boolean singleLine) {
|
|
return new ImeOptions(singleLine, this.capitalization, this.autoCorrect, this.keyboardType, this.imeAction, null);
|
|
}
|
|
|
|
/* renamed from: copy-3m2b7yw$default, reason: not valid java name */
|
|
public static /* synthetic */ KeyboardOptions m772copy3m2b7yw$default(KeyboardOptions keyboardOptions, int i, boolean z, int i2, int i3, int i4, Object obj) {
|
|
if ((i4 & 1) != 0) {
|
|
i = keyboardOptions.capitalization;
|
|
}
|
|
if ((i4 & 2) != 0) {
|
|
z = keyboardOptions.autoCorrect;
|
|
}
|
|
if ((i4 & 4) != 0) {
|
|
i2 = keyboardOptions.keyboardType;
|
|
}
|
|
if ((i4 & 8) != 0) {
|
|
i3 = keyboardOptions.imeAction;
|
|
}
|
|
return keyboardOptions.m773copy3m2b7yw(i, z, i2, i3);
|
|
}
|
|
|
|
/* renamed from: copy-3m2b7yw, reason: not valid java name */
|
|
public final KeyboardOptions m773copy3m2b7yw(int capitalization, boolean autoCorrect, int keyboardType, int imeAction) {
|
|
return new KeyboardOptions(capitalization, autoCorrect, keyboardType, imeAction, null);
|
|
}
|
|
|
|
public boolean equals(Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof KeyboardOptions)) {
|
|
return false;
|
|
}
|
|
KeyboardOptions keyboardOptions = (KeyboardOptions) other;
|
|
return KeyboardCapitalization.m4591equalsimpl0(this.capitalization, keyboardOptions.capitalization) && this.autoCorrect == keyboardOptions.autoCorrect && KeyboardType.m4606equalsimpl0(this.keyboardType, keyboardOptions.keyboardType) && ImeAction.m4561equalsimpl0(this.imeAction, keyboardOptions.imeAction);
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (((((KeyboardCapitalization.m4592hashCodeimpl(this.capitalization) * 31) + Boolean.hashCode(this.autoCorrect)) * 31) + KeyboardType.m4607hashCodeimpl(this.keyboardType)) * 31) + ImeAction.m4562hashCodeimpl(this.imeAction);
|
|
}
|
|
|
|
public String toString() {
|
|
return "KeyboardOptions(capitalization=" + ((Object) KeyboardCapitalization.m4593toStringimpl(this.capitalization)) + ", autoCorrect=" + this.autoCorrect + ", keyboardType=" + ((Object) KeyboardType.m4608toStringimpl(this.keyboardType)) + ", imeAction=" + ((Object) ImeAction.m4563toStringimpl(this.imeAction)) + ')';
|
|
}
|
|
}
|