Home
last modified time | relevance | path

Searched defs:target (Results 1 – 23 of 23) sorted by relevance

/recyclerview/recyclerview/src/androidTest/java/androidx/recyclerview/test/
DNestedScrollingParent2Adapter.java29 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, in onStartNestedScroll()
35 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, in onNestedScrollAccepted()
40 public void onStopNestedScroll(@NonNull View target, @ViewCompat.NestedScrollType int type) { in onStopNestedScroll()
44 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
49 public void onNestedPreScroll(@NonNull View target, int dx, int dy, in onNestedPreScroll()
55 @NonNull View child, @NonNull View target, int nestedScrollAxes) { in onStartNestedScroll()
60 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
65 public void onNestedPreScroll(@NonNull View target, int dx, int dy, int @NonNull [] consumed) { in onNestedPreScroll()
70 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
77 public void onStopNestedScroll(@NonNull View target) { in onStopNestedScroll()
[all …]
/recyclerview/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DRecyclerViewNestedScrolling3RequestDisallowInterceptTouchTest.java186 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
203 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
209 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
215 public void onStopNestedScroll(@NonNull View target, int type) { in onStopNestedScroll()
220 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
227 public void onNestedPreScroll(@NonNull View target, int dx, int dy, in onNestedPreScroll()
244 public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) { in onStartNestedScroll()
249 public void onNestedScrollAccepted(View child, View target, int axes) { in onNestedScrollAccepted()
259 public void onNestedScroll(View target, int dxConsumed, int dyConsumed, int dxUnconsumed, in onNestedScroll()
266 public void onNestedPreScroll(@NonNull View target, int dx, int dy, in onNestedPreScroll()
[all …]
DRecyclerViewNestedScrollingScrollByTest.java223 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
229 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
235 public void onStopNestedScroll(@NonNull View target, int type) { in onStopNestedScroll()
240 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
246 public void onNestedPreScroll(@NonNull View target, int dx, int dy, in onNestedPreScroll()
252 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
304 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes) { in onStartNestedScroll()
309 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
314 public void onStopNestedScroll(@NonNull View target) { in onStopNestedScroll()
319 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
[all …]
DRecyclerViewNestedScrollingMouseScrollTest.java186 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
192 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
198 public void onStopNestedScroll(@NonNull View target, int type) { in onStopNestedScroll()
203 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
209 public void onNestedPreScroll(@NonNull View target, int dx, int dy, in onNestedPreScroll()
215 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
267 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes) { in onStartNestedScroll()
272 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
277 public void onStopNestedScroll(@NonNull View target) { in onStopNestedScroll()
282 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
[all …]
DTestedFrameLayout.java177 @NonNull View child, @NonNull View target, int nestedScrollAxes) { in onStartNestedScroll()
182 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
187 public void onNestedPreScroll(@NonNull View target, int dx, int dy, int @NonNull [] consumed) { in onNestedPreScroll()
192 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
199 public void onStopNestedScroll(@NonNull View target) { in onStopNestedScroll()
211 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, in onStartNestedScroll()
218 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, in onNestedScrollAccepted()
226 public boolean onNestedPreFling(@NonNull View target, float velocityX, float velocityY) { in onNestedPreFling()
232 public boolean onNestedFling( in onNestedFling()
239 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
[all …]
DRecyclerViewNestedScrollingSmoothScrollByTest.java261 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
267 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
273 public void onStopNestedScroll(@NonNull View target, int type) { in onStopNestedScroll()
278 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
284 public void onNestedPreScroll(@NonNull View target, int dx, int dy, in onNestedPreScroll()
290 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
342 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes) { in onStartNestedScroll()
347 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
352 public void onStopNestedScroll(@NonNull View target) { in onStopNestedScroll()
357 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
[all …]
DRecyclerViewNestedScrollingA11yScrollTest.java275 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
281 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
287 public void onStopNestedScroll(@NonNull View target, int type) { in onStopNestedScroll()
294 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
300 public void onNestedPreScroll(@NonNull View target, int dx, int dy, in onNestedPreScroll()
306 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
358 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes) { in onStartNestedScroll()
363 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
368 public void onStopNestedScroll(@NonNull View target) { in onStopNestedScroll()
373 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
[all …]
DRecyclerViewNestedScrollingTest.java311 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
317 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
323 public void onStopNestedScroll(@NonNull View target, int type) { in onStopNestedScroll()
330 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
336 public void onNestedPreScroll(@NonNull View target, int dx, int dy, in onNestedPreScroll()
369 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
427 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes) { in onStartNestedScroll()
432 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
437 public void onStopNestedScroll(@NonNull View target) { in onStopNestedScroll()
442 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
[all …]
DRecyclerViewNestedScrollingChildTest.java450 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes, in onStartNestedScroll()
456 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes, in onNestedScrollAccepted()
466 public void onStopNestedScroll(@NonNull View target, int type) { in onStopNestedScroll()
475 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
481 public void onNestedPreScroll(@NonNull View target, int dx, int dy, in onNestedPreScroll()
515 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
573 public boolean onStartNestedScroll(@NonNull View child, @NonNull View target, int axes) { in onStartNestedScroll()
578 public void onNestedScrollAccepted(@NonNull View child, @NonNull View target, int axes) { in onNestedScrollAccepted()
583 public void onStopNestedScroll(@NonNull View target) { in onStopNestedScroll()
588 public void onNestedScroll(@NonNull View target, int dxConsumed, int dyConsumed, in onNestedScroll()
[all …]
DItemTouchHelperTest.java161 final RecyclerView.ViewHolder target = mRecyclerView in attachToRecyclerView_duringLongPressWithNullRV_doesNotCrash() local
215 final RecyclerView.ViewHolder target = mRecyclerView in attachToRecyclerView_calledDuringLongPressWithAnRV_longPressListenerDoesNotFire() local
260 final RecyclerView.ViewHolder target = mRecyclerView in basicSwipeTest() local
301 final RecyclerView.ViewHolder target = mRecyclerView.findViewHolderForAdapterPosition( in attachToRecyclerView_recoveryAnimRunningNullRv_recoveryAnimStopped() local
362 RecyclerView.@NonNull ViewHolder target) { in onMove()
DLinearLayoutManagerBaseConfigSetTest.java122 final TargetTuple target = findInvisibleTarget(config); in scrollToPositionWithOffsetTest() local
316 final int target; in findInvisibleTarget() local
DRecyclerViewSmoothScrollToPositionTest.kt53 val target = 3 in smoothScrollToPosition_calledDuringScrollJustBeforeStop_scrollStateCallbacksCorrect() constant
DStaggeredGridLayoutManagerBaseConfigSetTest.java525 final TargetTuple target = findInvisibleTarget(mConfig); in scrollToPositionWithOffsetTest() local
634 final TargetTuple target = findInvisibleTarget(mConfig); in scrollToPositionTest() local
DItemAnimatorV2ApiTest.java61 final RecyclerView.ViewHolder target = mRecyclerView.findViewHolderForAdapterPosition(9); in changeMovedOutside() local
152 final RecyclerView.ViewHolder target = mRecyclerView.findViewHolderForAdapterPosition(0); in changeMovedOutsideWithPredictive() local
DPagerSnapHelperIntegrationTest.kt379 val target = mLayoutManager.findViewByPosition(targetPosition) ?: return in waitForDistanceToTarget() constant
DRecyclerViewAnimationsTest.java496 void postSetup(List<TestViewHolder> recycledList, TestViewHolder target) throws Throwable; in postSetup()
514 TestViewHolder target = (TestViewHolder) mRecyclerView.findViewHolderForAdapterPosition(9); in reuseHiddenViewTest() local
DLinearLayoutManagerExtraLayoutSpaceTest.java141 private void scrollToPositionAndVerify(int target, boolean smoothScroll) throws Throwable { in scrollToPositionAndVerify()
DBaseWrapContentTest.java410 LongSparseArray<String> target, in collectInto()
DBaseStaggeredGridLayoutManagerTest.java251 final int target; in findInvisibleTarget() local
/recyclerview/recyclerview/src/main/java/androidx/recyclerview/widget/
DItemTouchHelper.java882 ViewHolder target = mCallback.chooseDropTarget(viewHolder, swapTargets, x, y); in moveIfNecessary() local
1168 View target = findChildView(event); in findAnimation() local
1361 void prepareForDrop(@NonNull View view, @NonNull View target, int x, int y); in prepareForDrop()
1634 @NonNull ViewHolder target) { in canDropOver()
1658 @NonNull ViewHolder viewHolder, @NonNull ViewHolder target); in onMove()
1820 final ViewHolder target = dropTargets.get(i); in chooseDropTarget() local
1952 final @NonNull ViewHolder viewHolder, int fromPos, final @NonNull ViewHolder target, in onMoved()
DLinearSmoothScroller.java253 final int target = getTargetPosition(); in updateActionForInterimTarget() local
DLinearLayoutManager.java2279 public void prepareForDrop(@NonNull View view, @NonNull View target, int x, int y) { in prepareForDrop()
/recyclerview/recyclerview/src/test/java/androidx/recyclerview/widget/
DDiffUtilTest.kt492 val target = mutableListOf<Item>() in <lambda>() constant