Home
last modified time | relevance | path

Searched refs:setAdapter (Results 1 – 25 of 26) 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 …]
DListViewTest.java118 setAdapter(mAdapter_empty); in testGetMaxScrollAmount()
122 setAdapter(mAdapter_names); in testGetMaxScrollAmount()
127 private void setAdapter(final ArrayAdapter<String> adapter) { in setAdapter() method in ListViewTest
130 mListView.setAdapter(adapter); in setAdapter()
139 mListView.setAdapter(mAdapter_countries); in testAccessDividerHeight()
185 mListView.setAdapter(mAdapter_countries); in testAccessAdapter()
195 mListView.setAdapter(mAdapter_names); in testAccessAdapter()
310 mListView.setAdapter(mAdapter_countries); in testAccessFooterView()
364 mListView.setAdapter(mAdapter_countries); in testAccessDivider()
403 mListView.setAdapter(mAdapter_countries); in testSetSelection()
[all …]
DAbsListViewTest.java128 private void setAdapter() throws Throwable { in setAdapter() method in AbsListViewTest
129 setAdapter(mAdapter_countries); in setAdapter()
132 private void setAdapter(final ListAdapter adapter) throws Throwable { in setAdapter() method in AbsListViewTest
135 mListView.setAdapter(adapter); in setAdapter()
174 setAdapter(); in testSetOnScrollListener()
197 setAdapter(mAdapter_short); in testGetFocusedRect()
222 setAdapter(); in testAccessStackFromBottom()
247 setAdapter(); in testAccessSelectedItem()
261 setAdapter(); in testAccessListPadding()
283 setAdapter(); in testAccessSelector()
[all …]
DAbsSpinnerTest.java83 absSpinner.setAdapter(adapter); in testSetSelectionIntBoolean()
106 absSpinner.setAdapter(adapter); in testSetSelectionInt()
129 absSpinner.setAdapter(adapter); in testAccessAdapter()
163 absSpinner.setAdapter(adapter1); in testGetCount()
170 absSpinner.setAdapter(adapter2); in testGetCount()
185 absSpinner.setAdapter(adapter); in testPointToPosition()
218 absSpinner.setAdapter(adapter); in testGetSelectedView()
238 absSpinner.setAdapter(adapter); in testOnSaveAndRestoreInstanceState()
DGridViewTest.java109 mGridView.setAdapter(adapter); in testAccessAdapter()
112 mGridView.setAdapter(null); in testAccessAdapter()
138 mGridView.setAdapter(new ImageAdapter(mActivity)); in testPressKey()
184 mGridView.setAdapter(new ImageAdapter(mActivity)); in testSetGravity()
240 mGridView.setAdapter(new MockGridViewAdapter(3)); in testSetHorizontalSpacing()
268 mGridView.setAdapter(new MockGridViewAdapter(3)); in testSetVerticalSpacing()
298 mGridView.setAdapter(new ImageAdapter(mActivity)); in testAccessStretchMode()
394 mGridView.setAdapter(new MockGridViewAdapter(10));
440 mGridView.setAdapter(new MockGridViewAdapter(10));
487 mockGridView.setAdapter(new MockGridViewAdapter(10));
[all …]
DAutoCompleteTextViewTest.java163 autoCompleteTextView.setAdapter(adapter); in testAccessAdapter()
169 autoCompleteTextView.setAdapter(mAdapter); in testAccessAdapter()
174 autoCompleteTextView.setAdapter(adapter); in testAccessAdapter()
224 autoCompleteTextView.setAdapter(mAdapter); in testConvertSelectionToString()
369 mAutoCompleteTextView.setAdapter(mAdapter); in testOnFilterComplete()
425 mAutoCompleteTextView.setAdapter(mAdapter); in testPerformFiltering()
460 mAutoCompleteTextView.setAdapter(adapter); in testPerformFiltering()
499 mAutoCompleteTextView.setAdapter(mAdapter); in testPerformCompletion()
564 mAutoCompleteTextView.setAdapter((ArrayAdapter<String>) null); in testPerformValidation()
598 mAutoCompleteTextView.setAdapter(mAdapter); in testAccessListSelection()
DAdapterViewTest.java173 mAdapterView.setAdapter(new ArrayAdapter<String>( in testAccessEmptyView()
195 mAdapterView.setAdapter(null); in testAccessEmptyView()
462 ((ListView) adapterView).setAdapter(new ArrayAdapter<String>( in setArrayAdapter()
DSpinnerTest.java68 spinner.setAdapter(adapter); in testGetBaseline()
DGalleryTest.java244 gallery.setAdapter(new ImageAdapter(mActivity)); in testComputeHorizontalScrollOffset()
253 gallery.setAdapter(adapter); in testComputeHorizontalScrollRange()
DMultiAutoCompleteTextViewTest.java164 multiAutoCompleteTextView.setAdapter(adapter); in testPerformFiltering()
DCheckedTextViewTest.java90 lv.setAdapter(new CheckedTextViewAdapter()); in testChecked()
/cts/tests/src/android/widget/cts/
DExpandableListWithHeaders.java57 setAdapter(expandableListView); in onCreate()
DGalleryStubActivity.java41 gallery.setAdapter(adapter); in onCreate()
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndActivity.java67 listView.setAdapter(listAdapter); in onCreate()
/cts/tests/src/android/widget/cts/util/
DListScenario.java336 setAdapter(mListView); in onCreate()
448 protected void setAdapter(ListView listView) { in setAdapter() method in ListScenario
449 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/tests/src/android/view/animation/cts/
DGridLayoutAnimStubActivity.java41 mGridView.setAdapter(new MockGridViewAdapter(GRID_NUM)); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DDevicePickerActivity.java72 pairedDevicesListView.setAdapter(mPairedDevicesAdapter); in onCreate()
80 newDevicesListView.setAdapter(mNewDevicesAdapter); in onCreate()
DMessageTestActivity.java104 mReceivedMessages.setAdapter(mReceivedMessagesAdapter); in onCreate()
108 mSentMessages.setAdapter(mSentMessagesAdapter); in onCreate()
/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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java123 mCameraSpinner.setAdapter( in onCreate()
297 mResolutionSpinner.setAdapter( in setUpCamera()
310 mFormatSpinner.setAdapter( in setUpCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/
DCameraAnalyzerActivity.java112 mTestList.setAdapter(mAdapter); in onCreate()
/cts/tests/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java329 mBuilder.setAdapter(adapter, mOnClickListener); in testSetAdapter()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java2984 listView.setAdapter(adapter); in testOnStartAndFinishTemporaryDetach()

12