Home
last modified time | relevance | path

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

123

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DAdapterViewBehavior.java53 adapterView.setAdapter(new ShadowCountingAdapter(2)); in testSetAdapter_shouldCauseViewsToBeRenderedAsynchronously()
66 adapterView.setAdapter(null); in testSetEmptyView_shouldHideAdapterViewIfAdapterIsNull()
77 adapterView.setAdapter(new ShadowCountingAdapter(0)); in testSetEmptyView_shouldHideAdapterViewIfAdapterViewIsEmpty()
88 adapterView.setAdapter(new ShadowCountingAdapter(1)); in testSetEmptyView_shouldHideEmptyViewIfAdapterViewIsNotEmpty()
100 adapterView.setAdapter(adapter); in testSetEmptyView_shouldHideEmptyViewWhenAdapterGetsNewItem()
119 adapterView.setAdapter(adapter); in testSetEmptyView_shouldHideAdapterViewWhenAdapterBecomesEmpty()
DShadowAbsSpinnerTest.java43 spinner.setAdapter(arrayAdapter); in checkSetAdapter()
48 spinner.setAdapter(arrayAdapter); in getSelectedItemShouldReturnCorrectValue()
65 spinner.setAdapter(arrayAdapter); in setSelectionWithAnimatedTransition()
92 spinner.setAdapter(arrayAdapter); in useRealSelection_doesNotCauseInfiniteLoop()
116 spinner.setAdapter(arrayAdapter); in useRealSelection_callbackCalledOnce()
DShadowListViewTest.java61 listView.setAdapter(new ShadowCountingAdapter(2)); in addHeaderView_ShouldRecordHeaders()
90 listView.setAdapter(new ShadowCountingAdapter(3)); in addFooterView_ShouldRecordFooters()
181 listView.setAdapter(adapter); in clickItemContainingText_shouldPerformItemClickOnList_arrayAdapter()
340 listView.setAdapter(adapter); in prepareWithListAdapter()
346 listView.setAdapter(new ShadowCountingAdapter(3)); in prepareListWithThreeItems()
DShadowAutoCompleteTextViewTest.java29 view.setAdapter(adapter); in shouldInvokeFilter()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DAdapterViewBehavior.java52 adapterView.setAdapter(new ShadowCountingAdapter(2)); in testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously()
64 adapterView.setAdapter(null); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull()
74 adapterView.setAdapter(new ShadowCountingAdapter(0)); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty()
84 adapterView.setAdapter(new ShadowCountingAdapter(1)); in testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty()
95 adapterView.setAdapter(adapter); in testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem()
113 adapterView.setAdapter(adapter); in testSetEmptyView_ShouldHideAdapterViewWhenAdapterBecomesEmpty()
DShadowAbsSpinnerTest.java35 spinner.setAdapter(arrayAdapter); in checkSetAdapter()
40 spinner.setAdapter(arrayAdapter); in getSelectedItemShouldReturnCorrectValue()
57 spinner.setAdapter(arrayAdapter); in setSelectionWithAnimatedTransition()
DShadowListViewTest.java61 listView.setAdapter(new ShadowCountingAdapter(2)); in addHeaderView_ShouldRecordHeaders()
90 listView.setAdapter(new ShadowCountingAdapter(3)); in addFooterView_ShouldRecordFooters()
188 listView.setAdapter(adapter); in clickItemContainingText_shouldPerformItemClickOnList_arrayAdapter()
350 listView.setAdapter(adapter); in prepareWithListAdapter()
356 listView.setAdapter(new ShadowCountingAdapter(3)); in prepareListWithThreeItems()
DShadowAutoCompleteTextViewTest.java30 view.setAdapter(adapter); in shouldInvokeFilter()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/
DLogTest.java36 void setAdapter() { in setAdapter() method in LogTest
37 Log.setAdapter(testAdapter); in setAdapter()
42 Log.setAdapter(new Log.SilentAdapter()); in resetAdapter()
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DShadowViewPagerTest.java34 pager.setAdapter(adapter); in shouldSetAndGetAdapter()
40 pager.setAdapter(adapter); in test_getAndSetCurrentItem()
47 pager.setAdapter(adapter); in setCurrentItem_shouldInvokeListener()
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DListMixin.java67 setAdapter(new ItemAdapter(inflated)); in ListMixin()
169 public void setAdapter(ListAdapter adapter) { in setAdapter() method in ListMixin
172 listView.setAdapter(adapter); in setAdapter()
DRecyclerMixin.java151 setAdapter(adapter); in parseAttributes()
239 public void setAdapter(Adapter<? extends ViewHolder> adapter) { in setAdapter() method in RecyclerMixin
240 recyclerView.setAdapter(adapter); in setAdapter()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/manual/
DBulkParseTest.java37 Log.setAdapter(new Log.StandardOutStandardErrorAdapter()); in main()
65 Log.setAdapter(new Log.StandardOutStandardErrorAdapter()); in startLogging()
70 Log.setAdapter(new Log.SilentAdapter()); in stopLogging()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowRangingSession.java39 shadow.setAdapter(adapter); in newInstance()
99 private void setAdapter(Adapter adapter) { in setAdapter() method in ShadowRangingSession
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/demos/transformer/src/main/java/com/google/android/exoplayer2/transformerdemo/
DConfigurationActivity.java143 audioMimeSpinner.setAdapter(audioMimeAdapter); in onCreate()
151 videoMimeSpinner.setAdapter(videoMimeAdapter); in onCreate()
162 resolutionHeightSpinner.setAdapter(resolutionHeightAdapter); in onCreate()
170 scaleSpinner.setAdapter(scaleAdapter); in onCreate()
177 rotateSpinner.setAdapter(rotateAdapter); in onCreate()
/external/setupdesign/main/src/com/google/android/setupdesign/
DSetupWizardListLayout.java100 public void setAdapter(ListAdapter adapter) { in setAdapter() method in SetupWizardListLayout
101 listMixin.setAdapter(adapter); in setAdapter()
DGlifListLayout.java114 public void setAdapter(ListAdapter adapter) { in setAdapter() method in GlifListLayout
115 listMixin.setAdapter(adapter); in setAdapter()
DSetupWizardRecyclerLayout.java87 public void setAdapter(Adapter<? extends ViewHolder> adapter) { in setAdapter() method in SetupWizardRecyclerLayout
88 recyclerMixin.setAdapter(adapter); in setAdapter()
DGlifRecyclerLayout.java147 public void setAdapter(Adapter<? extends ViewHolder> adapter) { in setAdapter() method in GlifRecyclerLayout
148 recyclerMixin.setAdapter(adapter); in setAdapter()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/viewpager/
DViewPagerActivity.java38 horizontalPager.setAdapter(new ScreenSlidePagerAdapter(getSupportFragmentManager())); in onCreate()
40 verticalPager.setAdapter(new ScreenSlidePagerAdapter(getSupportFragmentManager())); in onCreate()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DMainActivity.java114 mediaQueueList.setAdapter(mediaQueueListAdapter); in onResume()
125 mediaQueueList.setAdapter(null); in onPause()
178 sampleList.setAdapter(new SampleListAdapter(this)); in buildSampleListView()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DMainActivity.java114 mediaQueueList.setAdapter(mediaQueueListAdapter); in onResume()
125 mediaQueueList.setAdapter(null); in onPause()
178 sampleList.setAdapter(new SampleListAdapter(this)); in buildSampleListView()
/external/oboe/samples/hello-oboe/src/main/java/com/google/oboe/samples/hellooboe/
DMainActivity.java205 mChannelCountSpinner.setAdapter(channelCountAdapter); in setupChannelCountSpinner()
222 mBufferSizeSpinner.setAdapter(new SimpleAdapter( in setupBufferSizeSpinner()
282 mAudioApiSpinner.setAdapter(new SimpleAdapter( in setupAudioApiSpinner()
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DHeaderRecyclerView.java373 public void setAdapter(Adapter adapter) { in setAdapter() method in HeaderRecyclerView
379 super.setAdapter(adapter); in setAdapter()
/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()

123