Home
last modified time | relevance | path

Searched refs:deleteAndNotify (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewAnimationsTest.java105 mTestAdapter.deleteAndNotify(3, 4); in testDetachBeforeAnimations()
209 mTestAdapter.deleteAndNotify(3, 1); in testAddRemoveSamePass()
322 mTestAdapter.deleteAndNotify(changedIndex + 2, 1); in changeAnimTest()
387 mTestAdapter.deleteAndNotify(4, 1); in testNotifyDataSetChanged()
474 adapter.deleteAndNotify(deleteStart, deleteCount); in getItemForDeletedViewTest()
503 mTestAdapter.deleteAndNotify(new int[]{0, 1}, new int[]{7, 1}); in testDeleteInvisibleMultiStep()
558 mTestAdapter.deleteAndNotify(0, 7); in testBasicDelete()
681 mTestAdapter.deleteAndNotify(new int[]{4, 1}, new int[]{7, 2});// delete items 4, 8, 9 in testDeleteVisibleAndInvisible()
726 mTestAdapter.deleteAndNotify(new int[]{0, 1}, new int[]{7, 1});// delete item id 0,8 in testDeleteInvisible()
811 adapter.deleteAndNotify(new int[]{0, 1}, new int[]{1, 1}, new int[]{7, 1}, in testDeleteTwice()
DStaggeredGridLayoutManagerTest.java110 mAdapter.deleteAndNotify(0, 2); in testAreAllStartsTheSame()
121 mAdapter.deleteAndNotify(0, 2); in testAreAllEndsTheSame()
496 mAdapter.deleteAndNotify(0, mAdapter.getItemCount()); in getFirstLastChildrenTest()
551 mAdapter.deleteAndNotify(fullSpanIndex + 1, 3); in testTemporaryGapHandling()
581 mAdapter.deleteAndNotify(fullSpanIndex + 1, 3); in updateAfterFullSpanGapHandlingTest()
701 mAdapter.deleteAndNotify(deletePosition, deleteCount); in gapAtTheBeginningOfTheListTest()
743 mAdapter.deleteAndNotify(55, 2); in testPartialSpanInvalidation()
784 mAdapter.deleteAndNotify(deletedPosition, 1); in testSpanReassignmentsOnItemChange()
792 mAdapter.deleteAndNotify(deletedPosition, 1); in testSpanReassignmentsOnItemChange()
DBaseRecyclerViewInstrumentationTest.java519 public void deleteAndNotify(final int start, final int count) throws Throwable { in deleteAndNotify() method in BaseRecyclerViewInstrumentationTest.TestAdapter
520 deleteAndNotify(new int[]{start, count}); in deleteAndNotify()
532 public void deleteAndNotify(final int[]... startCountTuples) throws Throwable { in deleteAndNotify() method in BaseRecyclerViewInstrumentationTest.TestAdapter
DRecyclerViewLayoutTest.java410 adapter.deleteAndNotify(3, 4); in testAdapterPositionsRemoveItems()
419 adapter.deleteAndNotify(0, 1); in testAdapterPositionsRemoveItemsBefore()
892 testAdapter.deleteAndNotify(newTarget + 1, testAdapter.getItemCount() - newTarget - 1); in smoothScrollTest()
2035 adapter.deleteAndNotify(new int[]{deleteStart, deleteCount - 1}, new int[]{deleteStart, 1});
2195 adapter.deleteAndNotify(3, 2);
DGridLayoutManagerTest.java406 mAdapter.deleteAndNotify(2, 3); in testNotifyDataSetChange()
DLinearLayoutManagerTest.java519 mTestAdapter.deleteAndNotify(0, mTestAdapter.getItemCount()); in getFirstLastChildrenTest()