Home
last modified time | relevance | path

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

12

/cts/tests/tests/widget/src/android/widget/cts/
DExpandableListViewTest.java136 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 …]
DAutoCompleteTextViewTest.java230 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 …]
DAbsSpinnerTest.java96 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()
DAbsListViewTest.java211 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 …]
DListViewTest.java195 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 …]
DGridViewTest.java143 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 …]
DExpandableListWithHeaders.java57 setAdapter(expandableListView); in onCreate()
DSpinnerTest.java153 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()
DGalleryCtsActivity.java40 gallery.setAdapter(adapter); in onCreate()
DAdapterViewTest.java174 mAdapterView.setAdapter(new ArrayAdapter<String>( in testAccessEmptyView()
196 mAdapterView.setAdapter(null); in testAccessEmptyView()
491 adapterView.setAdapter(new ArrayAdapter<>( in setArrayAdapter()
DGalleryTest.java237 gallery.setAdapter(new ImageAdapter(mActivity)); in testComputeHorizontalScrollOffset()
248 gallery.setAdapter(adapter); in testComputeHorizontalScrollRange()
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTestFirstActivity.java45 listView.setAdapter(cheeseAdapter); in onCreate()
DUiAutomationTestSecondActivity.java44 listView.setAdapter(cheeseAdapter); 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/widget/src/android/widget/cts/util/
DListScenario.java322 setAdapter(mListView); in onCreate()
423 protected void setAdapter(ListView listView) { in setAdapter() method in ListScenario
424 listView.setAdapter(new MyAdapter()); in setAdapter()
DExpandableListScenario.java56 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/
DGridLayoutAnimCtsActivity.java40 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()
DBleEncryptedServerBaseActivity.java58 listView.setAdapter(mTestAdapter); in onCreate()
DBleScannerHardwareScanFilterActivity.java57 mScanResultListView.setAdapter(mAdapter); in onCreate()
DBleConnectionPriorityServerBaseActivity.java57 listView.setAdapter(mTestAdapter); in onCreate()
DBleConnectionPriorityClientBaseActivity.java68 listView.setAdapter(mTestAdapter); in onCreate()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/
DAccessibilityEndToEndActivity.java75 listView.setAdapter(listAdapter); in onCreate()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/
DMainFragment.java198 setAdapter(mRowsAdapter);

12