Home
last modified time | relevance | path

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

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAbsSpinnerTest.java51 spinner.setAdapter(arrayAdapter); in checkSetAdapter()
56 spinner.setAdapter(arrayAdapter); in getSelectedItemShouldReturnCorrectValue()
73 spinner.setAdapter(new MyArrayAdapter(context, new String[]{})); in getSelectedItemShouldThrowException_EmptyArray()
79 spinner.setAdapter(arrayAdapter); in setSelectionWithAnimatedTransition()
95 spinner.setAdapter(arrayAdapter); in testGetSelectedView_noSelection()
103 spinner.setAdapter(arrayAdapter); in testGetSelectedView_default()
111 spinner.setAdapter(arrayAdapter); in testGetSelectedView_changed()
DAdapterViewBehavior.java60 adapterView.setAdapter(new CountingAdapter(2)); in testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously()
87 adapterView.setAdapter(new CountingAdapter(2)); in testSetAdapter_ShouldSelectFirstItemAsynchronously()
107 adapterView.setAdapter(adapter); in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero()
116 adapterView.setAdapter(null); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull()
126 adapterView.setAdapter(new CountingAdapter(0)); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty()
136 adapterView.setAdapter(new CountingAdapter(1)); in testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty()
147 adapterView.setAdapter(adapter); in testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem()
165 adapterView.setAdapter(adapter); in testSetEmptyView_ShouldHideAdapterViewWhenAdapterBecomesEmpty()
190 adapterView.setAdapter(adapter); in shouldOnlyUpdateOnceIfInvalidatedMultipleTimes()
DListViewTest.java53 listView.setAdapter(new CountingAdapter(1)); in testSetSelection_ShouldFireOnItemSelectedListener()
74 listView.setAdapter(new CountingAdapter(1)); in addHeaderView_ShouldThrowIfAdapterIsAlreadySet()
128 listView.setAdapter(new CountingAdapter(1)); in addFooterView_ShouldThrowIfAdapterIsAlreadySet()
246 listView.setAdapter(adapter); in clickItemContainingText_shouldPerformItemClickOnList_arrayAdapter()
298 listView.setAdapter(adapter1); in testShouldBeAbleToTurnOffAutomaticRowUpdates()
309 listView.setAdapter(adapter2); in testShouldBeAbleToTurnOffAutomaticRowUpdates()
362 listView.setAdapter(lazyAdapter); in revalidate_withALazyAdapterShouldWork()
479 listView.setAdapter(adapter); in prepareWithListAdapter()
485 listView.setAdapter(new CountingAdapter(3)); in prepareListWithThreeItems()
DViewPagerTest.java30 pager.setAdapter(adapter); in shouldSetAndGetAdapter()
DShadowAutoCompleteTextViewTest.java27 autoCompleteTextView.setAdapter(adapter); in shouldStoreAdapter()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowGridView.java15 public void setAdapter(ListAdapter adapter) { in setAdapter() method in ShadowGridView
16 super.setAdapter(adapter); in setAdapter()
DShadowAbsSpinner.java17 public void setAdapter(SpinnerAdapter adapter) { in setAdapter() method in ShadowAbsSpinner
18 super.setAdapter(adapter); in setAdapter()
DShadowListView.java82 public void setAdapter(ListAdapter adapter) { in setAdapter() method in ShadowListView
83 super.setAdapter(adapter); in setAdapter()
DShadowViewPager.java19 public void setAdapter(PagerAdapter adapter) { in setAdapter() method in ShadowViewPager
DShadowAutoCompleteTextView.java28 public <T extends ListAdapter & Filterable> void setAdapter(T adapter) { in setAdapter() method in ShadowAutoCompleteTextView
DShadowListActivity.java58 lv.setAdapter(listAdapter); in setListAdapter()
DShadowAdapterView.java38 public void setAdapter(Adapter adapter) { in setAdapter() method in ShadowAdapterView
DShadowAlertDialog.java211 getListView().setAdapter(adapter); in show()
/external/webrtc/webrtc/voice_engine/test/android/android_test/src/org/webrtc/voiceengine/test/
DAndroidTest.java205 spinnerSettings1.setAdapter(adapterSettings1); in onCreate()
214 spinnerSettings2.setAdapter(adapterCodecs); in onCreate()
218 spinnerSettings2.setAdapter(adapterAp1); in onCreate()
222 spinnerSettings2.setAdapter(adapterAp2); in onCreate()
226 spinnerSettings2.setAdapter(adapterAp3); in onCreate()
230 spinnerSettings2.setAdapter(adapterAp4); in onCreate()
245 spinnerSettings2.setAdapter(adapterSettings2); in onCreate()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DSettingsActivity.java81 mSpinnerMicSource.setAdapter(adapterMicSource); in onCreate()
93 mSpinnerPerformanceMode.setAdapter(adapterPerformanceMode); in onCreate()
106 mSpinnerSamplingRate.setAdapter(mAdapterSamplingRate); in onCreate()
121 mSpinnerAudioThreadType.setAdapter(adapter2); in onCreate()
134 mSpinnerChannelIndex.setAdapter(adapter3); in onCreate()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DBarPlotExampleActivity.java166 spRenderStyle.setAdapter(adapter); in onCreate()
180 spWidthStyle.setAdapter(adapter1); in onCreate()
201 spSeriesSize.setAdapter(adapter11); in onCreate()
DListViewActivity.java48 … lv.setAdapter(new MyViewAdapter(getApplicationContext(), R.layout.listview_example_item, null)); in onCreate()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DApiPrompt.java64 ((ListView) findViewById(R.id.list)).setAdapter(mAdapter); in onCreate()
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerActivity.java91 mDrawerList.setAdapter(mStateAdapter); in onCreate()
DStateAdapter.java153 optionSpinner.setAdapter(adapter); in populateView()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DColorsActivity.java71 mColorGrid.setAdapter(new ColorsAdapter(true)); in onCreate()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DAudioFragment.java108 modeSpinner.setAdapter(modeAdapter); in onCreateView()
DScreenResponseFragment.java130 spinner.setAdapter(modeAdapter); in onCreateView()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DConnectActivity.java202 roomListView.setAdapter(adapter); in onResume()