Lines Matching defs:count
328 public void expectLayouts(int count) {
329 layoutLatch = new CountDownLatch(count);
339 public void assertLayoutCount(int count, String msg, long timeout) throws Throwable {
341 assertEquals(msg, count, layoutLatch.getCount());
475 TestAdapter(int count) {
476 mItems = new ArrayList<Item>(count);
477 for (int i = 0; i < count; i++) {
519 public void deleteAndNotify(final int start, final int count) throws Throwable {
520 deleteAndNotify(new int[]{start, count});
561 public void addAndNotify(final int start, final int count) throws Throwable {
562 addAndNotify(new int[]{start, count});
578 public void changeAndNotify(final int start, final int count) throws Throwable {
582 notifyItemRangeChanged(start, count);
599 * Similar to other methods but negative count means delete and position count means add.
705 final int count = -tuple[1];
706 offsetOriginalIndices(tuple[0] + count, tuple[1]);
707 for (int i = 0; i < count; i++) {
710 notifyItemRangeRemoved(tuple[0], count);