/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | LinearLayoutManagerWrapContentTest.java | 59 mTestAdapter.deleteAndNotify(3, 3); 65 mTestAdapter.deleteAndNotify(3, 3); 71 mTestAdapter.deleteAndNotify(1, 2); 83 mTestAdapter.addAndNotify(1, 2); 90 mTestAdapter.addAndNotify(0, 2); 96 mTestAdapter.addAndNotify(6, 3);
|
H A D | RecyclerViewAnimationsTest.java | 74 mTestAdapter.changeAndNotify(3, 1); 294 mTestAdapter.deleteAndNotify(1, 1); 367 mTestAdapter.deleteAndNotify(2, 1); 410 mTestAdapter.deleteAndNotify(2, 1); 436 mTestAdapter.dispatchDataSetChanged(); 462 mTestAdapter.changeAndNotify(target.getAdapterPosition(), 1); 529 mTestAdapter.deleteAndNotify(3, 4); 575 mTestAdapter.deleteAndNotify(1, 1); 619 mTestAdapter.deleteAndNotify(0, 1); 650 mTestAdapter [all...] |
H A D | LinearLayoutManagerPrepareForDropTest.java | 102 config.mTestAdapter = new BaseRecyclerViewInstrumentationTest.TestAdapter(100) { 120 scrollToPosition(mTestAdapter.getItemCount() / 2); 152 mTestAdapter.moveInUIThread(fromPos, toPos); 153 mTestAdapter.notifyItemMoved(fromPos, toPos);
|
H A D | LinearLayoutManagerSavedStateTest.java | 62 return mTestAdapter; 74 return mTestAdapter; 295 final int itemCount = mTestAdapter.getItemCount(); 300 testItems.addAll(mTestAdapter.mItems); 301 mTestAdapter.deleteAndNotify(0, itemCount); 311 restored.setAdapter(mTestAdapter); 316 mTestAdapter.resetItemsTo(testItems);
|
H A D | ItemAnimatorV2ApiTest.java | 65 mTestAdapter.changeAndNotify(9, 1); 121 mTestAdapter.changeAndNotify(0, 2); 168 mTestAdapter.changeAndNotify(0, 2); 192 mTestAdapter.addAndNotify(2, 1); 205 for (int i = 3; i < mTestAdapter.getItemCount(); i++) { 217 mTestAdapter.deleteAndNotify(2, 1); 230 for (int i = 3; i < mTestAdapter.getItemCount(); i++) { 242 mTestAdapter.changeAndNotify(2, 1); 253 for (int i = 0; i < mTestAdapter.getItemCount(); i++) { 275 mTestAdapter [all...] |
H A D | BaseLinearLayoutManagerTest.java | 65 TestAdapter mTestAdapter; field in class:BaseLinearLayoutManagerTest 86 mTestAdapter = config.mTestAdapter == null ? new TestAdapter(config.mItemCount) 87 : config.mTestAdapter; 88 mRecyclerView.setAdapter(mTestAdapter); 140 mTestAdapter.addAndNotify(0, 1); 273 TestAdapter mTestAdapter; field in class:BaseLinearLayoutManagerTest.Config 286 mTestAdapter = adapter;
|
H A D | LinearLayoutManagerBaseConfigSetTest.java | 85 scrollToPositionWithOffset(mTestAdapter.getItemCount() - 1, 192 final int scrollPosition = config.mStackFromEnd ? 0 : mTestAdapter.getItemCount(); 206 mTestAdapter.deleteAndNotify(0, mTestAdapter.getItemCount());
|
H A D | LinearLayoutManagerTest.java | 178 mTestAdapter.deleteAndNotify(removePos, 1); 219 mTestAdapter.addAndNotify(center, childCountToAdd); 409 pool.setMaxRecycledViews(mTestAdapter.getItemViewType(0), 500); 459 mTestAdapter.getItemViewType(0), recyclerSize + childCount); 478 mTestAdapter.clearOnUIThread();
|
H A D | BaseRecyclerViewAnimationsTest.java | 44 TestAdapter mTestAdapter; field in class:BaseRecyclerViewAnimationsTest 65 mTestAdapter = new TestAdapter(itemCount); 67 mTestAdapter = testAdapter; 69 recyclerView.setAdapter(mTestAdapter);
|
H A D | BaseWrapContentTest.java | 63 TestAdapter mTestAdapter; field in class:BaseWrapContentTest 163 mTestAdapter = new TestAdapter(scenario.getSeedAdapterSize()); 164 recyclerView.setAdapter(mTestAdapter);
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
H A D | AdapterHelperTest.java | 58 TestAdapter mTestAdapter; field in class:AdapterHelperTest 200 mTestAdapter = new TestAdapter(count, mAdapterHelper); 204 mPreProcessClone = mTestAdapter.createCopy(); 211 viewHolder.mItem = mTestAdapter.mItems.get(position); 255 mPreProcessClone.applyOps(mFirstPassUpdates, mTestAdapter); 256 mPreProcessClone.applyOps(mSecondPassUpdates, mTestAdapter); 257 assertAdaptersEqual(mTestAdapter, mPreProcessClone); 870 if (mTestAdapter.mItems.size() > 1) { 871 int s = nextInt(random, mTestAdapter.mItems.size() - 1); 872 int len = Math.max(1, nextInt(random, mTestAdapter [all...] |