/cts/tests/tests/widget/src/android/widget/cts/ |
D | ExpandableListViewTest.java | 85 expandableListView.setAdapter((ListAdapter) null); in testSetAdapter() 96 expandableListView.setAdapter(expandableAdapter); in testGetAdapter() 105 expandableListView.setAdapter(expandableAdapter); in testAccessExpandableListAdapter() 131 expandableListView.setAdapter(expandableAdapter); in testExpandGroup() 150 expandableListView.setAdapter((ExpandableListAdapter) null); in testExpandGroup() 161 expandableListView.setAdapter(expandableAdapter); in testCollapseGroup() 180 expandableListView.setAdapter((ExpandableListAdapter) null); in testCollapseGroup() 190 expandableListView.setAdapter(new MockExpandableListAdapter()); in testSetOnGroupClickListener() 201 expandableListView.setAdapter(new MockExpandableListAdapter()); in testSetOnChildClickListener() 215 expandableListView.setAdapter(new MockExpandableListAdapter()); in testGetExpandableListPosition() [all …]
|
D | AbsListViewTest.java | 135 private void setAdapter() throws Throwable { in setAdapter() method in AbsListViewTest 136 setAdapter(mAdapter_countries); in setAdapter() 139 private void setAdapter(final ListAdapter adapter) throws Throwable { in setAdapter() method in AbsListViewTest 142 mListView.setAdapter(adapter); in setAdapter() 181 setAdapter(); in testSetOnScrollListener() 206 setAdapter(); in testFling() 245 setAdapter(mAdapter_short); in testGetFocusedRect() 270 setAdapter(); in testAccessStackFromBottom() 295 setAdapter(); in testAccessSelectedItem() 309 setAdapter(); in testAccessListPadding() [all …]
|
D | AbsSpinnerTest.java | 83 absSpinner.setAdapter(adapter); in testSetSelectionIntBoolean() 106 absSpinner.setAdapter(adapter); in testSetSelectionInt() 129 absSpinner.setAdapter(adapter); in testAccessAdapter() 164 absSpinner.setAdapter(adapter1); in testGetCount() 171 absSpinner.setAdapter(adapter2); in testGetCount() 187 absSpinner.setAdapter(adapter); in testPointToPosition() 221 absSpinner.setAdapter(adapter); in testGetSelectedView() 241 absSpinner.setAdapter(adapter); in testOnSaveAndRestoreInstanceState()
|
D | ListViewTest.java | 121 setAdapter(mAdapter_empty); in testGetMaxScrollAmount() 125 setAdapter(mAdapter_names); in testGetMaxScrollAmount() 130 private void setAdapter(final ArrayAdapter<String> adapter) { in setAdapter() method in ListViewTest 133 mListView.setAdapter(adapter); in setAdapter() 142 mListView.setAdapter(mAdapter_countries); in testAccessDividerHeight() 188 mListView.setAdapter(mAdapter_countries); in testAccessAdapter() 198 mListView.setAdapter(mAdapter_names); in testAccessAdapter() 313 mListView.setAdapter(mAdapter_countries); in testAccessFooterView() 395 mListView.setAdapter(adapter); in testHeaderFooterType() 414 mListView.setAdapter(mAdapter_countries); in testAccessDivider() [all …]
|
D | AutoCompleteTextViewTest.java | 179 autoCompleteTextView.setAdapter(adapter); in testAccessAdapter() 185 autoCompleteTextView.setAdapter(mAdapter); in testAccessAdapter() 190 autoCompleteTextView.setAdapter(adapter); in testAccessAdapter() 241 autoCompleteTextView.setAdapter(mAdapter); in testConvertSelectionToString() 389 mAutoCompleteTextView.setAdapter(mAdapter); in testOnFilterComplete() 448 mAutoCompleteTextView.setAdapter(mAdapter); in testPerformFiltering() 483 mAutoCompleteTextView.setAdapter(adapter); in testPerformFiltering() 526 mAutoCompleteTextView.setAdapter(mAdapter); in testPerformCompletion() 591 mAutoCompleteTextView.setAdapter((ArrayAdapter<String>) null); in testPerformValidation() 625 mAutoCompleteTextView.setAdapter(mAdapter); in testAccessListSelection()
|
D | GridViewTest.java | 116 mGridView.setAdapter(adapter); in testAccessAdapter() 119 mGridView.setAdapter(null); in testAccessAdapter() 145 mGridView.setAdapter(new ImageAdapter(mActivity)); in testPressKey() 191 mGridView.setAdapter(new ImageAdapter(mActivity)); in testSetGravity() 261 mGridView.setAdapter(new MockGridViewAdapter(3)); in testSetHorizontalSpacing() 297 mGridView.setAdapter(new MockGridViewAdapter(3)); in testSetVerticalSpacing() 327 mGridView.setAdapter(new ImageAdapter(mActivity)); in testAccessStretchMode() 423 mGridView.setAdapter(new MockGridViewAdapter(10)); 469 mGridView.setAdapter(new MockGridViewAdapter(10)); 516 mockGridView.setAdapter(new MockGridViewAdapter(10)); [all …]
|
D | ExpandableListWithHeaders.java | 57 setAdapter(expandableListView); in onCreate()
|
D | GalleryCtsActivity.java | 41 gallery.setAdapter(adapter); in onCreate()
|
D | AdapterViewTest.java | 174 mAdapterView.setAdapter(new ArrayAdapter<String>( in testAccessEmptyView() 196 mAdapterView.setAdapter(null); in testAccessEmptyView() 462 ((ListView) adapterView).setAdapter(new ArrayAdapter<String>( in setArrayAdapter()
|
D | GalleryTest.java | 253 gallery.setAdapter(new ImageAdapter(mActivity)); in testComputeHorizontalScrollOffset() 263 gallery.setAdapter(adapter); in testComputeHorizontalScrollRange()
|
D | SpinnerTest.java | 82 spinner.setAdapter(adapter); in testGetBaseline()
|
/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/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndActivity.java | 66 listView.setAdapter(listAdapter); 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/view/src/android/view/animation/cts/ |
D | GridLayoutAnimCtsActivity.java | 41 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 | BleServerStartActivity.java | 55 listView.setAdapter(mTestAdapter); in onCreate()
|
D | BleClientStartActivity.java | 56 listView.setAdapter(mTestAdapter); in onCreate()
|
D | BleScannerHardwareScanFilterActivity.java | 57 mScanResultListView.setAdapter(mAdapter); in onCreate()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListScenario.java | 335 setAdapter(mListView); in onCreate() 447 protected void setAdapter(ListView listView) { in setAdapter() method in ListScenario 448 listView.setAdapter(new MyAdapter()); in setAdapter()
|
D | ExpandableListScenario.java | 56 protected void setAdapter(ListView listView) { in setAdapter() method in ExpandableListScenario 57 ((ExpandableListView) listView).setAdapter(mAdapter = createAdapter()); in setAdapter()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/ |
D | UsbAccessoryTestActivity.java | 133 receivedMessages.setAdapter(mReceivedMessagesAdapter); in setupListViews() 134 sentMessages.setAdapter(mSentMessagesAdapter); in setupListViews()
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
D | Test4DetailFragment.java | 82 mViewPager.setAdapter(mSectionsPagerAdapter); in onCreateView()
|