Searched refs:onMoved (Results 1 - 16 of 16) sorted by relevance

/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DListUpdateCallback.java48 void onMoved(int fromPosition, int toPosition); method in interface:ListUpdateCallback
H A DAdapterListUpdateCallback.java53 public void onMoved(int fromPosition, int toPosition) { method in class:AdapterListUpdateCallback
H A DSortedListAdapterCallback.java48 public void onMoved(int fromPosition, int toPosition) { method in class:SortedListAdapterCallback
H A DBatchingListUpdateCallback.java103 public void onMoved(int fromPosition, int toPosition) { method in class:BatchingListUpdateCallback
105 mWrapped.onMoved(fromPosition, toPosition);
H A DSortedList.java206 * {@link ListUpdateCallback#onMoved(int, int)} events. It instead treats moves as a remove
612 * {@link Callback#onMoved(int, int)} if necessary.
624 * calls {@link Callback#onMoved(int, int)}.
653 mCallback.onMoved(index, newIndex);
663 * If the item changes position, SortedList will call {@link Callback#onMoved(int, int)}
691 mCallback.onMoved(index, newIndex);
972 public void onMoved(int fromPosition, int toPosition) { method in class:SortedList.BatchedCallback
973 mBatchingListUpdateCallback.onMoved(fromPosition, toPosition);
H A DDiffUtil.java832 updateCallback.onMoved(update.currentPos, start);
873 updateCallback.onMoved(start + i, update.currentPos - 1);
H A DItemTouchHelper.java871 mCallback.onMoved(mRecyclerView, viewHolder, fromPosition,
1627 * @see #onMoved(RecyclerView, ViewHolder, int, ViewHolder, int, int, int)
1922 public void onMoved(@NonNull final RecyclerView recyclerView, method in class:ItemTouchHelper.Callback
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
H A DSortedListBatchedCallbackTest.java81 public void onMoved() { method in class:SortedListBatchedCallbackTest
82 mBatchedCallback.onMoved(5, 6);
84 verify(mMockCallback).onMoved(5, 6);
H A DBatchingListUpdateCallbackTest.java134 mBatching.onMoved(3, 2);
136 verify(mCallback).onMoved(3, 2);
142 mBatching.onMoved(3, 2);
143 mBatching.onMoved(5, 6);
145 verify(mCallback).onMoved(3, 2);
146 verify(mCallback).onMoved(5, 6);
H A DDiffUtilTest.java382 public void onMoved(int fromPosition, int toPosition) {
H A DSortedListTest.java106 public void onMoved(int fromPosition, int toPosition) {
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
H A DPagedStorageDiffHelper.java110 public void onMoved(int fromPosition, int toPosition) { method in class:PagedStorageDiffHelper.OffsettingListUpdateCallback
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DAsyncListDifferTest.kt252 override fun onMoved(fromPosition: Int, toPosition: Int) {
317 override fun onMoved(fromPosition: Int, toPosition: Int) {}
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DArrayObjectAdapter.java306 public void onMoved(int fromPosition, int toPosition) {
308 Log.d(TAG, "onMoved");
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/
H A DAsyncPagedListDifferTest.kt266 override fun onMoved(fromPosition: Int, toPosition: Int) {
337 override fun onMoved(fromPosition: Int, toPosition: Int) {}
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java848 mCallback.onMoved(mRecyclerView, viewHolder, fromPosition,
1600 * @see #onMoved(RecyclerView, ViewHolder, int, ViewHolder, int, int, int)
1889 public void onMoved(final RecyclerView recyclerView, method in class:ItemTouchHelper.Callback

Completed in 69 milliseconds