Home
last modified time | relevance | path

Searched refs:toPosition (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DAbstractItemHierarchy.java108 public void notifyItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in notifyItemRangeMoved() argument
113 if (toPosition < 0) { in notifyItemRangeMoved()
114 Log.w(TAG, "notifyItemRangeMoved: Invalid toPosition=" + toPosition); in notifyItemRangeMoved()
123 observer.onItemRangeMoved(this, fromPosition, toPosition, itemCount); in notifyItemRangeMoved()
DItemHierarchy.java55 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount); in onItemRangeMoved() argument
DItemGroup.java240 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
244 notifyItemRangeMoved(childPosition + fromPosition, childPosition + toPosition, itemCount); in onItemRangeMoved()
DItemAdapter.java104 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DHeaderRecyclerView.java95 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
98 toPosition++;
102 notifyItemMoved(fromPosition + i, toPosition + i);
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java179 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
183 notifyItemMoved(fromPosition, toPosition); in onItemRangeMoved()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java844 final int toPosition = target.getAdapterPosition(); in moveIfNecessary() local
849 target, toPosition, x, y); in moveIfNecessary()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java4913 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
4915 if (mAdapterHelper.onItemRangeMoved(fromPosition, toPosition, itemCount)) { in onItemRangeMoved()
6708 public final void notifyItemMoved(int fromPosition, int toPosition) { in notifyItemMoved() argument
6709 mObservable.notifyItemMoved(fromPosition, toPosition); in notifyItemMoved()
10588 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
11081 public void notifyItemMoved(int fromPosition, int toPosition) { in notifyItemMoved() argument
11083 mObservers.get(i).onItemRangeMoved(fromPosition, toPosition, 1); in notifyItemMoved()
/frameworks/base/core/java/android/widget/
DAbsListView.java5471 final int toPosition = mResurrectToPosition; in resurrectSelection() local
5474 if (toPosition >= firstPosition && toPosition < firstPosition + childCount) { in resurrectSelection()
5475 selectedPos = toPosition; in resurrectSelection()
5489 if (toPosition < firstPosition) { in resurrectSelection()