/cts/tests/tests/widget/src/android/widget/cts/ |
D | ExpandableListViewTest.java | 136 mExpandableListView.setAdapter((ListAdapter) null); in testSetAdapterOfWrongType() 145 mExpandableListView.setAdapter(expandableAdapter); in testGetAdapter() 155 mExpandableListView.setAdapter(expandableAdapter); in testAccessExpandableListAdapter() 186 mExpandableListView.setAdapter(expandableAdapter); in testExpandGroup() 214 mExpandableListView.setAdapter((ExpandableListAdapter) null); in testExpandGroup() 225 () -> mExpandableListView.setAdapter(new MockExpandableListAdapter())); in testExpandGroupSmooth() 257 mExpandableListView.setAdapter((ExpandableListAdapter) null); in testExpandGroupSmooth() 270 mExpandableListView.setAdapter(expandableAdapter); in testCollapseGroup() 293 mExpandableListView.setAdapter((ExpandableListAdapter) null); in testCollapseGroup() 304 mExpandableListView.setAdapter(new MockExpandableListAdapter()); in testSetOnGroupClickListener() [all …]
|
D | AutoCompleteTextViewTest.java | 230 mAutoCompleteTextView.setAdapter(null); in testAccessAdapter() 233 mAutoCompleteTextView.setAdapter(mAdapter); in testAccessAdapter() 237 mAutoCompleteTextView.setAdapter(null); in testAccessAdapter() 249 autoCompleteTextView.setAdapter(null); in testAccessFilter() 255 autoCompleteTextView.setAdapter(mAdapter); in testAccessFilter() 260 autoCompleteTextView.setAdapter(null); in testAccessFilter() 318 autoCompleteTextView.setAdapter(mAdapter); in testConvertSelectionToString() 382 mAutoCompleteTextView.setAdapter(mAdapter); in testDropDownMetrics() 409 mActivityRule.runOnUiThread(() -> mAutoCompleteTextView.setAdapter(mAdapter)); in testDropDownBackground() 441 mAutoCompleteTextView.setAdapter(mAdapter); in refreshAutoCompleteResults_addItem() [all …]
|
D | AbsSpinnerTest.java | 96 mAbsSpinner.setAdapter(adapter); in testSetSelectionIntBoolean() 119 mAbsSpinner.setAdapter(adapter); in testSetSelectionInt() 142 mAbsSpinner.setAdapter(adapter); in testAccessAdapter() 173 mAbsSpinner.setAdapter(adapter1); in testGetCount() 180 mAbsSpinner.setAdapter(adapter2); in testGetCount() 196 absSpinner.setAdapter(adapter); in testPointToPosition() 230 absSpinner.setAdapter(adapter); in testGetSelectedView() 249 mAbsSpinner.setAdapter(adapter); in testOnSaveAndRestoreInstanceState()
|
D | AbsListViewTest.java | 211 private void setAdapter() throws Throwable { in setAdapter() method in AbsListViewTest 212 setAdapter(mCountriesAdapter); in setAdapter() 215 private void setAdapter(final ListAdapter adapter) throws Throwable { in setAdapter() method in AbsListViewTest 217 () -> mListView.setAdapter(adapter)); in setAdapter() 240 setAdapter(); in testSetOnScrollListener() 280 setAdapter(); in testFling() 322 setAdapter(mShortAdapter); in testGetFocusedRect() 348 setAdapter(); in testAccessStackFromBottom() 366 setAdapter(); in testAccessSelectedItem() 388 setAdapter(); in testAccessListPadding() [all …]
|
D | ListViewTest.java | 195 setAdapter(mAdapter_names); in testGetMaxScrollAmount() 209 private void setAdapter(final ArrayAdapter<String> adapter) throws Throwable { in setAdapter() method in ListViewTest 211 () -> mListView.setAdapter(adapter)); in setAdapter() 217 () -> mListView.setAdapter(mAdapter_countries)); in testAccessDividerHeight() 250 () -> mListView.setAdapter(mAdapter_countries)); in testAccessAdapter() 256 () -> mListView.setAdapter(mAdapter_names)); in testAccessAdapter() 361 () -> mListView.setAdapter(mAdapter_countries)); in testAccessFooterView() 432 () -> mListView.setAdapter(adapter)); in testHeaderFooterType() 443 () -> mListView.setAdapter(mAdapter_countries)); in testAccessDivider() 465 () -> mListView.setAdapter(mAdapter_countries)); in testSetSelection() [all …]
|
D | GridViewTest.java | 143 mGridView.setAdapter(adapter); in testAccessAdapter() 146 mGridView.setAdapter(null); in testAccessAdapter() 173 mGridView.setAdapter(new ImageAdapter(mActivity)); in testPressKey() 226 mGridView.setAdapter(new ImageAdapter(mActivity)); in testSetGravity() 280 mGridView.setAdapter(new MockGridViewAdapter(3)); in verifyAccessHorizontalSpacing() 311 mGridView.setAdapter(new MockGridViewAdapter(3)); in testAccessVerticalSpacing() 336 mGridView.setAdapter(new ImageAdapter(mActivity)); in testAccessStretchMode() 419 mGridView.setAdapter(new MockGridViewAdapter(10)); 455 mGridView.setAdapter(new MockGridViewAdapter(10)); in testGetNumColumns() 495 mockGridView.setAdapter(new MockGridViewAdapter(10)); in testOnFocusChanged() [all …]
|
D | ExpandableListWithHeaders.java | 57 setAdapter(expandableListView); in onCreate()
|
D | SpinnerTest.java | 153 spinner.setAdapter(adapter); in verifyGetBaseline() 291 mActivityRule.runOnUiThread(() -> spinner.setAdapter(adapter)); in verifyGravity() 326 mActivityRule.runOnUiThread(() -> mSpinnerDropdownMode.setAdapter(adapter)); in testDropDownMetricsDropdownMode() 359 mActivityRule.runOnUiThread(() -> mSpinnerDialogMode.setAdapter(adapter)); in testDropDownMetricsDialogMode() 391 mActivityRule.runOnUiThread(() -> mSpinnerDropdownMode.setAdapter(adapter)); in testDropDownBackgroundDropdownMode() 435 mActivityRule.runOnUiThread(() -> mSpinnerDialogMode.setAdapter(adapter)); in testDropDownBackgroundDialogMode()
|
D | GalleryCtsActivity.java | 40 gallery.setAdapter(adapter); in onCreate()
|
D | AdapterViewTest.java | 174 mAdapterView.setAdapter(new ArrayAdapter<String>( in testAccessEmptyView() 196 mAdapterView.setAdapter(null); in testAccessEmptyView() 491 adapterView.setAdapter(new ArrayAdapter<>( in setArrayAdapter()
|
D | GalleryTest.java | 237 gallery.setAdapter(new ImageAdapter(mActivity)); in testComputeHorizontalScrollOffset() 248 gallery.setAdapter(adapter); in testComputeHorizontalScrollRange()
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTestFirstActivity.java | 45 listView.setAdapter(cheeseAdapter); in onCreate()
|
D | UiAutomationTestSecondActivity.java | 44 listView.setAdapter(cheeseAdapter); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/list/ |
D | ListPresentation.java | 58 listView.setAdapter(new ArrayAdapter<String>(getContext(), in onCreate()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListScenario.java | 322 setAdapter(mListView); in onCreate() 423 protected void setAdapter(ListView listView) { in setAdapter() method in ListScenario 424 listView.setAdapter(new MyAdapter()); in setAdapter()
|
D | ExpandableListScenario.java | 56 protected void setAdapter(ListView listView) { in setAdapter() method in ExpandableListScenario 59 ((ExpandableListView) listView).setAdapter(mAdapter); in setAdapter()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimCtsActivity.java | 40 mGridView.setAdapter(new MockGridViewAdapter(GRID_NUM)); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | DevicePickerActivity.java | 75 pairedDevicesListView.setAdapter(mPairedDevicesAdapter); in onCreate() 83 newDevicesListView.setAdapter(mNewDevicesAdapter); in onCreate()
|
D | MessageTestActivity.java | 107 mReceivedMessages.setAdapter(mReceivedMessagesAdapter); in onCreate() 111 mSentMessages.setAdapter(mSentMessagesAdapter); in onCreate()
|
D | BleEncryptedServerBaseActivity.java | 58 listView.setAdapter(mTestAdapter); in onCreate()
|
D | BleScannerHardwareScanFilterActivity.java | 57 mScanResultListView.setAdapter(mAdapter); in onCreate()
|
D | BleConnectionPriorityServerBaseActivity.java | 57 listView.setAdapter(mTestAdapter); in onCreate()
|
D | BleConnectionPriorityClientBaseActivity.java | 68 listView.setAdapter(mTestAdapter); in onCreate()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/ |
D | AccessibilityEndToEndActivity.java | 75 listView.setAdapter(listAdapter); in onCreate()
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/ |
D | MainFragment.java | 198 setAdapter(mRowsAdapter);
|