Searched refs:onNestedPreScroll (Results 1 - 19 of 19) sorted by relevance

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/test/
H A DNestedScrollingParent2Adapter.java48 public void onNestedPreScroll(@NonNull View target, int dx, int dy, method in class:NestedScrollingParent2Adapter
63 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { method in class:NestedScrollingParent2Adapter
64 onNestedPreScroll(target, dx, dy, consumed, ViewCompat.TYPE_TOUCH);
/frameworks/support/compat/src/main/java/androidx/core/view/
H A DNestedScrollingParent.java129 * <p><code>onNestedPreScroll</code> is called when a nested scrolling child invokes
141 void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed); method in interface:NestedScrollingParent
174 * {@link #onNestedPreScroll(View, int, int, int[]) pre-scroll}, it may be appropriate for
H A DNestedScrollingParent2.java134 * <p><code>onNestedPreScroll</code> is called when a nested scrolling child invokes
147 void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed, method in interface:NestedScrollingParent2
H A DViewParentCompat.java137 * {@link #onNestedPreScroll(ViewParent, View, int, int, int[], int)} using the touch input
145 public static void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, method in class:ViewParentCompat
147 onNestedPreScroll(parent, target, dx, dy, consumed, ViewCompat.TYPE_TOUCH);
323 * <p><code>onNestedPreScroll</code> is called when a nested scrolling child invokes
337 public static void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, method in class:ViewParentCompat
341 ((NestedScrollingParent2) parent).onNestedPreScroll(target, dx, dy, consumed, type);
346 parent.onNestedPreScroll(target, dx, dy, consumed);
349 + "method onNestedPreScroll", e);
352 ((NestedScrollingParent) parent).onNestedPreScroll(target, dx, dy, consumed);
403 * {@link #onNestedPreScroll(ViewParen
[all...]
H A DNestedScrollingChildHelper.java301 ViewParentCompat.onNestedPreScroll(parent, mView, dx, dy, consumed, type);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DTestedFrameLayout.java185 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { method in class:TestedFrameLayout
186 onNestedPreScroll(target, dx, dy, consumed, ViewCompat.TYPE_TOUCH);
245 public void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed, method in class:TestedFrameLayout
248 mNestedScrollingDelegate.onNestedPreScroll(target, dx, dy, consumed, type);
H A DRecyclerViewLayoutTest.java1884 verify(nsp, atLeastOnce()).onNestedPreScroll(eq(mRecyclerView), anyInt(), anyInt(),
1893 verify(nsp, atLeastOnce()).onNestedPreScroll(eq(mRecyclerView), anyInt(), anyInt(),
1910 verify(nsp, atLeastOnce()).onNestedPreScroll(eq(mRecyclerView), anyInt(), anyInt(),
1919 verify(nsp, atLeastOnce()).onNestedPreScroll(eq(mRecyclerView), anyInt(), anyInt(),
1936 verify(nsp, never()).onNestedPreScroll(eq(mRecyclerView), anyInt(), anyInt(),
1945 verify(nsp, atLeastOnce()).onNestedPreScroll(eq(mRecyclerView), anyInt(), anyInt(),
1963 verify(nsp, never()).onNestedPreScroll(eq(mRecyclerView), anyInt(), anyInt(),
1972 verify(nsp, atLeastOnce()).onNestedPreScroll(eq(mRecyclerView), anyInt(), anyInt(),
5250 public void onNestedPreScroll(@NonNull View target, int dx, int dy, method in class:RecyclerViewLayoutTest.FullyConsumingNestedScroller
/frameworks/support/compat/src/androidTest/java/androidx/core/widget/
H A DNestedScrollViewNestedScrollingParentTest.java520 mNestedScrollView.onNestedPreScroll(mChild, 1, 2, new int[]{0, 0},
523 verify(mParent, times(1)).onNestedPreScroll(eq(mNestedScrollView), eq(1), eq(2),
525 verify(mParent, times(1)).onNestedPreScroll(any(View.class), anyInt(), anyInt(),
544 mNestedScrollView.onNestedPreScroll(mChild, 1, 2, new int[2],
547 verify(mParent, never()).onNestedPreScroll(any(View.class), anyInt(), anyInt(),
566 mNestedScrollView.onNestedPreScroll(mChild, 1, 2, new int[2],
569 verify(mParent, never()).onNestedPreScroll(any(View.class), anyInt(), anyInt(),
588 mNestedScrollView.onNestedPreScroll(mChild, 1, 2, consumed);
590 verify(mParent, times(1)).onNestedPreScroll(any(View.class), anyInt(), anyInt(),
592 verify(mParent, times(1)).onNestedPreScroll(an
670 public void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed, method in class:NestedScrollViewNestedScrollingParentTest.NestedScrollingSpyView
771 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { method in class:NestedScrollViewNestedScrollingParentTest.NestedScrollingSpyView
[all...]
/frameworks/base/core/java/android/view/
H A DViewParent.java588 * <p><code>onNestedPreScroll</code> is called when a nested scrolling child invokes
600 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed); method in interface:ViewParent
633 * {@link #onNestedPreScroll(View, int, int, int[]) pre-scroll}, it may be appropriate for
H A DViewGroup.java7479 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { method in class:ViewGroup
H A DViewRootImpl.java7807 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { method in class:ViewRootImpl
H A DView.java24703 mNestedScrollingParent.onNestedPreScroll(this, dx, dy, consumed);
[all...]
/frameworks/support/coordinatorlayout/src/main/java/androidx/coordinatorlayout/widget/
H A DCoordinatorLayout.java1849 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { method in class:CoordinatorLayout
1850 onNestedPreScroll(target, dx, dy, consumed, ViewCompat.TYPE_TOUCH);
1854 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed, int type) { method in class:CoordinatorLayout
1875 viewBehavior.onNestedPreScroll(this, view, target, dx, dy, mTempIntPair, type);
2500 * {@link #onNestedPreScroll(CoordinatorLayout, View, View, int, int, int[], int)}.
2505 public void onNestedPreScroll(@NonNull CoordinatorLayout coordinatorLayout, method in class:CoordinatorLayout.Behavior
2519 * <p><code>onNestedPreScroll</code> is called each time the nested scroll is updated
2537 * @see NestedScrollingParent2#onNestedPreScroll(View, int, int, int[], int)
2539 public void onNestedPreScroll(@NonNull CoordinatorLayout coordinatorLayout, method in class:CoordinatorLayout.Behavior
2543 onNestedPreScroll(coordinatorLayou
[all...]
/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/
H A DCoordinatorLayoutTest.java547 // Verify that the Behavior's onNestedPreScroll was called at least once
548 verify(behavior, atLeastOnce()).onNestedPreScroll(
613 // Verify that the Behavior's onNestedPreScroll was not called
614 verify(behavior, never()).onNestedPreScroll(
/frameworks/support/compat/src/main/java/androidx/core/widget/
H A DNestedScrollView.java329 public void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed, method in class:NestedScrollView
359 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { method in class:NestedScrollView
360 onNestedPreScroll(target, dx, dy, consumed, ViewCompat.TYPE_TOUCH);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DActionBarOverlayLayout.java521 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { method in class:ActionBarOverlayLayout
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java686 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { method in class:ResolverDrawerLayout
/frameworks/support/swiperefreshlayout/src/main/java/androidx/swiperefreshlayout/widget/
H A DSwipeRefreshLayout.java780 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { method in class:SwipeRefreshLayout
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
H A DWearableDrawerLayout.java677 public void onNestedPreScroll(@NonNull View target, int dx, int dy, @NonNull int[] consumed) { method in class:WearableDrawerLayout

Completed in 170 milliseconds