/cts/tests/tests/widget/src/android/widget/cts/ |
D | ExpandableListViewTest.java | 148 mExpandableListView.setAdapter((ListAdapter) null); in testSetAdapterOfWrongType() 157 mExpandableListView.setAdapter(expandableAdapter); in testGetAdapter() 167 mExpandableListView.setAdapter(expandableAdapter); in testAccessExpandableListAdapter() 199 mExpandableListView.setAdapter(expandableAdapter); in testOnInitializeAccessibilityNodeInfoForItem() 240 mExpandableListView.setAdapter(expandableAdapter); in testExpandGroup() 268 mExpandableListView.setAdapter((ExpandableListAdapter) null); in testExpandGroup() 279 () -> mExpandableListView.setAdapter(new MockExpandableListAdapter())); in testExpandGroupSmooth() 311 mExpandableListView.setAdapter((ExpandableListAdapter) null); in testExpandGroupSmooth() 324 mExpandableListView.setAdapter(expandableAdapter); in testCollapseGroup() 347 mExpandableListView.setAdapter((ExpandableListAdapter) null); in testCollapseGroup() [all …]
|
D | AbsListViewTest.java | 224 private void setAdapter() throws Throwable { in setAdapter() method in AbsListViewTest 225 setAdapter(mCountriesAdapter); in setAdapter() 228 private void setAdapter(final ListAdapter adapter) throws Throwable { in setAdapter() method in AbsListViewTest 230 () -> mListView.setAdapter(adapter)); in setAdapter() 253 setAdapter(); in testSetOnScrollListener() 293 setAdapter(); in testFling() 335 setAdapter(mShortAdapter); in testGetFocusedRect() 361 setAdapter(); in testAccessStackFromBottom() 379 setAdapter(); in testAccessSelectedItem() 401 setAdapter(); in testAccessListPadding() [all …]
|
D | AutoCompleteTextViewTest.java | 237 mAutoCompleteTextView.setAdapter(null); in testAccessAdapter() 240 mAutoCompleteTextView.setAdapter(mAdapter); in testAccessAdapter() 244 mAutoCompleteTextView.setAdapter(null); in testAccessAdapter() 256 autoCompleteTextView.setAdapter(null); in testAccessFilter() 262 autoCompleteTextView.setAdapter(mAdapter); in testAccessFilter() 267 autoCompleteTextView.setAdapter(null); in testAccessFilter() 325 autoCompleteTextView.setAdapter(mAdapter); in testConvertSelectionToString() 389 mAutoCompleteTextView.setAdapter(mAdapter); in testDropDownMetrics() 416 mActivityRule.runOnUiThread(() -> mAutoCompleteTextView.setAdapter(mAdapter)); in testDropDownBackground() 448 mAutoCompleteTextView.setAdapter(mAdapter); in refreshAutoCompleteResults_addItem() [all …]
|
D | AbsSpinnerTest.java | 105 mAbsSpinner.setAdapter(adapter); in testSetSelectionIntBoolean() 128 mAbsSpinner.setAdapter(adapter); in testSetSelectionInt() 151 mAbsSpinner.setAdapter(adapter); in testAccessAdapter() 182 mAbsSpinner.setAdapter(adapter1); in testGetCount() 189 mAbsSpinner.setAdapter(adapter2); in testGetCount() 205 absSpinner.setAdapter(adapter); in testPointToPosition() 239 absSpinner.setAdapter(adapter); in testGetSelectedView() 258 mAbsSpinner.setAdapter(adapter); in testOnSaveAndRestoreInstanceState()
|
D | ListViewTest.java | 210 setAdapter(mAdapter_names); in testGetMaxScrollAmount() 224 private void setAdapter(final ArrayAdapter<String> adapter) throws Throwable { in setAdapter() method in ListViewTest 226 () -> mListView.setAdapter(adapter)); in setAdapter() 232 () -> mListView.setAdapter(mAdapter_countries)); in testAccessDividerHeight() 265 () -> mListView.setAdapter(mAdapter_countries)); in testAccessAdapter() 271 () -> mListView.setAdapter(mAdapter_names)); in testAccessAdapter() 376 () -> mListView.setAdapter(mAdapter_countries)); in testAccessFooterView() 447 () -> mListView.setAdapter(adapter)); in testHeaderFooterType() 458 () -> mListView.setAdapter(mAdapter_countries)); in testAccessDivider() 480 () -> mListView.setAdapter(mAdapter_countries)); in testSetSelection() [all …]
|
D | GridViewTest.java | 153 mGridView.setAdapter(adapter); in testAccessAdapter() 156 mGridView.setAdapter(null); in testAccessAdapter() 183 mGridView.setAdapter(new ImageAdapter(mActivity)); in testPressKey() 236 mGridView.setAdapter(new ImageAdapter(mActivity)); in testSetGravity() 290 mGridView.setAdapter(new MockGridViewAdapter(3)); in verifyAccessHorizontalSpacing() 321 mGridView.setAdapter(new MockGridViewAdapter(3)); in testAccessVerticalSpacing() 346 mGridView.setAdapter(new ImageAdapter(mActivity)); in testAccessStretchMode() 429 mGridView.setAdapter(new MockGridViewAdapter(10)); 465 mGridView.setAdapter(new MockGridViewAdapter(10)); in testGetNumColumns() 505 mockGridView.setAdapter(new MockGridViewAdapter(10)); in testOnFocusChanged() [all …]
|
D | SpinnerTest.java | 177 spinner.setAdapter(adapter); in verifyGetBaseline() 250 spinner.setAdapter(adapter); in verifyOnClickAccessibility() 350 mActivityRule.runOnUiThread(() -> spinner.setAdapter(adapter)); in verifyGravity() 383 mActivityRule.runOnUiThread(() -> mSpinnerDropdownMode.setAdapter(adapter)); in testDropDownMetricsDropdownMode() 415 mActivityRule.runOnUiThread(() -> mSpinnerDialogMode.setAdapter(adapter)); in testDropDownMetricsDialogMode() 445 mActivityRule.runOnUiThread(() -> mSpinnerDropdownMode.setAdapter(adapter)); in testDropDownBackgroundDropdownMode() 466 mActivityRule.runOnUiThread(() -> mSpinnerDialogMode.setAdapter(adapter)); in testDropDownBackgroundDialogMode()
|
D | ExpandableListWithHeaders.java | 57 setAdapter(expandableListView); in onCreate()
|
D | GalleryCtsActivity.java | 40 gallery.setAdapter(adapter); in onCreate()
|
D | AdapterViewTest.java | 188 mAdapterView.setAdapter(new ArrayAdapter<String>( in testAccessEmptyView() 210 mAdapterView.setAdapter(null); in testAccessEmptyView() 512 adapterView.setAdapter(new ArrayAdapter<>( in setArrayAdapter()
|
D | GalleryTest.java | 245 gallery.setAdapter(new ImageAdapter(mActivity)); in testComputeHorizontalScrollOffset() 256 gallery.setAdapter(adapter); in testComputeHorizontalScrollRange()
|
/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/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTestActivity.java | 52 listView.setAdapter(listAdapter); in onCreate()
|
/cts/tests/app/src/android/app/cts/ |
D | AlertDialog_BuilderTestBase.java | 74 mActivityRule.getScenario().onActivity(a -> listView.setAdapter(adapter[0])); in reAttachListViewAdapter()
|
/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 | 77 pairedDevicesListView.setAdapter(mPairedDevicesAdapter); in onCreate() 85 newDevicesListView.setAdapter(mNewDevicesAdapter); in onCreate()
|
D | MessageTestActivity.java | 109 mReceivedMessages.setAdapter(mReceivedMessagesAdapter); in onCreate() 113 mSentMessages.setAdapter(mSentMessagesAdapter); in onCreate()
|
D | BleEncryptedServerBaseActivity.java | 60 listView.setAdapter(mTestAdapter); in onCreate()
|
D | BleScannerHardwareScanFilterActivity.java | 59 mScanResultListView.setAdapter(mAdapter); in onCreate()
|
D | BleConnectionPriorityServerBaseActivity.java | 59 listView.setAdapter(mTestAdapter); in onCreate()
|
D | BleConnectionPriorityClientBaseActivity.java | 75 listView.setAdapter(mTestAdapter); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioLoopbackCalibrationDialog.java | 232 mInputsSpinner.setAdapter(fillAdapter(mInputDevices)); in stateChangeHandler() 235 mOutputsSpinner.setAdapter(fillAdapter(mOutputDevices)); in stateChangeHandler()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/ |
D | AccessibilityEndToEndActivity.java | 75 listView.setAdapter(listAdapter); in onCreate()
|