alexandroid/decompiled/jadx/sources/androidx/compose/ui/semantics/SemanticsPropertyKey.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

104 lines
6.9 KiB
Java

package androidx.compose.ui.semantics;
import androidx.compose.runtime.internal.StabilityInferred;
import androidx.exifinterface.media.ExifInterface;
import kotlin.Metadata;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.reflect.KProperty;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@StabilityInferred(parameters = 0)
@Metadata(d1 = {"\u00008\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0013\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\b\u0007\u0018\u0000*\u0004\b\u0000\u0010\u00012\u00020\u0002B/\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u001e\b\u0002\u0010\u0005\u001a\u0018\u0012\u0006\u0012\u0004\u0018\u00018\u0000\u0012\u0004\u0012\u00028\u0000\u0012\u0006\u0012\u0004\u0018\u00018\u00000\u0006¢\u0006\u0004\b\u0007\u0010\bB\u0019\b\u0010\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\t\u001a\u00020\n¢\u0006\u0004\b\u0007\u0010\u000bBC\b\u0010\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\t\u001a\u00020\n\u0012\u001c\u0010\u0005\u001a\u0018\u0012\u0006\u0012\u0004\u0018\u00018\u0000\u0012\u0004\u0012\u00028\u0000\u0012\u0006\u0012\u0004\u0018\u00018\u00000\u0006\u0012\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u0004¢\u0006\u0004\b\u0007\u0010\rJ\u001f\u0010\u0018\u001a\u0004\u0018\u00018\u00002\b\u0010\u0019\u001a\u0004\u0018\u00018\u00002\u0006\u0010\u001a\u001a\u00028\u0000¢\u0006\u0002\u0010\u001bJ\"\u0010\u001c\u001a\u00028\u00002\u0006\u0010\u001d\u001a\u00020\u001e2\n\u0010\u001f\u001a\u0006\u0012\u0002\b\u00030 H\u0086\u0002¢\u0006\u0002\u0010!J*\u0010\"\u001a\u00020#2\u0006\u0010\u001d\u001a\u00020\u001e2\n\u0010\u001f\u001a\u0006\u0012\u0002\b\u00030 2\u0006\u0010\u0012\u001a\u00028\u0000H\u0086\u0002¢\u0006\u0002\u0010$J\b\u0010%\u001a\u00020\u0004H\u0016R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR*\u0010\u0005\u001a\u0018\u0012\u0006\u0012\u0004\u0018\u00018\u0000\u0012\u0004\u0012\u00028\u0000\u0012\u0006\u0012\u0004\u0018\u00018\u00000\u0006X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u001e\u0010\t\u001a\u00020\n2\u0006\u0010\u0012\u001a\u00020\n@BX\u0080\u000e¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u001c\u0010\f\u001a\u0004\u0018\u00010\u0004X\u0080\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0015\u0010\u000f\"\u0004\b\u0016\u0010\u0017¨\u0006&"}, d2 = {"Landroidx/compose/ui/semantics/SemanticsPropertyKey;", ExifInterface.GPS_DIRECTION_TRUE, "", "name", "", "mergePolicy", "Lkotlin/Function2;", "<init>", "(Ljava/lang/String;Lkotlin/jvm/functions/Function2;)V", "isImportantForAccessibility", "", "(Ljava/lang/String;Z)V", "accessibilityExtraKey", "(Ljava/lang/String;ZLkotlin/jvm/functions/Function2;Ljava/lang/String;)V", "getName", "()Ljava/lang/String;", "getMergePolicy$ui_release", "()Lkotlin/jvm/functions/Function2;", "value", "isImportantForAccessibility$ui_release", "()Z", "getAccessibilityExtraKey$ui_release", "setAccessibilityExtraKey$ui_release", "(Ljava/lang/String;)V", "merge", "parentValue", "childValue", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "getValue", "thisRef", "Landroidx/compose/ui/semantics/SemanticsPropertyReceiver;", "property", "Lkotlin/reflect/KProperty;", "(Landroidx/compose/ui/semantics/SemanticsPropertyReceiver;Lkotlin/reflect/KProperty;)Ljava/lang/Object;", "setValue", "", "(Landroidx/compose/ui/semantics/SemanticsPropertyReceiver;Lkotlin/reflect/KProperty;Ljava/lang/Object;)V", "toString", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
/* loaded from: classes13.dex */
public final class SemanticsPropertyKey<T> {
public static final int $stable = 8;
@Nullable
private String accessibilityExtraKey;
private boolean isImportantForAccessibility;
@NotNull
private final Function2<T, T, T> mergePolicy;
@NotNull
private final String name;
public /* synthetic */ SemanticsPropertyKey(String str, Function2 function2, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i & 2) != 0 ? new Function2<T, T, T>() { // from class: androidx.compose.ui.semantics.SemanticsPropertyKey.1
@Override // kotlin.jvm.functions.Function2
public final T invoke(T t, T t2) {
return t == null ? t2 : t;
}
} : function2);
}
@Nullable
/* renamed from: getAccessibilityExtraKey$ui_release, reason: from getter */
public final String getAccessibilityExtraKey() {
return this.accessibilityExtraKey;
}
@NotNull
public final Function2<T, T, T> getMergePolicy$ui_release() {
return this.mergePolicy;
}
@NotNull
public final String getName() {
return this.name;
}
public final T getValue(@NotNull SemanticsPropertyReceiver thisRef, @NotNull KProperty<?> property) {
Object throwSemanticsGetNotSupported;
throwSemanticsGetNotSupported = SemanticsPropertiesKt.throwSemanticsGetNotSupported();
return (T) throwSemanticsGetNotSupported;
}
/* renamed from: isImportantForAccessibility$ui_release, reason: from getter */
public final boolean getIsImportantForAccessibility() {
return this.isImportantForAccessibility;
}
@Nullable
public final T merge(@Nullable T parentValue, T childValue) {
return this.mergePolicy.invoke(parentValue, childValue);
}
public final void setAccessibilityExtraKey$ui_release(@Nullable String str) {
this.accessibilityExtraKey = str;
}
public final void setValue(@NotNull SemanticsPropertyReceiver thisRef, @NotNull KProperty<?> property, T value) {
thisRef.set(this, value);
}
@NotNull
public String toString() {
return "AccessibilityKey: " + this.name;
}
/* JADX WARN: Multi-variable type inference failed */
public SemanticsPropertyKey(@NotNull String str, @NotNull Function2<? super T, ? super T, ? extends T> function2) {
this.name = str;
this.mergePolicy = function2;
}
/* JADX WARN: Multi-variable type inference failed */
public SemanticsPropertyKey(@NotNull String str, boolean z) {
this(str, (Function2) null, 2, (DefaultConstructorMarker) (0 == true ? 1 : 0));
this.isImportantForAccessibility = z;
}
public /* synthetic */ SemanticsPropertyKey(String str, boolean z, Function2 function2, String str2, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(str, z, function2, (i & 8) != 0 ? null : str2);
}
public SemanticsPropertyKey(@NotNull String str, boolean z, @NotNull Function2<? super T, ? super T, ? extends T> function2, @Nullable String str2) {
this(str, function2);
this.isImportantForAccessibility = z;
this.accessibilityExtraKey = str2;
}
}