Home
last modified time | relevance | path

Searched refs:TYPE_TOUCH (Results 1 – 13 of 13) sorted by relevance

/frameworks/support/core-ui/java/android/support/v4/view/
DNestedScrollingChildHelper.java21 import static android.support.v4.view.ViewCompat.TYPE_TOUCH;
99 return hasNestedScrollingParent(TYPE_TOUCH); in hasNestedScrollingParent()
128 return startNestedScroll(axes, TYPE_TOUCH); in startNestedScroll()
174 stopNestedScroll(TYPE_TOUCH); in stopNestedScroll()
204 offsetInWindow, TYPE_TOUCH); in dispatchNestedScroll()
263 return dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow, TYPE_TOUCH); in dispatchNestedPreScroll()
327 ViewParent parent = getNestedScrollingParentForType(TYPE_TOUCH); in dispatchNestedFling()
347 ViewParent parent = getNestedScrollingParentForType(TYPE_TOUCH); in dispatchNestedPreFling()
383 case TYPE_TOUCH: in getNestedScrollingParentForType()
393 case TYPE_TOUCH: in setNestedScrollingParentForType()
DNestedScrollingParentHelper.java63 onNestedScrollAccepted(child, target, axes, ViewCompat.TYPE_TOUCH); in onNestedScrollAccepted()
99 onStopNestedScroll(target, ViewCompat.TYPE_TOUCH); in onStopNestedScroll()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
DNestedScrollingParent2Adapter.java54 return onStartNestedScroll(child, target, nestedScrollAxes, ViewCompat.TYPE_TOUCH); in onStartNestedScroll()
59 onNestedScrollAccepted(child, target, axes, ViewCompat.TYPE_TOUCH); in onNestedScrollAccepted()
64 onNestedPreScroll(target, dx, dy, consumed, ViewCompat.TYPE_TOUCH); in onNestedPreScroll()
71 ViewCompat.TYPE_TOUCH); in onNestedScroll()
76 onStopNestedScroll(target, ViewCompat.TYPE_TOUCH); in onStopNestedScroll()
/frameworks/support/compat/java/android/support/v4/view/
DViewParentCompat.java249 return onStartNestedScroll(parent, child, target, nestedScrollAxes, ViewCompat.TYPE_TOUCH); in onStartNestedScroll()
266 onNestedScrollAccepted(parent, child, target, nestedScrollAxes, ViewCompat.TYPE_TOUCH); in onNestedScrollAccepted()
278 onStopNestedScroll(parent, target, ViewCompat.TYPE_TOUCH); in onStopNestedScroll()
297 ViewCompat.TYPE_TOUCH); in onNestedScroll()
314 onNestedPreScroll(parent, target, dx, dy, consumed, ViewCompat.TYPE_TOUCH); in onNestedPreScroll()
346 } else if (type == ViewCompat.TYPE_TOUCH) { in onStartNestedScroll()
376 } else if (type == ViewCompat.TYPE_TOUCH) { in onNestedScrollAccepted()
398 } else if (type == ViewCompat.TYPE_TOUCH) { in onStopNestedScroll()
432 } else if (type == ViewCompat.TYPE_TOUCH) { in onNestedScroll()
464 } else if (type == ViewCompat.TYPE_TOUCH) { in onNestedPreScroll()
DViewCompat.java346 @IntDef({TYPE_TOUCH, TYPE_NON_TOUCH})
354 public static final int TYPE_TOUCH = 0; field in ViewCompat
3173 } else if (type == ViewCompat.TYPE_TOUCH) { in startNestedScroll()
3190 } else if (type == ViewCompat.TYPE_TOUCH) { in stopNestedScroll()
3207 } else if (type == ViewCompat.TYPE_TOUCH) { in hasNestedScrollingParent()
3243 } else if (type == ViewCompat.TYPE_TOUCH) { in dispatchNestedScroll()
3275 } else if (type == ViewCompat.TYPE_TOUCH) { in dispatchNestedPreScroll()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DTestedFrameLayout.java135 return onStartNestedScroll(child, target, nestedScrollAxes, ViewCompat.TYPE_TOUCH); in onStartNestedScroll()
140 onNestedScrollAccepted(child, target, axes, ViewCompat.TYPE_TOUCH); in onNestedScrollAccepted()
145 onNestedPreScroll(target, dx, dy, consumed, ViewCompat.TYPE_TOUCH); in onNestedPreScroll()
152 ViewCompat.TYPE_TOUCH); in onNestedScroll()
157 onStopNestedScroll(target, ViewCompat.TYPE_TOUCH); in onStopNestedScroll()
DRecyclerViewLayoutTest.java1359 eq(ViewCompat.SCROLL_AXIS_VERTICAL), eq(ViewCompat.TYPE_TOUCH)); in nestedDragVertical()
1361 eq(ViewCompat.SCROLL_AXIS_VERTICAL), eq(ViewCompat.TYPE_TOUCH)); in nestedDragVertical()
1363 any(int[].class), eq(ViewCompat.TYPE_TOUCH)); in nestedDragVertical()
1364 verify(nsp, atLeastOnce()).onStopNestedScroll(eq(mRecyclerView), eq(ViewCompat.TYPE_TOUCH)); in nestedDragVertical()
1385 eq(ViewCompat.SCROLL_AXIS_HORIZONTAL), eq(ViewCompat.TYPE_TOUCH)); in nestedDragHorizontal()
1387 eq(ViewCompat.SCROLL_AXIS_HORIZONTAL), eq(ViewCompat.TYPE_TOUCH)); in nestedDragHorizontal()
1389 any(int[].class), eq(ViewCompat.TYPE_TOUCH)); in nestedDragHorizontal()
1390 verify(nsp, atLeastOnce()).onStopNestedScroll(eq(mRecyclerView), eq(ViewCompat.TYPE_TOUCH)); in nestedDragHorizontal()
1411 eq(ViewCompat.SCROLL_AXIS_VERTICAL), eq(ViewCompat.TYPE_TOUCH)); in nestedFlingVertical()
1413 eq(ViewCompat.SCROLL_AXIS_VERTICAL), eq(ViewCompat.TYPE_TOUCH)); in nestedFlingVertical()
[all …]
/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java1703 return onStartNestedScroll(child, target, nestedScrollAxes, ViewCompat.TYPE_TOUCH); in onStartNestedScroll()
1733 onNestedScrollAccepted(child, target, nestedScrollAxes, ViewCompat.TYPE_TOUCH); in onNestedScrollAccepted()
1759 onStopNestedScroll(target, ViewCompat.TYPE_TOUCH); in onStopNestedScroll()
1788 ViewCompat.TYPE_TOUCH); in onNestedScroll()
1824 onNestedPreScroll(target, dx, dy, consumed, ViewCompat.TYPE_TOUCH); in onNestedPreScroll()
1881 if (!lp.isNestedScrollAccepted(ViewCompat.TYPE_TOUCH)) { in onNestedFling()
1910 if (!lp.isNestedScrollAccepted(ViewCompat.TYPE_TOUCH)) { in onNestedPreFling()
2307 if (type == ViewCompat.TYPE_TOUCH) { in onStartNestedScroll()
2350 if (type == ViewCompat.TYPE_TOUCH) { in onNestedScrollAccepted()
2390 if (type == ViewCompat.TYPE_TOUCH) { in onStopNestedScroll()
[all …]
DAppBarLayout.java879 if (type == ViewCompat.TYPE_TOUCH) { in onStopNestedScroll()
/frameworks/support/core-ui/java/android/support/v4/widget/
DNestedScrollView.java722 startNestedScroll(ViewCompat.SCROLL_AXIS_VERTICAL, ViewCompat.TYPE_TOUCH); in onInterceptTouchEvent()
735 stopNestedScroll(ViewCompat.TYPE_TOUCH); in onInterceptTouchEvent()
785 startNestedScroll(ViewCompat.SCROLL_AXIS_VERTICAL, ViewCompat.TYPE_TOUCH); in onTouchEvent()
798 ViewCompat.TYPE_TOUCH)) { in onTouchEvent()
828 0, true) && !hasNestedScrollingParent(ViewCompat.TYPE_TOUCH)) { in onTouchEvent()
836 ViewCompat.TYPE_TOUCH)) { in onTouchEvent()
1774 stopNestedScroll(ViewCompat.TYPE_TOUCH); in endDrag()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java22 import static android.support.v4.view.ViewCompat.TYPE_TOUCH;
1777 TYPE_TOUCH)) { in scrollByInternal()
2811 startNestedScroll(nestedScrollAxis, TYPE_TOUCH); in onInterceptTouchEvent()
2854 stopNestedScroll(TYPE_TOUCH); in onInterceptTouchEvent()
2918 startNestedScroll(nestedScrollAxis, TYPE_TOUCH); in onTouchEvent()
2940 if (dispatchNestedPreScroll(dx, dy, mScrollConsumed, mScrollOffset, TYPE_TOUCH)) { in onTouchEvent()
3023 stopNestedScroll(TYPE_TOUCH); in resetTouch()
/frameworks/support/api/
D26.0.0-SNAPSHOT.txt8947 field public static final int TYPE_TOUCH = 0; // 0x0
D26.0.0-beta2.txt8936 field public static final int TYPE_TOUCH = 0; // 0x0