Home
last modified time | relevance | path

Searched refs:onInserted (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
DBatchingListUpdateCallbackTest.java43 mBatching.onInserted(3, 2); in addSimple()
45 verify(mCallback).onInserted(3, 2); in addSimple()
51 mBatching.onInserted(3, 2); in addToSamePos()
52 mBatching.onInserted(3, 1); in addToSamePos()
54 verify(mCallback).onInserted(3, 3); in addToSamePos()
60 mBatching.onInserted(3, 5); in addInsidePrevious()
61 mBatching.onInserted(5, 1); in addInsidePrevious()
63 verify(mCallback).onInserted(3, 6); in addInsidePrevious()
69 mBatching.onInserted(3, 5); in addBefore()
70 mBatching.onInserted(2, 1); in addBefore()
[all …]
DSortedListBatchedCallbackTest.java72 public void onInserted() { in onInserted() method in SortedListBatchedCallbackTest
73 mBatchedCallback.onInserted(3, 4); in onInserted()
76 verify(mMockCallback).onInserted(3, 4); in onInserted()
DSortedListTest.java73 public abstract void onInserted(int position, int count); in onInserted() method in SortedListTest.InsertedCallback
89 public void onInserted(int position, int count) { in setUp()
93 mInsertedCallback.onInserted(position, count); in setUp()
169 public void onInserted(int position, int count) { in testValidMethodsDuringOnInsertedCallbackFromEmptyList()
640 public void onInserted(int position, int count) { in testAddAllAccessFromCallbacks()
676 public void onInserted(int position, int count) { in testAddAllAccessFromCallbacks()
700 public void onInserted(int position, int count) { in testModificationFromCallbackThrows()
DDiffUtilTest.java368 public void onInserted(int position, int count) { in applyUpdates()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DAsyncListDifferTest.kt140 verify(callback).onInserted(0, 2) in submitListSimple()
155 verify(callback).onInserted(0, 2) in nullsSkipCallback()
160 verify(callback).onInserted(1, 1) in nullsSkipCallback()
165 verify(callback).onInserted(0, 1) in nullsSkipCallback()
177 verify(callback).onInserted(0, 2) in submitListUpdate()
186 verify(callback).onInserted(2, 1) in submitListUpdate()
203 verify(callback).onInserted(0, 2) in singleChangePayload()
221 verify(callback).onInserted(0, 2) in multiChangePayload()
244 override fun onInserted(position: Int, count: Int) { in listUpdatedBeforeListUpdateCallbacks() method
313 override fun onInserted(position: Int, count: Int) {} in onInserted() method
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/
DAsyncPagedListDifferTest.kt85 verify(callback).onInserted(0, 2) in setFullList()
120 verify(callback).onInserted(0, 6) in simpleStatic()
144 verify(callback).onInserted(0, ALPHABET_LIST.size) in pagingInContent()
190 verify(callback).onInserted(0, 25) in simpleSwap()
200 verify(callback).onInserted(25, 1) in simpleSwap()
224 verify(callback).onInserted(0, ALPHABET_LIST.size) in newPageWhileDiffing()
258 override fun onInserted(position: Int, count: Int) { in itemCountUpdatedBeforeListUpdateCallbacks() method
333 override fun onInserted(position: Int, count: Int) {} in onInserted() method
DPagedStorageDiffHelperTest.kt70 verify(it).onInserted(7, 1) in appendFill()
82 verify(it).onInserted(4, 1) in prependFill()
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
DPagedStorageDiffHelper.java100 public void onInserted(int position, int count) {
101 mCallback.onInserted(position + mOffset, count);
156 callback.onInserted(oldList.size(), trailingNew - trailingOld);
163 callback.onInserted(0, leadingNew - leadingOld);
DAsyncPagedListDiffer.java165 public void onInserted(int position, int count) {
166 mUpdateCallback.onInserted(position, count);
273 mUpdateCallback.onInserted(0, pagedList.size()); in submitList()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DSortedList.java261 mCallback.onInserted(0, newSize); in addAllInternal()
288 mCallback.onInserted(insertIndex, itemCount); in replaceAllInternal()
337 mCallback.onInserted(mNewDataStart - 1, 1); in replaceAllInsert()
429 mCallback.onInserted(mNewDataStart - itemCount, itemCount); in merge()
449 mCallback.onInserted(mNewDataStart - 1, 1); in merge()
561 mCallback.onInserted(index, 1); in add()
962 public void onInserted(int position, int count) { in onInserted() method in SortedList.BatchedCallback
963 mBatchingListUpdateCallback.onInserted(position, count); in onInserted()
DBatchingListUpdateCallback.java61 mWrapped.onInserted(mLastEventPosition, mLastEventCount); in dispatchLastEvent()
75 public void onInserted(int position, int count) { in onInserted() method in BatchingListUpdateCallback
DListUpdateCallback.java32 void onInserted(int position, int count); in onInserted() method
DAdapterListUpdateCallback.java41 public void onInserted(int position, int count) { in onInserted() method in AdapterListUpdateCallback
DSortedListAdapterCallback.java38 public void onInserted(int position, int count) { in onInserted() method in SortedListAdapterCallback
DAsyncListDiffer.java213 mUpdateCallback.onInserted(0, newList.size()); in submitList()
DDiffUtil.java813 updateCallback.onInserted(start, count); in dispatchAdditions()
820 updateCallback.onInserted(start, 1); in dispatchAdditions()
/frameworks/support/paging/common/src/main/java/androidx/paging/
DPagedList.java657 callback.onInserted(0, mStorage.size()); in addWeakCallback()
700 callback.onInserted(position, count); in notifyInserted()
756 public abstract void onInserted(int position, int count); in onInserted() method in PagedList.Callback
DContiguousPagedList.java145 callback.onInserted(endPosition + changedCount, addedCount); in dispatchUpdatesSinceSnapshot()
156 callback.onInserted(0, addedCount); in dispatchUpdatesSinceSnapshot()
/frameworks/support/paging/common/src/test/java/androidx/paging/
DContiguousPagedListTest.kt188 verify(callback).onInserted(uncountedPosition, 20) in verifyCallback()
382 verify(callback).onInserted(0, pagedList.size) in initialLoadAsync()
414 verify(callback).onInserted(0, pagedList.size) in addWeakCallbackEmpty()
DTiledPagedListTest.kt164 verify(callback).onInserted(0, pagedList.size) in addWeakCallbackEmpty()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DArrayObjectAdapter.java290 public void onInserted(int position, int count) { in setItems()
/frameworks/support/paging/common/api/
Dcurrent.txt124 method public abstract void onInserted(int, int);
/frameworks/support/v7/recyclerview/api/
Dcurrent.txt6 method public void onInserted(int, int);
60 method public void onInserted(int, int);
300 method public abstract void onInserted(int, int);
948 method public void onInserted(int, int);
966 method public void onInserted(int, int);
/frameworks/support/v7/recyclerview/api_legacy/
Dcurrent.txt36 method public void onInserted(int, int);
72 method public void onInserted(int, int);
105 method public abstract void onInserted(int, int);
140 method public void onInserted(int, int);
1020 method public void onInserted(int, int);
D28.0.0-alpha1.txt36 method public void onInserted(int, int);
72 method public void onInserted(int, int);
105 method public abstract void onInserted(int, int);
140 method public void onInserted(int, int);
1020 method public void onInserted(int, int);

12