mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-16 19:07:17 +01:00
113 lines
4.6 KiB
Java
113 lines
4.6 KiB
Java
package androidx.compose.ui.focus;
|
|
|
|
import io.ktor.util.PathKt$$ExternalSyntheticBUOutline0;
|
|
import kotlin.Metadata;
|
|
import kotlin.enums.EnumEntries;
|
|
import kotlin.enums.EnumEntriesKt;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
|
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0002\b\u0005\b\u0080\u0081\u0002\u0018\u00002\u00020\u00012\b\u0012\u0004\u0012\u00020\u00000\u0002B\t\b\u0002¢\u0006\u0004\b\u0003\u0010\u0004R\u0014\u0010\t\u001a\u00020\n8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\t\u0010\u000bR\u0014\u0010\f\u001a\u00020\n8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\r\u0010\u000bR\u0014\u0010\u000e\u001a\u00020\n8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u000e\u0010\u000bj\u0002\b\u0005j\u0002\b\u0006j\u0002\b\u0007j\u0002\b\b¨\u0006\u000f"}, d2 = {"Landroidx/compose/ui/focus/FocusStateImpl;", "Landroidx/compose/ui/focus/FocusState;", "", "<init>", "(Ljava/lang/String;I)V", "Active", "ActiveParent", "Captured", "Inactive", "isFocused", "", "()Z", "hasFocus", "getHasFocus", "isCaptured", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public final class FocusStateImpl implements FocusState {
|
|
private static final /* synthetic */ EnumEntries $ENTRIES;
|
|
private static final /* synthetic */ FocusStateImpl[] $VALUES;
|
|
public static final FocusStateImpl Active = new FocusStateImpl("Active", 0);
|
|
public static final FocusStateImpl ActiveParent = new FocusStateImpl("ActiveParent", 1);
|
|
public static final FocusStateImpl Captured = new FocusStateImpl("Captured", 2);
|
|
public static final FocusStateImpl Inactive = new FocusStateImpl("Inactive", 3);
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(k = 3, mv = {2, 0, 0}, xi = 48)
|
|
public /* synthetic */ class WhenMappings {
|
|
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
|
|
|
|
static {
|
|
int[] iArr = new int[FocusStateImpl.values().length];
|
|
try {
|
|
iArr[FocusStateImpl.Captured.ordinal()] = 1;
|
|
} catch (NoSuchFieldError unused) {
|
|
}
|
|
try {
|
|
iArr[FocusStateImpl.Active.ordinal()] = 2;
|
|
} catch (NoSuchFieldError unused2) {
|
|
}
|
|
try {
|
|
iArr[FocusStateImpl.ActiveParent.ordinal()] = 3;
|
|
} catch (NoSuchFieldError unused3) {
|
|
}
|
|
try {
|
|
iArr[FocusStateImpl.Inactive.ordinal()] = 4;
|
|
} catch (NoSuchFieldError unused4) {
|
|
}
|
|
$EnumSwitchMapping$0 = iArr;
|
|
}
|
|
}
|
|
|
|
private static final /* synthetic */ FocusStateImpl[] $values() {
|
|
return new FocusStateImpl[]{Active, ActiveParent, Captured, Inactive};
|
|
}
|
|
|
|
static {
|
|
FocusStateImpl[] $values = $values();
|
|
$VALUES = $values;
|
|
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
|
}
|
|
|
|
private FocusStateImpl(String str, int i) {
|
|
}
|
|
|
|
@NotNull
|
|
public static EnumEntries<FocusStateImpl> getEntries() {
|
|
return $ENTRIES;
|
|
}
|
|
|
|
public static FocusStateImpl valueOf(String str) {
|
|
return (FocusStateImpl) Enum.valueOf(FocusStateImpl.class, str);
|
|
}
|
|
|
|
public static FocusStateImpl[] values() {
|
|
return (FocusStateImpl[]) $VALUES.clone();
|
|
}
|
|
|
|
@Override // androidx.compose.ui.focus.FocusState
|
|
public boolean getHasFocus() {
|
|
int i = WhenMappings.$EnumSwitchMapping$0[ordinal()];
|
|
if (i == 1 || i == 2 || i == 3) {
|
|
return true;
|
|
}
|
|
if (i == 4) {
|
|
return false;
|
|
}
|
|
PathKt$$ExternalSyntheticBUOutline0.m();
|
|
return false;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.focus.FocusState
|
|
public boolean isCaptured() {
|
|
int i = WhenMappings.$EnumSwitchMapping$0[ordinal()];
|
|
if (i == 1) {
|
|
return true;
|
|
}
|
|
if (i == 2 || i == 3 || i == 4) {
|
|
return false;
|
|
}
|
|
PathKt$$ExternalSyntheticBUOutline0.m();
|
|
return false;
|
|
}
|
|
|
|
@Override // androidx.compose.ui.focus.FocusState
|
|
public boolean isFocused() {
|
|
int i = WhenMappings.$EnumSwitchMapping$0[ordinal()];
|
|
if (i == 1 || i == 2) {
|
|
return true;
|
|
}
|
|
if (i == 3 || i == 4) {
|
|
return false;
|
|
}
|
|
PathKt$$ExternalSyntheticBUOutline0.m();
|
|
return false;
|
|
}
|
|
}
|