Searched refs:onInserted (Results 1 - 21 of 21) sorted by relevance

/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DListUpdateCallback.java32 void onInserted(int position, int count); method in interface:ListUpdateCallback
H A DAdapterListUpdateCallback.java41 public void onInserted(int position, int count) { method in class:AdapterListUpdateCallback
H A DSortedListAdapterCallback.java38 public void onInserted(int position, int count) { method in class:SortedListAdapterCallback
H A DBatchingListUpdateCallback.java61 mWrapped.onInserted(mLastEventPosition, mLastEventCount);
75 public void onInserted(int position, int count) { method in class:BatchingListUpdateCallback
H A DSortedList.java119 * {@link Callback#onInserted(int, int)}.
261 mCallback.onInserted(0, newSize);
288 mCallback.onInserted(insertIndex, itemCount);
337 mCallback.onInserted(mNewDataStart - 1, 1);
429 mCallback.onInserted(mNewDataStart - itemCount, itemCount);
449 mCallback.onInserted(mNewDataStart - 1, 1);
489 * {@link Callback#onInserted(int, int)} only once with the proper item count. If an event
561 mCallback.onInserted(index, 1);
931 * convert individual <code>onInserted(index, 1)</code> calls into one
932 * <code>onInserted(inde
962 public void onInserted(int position, int count) { method in class:SortedList.BatchedCallback
[all...]
H A DAsyncListDiffer.java213 mUpdateCallback.onInserted(0, newList.size());
H A DDiffUtil.java813 updateCallback.onInserted(start, count);
820 updateCallback.onInserted(start, 1);
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
H A DBatchingListUpdateCallbackTest.java43 mBatching.onInserted(3, 2);
45 verify(mCallback).onInserted(3, 2);
51 mBatching.onInserted(3, 2);
52 mBatching.onInserted(3, 1);
54 verify(mCallback).onInserted(3, 3);
60 mBatching.onInserted(3, 5);
61 mBatching.onInserted(5, 1);
63 verify(mCallback).onInserted(3, 6);
69 mBatching.onInserted(3, 5);
70 mBatching.onInserted(
[all...]
H A DSortedListBatchedCallbackTest.java72 public void onInserted() { method in class:SortedListBatchedCallbackTest
73 mBatchedCallback.onInserted(3, 4);
76 verify(mMockCallback).onInserted(3, 4);
H A DSortedListTest.java73 public abstract void onInserted(int position, int count); method in class:SortedListTest.InsertedCallback
89 public void onInserted(int position, int count) {
93 mInsertedCallback.onInserted(position, count);
169 public void onInserted(int position, int count) {
640 public void onInserted(int position, int count) {
646 assertIntegrity(5, "onInserted(" + position + ", " + count + ")");
676 public void onInserted(int position, int count) {
679 assertIntegrity(++expectedSize, "onInserted(" + position + ")");
700 public void onInserted(int position, int count) {
H A DDiffUtilTest.java368 public void onInserted(int position, int count) {
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DAsyncListDifferTest.kt140 verify(callback).onInserted(0, 2)
155 verify(callback).onInserted(0, 2)
160 verify(callback).onInserted(1, 1)
165 verify(callback).onInserted(0, 1)
177 verify(callback).onInserted(0, 2)
186 verify(callback).onInserted(2, 1)
203 verify(callback).onInserted(0, 2)
221 verify(callback).onInserted(0, 2)
244 override fun onInserted(position: Int, count: Int) {
313 override fun onInserted(positio
[all...]
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
H A DPagedStorageDiffHelper.java100 public void onInserted(int position, int count) { method in class:PagedStorageDiffHelper.OffsettingListUpdateCallback
101 mCallback.onInserted(position + mOffset, count);
156 callback.onInserted(oldList.size(), trailingNew - trailingOld);
163 callback.onInserted(0, leadingNew - leadingOld);
H A DAsyncPagedListDiffer.java165 public void onInserted(int position, int count) {
166 mUpdateCallback.onInserted(position, count);
273 mUpdateCallback.onInserted(0, pagedList.size());
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/
H A DAsyncPagedListDifferTest.kt85 verify(callback).onInserted(0, 2)
120 verify(callback).onInserted(0, 6)
144 verify(callback).onInserted(0, ALPHABET_LIST.size)
190 verify(callback).onInserted(0, 25)
200 verify(callback).onInserted(25, 1)
224 verify(callback).onInserted(0, ALPHABET_LIST.size)
258 override fun onInserted(position: Int, count: Int) {
333 override fun onInserted(position: Int, count: Int) {}
H A DPagedStorageDiffHelperTest.kt70 verify(it).onInserted(7, 1)
82 verify(it).onInserted(4, 1)
/frameworks/support/paging/common/src/main/java/androidx/paging/
H A DContiguousPagedList.java145 callback.onInserted(endPosition + changedCount, addedCount);
156 callback.onInserted(0, addedCount);
H A DPagedList.java657 callback.onInserted(0, mStorage.size());
700 callback.onInserted(position, count);
756 public abstract void onInserted(int position, int count); method in class:PagedList.Callback
/frameworks/support/paging/common/src/test/java/androidx/paging/
H A DContiguousPagedListTest.kt188 verify(callback).onInserted(uncountedPosition, 20)
382 verify(callback).onInserted(0, pagedList.size)
414 verify(callback).onInserted(0, pagedList.size)
H A DTiledPagedListTest.kt164 verify(callback).onInserted(0, pagedList.size)
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DArrayObjectAdapter.java290 public void onInserted(int position, int count) {
292 Log.d(TAG, "onInserted");

Completed in 118 milliseconds