Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java2133 public void onItemsMoved(RecyclerView recyclerView, int fromPosition, int toPosition,
2136 + fromPosition + " toPosition " + toPosition);
2142 mFocusPositionOffset += toPosition - fromPosition;
2143 } else if (fromPosition < pos && toPosition > pos - itemCount) {
2146 } else if (fromPosition > pos && toPosition < pos) {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java3296 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
3298 if (mAdapterHelper.onItemRangeMoved(fromPosition, toPosition, itemCount)) { in onItemRangeMoved()
4704 public final void notifyItemMoved(int fromPosition, int toPosition) { in notifyItemMoved() argument
4705 mObservable.notifyItemMoved(fromPosition, toPosition); in notifyItemMoved()
7520 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
7936 public void notifyItemMoved(int fromPosition, int toPosition) { in notifyItemMoved() argument
7938 mObservers.get(i).onItemRangeMoved(fromPosition, toPosition, 1); in notifyItemMoved()
/frameworks/base/core/java/android/widget/
DAbsListView.java5144 final int toPosition = mResurrectToPosition; in resurrectSelection() local
5147 if (toPosition >= firstPosition && toPosition < firstPosition + childCount) { in resurrectSelection()
5148 selectedPos = toPosition; in resurrectSelection()
5162 if (toPosition < firstPosition) { in resurrectSelection()