/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | AdapterListUpdateCallback.java | 53 public void onMoved(int fromPosition, int toPosition) { argument 54 mAdapter.notifyItemMoved(fromPosition, toPosition);
|
H A D | ListUpdateCallback.java | 45 * @param fromPosition The previous position of the item before the move. 48 void onMoved(int fromPosition, int toPosition); argument
|
H A D | SortedListAdapterCallback.java | 48 public void onMoved(int fromPosition, int toPosition) { argument 49 mAdapter.notifyItemMoved(fromPosition, toPosition);
|
H A D | BatchingListUpdateCallback.java | 103 public void onMoved(int fromPosition, int toPosition) { argument 105 mWrapped.onMoved(fromPosition, toPosition);
|
H A D | SortedList.java | 972 public void onMoved(int fromPosition, int toPosition) { argument 973 mBatchingListUpdateCallback.onMoved(fromPosition, toPosition);
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
H A D | ObservableList.java | 79 * @param fromPosition The position from which the items were moved 83 public abstract void onItemRangeMoved(T sender, int fromPosition, int toPosition, argument
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | AbstractItemHierarchy.java | 121 public void notifyItemRangeMoved(int fromPosition, int toPosition, int itemCount) { argument 122 if (fromPosition < 0) { 123 Log.w(TAG, "notifyItemRangeMoved: Invalid fromPosition=" + fromPosition); 136 observer.onItemRangeMoved(this, fromPosition, toPosition, itemCount);
|
H A D | ItemHierarchy.java | 58 void onItemRangeMoved(ItemHierarchy itemHierarchy, int fromPosition, int toPosition, argument
|
H A D | ItemAdapter.java | 103 public void onItemRangeMoved(ItemHierarchy itemHierarchy, int fromPosition, int toPosition, argument
|
H A D | ItemGroup.java | 249 public void onItemRangeMoved(ItemHierarchy itemHierarchy, int fromPosition, int toPosition, argument 254 notifyItemRangeMoved(childPosition + fromPosition, childPosition + toPosition,
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | ArrayObjectAdapter.java | 150 * Moved the item at fromPosition to toPosition. 152 * @param fromPosition Previous position of the item. 155 public void move(int fromPosition, int toPosition) { argument 156 if (fromPosition == toPosition) { 160 Object item = mItems.remove(fromPosition); 162 notifyItemMoved(fromPosition, toPosition); 306 public void onMoved(int fromPosition, int toPosition) { 310 notifyItemMoved(fromPosition, toPosition);
|
H A D | ObjectAdapter.java | 81 * @param fromPosition Previous position of the item. 84 public void onItemMoved(int fromPosition, int toPosition) { argument 274 * Notifies UI that item at fromPosition has been moved to toPosition. 276 * @param fromPosition Previous position of the item. 279 protected final void notifyItemMoved(int fromPosition, int toPosition) { argument 280 mObservable.notifyItemMoved(fromPosition, toPosition);
|
H A D | ItemBridgeAdapter.java | 186 public void onItemMoved(int fromPosition, int toPosition) { 187 ItemBridgeAdapter.this.notifyItemMoved(fromPosition, toPosition);
|
H A D | GridLayoutManager.java | 2840 public void onItemsMoved(RecyclerView recyclerView, int fromPosition, int toPosition, argument 2842 if (DEBUG) Log.v(getTag(), "onItemsMoved fromPosition " 2843 + fromPosition + " toPosition " + toPosition); 2846 if (fromPosition <= pos && pos < fromPosition + itemCount) { 2848 mFocusPositionOffset += toPosition - fromPosition; 2849 } else if (fromPosition < pos && toPosition > pos - itemCount) { 2852 } else if (fromPosition > pos && toPosition < pos) {
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/ |
H A D | RecyclerItemAdapter.java | 175 public void onItemRangeMoved(ItemHierarchy itemHierarchy, int fromPosition, int toPosition, argument 180 notifyItemMoved(fromPosition, toPosition);
|
/frameworks/support/paging/runtime/src/main/java/androidx/paging/ |
H A D | PagedStorageDiffHelper.java | 110 public void onMoved(int fromPosition, int toPosition) { argument 111 mCallback.onRemoved(fromPosition + mOffset, toPosition + mOffset);
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/ |
H A D | HeaderRecyclerView.java | 95 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { 97 fromPosition++; 102 notifyItemMoved(fromPosition + i, toPosition + i);
|
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/ |
H A D | TestAdapter.java | 69 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | AsyncListDifferTest.kt | 252 override fun onMoved(fromPosition: Int, toPosition: Int) { 317 override fun onMoved(fromPosition: Int, toPosition: Int) {}
|
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/ |
H A D | DiffUtilTest.java | 382 public void onMoved(int fromPosition, int toPosition) { 383 Item item = target.remove(fromPosition);
|
H A D | SortedListTest.java | 106 public void onMoved(int fromPosition, int toPosition) { 107 mEvents.add(new Event(TYPE.MOVE, fromPosition, toPosition)); 108 mMoves.add(new Pair(fromPosition, toPosition));
|
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/ |
H A D | AsyncPagedListDifferTest.kt | 266 override fun onMoved(fromPosition: Int, toPosition: Int) { 337 override fun onMoved(fromPosition: Int, toPosition: Int) {}
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
H A D | StaggeredGridView.java | 877 * @param fromPosition Position to start filling from 881 final int fillUp(int fromPosition, int overhang) { argument 890 int position = fromPosition; 991 * @param fromPosition Position to start filling from 995 final int fillDown(int fromPosition, int overhang) { argument 1004 int position = fromPosition;
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | DefaultSelectionTracker.java | 568 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { argument
|
/frameworks/support/preference/src/main/java/androidx/preference/ |
H A D | PreferenceFragment.java | 767 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { argument
|