Home
last modified time | relevance | path

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

/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
DXmlEditor.java75 replace(lines, toPosition(it.getStart()), toEndPosition(it.getStop()), ""); in strip()
91 Position rootStartTag = toPosition(root.getStart()); in strip()
92 Position rootEndTag = toPosition(root.content().getStart()); in strip()
124 Position start1 = toPosition(o1.getContext().getStart()); in strip()
125 Position start2 = toPosition(o2.getContext().getStart()); in strip()
168 private static Position toPosition(Token token) { in toPosition() method in XmlEditor
216 Position endTag = toPosition(context.getStop()); in endTagPosition()
223 Position position = toPosition(context.content().getStart()); in endTagPosition()
304 Position start = toPosition(it.getStart()); in recurseReplace()
376 Position startPosition = toPosition(node.getStop()); in findTerminalPositions()
/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/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.onInserted(fromPosition, toPosition); in onMoved()
DDiffUtil.java671 public void onMoved(int fromPosition, int toPosition) { in dispatchUpdatesTo()
672 adapter.notifyItemMoved(fromPosition, toPosition); in dispatchUpdatesTo()
/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/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DSectionBreakDocumentsAdapterWrapper.java218 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
DMultiSelectManager.java185 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in MultiSelectManager()
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/
DHeaderRecyclerView.java86 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
/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/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java2366 public void onItemsMoved(RecyclerView recyclerView, int fromPosition, int toPosition,
2369 + fromPosition + " toPosition " + toPosition);
2374 mFocusPositionOffset += toPosition - fromPosition;
2375 } else if (fromPosition < pos && toPosition > pos - itemCount) {
2378 } else if (fromPosition > pos && toPosition < pos) {
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceFragmentCompat.java756 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
/frameworks/support/v14/preference/src/android/support/v14/preference/
DPreferenceFragment.java767 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
DItemTouchHelper.java850 final int toPosition = target.getAdapterPosition(); in moveIfNecessary() local
855 target, toPosition, x, y); in moveIfNecessary()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java4682 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
4684 if (mAdapterHelper.onItemRangeMoved(fromPosition, toPosition, itemCount)) { in onItemRangeMoved()
6261 public final void notifyItemMoved(int fromPosition, int toPosition) { in notifyItemMoved() argument
6262 mObservable.notifyItemMoved(fromPosition, toPosition); in notifyItemMoved()
10022 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
10514 public void notifyItemMoved(int fromPosition, int toPosition) { in notifyItemMoved() argument
10516 mObservers.get(i).onItemRangeMoved(fromPosition, toPosition, 1); in notifyItemMoved()
/frameworks/base/core/java/android/widget/
DAbsListView.java5340 final int toPosition = mResurrectToPosition; in resurrectSelection() local
5343 if (toPosition >= firstPosition && toPosition < firstPosition + childCount) { in resurrectSelection()
5344 selectedPos = toPosition; in resurrectSelection()
5358 if (toPosition < firstPosition) { in resurrectSelection()
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
DViewDataBinding.java1203 public void onItemRangeMoved(ObservableList sender, int fromPosition, int toPosition, in onItemRangeMoved() argument