mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-17 03:17:17 +01:00
62 lines
3 KiB
Java
62 lines
3 KiB
Java
package androidx.compose.ui.semantics;
|
|
|
|
import androidx.compose.runtime.internal.StabilityInferred;
|
|
import androidx.exifinterface.media.ExifInterface;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import kotlin.Function;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@StabilityInferred(parameters = 1)
|
|
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u000b\n\u0002\u0010\b\n\u0002\b\u0002\b\u0007\u0018\u0000*\u000e\b\u0000\u0010\u0001*\b\u0012\u0004\u0012\u00020\u00030\u00022\u00020\u0004B\u001b\u0012\b\u0010\u0005\u001a\u0004\u0018\u00010\u0006\u0012\b\u0010\u0007\u001a\u0004\u0018\u00018\u0000¢\u0006\u0004\b\b\u0010\tJ\u0013\u0010\u000f\u001a\u00020\u00032\b\u0010\u0010\u001a\u0004\u0018\u00010\u0004H\u0096\u0002J\b\u0010\u0011\u001a\u00020\u0012H\u0016J\b\u0010\u0013\u001a\u00020\u0006H\u0016R\u0013\u0010\u0005\u001a\u0004\u0018\u00010\u0006¢\u0006\b\n\u0000\u001a\u0004\b\n\u0010\u000bR\u0015\u0010\u0007\u001a\u0004\u0018\u00018\u0000¢\u0006\n\n\u0002\u0010\u000e\u001a\u0004\b\f\u0010\r¨\u0006\u0014"}, d2 = {"Landroidx/compose/ui/semantics/AccessibilityAction;", ExifInterface.GPS_DIRECTION_TRUE, "Lkotlin/Function;", "", "", "label", "", "action", "<init>", "(Ljava/lang/String;Lkotlin/Function;)V", "getLabel", "()Ljava/lang/String;", "getAction", "()Lkotlin/Function;", "Lkotlin/Function;", "equals", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "hashCode", "", "toString", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public final class AccessibilityAction<T extends Function<? extends Boolean>> {
|
|
public static final int $stable = 0;
|
|
|
|
@Nullable
|
|
private final T action;
|
|
|
|
@Nullable
|
|
private final String label;
|
|
|
|
public AccessibilityAction(@Nullable String str, @Nullable T t) {
|
|
this.label = str;
|
|
this.action = t;
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof AccessibilityAction)) {
|
|
return false;
|
|
}
|
|
AccessibilityAction accessibilityAction = (AccessibilityAction) other;
|
|
return Intrinsics.areEqual(this.label, accessibilityAction.label) && Intrinsics.areEqual(this.action, accessibilityAction.action);
|
|
}
|
|
|
|
@Nullable
|
|
public final T getAction() {
|
|
return this.action;
|
|
}
|
|
|
|
@Nullable
|
|
public final String getLabel() {
|
|
return this.label;
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.label;
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
T t = this.action;
|
|
return hashCode + (t != null ? t.hashCode() : 0);
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
return "AccessibilityAction(label=" + this.label + ", action=" + this.action + ')';
|
|
}
|
|
}
|