/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 | 46 * @param toPosition The new position of the item. 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 | 80 * @param toPosition The destination position of the items 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 126 if (toPosition < 0) { 127 Log.w(TAG, "notifyItemRangeMoved: Invalid toPosition=" + toPosition); 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 | ObjectAdapter.java | 82 * @param toPosition New position of the item. 84 public void onItemMoved(int fromPosition, int toPosition) { argument 134 public void notifyItemMoved(int positionStart, int toPosition) { argument 136 mObservers.get(i).onItemMoved(positionStart, toPosition); 274 * Notifies UI that item at fromPosition has been moved to toPosition. 277 * @param toPosition New position of the item. 279 protected final void notifyItemMoved(int fromPosition, int toPosition) { argument 280 mObservable.notifyItemMoved(fromPosition, toPosition);
|
H A D | ArrayObjectAdapter.java | 150 * Moved the item at fromPosition to toPosition. 153 * @param toPosition New position of the item. 155 public void move(int fromPosition, int toPosition) { argument 156 if (fromPosition == toPosition) { 161 mItems.add(toPosition, item); 162 notifyItemMoved(fromPosition, toPosition); 306 public void onMoved(int fromPosition, int toPosition) { 310 notifyItemMoved(fromPosition, toPosition);
|
H A D | ItemBridgeAdapter.java | 186 public void onItemMoved(int fromPosition, int toPosition) { 187 ItemBridgeAdapter.this.notifyItemMoved(fromPosition, toPosition);
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
H A D | XmlEditor.java | 77 replace(lines, toPosition(it.getStart()), toEndPosition(it.getStop()), ""); 93 Position rootStartTag = toPosition(root.getStart()); 94 Position rootEndTag = toPosition(root.content().getStart()); 126 Position start1 = toPosition(o1.getContext().getStart()); 127 Position start2 = toPosition(o2.getContext().getStart()); 170 private static Position toPosition(Token token) { method in class:XmlEditor 218 Position endTag = toPosition(context.getStop()); 225 Position position = toPosition(context.content().getStart()); 306 Position start = toPosition(it.getStart()); 385 Position startPosition = toPosition(nod [all...] |
/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) { 98 toPosition++; 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) { 384 target.add(toPosition, item);
|
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/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
|
H A D | PreferenceFragmentCompat.java | 767 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { argument
|