Home
last modified time | relevance | path

Searched refs:setAdapter (Results 1 – 25 of 34) sorted by relevance

12

/cts/tests/tests/widget/src/android/widget/cts/
DExpandableListViewTest.java85 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 …]
DAbsListViewTest.java135 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 …]
DAbsSpinnerTest.java83 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()
DListViewTest.java121 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 …]
DAutoCompleteTextViewTest.java179 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()
DGridViewTest.java116 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 …]
DExpandableListWithHeaders.java57 setAdapter(expandableListView); in onCreate()
DGalleryCtsActivity.java41 gallery.setAdapter(adapter); in onCreate()
DAdapterViewTest.java174 mAdapterView.setAdapter(new ArrayAdapter<String>( in testAccessEmptyView()
196 mAdapterView.setAdapter(null); in testAccessEmptyView()
462 ((ListView) adapterView).setAdapter(new ArrayAdapter<String>( in setArrayAdapter()
DGalleryTest.java253 gallery.setAdapter(new ImageAdapter(mActivity)); in testComputeHorizontalScrollOffset()
263 gallery.setAdapter(adapter); in testComputeHorizontalScrollRange()
DSpinnerTest.java82 spinner.setAdapter(adapter); in testGetBaseline()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTestFirstActivity.java45 listView.setAdapter(cheeseAdapter); in onCreate()
DUiAutomationTestSecondActivity.java44 listView.setAdapter(cheeseAdapter); in onCreate()
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndActivity.java66 listView.setAdapter(listAdapter); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/list/
DListPresentation.java58 listView.setAdapter(new ArrayAdapter<String>(getContext(), in onCreate()
/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimCtsActivity.java41 mGridView.setAdapter(new MockGridViewAdapter(GRID_NUM)); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DDevicePickerActivity.java75 pairedDevicesListView.setAdapter(mPairedDevicesAdapter); in onCreate()
83 newDevicesListView.setAdapter(mNewDevicesAdapter); in onCreate()
DMessageTestActivity.java107 mReceivedMessages.setAdapter(mReceivedMessagesAdapter); in onCreate()
111 mSentMessages.setAdapter(mSentMessagesAdapter); in onCreate()
DBleServerStartActivity.java55 listView.setAdapter(mTestAdapter); in onCreate()
DBleClientStartActivity.java56 listView.setAdapter(mTestAdapter); in onCreate()
DBleScannerHardwareScanFilterActivity.java57 mScanResultListView.setAdapter(mAdapter); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/util/
DListScenario.java335 setAdapter(mListView); in onCreate()
447 protected void setAdapter(ListView listView) { in setAdapter() method in ListScenario
448 listView.setAdapter(new MyAdapter()); in setAdapter()
DExpandableListScenario.java56 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/
DUsbAccessoryTestActivity.java133 receivedMessages.setAdapter(mReceivedMessagesAdapter); in setupListViews()
134 sentMessages.setAdapter(mSentMessagesAdapter); in setupListViews()
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/
DTest4DetailFragment.java82 mViewPager.setAdapter(mSectionsPagerAdapter); in onCreateView()

12