Rabbit-R1/android (non root)/java/sources/androidx/compose/ui/platform/ScrollObservationScope.java
2024-05-21 17:08:36 -04:00

74 lines
4.6 KiB
Java

package androidx.compose.ui.platform;
import androidx.compose.ui.node.OwnerScope;
import androidx.compose.ui.semantics.ScrollAxisRange;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: AndroidComposeViewAccessibilityDelegateCompat.android.kt */
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010 \n\u0000\n\u0002\u0010\u0007\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\r\b\u0000\u0018\u00002\u00020\u0001BC\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00000\u0005\u0012\b\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0007\u0012\b\u0010\t\u001a\u0004\u0018\u00010\n\u0012\b\u0010\u000b\u001a\u0004\u0018\u00010\\u0006\u0002\u0010\fR\u0017\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00000\u0005¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u001c\u0010\t\u001a\u0004\u0018\u00010\nX\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u000f\u0010\u0010\"\u0004\b\u0011\u0010\u0012R\u0014\u0010\u0013\u001a\u00020\u00148VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u0013\u0010\u0015R\u001e\u0010\u0006\u001a\u0004\u0018\u00010\u0007X\u0086\u000e¢\u0006\u0010\n\u0002\u0010\u001a\u001a\u0004\b\u0016\u0010\u0017\"\u0004\b\u0018\u0010\u0019R\u001e\u0010\b\u001a\u0004\u0018\u00010\u0007X\u0086\u000e¢\u0006\u0010\n\u0002\u0010\u001a\u001a\u0004\b\u001b\u0010\u0017\"\u0004\b\u001c\u0010\u0019R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u001eR\u001c\u0010\u000b\u001a\u0004\u0018\u00010\nX\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u001f\u0010\u0010\"\u0004\b \u0010\u0012¨\u0006!"}, d2 = {"Landroidx/compose/ui/platform/ScrollObservationScope;", "Landroidx/compose/ui/node/OwnerScope;", "semanticsNodeId", "", "allScopes", "", "oldXValue", "", "oldYValue", "horizontalScrollAxisRange", "Landroidx/compose/ui/semantics/ScrollAxisRange;", "verticalScrollAxisRange", "(ILjava/util/List;Ljava/lang/Float;Ljava/lang/Float;Landroidx/compose/ui/semantics/ScrollAxisRange;Landroidx/compose/ui/semantics/ScrollAxisRange;)V", "getAllScopes", "()Ljava/util/List;", "getHorizontalScrollAxisRange", "()Landroidx/compose/ui/semantics/ScrollAxisRange;", "setHorizontalScrollAxisRange", "(Landroidx/compose/ui/semantics/ScrollAxisRange;)V", "isValidOwnerScope", "", "()Z", "getOldXValue", "()Ljava/lang/Float;", "setOldXValue", "(Ljava/lang/Float;)V", "Ljava/lang/Float;", "getOldYValue", "setOldYValue", "getSemanticsNodeId", "()I", "getVerticalScrollAxisRange", "setVerticalScrollAxisRange", "ui_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class ScrollObservationScope implements OwnerScope {
private final List<ScrollObservationScope> allScopes;
private ScrollAxisRange horizontalScrollAxisRange;
private Float oldXValue;
private Float oldYValue;
private final int semanticsNodeId;
private ScrollAxisRange verticalScrollAxisRange;
public final List<ScrollObservationScope> getAllScopes() {
return this.allScopes;
}
public final ScrollAxisRange getHorizontalScrollAxisRange() {
return this.horizontalScrollAxisRange;
}
public final Float getOldXValue() {
return this.oldXValue;
}
public final Float getOldYValue() {
return this.oldYValue;
}
public final int getSemanticsNodeId() {
return this.semanticsNodeId;
}
public final ScrollAxisRange getVerticalScrollAxisRange() {
return this.verticalScrollAxisRange;
}
public final void setHorizontalScrollAxisRange(ScrollAxisRange scrollAxisRange) {
this.horizontalScrollAxisRange = scrollAxisRange;
}
public final void setOldXValue(Float f) {
this.oldXValue = f;
}
public final void setOldYValue(Float f) {
this.oldYValue = f;
}
public final void setVerticalScrollAxisRange(ScrollAxisRange scrollAxisRange) {
this.verticalScrollAxisRange = scrollAxisRange;
}
public ScrollObservationScope(int i, List<ScrollObservationScope> allScopes, Float f, Float f2, ScrollAxisRange scrollAxisRange, ScrollAxisRange scrollAxisRange2) {
Intrinsics.checkNotNullParameter(allScopes, "allScopes");
this.semanticsNodeId = i;
this.allScopes = allScopes;
this.oldXValue = f;
this.oldYValue = f2;
this.horizontalScrollAxisRange = scrollAxisRange;
this.verticalScrollAxisRange = scrollAxisRange2;
}
@Override // androidx.compose.ui.node.OwnerScope
public boolean isValidOwnerScope() {
return this.allScopes.contains(this);
}
}