mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-15 10:27:17 +01:00
58 lines
2.9 KiB
Java
58 lines
2.9 KiB
Java
package androidx.compose.ui.semantics;
|
|
|
|
import androidx.compose.runtime.internal.StabilityInferred;
|
|
import com.amazon.alexa.redesign.view.container.CardStudioAgentSpaceMetrics;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.functions.Function0;
|
|
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\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0002\b\t\n\u0002\u0010\b\n\u0002\b\u0002\b\u0007\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\u0004\b\u0007\u0010\bJ\u0013\u0010\r\u001a\u00020\u00062\b\u0010\u000e\u001a\u0004\u0018\u00010\u0001H\u0096\u0002J\b\u0010\u000f\u001a\u00020\u0010H\u0016J\b\u0010\u0011\u001a\u00020\u0003H\u0016R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0017\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00060\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\f¨\u0006\u0012"}, d2 = {"Landroidx/compose/ui/semantics/CustomAccessibilityAction;", "", "label", "", "action", "Lkotlin/Function0;", "", "<init>", "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V", "getLabel", "()Ljava/lang/String;", "getAction", "()Lkotlin/jvm/functions/Function0;", "equals", CardStudioAgentSpaceMetrics.DimensionValue.SCHEME_OTHER, "hashCode", "", "toString", "ui_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public final class CustomAccessibilityAction {
|
|
public static final int $stable = 0;
|
|
|
|
@NotNull
|
|
private final Function0<Boolean> action;
|
|
|
|
@NotNull
|
|
private final String label;
|
|
|
|
public CustomAccessibilityAction(@NotNull String str, @NotNull Function0<Boolean> function0) {
|
|
this.label = str;
|
|
this.action = function0;
|
|
}
|
|
|
|
public boolean equals(@Nullable Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof CustomAccessibilityAction)) {
|
|
return false;
|
|
}
|
|
CustomAccessibilityAction customAccessibilityAction = (CustomAccessibilityAction) other;
|
|
return Intrinsics.areEqual(this.label, customAccessibilityAction.label) && this.action == customAccessibilityAction.action;
|
|
}
|
|
|
|
@NotNull
|
|
public final Function0<Boolean> getAction() {
|
|
return this.action;
|
|
}
|
|
|
|
@NotNull
|
|
public final String getLabel() {
|
|
return this.label;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.action.hashCode() + (this.label.hashCode() * 31);
|
|
}
|
|
|
|
@NotNull
|
|
public String toString() {
|
|
return "CustomAccessibilityAction(label=" + this.label + ", action=" + this.action + ')';
|
|
}
|
|
}
|