/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerSavedStateTest.java | 99 scrollToPosition(testAdapter().getItemCount() * 3 / 4); in params() 112 scrollToPositionWithOffset(testAdapter().getItemCount() / 3, in params() 126 scrollToPositionWithOffset(testAdapter().getItemCount() * 2 / 3, in params() 218 position = testAdapter().getItemCount() / 2; in params() 224 return testAdapter().getItemCount() == 0; in params() 234 if (testAdapter().getItemCount() > 0) { in params() 357 protected TestAdapter testAdapter() { in testAdapter() method in LinearLayoutManagerSavedStateTest.PostLayoutRunnable 392 protected TestAdapter testAdapter() { in testAdapter() method in LinearLayoutManagerSavedStateTest.PostRestoreRunnable
|
D | RecyclerViewLayoutTest.java | 1237 final TestAdapter testAdapter = new TestAdapter(10); in assertPendingUpdatesAndLayoutTest() local 1238 setupBasic(recyclerView, layoutManager, testAdapter, false); in assertPendingUpdatesAndLayoutTest() 1244 runnable.run(testAdapter); in assertPendingUpdatesAndLayoutTest() 1273 TestAdapter testAdapter = new TestAdapter(10); in hasPendingUpdatesBeforeFirstLayout() local 1274 setupBasic(recyclerView, layoutManager, testAdapter, false); in hasPendingUpdatesBeforeFirstLayout() 1282 TestAdapter testAdapter = new TestAdapter(10); in noPendingUpdatesAfterLayout() local 1283 setupBasic(recyclerView, layoutManager, testAdapter, true); in noPendingUpdatesAfterLayout() 1291 public void run(TestAdapter testAdapter) throws Throwable { in hasPendingUpdatesAfterItemIsRemoved() 1292 testAdapter.deleteAndNotify(1, 1); in hasPendingUpdatesAfterItemIsRemoved() 1300 public void run(TestAdapter testAdapter) throws Throwable { in hasPendingUpdatesAfterItemIsInserted() [all …]
|
D | GridLayoutManagerCustomSizeInScrollDirectionTest.java | 70 final GridTestAdapter testAdapter = new GridTestAdapter(10) { in customSizeInScrollDirectionTest() local 95 testAdapter.setFullSpan(3, 5); in customSizeInScrollDirectionTest() 96 final RecyclerView rv = setupBasic(mConfig, testAdapter); in customSizeInScrollDirectionTest()
|
D | BaseGridLayoutManagerTest.java | 47 public RecyclerView setupBasic(Config config, GridTestAdapter testAdapter) throws Throwable { in setupBasic() argument 49 mAdapter = testAdapter; in setupBasic()
|
D | BaseRecyclerViewAnimationsTest.java | 60 TestAdapter testAdapter) in setupBasic() argument 64 if (testAdapter == null) { in setupBasic() 67 mTestAdapter = testAdapter; in setupBasic() 496 abstract void onRun(TestAdapter testAdapter) throws Throwable; in onRun() argument
|
D | RecyclerViewAnimationsTest.java | 839 TestAdapter testAdapter = new TestAdapter(10) { in changeAnimTest() local 864 testAdapter.setHasStableIds(hasStableIds); in changeAnimTest() 865 setupBasic(testAdapter.getItemCount(), 0, 10, testAdapter); in changeAnimTest() local 926 TestAdapter testAdapter = new TestAdapter(10) { in testChangeWithPayload() local 952 testAdapter.setHasStableIds(false); in testChangeWithPayload() 953 setupBasic(testAdapter.getItemCount(), 0, 10, testAdapter); in testChangeWithPayload() local 1130 void onRun(TestAdapter testAdapter) throws Throwable { in stableIdNotifyDataSetChanged()
|
D | BaseWrapContentTest.java | 82 TestAdapter testAdapter = new TestAdapter(20) { in unspecifiedWithHintTest() local 91 rv.setAdapter(testAdapter); in unspecifiedWithHintTest()
|
D | BaseRecyclerViewInstrumentationTest.java | 585 TestAdapter testAdapter = (TestAdapter) mRecyclerView.getAdapter(); in assertVisibleItemPositions() local 596 testAdapter.mItems.get(vh.mPosition), item); in assertVisibleItemPositions()
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | RSTestCore.java | 47 private ArrayAdapter<UnitTest> testAdapter; field in RSTestCore 121 … testAdapter = new ArrayAdapter<UnitTest>(mCtx, android.R.layout.simple_list_item_1, unitTests); in init() 122 mCtx.setListAdapter(testAdapter); in init() 140 if (testAdapter != null) in checkAndRunNextTest() 141 testAdapter.notifyDataSetChanged(); in checkAndRunNextTest()
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | RSTestCore.java | 47 private ArrayAdapter<UnitTest> testAdapter; field in RSTestCore 127 … testAdapter = new ArrayAdapter<UnitTest>(mCtx, android.R.layout.simple_list_item_1, unitTests); in init() 128 mCtx.setListAdapter(testAdapter); in init() 146 if (testAdapter != null) in checkAndRunNextTest() 147 testAdapter.notifyDataSetChanged(); in checkAndRunNextTest()
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | RSTestCore.java | 47 private ArrayAdapter<UnitTest> testAdapter; field in RSTestCore 140 … testAdapter = new ArrayAdapter<UnitTest>(mCtx, android.R.layout.simple_list_item_1, unitTests); in init() 141 mCtx.setListAdapter(testAdapter); in init() 159 if (testAdapter != null) in checkAndRunNextTest() 160 testAdapter.notifyDataSetChanged(); in checkAndRunNextTest()
|
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/ |
D | RecyclerItemAdapterTest.java | 51 public void testAdapter() { in testAdapter() method in RecyclerItemAdapterTest
|
D | GlifRecyclerLayoutTest.java | 66 public void testAdapter() { in testAdapter() method in GlifRecyclerLayoutTest
|
D | SetupWizardRecyclerLayoutTest.java | 66 public void testAdapter() { in testAdapter() method in SetupWizardRecyclerLayoutTest
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | ItemAdapterTest.java | 49 public void testAdapter() { in testAdapter() method in ItemAdapterTest
|
D | GlifListLayoutTest.java | 81 public void testAdapter() { in testAdapter() method in GlifListLayoutTest
|