/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/ |
D | RSoVTestCore.java | 45 private ArrayAdapter<UnitTest> testAdapter; field in RSoVTestCore 78 … testAdapter = new ArrayAdapter<UnitTest>(mCtx, android.R.layout.simple_list_item_1, unitTests); in init() 79 mCtx.setListAdapter(testAdapter); in init() 97 if (testAdapter != null) in checkAndRunNextTest() 98 testAdapter.notifyDataSetChanged(); in checkAndRunNextTest()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerSavedStateTest.java | 100 scrollToPosition(testAdapter().getItemCount() * 3 / 4); in params() 113 scrollToPositionWithOffset(testAdapter().getItemCount() / 3, in params() 127 scrollToPositionWithOffset(testAdapter().getItemCount() * 2 / 3, in params() 219 position = testAdapter().getItemCount() / 2; in params() 225 return testAdapter().getItemCount() == 0; in params() 235 if (testAdapter().getItemCount() > 0) { in params() 358 protected TestAdapter testAdapter() { in testAdapter() method in LinearLayoutManagerSavedStateTest.PostLayoutRunnable 393 protected TestAdapter testAdapter() { in testAdapter() method in LinearLayoutManagerSavedStateTest.PostRestoreRunnable
|
D | RecyclerViewLayoutTest.java | 1536 final TestAdapter testAdapter = new TestAdapter(10); in assertPendingUpdatesAndLayoutTest() local 1537 setupBasic(recyclerView, layoutManager, testAdapter, false); in assertPendingUpdatesAndLayoutTest() 1543 runnable.run(testAdapter); in assertPendingUpdatesAndLayoutTest() 1575 TestAdapter testAdapter = new TestAdapter(10); in hasPendingUpdatesBeforeFirstLayout() local 1576 setupBasic(recyclerView, layoutManager, testAdapter, false); in hasPendingUpdatesBeforeFirstLayout() 1584 TestAdapter testAdapter = new TestAdapter(10); in noPendingUpdatesAfterLayout() local 1585 setupBasic(recyclerView, layoutManager, testAdapter, true); in noPendingUpdatesAfterLayout() 1593 public void run(TestAdapter testAdapter) throws Throwable { in hasPendingUpdatesAfterItemIsRemoved() 1594 testAdapter.deleteAndNotify(1, 1); in hasPendingUpdatesAfterItemIsRemoved() 1602 public void run(TestAdapter testAdapter) throws Throwable { in hasPendingUpdatesAfterItemIsInserted() [all …]
|
D | GridLayoutManagerCustomSizeInScrollDirectionTest.java | 72 final GridTestAdapter testAdapter = new GridTestAdapter(10) { in customSizeInScrollDirectionTest() local 97 testAdapter.setFullSpan(3, 5); in customSizeInScrollDirectionTest() 98 final RecyclerView rv = setupBasic(mConfig, testAdapter); in customSizeInScrollDirectionTest()
|
D | BaseRecyclerViewAnimationsTest.java | 64 TestAdapter testAdapter) in setupBasic() argument 68 if (testAdapter == null) { in setupBasic() 71 mTestAdapter = testAdapter; in setupBasic() 500 abstract void onRun(TestAdapter testAdapter) throws Throwable; in onRun() argument
|
D | BaseGridLayoutManagerTest.java | 51 public RecyclerView setupBasic(Config config, GridTestAdapter testAdapter) throws Throwable { in setupBasic() argument 53 mAdapter = testAdapter; in setupBasic()
|
D | RecyclerViewAnimationsTest.java | 855 TestAdapter testAdapter = new TestAdapter(10) { in changeAnimTest() local 880 testAdapter.setHasStableIds(hasStableIds); in changeAnimTest() 881 setupBasic(testAdapter.getItemCount(), 0, 10, testAdapter); in changeAnimTest() local 942 TestAdapter testAdapter = new TestAdapter(10) { in testChangeWithPayload() local 968 testAdapter.setHasStableIds(false); in testChangeWithPayload() 969 setupBasic(testAdapter.getItemCount(), 0, 10, testAdapter); in testChangeWithPayload() local 1146 void onRun(TestAdapter testAdapter) throws Throwable { in stableIdNotifyDataSetChanged()
|
D | BaseWrapContentTest.java | 73 TestAdapter testAdapter = new TestAdapter(20) { in unspecifiedWithHintTest() local 82 rv.setAdapter(testAdapter); in unspecifiedWithHintTest()
|
D | BaseRecyclerViewInstrumentationTest.java | 613 TestAdapter testAdapter = (TestAdapter) mRecyclerView.getAdapter(); in assertVisibleItemPositions() local 624 testAdapter.mItems.get(vh.mPosition), item); in assertVisibleItemPositions()
|
/frameworks/rs/tests/java_api/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/tests/java_api/RsTest/src/com/android/rs/test/ |
D | RSTestCore.java | 45 private ArrayAdapter<UnitTest> testAdapter; field in RSTestCore 139 … testAdapter = new ArrayAdapter<UnitTest>(mCtx, android.R.layout.simple_list_item_1, unitTests); in init() 140 mCtx.setListAdapter(testAdapter); in init() 158 if (testAdapter != null) in checkAndRunNextTest() 159 testAdapter.notifyDataSetChanged(); in checkAndRunNextTest()
|
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/ |
D | RSTestCore.java | 47 private ArrayAdapter<UnitTest> testAdapter; field in RSTestCore 131 … testAdapter = new ArrayAdapter<UnitTest>(mCtx, android.R.layout.simple_list_item_1, unitTests); in init() 132 mCtx.setListAdapter(testAdapter); in init() 150 if (testAdapter != null) in checkAndRunNextTest() 151 testAdapter.notifyDataSetChanged(); in checkAndRunNextTest()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | ItemAdapterTest.java | 61 public void testAdapter() { in testAdapter() method in ItemAdapterTest
|
D | GlifListLayoutTest.java | 92 public void testAdapter() { in testAdapter() method in GlifListLayoutTest
|
/frameworks/opt/setupwizard/library/full-support/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | SetupWizardRecyclerLayoutTest.java | 81 public void testAdapter() { in testAdapter() method in SetupWizardRecyclerLayoutTest
|
D | GlifRecyclerLayoutTest.java | 80 public void testAdapter() { in testAdapter() method in GlifRecyclerLayoutTest
|
/frameworks/opt/setupwizard/library/full-support/test/instrumentation/src/com/android/setupwizardlib/items/ |
D | RecyclerItemAdapterTest.java | 69 public void testAdapter() { in testAdapter() method in RecyclerItemAdapterTest
|