Home
last modified time | relevance | path

Searched refs:getRecyclerView (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DGuidedActionAdapter.java115 if (v != null && v.getWindowToken() != null && getRecyclerView() != null) {
117 getRecyclerView().getChildViewHolder(v);
294 RecyclerView getRecyclerView() { in getRecyclerView() method in GuidedActionAdapter
364 if (mSelectedView != null && getRecyclerView() != null) { in unFocus()
365 ViewHolder vh = getRecyclerView().getChildViewHolder(mSelectedView); in unFocus()
378 if (getRecyclerView() == null) { in onFocusChange()
382 getRecyclerView().getChildViewHolder(v); in onFocusChange()
402 if (getRecyclerView() == null) { in findSubChildViewHolder()
407 while (parent != getRecyclerView() && parent != null && v != null) { in findSubChildViewHolder()
412 result = (GuidedActionsStylist.ViewHolder)getRecyclerView().getChildViewHolder(v); in findSubChildViewHolder()
[all …]
DRecyclerViewParallax.java250 public RecyclerView getRecyclerView() { in getRecyclerView() method in RecyclerViewParallax
/frameworks/support/car/src/androidTest/java/androidx/car/widget/
DPagedListViewTest.java116 (ViewGroup.MarginLayoutParams) mPagedListView.getRecyclerView().getLayoutParams(); in setUp()
118 (LinearLayoutManager) mPagedListView.getRecyclerView().getLayoutManager(); in setUp()
525 mPagedListView.getRecyclerView().setLayoutManager( in testTopOffsetInGridLayoutManager()
535 assertThat(mPagedListView.getRecyclerView().getChildAt(i).getTop(), in testTopOffsetInGridLayoutManager()
539 assertThat(mPagedListView.getRecyclerView().getChildAt(i + SPAN_COUNT).getTop(), in testTopOffsetInGridLayoutManager()
540 is(equalTo(mPagedListView.getRecyclerView().getChildAt(i).getBottom()))); in testTopOffsetInGridLayoutManager()
570 mPagedListView.getRecyclerView().getLayoutManager()); in testPageDownScrollsOverLongItem()
578 mActivityRule.runOnUiThread(() -> mPagedListView.getRecyclerView().scrollBy(0, in testPageDownScrollsOverLongItem()
579 mPagedListView.getRecyclerView().getChildAt(0).getHeight())); in testPageDownScrollsOverLongItem()
584 is(greaterThan(mPagedListView.getRecyclerView().getTop()))); in testPageDownScrollsOverLongItem()
[all …]
DPagedListViewSavedStateTest.java128 (LinearLayoutManager) mPagedListView1.getRecyclerView().getLayoutManager(); in testPagePositionRememberedOnRotation()
130 (LinearLayoutManager) mPagedListView2.getRecyclerView().getLayoutManager(); in testPagePositionRememberedOnRotation()
243 pagedListView1.getRecyclerView().addOnScrollListener(mOnScrollListener); in PagedListViewScrollingIdlingResource()
244 pagedListView2.getRecyclerView().addOnScrollListener(mOnScrollListener); in PagedListViewScrollingIdlingResource()
DDividerVisibilityManagerTest.java104 mPagedListView.getRecyclerView().getLayoutManager(); in setCustomDividerVisibilityManager()
201 int upper = mPagedListView.getRecyclerView().getLayoutManager() in testSettingItemDividersHidden()
203 int lower = mPagedListView.getRecyclerView().getLayoutManager() in testSettingItemDividersHidden()
DSubheaderListItemTest.java86 return (SubheaderListItem.ViewHolder) mPagedListView.getRecyclerView() in getViewHolderAtPosition()
91 return (TextListItem.ViewHolder) mPagedListView.getRecyclerView() in getTextViewHolderAtPosition()
DSeekbarListItemTest.java91 verifyViewDefaultVisibility(mPagedListView.getRecyclerView().getLayoutManager() in testOnlySliderIsVisibleInEmptyItem()
384 return (SeekbarListItem.ViewHolder) mPagedListView.getRecyclerView() in getViewHolderAtPosition()
DTextListItemTest.java136 return (TextListItem.ViewHolder) mPagedListView.getRecyclerView() in getViewHolderAtPosition()
145 verifyViewIsHidden(mPagedListView.getRecyclerView().getLayoutManager().getChildAt(0)); in testEmptyItemHidesAllViews()
371 (LinearLayoutManager) mPagedListView.getRecyclerView().getLayoutManager(); in testItemWithOnlyTitleIsSingleLine()
401 (LinearLayoutManager) mPagedListView.getRecyclerView().getLayoutManager(); in testItemWithBodyTextIsAtLeastDoubleLine()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
DSetupWizardRecyclerLayout.java72 new RecyclerViewScrollHandlingDelegate(requireScrollMixin, getRecyclerView())); in init()
98 public RecyclerView getRecyclerView() { in getRecyclerView() method in SetupWizardRecyclerLayout
99 return mRecyclerMixin.getRecyclerView(); in getRecyclerView()
DGlifRecyclerLayout.java73 new RecyclerViewScrollHandlingDelegate(requireScrollMixin, getRecyclerView())); in init()
133 public RecyclerView getRecyclerView() { in getRecyclerView() method in GlifRecyclerLayout
134 return mRecyclerMixin.getRecyclerView(); in getRecyclerView()
DSetupWizardPreferenceLayout.java95 return mRecyclerMixin.getRecyclerView(); in onCreateRecyclerView()
DGlifPreferenceLayout.java97 return mRecyclerMixin.getRecyclerView(); in onCreateRecyclerView()
/frameworks/support/car/src/main/java/androidx/car/drawer/
DCarDrawerController.java187 mDrawerList.getRecyclerView().smoothScrollToPosition(position); in scrollToPosition()
258 mDrawerList.getRecyclerView().setAdapter(adapter); in setDisplayAdapter()
314 RecyclerView recyclerView = mDrawerList.getRecyclerView(); in runLayoutAnimation()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifPreferenceLayoutTest.java64 assertNotNull("getRecyclerView should not be null", layout.getRecyclerView()); in testGetRecyclerView()
DSetupWizardPreferenceLayoutTest.java64 assertNotNull("getRecyclerView should not be null", layout.getRecyclerView()); in testGetRecyclerView()
DGlifRecyclerLayoutTest.java76 assertNotNull("getRecyclerView should not be null", layout.getRecyclerView()); in testGetRecyclerView()
DSetupWizardRecyclerLayoutTest.java77 assertNotNull("getRecyclerView should not be null", layout.getRecyclerView()); in testGetRecyclerView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DFullscreenUserSwitcher.java53 mUserGridView.getRecyclerView().setLayoutManager(layoutManager); in FullscreenUserSwitcher()
/frameworks/support/car/src/main/java/androidx/car/app/
DCarListDialog.java227 mList.getRecyclerView().addOnScrollListener(new RecyclerView.OnScrollListener() { in initializeList()
360 RecyclerView recyclerView = mList.getRecyclerView(); in updateScrollbar()
/frameworks/support/car/src/androidTest/java/androidx/car/drawer/
DCarDrawerTest.java98 return (DrawerItemViewHolder) mDrawerList.getRecyclerView() in getViewHolderAtPositionInDrawer()
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DDetailsBackgroundVideoHelper.java160 mDetailsParallax.getRecyclerView().postDelayed(new Runnable() { in internalStartPlayback()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/template/
DRecyclerMixin.java139 public RecyclerView getRecyclerView() { in getRecyclerView() method in RecyclerMixin
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/template/
DRecyclerMixinTest.java77 assertSame(mRecyclerView, mixin.getRecyclerView()); in testGetRecyclerView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/car/
DCarQSFragment.java78 mUserGridView.getRecyclerView().setLayoutManager(layoutManager); in onViewCreated()
/frameworks/support/car/src/main/java/androidx/car/widget/
DPagedListView.java514 public RecyclerView getRecyclerView() { in getRecyclerView() method in PagedListView

12