Home
last modified time | relevance | path

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

12345678910>>...14

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DCarUiListItemTest.java107 () -> mCarUiRecyclerView.setAdapter(new CarUiListItemAdapter(items))); in testItemVisibility_withTitle()
124 () -> mCarUiRecyclerView.setAdapter(new CarUiListItemAdapter(items))); in testItemVisibility_withBody()
148 () -> mCarUiRecyclerView.setAdapter(new CarUiListItemAdapter(items))); in testHeaderItemVisibility()
165 () -> mCarUiRecyclerView.setAdapter(new CarUiListItemAdapter(items))); in testItemDisabled()
180 () -> mCarUiRecyclerView.setAdapter(new CarUiListItemAdapter(items))); in testItemActivated()
194 () -> mCarUiRecyclerView.setAdapter(new CarUiListItemAdapter(items))); in testItemVisibility_withChevron()
214 () -> mCarUiRecyclerView.setAdapter(new CarUiListItemAdapter(items))); in testItemVisibility_withTitle_withBodyAndIcon()
235 () -> mCarUiRecyclerView.setAdapter(new CarUiListItemAdapter(items))); in testItem_withCheckbox()
269 () -> mCarUiRecyclerView.setAdapter(new CarUiListItemAdapter(items))); in testItem_withCheckboxListItem()
301 () -> mCarUiRecyclerView.setAdapter(new CarUiListItemAdapter(items))); in testItem_withSwitch()
[all …]
DCarUiRecyclerViewTest.java162 carUiRecyclerView.setAdapter(new TestAdapter(100)); in testIsScrollbarPresent_scrollbarEnabled()
175 carUiRecyclerView.setAdapter(new TestAdapter(100)); in testIsScrollbarPresent_scrollbarDisabled()
189 carUiRecyclerView.setAdapter(new TestAdapter(100)); in testPadding()
219 carUiRecyclerView.setAdapter(adapter); in testGridLayout()
266 carUiRecyclerView.setAdapter(adapter); in testLinearLayout()
294 carUiRecyclerView.setAdapter(adapter); in testLayoutManagerSetInXml()
328 carUiRecyclerView.setAdapter(adapter); in testSetLayoutManager_shouldUpdateItemDecorations()
353 carUiRecyclerView.setAdapter(adapter); in testVisibility_goneAtInflationWithChangeToVisible()
374 carUiRecyclerView.setAdapter(adapter); in testVisibility_invisibleAtInflationWithChangeToVisible()
393 mActivity.runOnUiThread(() -> carUiRecyclerView.setAdapter(adapter)); in testFirstItemAtTop_onInitialLoad()
[all …]
DDelegatingContentLimitingAdapterTest.java72 carUiRecyclerView.setAdapter(mContentLimitingAdapter); in setMaxItem_noScrolling_noContentLimiting()
99 carUiRecyclerView.setAdapter(mContentLimitingAdapter); in setMaxItem_noScrolling()
128 carUiRecyclerView.setAdapter(mContentLimitingAdapter); in setMaxItem_withScrolling()
148 carUiRecyclerView.setAdapter(mContentLimitingAdapter); in testChangeItem_callsObservers()
171 carUiRecyclerView.setAdapter(mContentLimitingAdapter); in testInsertItem_callsObservers()
194 carUiRecyclerView.setAdapter(mContentLimitingAdapter); in testRemoveItem_callsObservers()
217 carUiRecyclerView.setAdapter(mContentLimitingAdapter); in testMoveItem_callsObservers()
240 carUiRecyclerView.setAdapter(mContentLimitingAdapter); in testChangeDataSet_callsObservers()
DContentLimitingAdapterTest.java156 carUiRecyclerView.setAdapter(mContentLimitingAdapter); in testViewHolderText_customMessage()
174 carUiRecyclerView.setAdapter(mContentLimitingAdapter); in testViewHolderText_changeCustomMessage()
194 carUiRecyclerView.setAdapter(mContentLimitingAdapter); in testViewHolderText_defaultMessage()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DMainPanel.java157 categoryPanel.setAdapter(LOOKS); in loadCategoryLookPanel()
170 categoryPanel.setAdapter(BORDERS); in loadCategoryBorderPanel()
186 categoryPanel.setAdapter(GEOMETRY); in loadCategoryGeometryPanel()
199 categoryPanel.setAdapter(FILTERS); in loadCategoryFiltersPanel()
214 categoryPanel.setAdapter(VERSIONS); in loadCategoryVersionsPanel()
DCategoryPanel.java42 public void setAdapter(int value) { in setAdapter() method in CategoryPanel
119 panel.setAdapter(mAdapter); in onCreateView()
124 panel.setAdapter(mAdapter); in onCreateView()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DRecyclerViewAdapterV1.java80 super.setAdapter(adapter); in setRecyclerViewOEMV1()
98 public void setAdapter(RecyclerView.Adapter adapter) { in setAdapter() method in RecyclerViewAdapterV1
104 mOEMRecyclerView.setAdapter(null); in setAdapter()
107 mOEMRecyclerView.setAdapter(mOEMAdapter); in setAdapter()
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/recyclerview/
DRecyclerViewImpl.java71 public void setAdapter(AdapterOEMV1 adapterV1) { in setAdapter() method in RecyclerViewImpl
73 super.setAdapter(null); in setAdapter()
75 super.setAdapter(new AdapterWrapper(adapterV1)); in setAdapter()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimListDialogFragmentTest.java70 doNothing().when(mFragment).setAdapter(any()); in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
90 doNothing().when(mFragment).setAdapter(any()); in onSubscriptionsChanged_dialogUpdates()
107 doNothing().when(mFragment).setAdapter(any()); in onCreateDialog_twoSubscriptionsAskEveryTime_threeSubsForDisplay()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseScrollAdapterFragment.java88 public void setAdapter(ScrollAdapter adapter) { in setAdapter() method in BaseScrollAdapterFragment
91 mScrollAdapterView.setAdapter(mAdapter); in setAdapter()
128 mScrollAdapterView.setAdapter(mAdapter); in ensureList()
DScrollAdapterFragment.java59 public void setAdapter(ScrollAdapter adapter) { in setAdapter() method in ScrollAdapterFragment
60 mBase.setAdapter(adapter); in setAdapter()
/packages/apps/Car/libs/car-uxr-client-lib/src/com/android/car/uxr/
DLifeCycleObserverUxrContentLimiter.java58 public void setAdapter(ContentLimiting adapter) { in setAdapter() method in LifeCycleObserverUxrContentLimiter
59 mDelegate.setAdapter(adapter); in setAdapter()
/packages/apps/Settings/src/com/android/settings/sim/
DSimListDialogFragment.java79 setAdapter(builder); in onCreateDialog()
130 void setAdapter(AlertDialog.Builder builder) { in setAdapter() method in SimListDialogFragment
131 builder.setAdapter(mAdapter, this); in setAdapter()
/packages/apps/Gallery2/src/com/android/photos/
DMultiSelectGridFragment.java127 public void setAdapter(ListAdapter adapter) { in setAdapter() method in MultiSelectGridFragment
131 mGrid.setAdapter(adapter); in setAdapter()
311 setAdapter(adapter); in ensureGrid()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactListFragment.java49 getRecyclerView().setAdapter(mContactListAdapter); in onViewCreated()
50 getUxrContentLimiter().setAdapter(mContactListAdapter); in onViewCreated()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallHistoryFragment.java46 getRecyclerView().setAdapter(mCallLogAdapter); in onViewCreated()
47 getUxrContentLimiter().setAdapter(mCallLogAdapter); in onViewCreated()
/packages/apps/Settings/src/com/android/settings/datausage/
DSpinnerPreference.java41 public void setAdapter(CycleAdapter cycleAdapter) { in setAdapter() method in SpinnerPreference
67 spinner.setAdapter(mAdapter); in onBindViewHolder()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyTestFragment.java93 mListView.setAdapter(new PropertyListAdapter(mPropInfo, mMgr, mEventLog, mScrollView, in onCreateView()
101 mPropertyId.setAdapter(adapter); in onCreateView()
206 mAreaId.setAdapter(adapter); in onItemSelected()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/
DAlertDialogBuilder.java424 public AlertDialogBuilder setAdapter(final ListAdapter adapter, in setAdapter() method in AlertDialogBuilder
426 mBuilder.setAdapter(adapter, listener); in setAdapter()
436 public AlertDialogBuilder setAdapter(final CarUiListItemAdapter adapter) { in setAdapter() method in AlertDialogBuilder
447 mList.setAdapter(adapter); in setCustomList()
/packages/apps/Gallery2/src/com/android/photos/views/
DHeaderGridView.java178 public void setAdapter(ListAdapter adapter) { in setAdapter() method in HeaderGridView
185 super.setAdapter(hadapter); in setAdapter()
187 super.setAdapter(adapter); in setAdapter()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DGbaActivity.java159 mOrganizationSpinner.setAdapter(adapter); in initOrganization()
198 mProtocolSpinner.setAdapter(adapter); in initProtocol()
262 mUiccSpinner.setAdapter(adapter); in initUicctype()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNavigatorTest.java261 recyclerView.setAdapter(adapter); in testFindRotateTargetDoesNotSkipOffscreenNode()
342 recyclerView.setAdapter(adapter); in testFindRotateTargetReturnScrollableContainer()
410 recyclerView.setAdapter(adapter); in testFindRotateTargetSkipScrollableContainer2()
481 recyclerView.setAdapter(adapter); in testFindRotateTargetInScrollableContainer1()
546 recyclerView.setAdapter(adapter); in testFindRotateTargetInScrollableContainer2()
844 scrollable.setAdapter(adapter); in test_findNudgeTargetFocusArea_fromScrollableContainer()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DPreviewPager.java201 public void setAdapter(@Nullable PagerAdapter adapter) { in setAdapter() method in PreviewPager
204 mViewPager.setAdapter(null); in setAdapter()
213 mViewPager.setAdapter(adapter); in setAdapter()
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DLauncherActivity.java124 mDisplaySpinner.setAdapter(mDisplayAdapter); in onCreate()
131 pinnedAppGridView.setAdapter(mPinnedAppListAdapter); in onCreate()
144 appGridView.setAdapter(mAppListAdapter); in onCreate()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/
DFavoriteFragment.java96 getRecyclerView().setAdapter(mContentLimitingAdapter); in onViewCreated()
97 getUxrContentLimiter().setAdapter(mContentLimitingAdapter); in onViewCreated()

12345678910>>...14