mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-16 19:07:17 +01:00
171 lines
9.4 KiB
Java
171 lines
9.4 KiB
Java
package androidx.compose.ui.focus;
|
|
|
|
import androidx.compose.ui.ExperimentalComposeUiApi;
|
|
import com.amazon.alexa.voice.nowplaying.bridge.VoiceBridgePayloadUtil;
|
|
import kotlin.Deprecated;
|
|
import kotlin.Metadata;
|
|
import kotlin.ReplaceWith;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u001b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\b\u000b\bf\u0018\u00002\u00020\u0001R\u0018\u0010\u0002\u001a\u00020\u0003X¦\u000e¢\u0006\f\u001a\u0004\b\u0004\u0010\u0005\"\u0004\b\u0006\u0010\u0007R$\u0010\n\u001a\u00020\t2\u0006\u0010\b\u001a\u00020\t8V@VX\u0096\u000e¢\u0006\f\u001a\u0004\b\u000b\u0010\f\"\u0004\b\r\u0010\u000eR$\u0010\u000f\u001a\u00020\t2\u0006\u0010\b\u001a\u00020\t8V@VX\u0096\u000e¢\u0006\f\u001a\u0004\b\u0010\u0010\f\"\u0004\b\u0011\u0010\u000eR$\u0010\u0012\u001a\u00020\t2\u0006\u0010\b\u001a\u00020\t8V@VX\u0096\u000e¢\u0006\f\u001a\u0004\b\u0013\u0010\f\"\u0004\b\u0014\u0010\u000eR$\u0010\u0015\u001a\u00020\t2\u0006\u0010\b\u001a\u00020\t8V@VX\u0096\u000e¢\u0006\f\u001a\u0004\b\u0016\u0010\f\"\u0004\b\u0017\u0010\u000eR$\u0010\u0018\u001a\u00020\t2\u0006\u0010\b\u001a\u00020\t8V@VX\u0096\u000e¢\u0006\f\u001a\u0004\b\u0019\u0010\f\"\u0004\b\u001a\u0010\u000eR$\u0010\u001b\u001a\u00020\t2\u0006\u0010\b\u001a\u00020\t8V@VX\u0096\u000e¢\u0006\f\u001a\u0004\b\u001c\u0010\f\"\u0004\b\u001d\u0010\u000eR$\u0010\u001e\u001a\u00020\t2\u0006\u0010\b\u001a\u00020\t8V@VX\u0096\u000e¢\u0006\f\u001a\u0004\b\u001f\u0010\f\"\u0004\b \u0010\u000eR$\u0010!\u001a\u00020\t2\u0006\u0010\b\u001a\u00020\t8V@VX\u0096\u000e¢\u0006\f\u001a\u0004\b\"\u0010\f\"\u0004\b#\u0010\u000eRB\u0010'\u001a\u000e\u0012\u0004\u0012\u00020&\u0012\u0004\u0012\u00020\t0%2\u0012\u0010$\u001a\u000e\u0012\u0004\u0012\u00020&\u0012\u0004\u0012\u00020\t0%8V@WX\u0097\u000e¢\u0006\u0012\u0012\u0004\b(\u0010)\u001a\u0004\b*\u0010+\"\u0004\b,\u0010-RF\u00101\u001a\u0013\u0012\u0004\u0012\u00020.\u0012\u0004\u0012\u00020/0%¢\u0006\u0002\b02\u0017\u0010\b\u001a\u0013\u0012\u0004\u0012\u00020.\u0012\u0004\u0012\u00020/0%¢\u0006\u0002\b08V@VX\u0096\u000e¢\u0006\f\u001a\u0004\b2\u0010+\"\u0004\b3\u0010-RB\u00104\u001a\u000e\u0012\u0004\u0012\u00020&\u0012\u0004\u0012\u00020\t0%2\u0012\u0010$\u001a\u000e\u0012\u0004\u0012\u00020&\u0012\u0004\u0012\u00020\t0%8V@WX\u0097\u000e¢\u0006\u0012\u0012\u0004\b5\u0010)\u001a\u0004\b6\u0010+\"\u0004\b7\u0010-RF\u00108\u001a\u0013\u0012\u0004\u0012\u00020.\u0012\u0004\u0012\u00020/0%¢\u0006\u0002\b02\u0017\u0010\b\u001a\u0013\u0012\u0004\u0012\u00020.\u0012\u0004\u0012\u00020/0%¢\u0006\u0002\b08V@VX\u0096\u000e¢\u0006\f\u001a\u0004\b9\u0010+\"\u0004\b:\u0010-ø\u0001\u0000\u0082\u0002\u0006\n\u0004\b!0\u0001¨\u0006;À\u0006\u0001"}, d2 = {"Landroidx/compose/ui/focus/FocusProperties;", "", "canFocus", "", "getCanFocus", "()Z", "setCanFocus", "(Z)V", "_", "Landroidx/compose/ui/focus/FocusRequester;", "next", "getNext", "()Landroidx/compose/ui/focus/FocusRequester;", "setNext", "(Landroidx/compose/ui/focus/FocusRequester;)V", VoiceBridgePayloadUtil.PayloadCommand.PREVIOUS, "getPrevious", "setPrevious", "up", "getUp", "setUp", "down", "getDown", "setDown", "left", "getLeft", "setLeft", "right", "getRight", "setRight", "start", "getStart", "setStart", "end", "getEnd", "setEnd", "value", "Lkotlin/Function1;", "Landroidx/compose/ui/focus/FocusDirection;", "enter", "getEnter$annotations", "()V", "getEnter", "()Lkotlin/jvm/functions/Function1;", "setEnter", "(Lkotlin/jvm/functions/Function1;)V", "Landroidx/compose/ui/focus/FocusEnterExitScope;", "", "Lkotlin/ExtensionFunctionType;", "onEnter", "getOnEnter", "setOnEnter", "exit", "getExit$annotations", "getExit", "setExit", "onExit", "getOnExit", "setOnExit", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public interface FocusProperties {
|
|
boolean getCanFocus();
|
|
|
|
@NotNull
|
|
default FocusRequester getDown() {
|
|
return FocusRequester.INSTANCE.getDefault();
|
|
}
|
|
|
|
@NotNull
|
|
default FocusRequester getEnd() {
|
|
return FocusRequester.INSTANCE.getDefault();
|
|
}
|
|
|
|
@NotNull
|
|
default Function1<FocusDirection, FocusRequester> getEnter() {
|
|
return new Function1<FocusDirection, FocusRequester>() { // from class: androidx.compose.ui.focus.FocusProperties$enter$1
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ FocusRequester invoke(FocusDirection focusDirection) {
|
|
return m4305invoke3ESFkO8(focusDirection.getValue());
|
|
}
|
|
|
|
/* renamed from: invoke-3ESFkO8, reason: not valid java name */
|
|
public final FocusRequester m4305invoke3ESFkO8(int i) {
|
|
return FocusRequester.INSTANCE.getDefault();
|
|
}
|
|
};
|
|
}
|
|
|
|
@NotNull
|
|
default Function1<FocusDirection, FocusRequester> getExit() {
|
|
return new Function1<FocusDirection, FocusRequester>() { // from class: androidx.compose.ui.focus.FocusProperties$exit$1
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ FocusRequester invoke(FocusDirection focusDirection) {
|
|
return m4306invoke3ESFkO8(focusDirection.getValue());
|
|
}
|
|
|
|
/* renamed from: invoke-3ESFkO8, reason: not valid java name */
|
|
public final FocusRequester m4306invoke3ESFkO8(int i) {
|
|
return FocusRequester.INSTANCE.getDefault();
|
|
}
|
|
};
|
|
}
|
|
|
|
@NotNull
|
|
default FocusRequester getLeft() {
|
|
return FocusRequester.INSTANCE.getDefault();
|
|
}
|
|
|
|
@NotNull
|
|
default FocusRequester getNext() {
|
|
return FocusRequester.INSTANCE.getDefault();
|
|
}
|
|
|
|
@NotNull
|
|
default Function1<FocusEnterExitScope, Unit> getOnEnter() {
|
|
return new Function1<FocusEnterExitScope, Unit>() { // from class: androidx.compose.ui.focus.FocusProperties$onEnter$1
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(FocusEnterExitScope focusEnterExitScope) {
|
|
invoke2(focusEnterExitScope);
|
|
return Unit.INSTANCE;
|
|
}
|
|
|
|
/* renamed from: invoke, reason: avoid collision after fix types in other method */
|
|
public final void invoke2(FocusEnterExitScope focusEnterExitScope) {
|
|
}
|
|
};
|
|
}
|
|
|
|
@NotNull
|
|
default Function1<FocusEnterExitScope, Unit> getOnExit() {
|
|
return new Function1<FocusEnterExitScope, Unit>() { // from class: androidx.compose.ui.focus.FocusProperties$onExit$1
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Unit invoke(FocusEnterExitScope focusEnterExitScope) {
|
|
invoke2(focusEnterExitScope);
|
|
return Unit.INSTANCE;
|
|
}
|
|
|
|
/* renamed from: invoke, reason: avoid collision after fix types in other method */
|
|
public final void invoke2(FocusEnterExitScope focusEnterExitScope) {
|
|
}
|
|
};
|
|
}
|
|
|
|
@NotNull
|
|
default FocusRequester getPrevious() {
|
|
return FocusRequester.INSTANCE.getDefault();
|
|
}
|
|
|
|
@NotNull
|
|
default FocusRequester getRight() {
|
|
return FocusRequester.INSTANCE.getDefault();
|
|
}
|
|
|
|
@NotNull
|
|
default FocusRequester getStart() {
|
|
return FocusRequester.INSTANCE.getDefault();
|
|
}
|
|
|
|
@NotNull
|
|
default FocusRequester getUp() {
|
|
return FocusRequester.INSTANCE.getDefault();
|
|
}
|
|
|
|
void setCanFocus(boolean z);
|
|
|
|
@Deprecated(message = "Use onEnter instead", replaceWith = @ReplaceWith(expression = "onEnter", imports = {}))
|
|
default void setEnter(@NotNull Function1<? super FocusDirection, FocusRequester> function1) {
|
|
Function1<? super FocusEnterExitScope, Unit> usingEnterExitScope;
|
|
usingEnterExitScope = FocusPropertiesKt.toUsingEnterExitScope(function1);
|
|
setOnEnter(usingEnterExitScope);
|
|
}
|
|
|
|
@Deprecated(message = "Use onExit instead", replaceWith = @ReplaceWith(expression = "onExit", imports = {}))
|
|
default void setExit(@NotNull Function1<? super FocusDirection, FocusRequester> function1) {
|
|
Function1<? super FocusEnterExitScope, Unit> usingEnterExitScope;
|
|
usingEnterExitScope = FocusPropertiesKt.toUsingEnterExitScope(function1);
|
|
setOnExit(usingEnterExitScope);
|
|
}
|
|
|
|
@ExperimentalComposeUiApi
|
|
static /* synthetic */ void getEnter$annotations() {
|
|
}
|
|
|
|
@ExperimentalComposeUiApi
|
|
static /* synthetic */ void getExit$annotations() {
|
|
}
|
|
|
|
default void setDown(@NotNull FocusRequester focusRequester) {
|
|
}
|
|
|
|
default void setEnd(@NotNull FocusRequester focusRequester) {
|
|
}
|
|
|
|
default void setLeft(@NotNull FocusRequester focusRequester) {
|
|
}
|
|
|
|
default void setNext(@NotNull FocusRequester focusRequester) {
|
|
}
|
|
|
|
default void setOnEnter(@NotNull Function1<? super FocusEnterExitScope, Unit> function1) {
|
|
}
|
|
|
|
default void setOnExit(@NotNull Function1<? super FocusEnterExitScope, Unit> function1) {
|
|
}
|
|
|
|
default void setPrevious(@NotNull FocusRequester focusRequester) {
|
|
}
|
|
|
|
default void setRight(@NotNull FocusRequester focusRequester) {
|
|
}
|
|
|
|
default void setStart(@NotNull FocusRequester focusRequester) {
|
|
}
|
|
|
|
default void setUp(@NotNull FocusRequester focusRequester) {
|
|
}
|
|
}
|