mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
43 lines
3.2 KiB
Java
43 lines
3.2 KiB
Java
|
package androidx.compose.ui.modifier;
|
||
|
|
||
|
import androidx.compose.ui.platform.InspectorInfo;
|
||
|
import androidx.compose.ui.platform.InspectorValueInfo;
|
||
|
import kotlin.Metadata;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
import kotlin.jvm.internal.Intrinsics;
|
||
|
|
||
|
/* compiled from: ModifierLocalConsumer.kt */
|
||
|
@Metadata(d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\b\u0003\u0018\u00002\u00020\u00012\u00020\u0002B7\u0012\u0017\u0010\u0003\u001a\u0013\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u00060\u0004¢\u0006\u0002\b\u0007\u0012\u0017\u0010\b\u001a\u0013\u0012\u0004\u0012\u00020\t\u0012\u0004\u0012\u00020\u00060\u0004¢\u0006\u0002\b\u0007¢\u0006\u0002\u0010\nJ\u0013\u0010\r\u001a\u00020\u000e2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0096\u0002J\b\u0010\u0011\u001a\u00020\u0012H\u0016J\u0010\u0010\u0013\u001a\u00020\u00062\u0006\u0010\u0014\u001a\u00020\u0005H\u0016R\"\u0010\u0003\u001a\u0013\u0012\u0004\u0012\u00020\u0005\u0012\u0004\u0012\u00020\u00060\u0004¢\u0006\u0002\b\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\f¨\u0006\u0015"}, d2 = {"Landroidx/compose/ui/modifier/ModifierLocalConsumerImpl;", "Landroidx/compose/ui/modifier/ModifierLocalConsumer;", "Landroidx/compose/ui/platform/InspectorValueInfo;", "consumer", "Lkotlin/Function1;", "Landroidx/compose/ui/modifier/ModifierLocalReadScope;", "", "Lkotlin/ExtensionFunctionType;", "debugInspectorInfo", "Landroidx/compose/ui/platform/InspectorInfo;", "(Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V", "getConsumer", "()Lkotlin/jvm/functions/Function1;", "equals", "", "other", "", "hashCode", "", "onModifierLocalsUpdated", "scope", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
||
|
/* loaded from: classes.dex */
|
||
|
final class ModifierLocalConsumerImpl extends InspectorValueInfo implements ModifierLocalConsumer {
|
||
|
private final Function1<ModifierLocalReadScope, Unit> consumer;
|
||
|
|
||
|
public final Function1<ModifierLocalReadScope, Unit> getConsumer() {
|
||
|
return this.consumer;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
public ModifierLocalConsumerImpl(Function1<? super ModifierLocalReadScope, Unit> consumer, Function1<? super InspectorInfo, Unit> debugInspectorInfo) {
|
||
|
super(debugInspectorInfo);
|
||
|
Intrinsics.checkNotNullParameter(consumer, "consumer");
|
||
|
Intrinsics.checkNotNullParameter(debugInspectorInfo, "debugInspectorInfo");
|
||
|
this.consumer = consumer;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.compose.ui.modifier.ModifierLocalConsumer
|
||
|
public void onModifierLocalsUpdated(ModifierLocalReadScope scope) {
|
||
|
Intrinsics.checkNotNullParameter(scope, "scope");
|
||
|
this.consumer.invoke(scope);
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object other) {
|
||
|
return (other instanceof ModifierLocalConsumerImpl) && Intrinsics.areEqual(((ModifierLocalConsumerImpl) other).consumer, this.consumer);
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
return this.consumer.hashCode();
|
||
|
}
|
||
|
}
|