Searched refs:testAdapter (Results 1 - 16 of 16) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerSavedStateTest.java99 scrollToPosition(testAdapter().getItemCount() * 3 / 4);
112 scrollToPositionWithOffset(testAdapter().getItemCount() / 3,
126 scrollToPositionWithOffset(testAdapter().getItemCount() * 2 / 3,
218 position = testAdapter().getItemCount() / 2;
224 return testAdapter().getItemCount() == 0;
234 if (testAdapter().getItemCount() > 0) {
357 protected TestAdapter testAdapter() { method in class:LinearLayoutManagerSavedStateTest.PostLayoutRunnable
392 protected TestAdapter testAdapter() { method in class:LinearLayoutManagerSavedStateTest.PostRestoreRunnable
H A DGridLayoutManagerCustomSizeInScrollDirectionTest.java70 final GridTestAdapter testAdapter = new GridTestAdapter(10) {
95 testAdapter.setFullSpan(3, 5);
96 final RecyclerView rv = setupBasic(mConfig, testAdapter);
H A DRecyclerViewLayoutTest.java1237 final TestAdapter testAdapter = new TestAdapter(10);
1238 setupBasic(recyclerView, layoutManager, testAdapter, false);
1244 runnable.run(testAdapter);
1273 TestAdapter testAdapter = new TestAdapter(10);
1274 setupBasic(recyclerView, layoutManager, testAdapter, false);
1282 TestAdapter testAdapter = new TestAdapter(10);
1283 setupBasic(recyclerView, layoutManager, testAdapter, true);
1291 public void run(TestAdapter testAdapter) throws Throwable {
1292 testAdapter.deleteAndNotify(1, 1);
1300 public void run(TestAdapter testAdapter) throw
[all...]
H A DBaseGridLayoutManagerTest.java47 public RecyclerView setupBasic(Config config, GridTestAdapter testAdapter) throws Throwable { argument
49 mAdapter = testAdapter;
H A DBaseRecyclerViewAnimationsTest.java60 TestAdapter testAdapter)
64 if (testAdapter == null) {
67 mTestAdapter = testAdapter;
496 abstract void onRun(TestAdapter testAdapter) throws Throwable; argument
59 setupBasic(int itemCount, int firstLayoutStartIndex, int firstLayoutItemCount, TestAdapter testAdapter) argument
H A DRecyclerViewAnimationsTest.java839 TestAdapter testAdapter = new TestAdapter(10) {
864 testAdapter.setHasStableIds(hasStableIds);
865 setupBasic(testAdapter.getItemCount(), 0, 10, testAdapter);
926 TestAdapter testAdapter = new TestAdapter(10) {
952 testAdapter.setHasStableIds(false);
953 setupBasic(testAdapter.getItemCount(), 0, 10, testAdapter);
1130 void onRun(TestAdapter testAdapter) throws Throwable {
H A DBaseRecyclerViewInstrumentationTest.java585 TestAdapter testAdapter = (TestAdapter) mRecyclerView.getAdapter();
596 testAdapter.mItems.get(vh.mPosition), item);
H A DBaseWrapContentTest.java82 TestAdapter testAdapter = new TestAdapter(20) {
91 rv.setAdapter(testAdapter);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
H A DRSTestCore.java47 private ArrayAdapter<UnitTest> testAdapter; field in class:RSTestCore
127 testAdapter = new ArrayAdapter<UnitTest>(mCtx, android.R.layout.simple_list_item_1, unitTests);
128 mCtx.setListAdapter(testAdapter);
146 if (testAdapter != null)
147 testAdapter.notifyDataSetChanged();
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DRSTestCore.java47 private ArrayAdapter<UnitTest> testAdapter; field in class:RSTestCore
121 testAdapter = new ArrayAdapter<UnitTest>(mCtx, android.R.layout.simple_list_item_1, unitTests);
122 mCtx.setListAdapter(testAdapter);
140 if (testAdapter != null)
141 testAdapter.notifyDataSetChanged();
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DRSTestCore.java47 private ArrayAdapter<UnitTest> testAdapter; field in class:RSTestCore
140 testAdapter = new ArrayAdapter<UnitTest>(mCtx, android.R.layout.simple_list_item_1, unitTests);
141 mCtx.setListAdapter(testAdapter);
159 if (testAdapter != null)
160 testAdapter.notifyDataSetChanged();
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
H A DRecyclerItemAdapterTest.java51 public void testAdapter() { method in class:RecyclerItemAdapterTest
H A DGlifRecyclerLayoutTest.java66 public void testAdapter() { method in class:GlifRecyclerLayoutTest
H A DSetupWizardRecyclerLayoutTest.java66 public void testAdapter() { method in class:SetupWizardRecyclerLayoutTest
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DItemAdapterTest.java49 public void testAdapter() { method in class:ItemAdapterTest
H A DGlifListLayoutTest.java81 public void testAdapter() { method in class:GlifListLayoutTest

Completed in 276 milliseconds