package androidx.core.view; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; /* loaded from: classes.dex */ public class NestedScrollingParentHelper { private int mNestedScrollAxesNonTouch; private int mNestedScrollAxesTouch; public int getNestedScrollAxes() { return this.mNestedScrollAxesTouch | this.mNestedScrollAxesNonTouch; } public void onNestedScrollAccepted(@NonNull View view, @NonNull View view2, int i, int i2) { if (i2 == 1) { this.mNestedScrollAxesNonTouch = i; } else { this.mNestedScrollAxesTouch = i; } } public void onStopNestedScroll(@NonNull View view, int i) { if (i == 1) { this.mNestedScrollAxesNonTouch = 0; } else { this.mNestedScrollAxesTouch = 0; } } public NestedScrollingParentHelper(@NonNull ViewGroup viewGroup) { } public void onNestedScrollAccepted(@NonNull View view, @NonNull View view2, int i) { onNestedScrollAccepted(view, view2, i, 0); } public void onStopNestedScroll(@NonNull View view) { onStopNestedScroll(view, 0); } }