Home
last modified time | relevance | path

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

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DAbstractItemHierarchy.java121 public void notifyItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in notifyItemRangeMoved() argument
126 if (toPosition < 0) { in notifyItemRangeMoved()
127 Log.w(TAG, "notifyItemRangeMoved: Invalid toPosition=" + toPosition); in notifyItemRangeMoved()
136 observer.onItemRangeMoved(this, fromPosition, toPosition, itemCount); in notifyItemRangeMoved()
DItemHierarchy.java58 void onItemRangeMoved(ItemHierarchy itemHierarchy, int fromPosition, int toPosition, in onItemRangeMoved() argument
DItemGroup.java249 public void onItemRangeMoved(ItemHierarchy itemHierarchy, int fromPosition, int toPosition, in onItemRangeMoved() argument
254 notifyItemRangeMoved(childPosition + fromPosition, childPosition + toPosition, in onItemRangeMoved()
DItemAdapter.java103 public void onItemRangeMoved(ItemHierarchy itemHierarchy, int fromPosition, int toPosition, in onItemRangeMoved() argument
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/util/
DSortedListAdapterCallback.java51 public void onMoved(int fromPosition, int toPosition) { in onMoved() argument
52 mAdapter.notifyItemMoved(fromPosition, toPosition); in onMoved()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DXmlEditor.java77 replace(lines, toPosition(it.getStart()), toEndPosition(it.getStop()), ""); in strip()
93 Position rootStartTag = toPosition(root.getStart()); in strip()
94 Position rootEndTag = toPosition(root.content().getStart()); in strip()
126 Position start1 = toPosition(o1.getContext().getStart()); in strip()
127 Position start2 = toPosition(o2.getContext().getStart()); in strip()
170 private static Position toPosition(Token token) { in toPosition() method in XmlEditor
218 Position endTag = toPosition(context.getStop()); in endTagPosition()
225 Position position = toPosition(context.content().getStart()); in endTagPosition()
306 Position start = toPosition(it.getStart()); in recurseReplace()
385 Position startPosition = toPosition(node.getStop()); in findTerminalPositions()
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DBatchingListUpdateCallback.java101 public void onMoved(int fromPosition, int toPosition) { in onMoved() argument
103 mWrapped.onMoved(fromPosition, toPosition); in onMoved()
DListUpdateCallback.java46 void onMoved(int fromPosition, int toPosition); in onMoved() argument
DSortedList.java794 public void onMoved(int fromPosition, int toPosition) { in onMoved() argument
795 mBatchingListUpdateCallback.onMoved(fromPosition, toPosition); in onMoved()
DDiffUtil.java671 public void onMoved(int fromPosition, int toPosition) { in dispatchUpdatesTo()
672 adapter.notifyItemMoved(fromPosition, toPosition); in dispatchUpdatesTo()
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/
DHeaderRecyclerView.java96 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
99 toPosition++;
103 notifyItemMoved(fromPosition + i, toPosition + i);
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
DObservableList.java83 public abstract void onItemRangeMoved(T sender, int fromPosition, int toPosition, in onItemRangeMoved() argument
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/
DRecyclerItemAdapter.java158 public void onItemRangeMoved(ItemHierarchy itemHierarchy, int fromPosition, int toPosition, in onItemRangeMoved() argument
163 notifyItemMoved(fromPosition, toPosition); in onItemRangeMoved()
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
DDiffUtilTest.java381 public void onMoved(int fromPosition, int toPosition) { in applyUpdates()
383 target.add(toPosition, item); in applyUpdates()
DSortedListTest.java87 public void onMoved(int fromPosition, int toPosition) { in setUp()
88 mMoves.add(new Pair(fromPosition, toPosition)); in setUp()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceFragmentCompat.java766 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java2748 public void onItemsMoved(RecyclerView recyclerView, int fromPosition, int toPosition,
2751 + fromPosition + " toPosition " + toPosition);
2756 mFocusPositionOffset += toPosition - fromPosition;
2757 } else if (fromPosition < pos && toPosition > pos - itemCount) {
2760 } else if (fromPosition > pos && toPosition < pos) {
/frameworks/support/v14/preference/src/android/support/v14/preference/
DPreferenceFragment.java778 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java842 final int toPosition = target.getAdapterPosition(); in moveIfNecessary() local
847 target, toPosition, x, y); in moveIfNecessary()
/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/android/widget/
DAbsListView.java5386 final int toPosition = mResurrectToPosition; in resurrectSelection() local
5389 if (toPosition >= firstPosition && toPosition < firstPosition + childCount) { in resurrectSelection()
5390 selectedPos = toPosition; in resurrectSelection()
5404 if (toPosition < firstPosition) { in resurrectSelection()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java5081 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
5083 if (mAdapterHelper.onItemRangeMoved(fromPosition, toPosition, itemCount)) { in onItemRangeMoved()
6877 public final void notifyItemMoved(int fromPosition, int toPosition) { in notifyItemMoved() argument
6878 mObservable.notifyItemMoved(fromPosition, toPosition); in notifyItemMoved()
11077 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
11570 public void notifyItemMoved(int fromPosition, int toPosition) { in notifyItemMoved() argument
11572 mObservers.get(i).onItemRangeMoved(fromPosition, toPosition, 1); in notifyItemMoved()
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DViewDataBinding.java1275 public void onItemRangeMoved(ObservableList sender, int fromPosition, int toPosition, in onItemRangeMoved() argument
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...