Home
last modified time | relevance | path

Searched refs:getLayoutManager (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppGridPageSnapper.java154 if (mVerticalHelper == null || mVerticalHelper.getLayoutManager() != layoutManager) { in getVerticalHelper()
163 if (mHorizontalHelper == null || mHorizontalHelper.getLayoutManager() != layoutManager) { in getHorizontalHelper()
212 for (int i = 0; i < mRecyclerView.getLayoutManager().getChildCount(); i++) { in getFirstMostVisibleChild()
213 View child = mRecyclerView.getLayoutManager().getChildAt(i); in getFirstMostVisibleChild()
238 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in attachToRecyclerView()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/
DRecentsUtils.java35 if (recyclerView.getLayoutManager() instanceof LinearLayoutManager) { in areItemsRightToLeft()
36 isLayoutReversed = ((LinearLayoutManager) recyclerView.getLayoutManager()) in areItemsRightToLeft()
DCarRecentsActivity.java95 if (!(mRecentsRecyclerView.getLayoutManager() instanceof GridLayoutManager)) { in onCreate()
102 mGridLayoutManager = (GridLayoutManager) mRecentsRecyclerView.getLayoutManager(); in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsGridAdapter.java86 public AppsGridLayoutManager getLayoutManager() { in getLayoutManager() method in AllAppsGridAdapter
92 AppsGridLayoutManager lm = getLayoutManager(); in getSpanIndex()
DAllAppsFastScrollHelper.java44 mRv.getLayoutManager().startSmoothScroll(new MyScroller(mTargetFastScrollPosition)); in smoothScrollToSection()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java152 int firstItemPosition = ((LinearLayoutManager) mRecyclerView.getLayoutManager()) in isScrolledToFirstConversation()
272 mListState = mRecyclerView.getLayoutManager().onSaveInstanceState(); in onPause()
291 mRecyclerView.getLayoutManager().onRestoreInstanceState(mListState); in onConversationListCursorUpdated()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserPickerItemSpacingDecoration.java45 && !(parent.getLayoutManager() instanceof GridLayoutManager)) { in getItemOffsets()
/packages/apps/TV/src/com/android/tv/guide/
DTimelineRow.java40 getLayoutManager().scrollToPosition(0); in resetScroll()
DProgramGrid.java259 int itemCount = getLayoutManager().getItemCount(); in focusFind()
344 final LayoutManager mLayoutManager = getLayoutManager(); in getFirstVisibleChildIndex()
DProgramRow.java319 getLayoutManager().scrollToPosition(0); in resetScroll()
326 ((LinearLayoutManager) getLayoutManager()).scrollToPositionWithOffset(position, offset); in resetScroll()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DAutoFitRecyclerView.java54 ((GridLayoutManager) getLayoutManager()).setSpanCount(spanCount); in onMeasure()
DAlbumsTabItemDecoration.java65 final GridLayoutManager layoutManager = (GridLayoutManager) parent.getLayoutManager(); in getItemOffsets()
DPhotosTabItemDecoration.java63 final GridLayoutManager layoutManager = (GridLayoutManager) parent.getLayoutManager(); in getItemOffsets()
/packages/apps/Settings/src/com/android/settings/dream/
DGridSpacingItemDecoration.java44 final RecyclerView.LayoutManager layoutManager = parent.getLayoutManager(); in getItemOffsets()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/
DRecentsUtilsTest.java40 when(mRecyclerView.getLayoutManager()).thenReturn(mLinearLayoutManager); in setup()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestRecyclerView.java75 public RecyclerView.LayoutManager getLayoutManager() { in getLayoutManager() method in TestRecyclerView
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DRingtonePickerFragment.java96 (LinearLayoutManager) getListView().getLayoutManager(); in onViewCreated()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsRecyclerView.java88 LinearLayoutManager layoutManager = ((LinearLayoutManager) getLayoutManager()); in scrollToPositionAtProgress()
DWidgetsListAdapter.java372 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in getOffsetForPosition()
396 LinearLayoutManager layoutManager = (LinearLayoutManager) mRecyclerView.getLayoutManager(); in scrollToPositionAndMaintainOffset()
/packages/apps/Launcher3/src/com/android/launcher3/recyclerview/
DAllAppsRecyclerViewPool.kt80 override fun getLayoutManager(): RecyclerView.LayoutManager? = null in <lambda>() method
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DGridPaddingDecorationCreativeCategory.java111 RecyclerView.LayoutManager layoutManager = parent.getLayoutManager(); in getSpanCount()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/
DUserPickerItemSpacingDecorationTest.java70 when(mMockRecyclerView.getLayoutManager()).thenReturn(mock(GridLayoutManager.class)); in setUp()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardsAdapter.java101 final RecyclerView.LayoutManager layoutManager = recyclerView.getLayoutManager(); in onAttachedToRecyclerView()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/
DChooserMultiProfilePagerAdapter.java193 GridLayoutManager glm = (GridLayoutManager) recyclerView.getLayoutManager(); in bind()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java216 .getLayoutManager()).findLastVisibleItemPosition(); in isScrolledToBottom()
627 (LinearLayoutManager) mRecyclerView.getLayoutManager(); in scrollToPosition()
652 (LinearLayoutManager) mRecyclerView.getLayoutManager(); in getScrollPositionFromBottom()
869 mRecyclerView.getLayoutManager().onRestoreInstanceState(mListState); in onConversationMessagesCursorUpdated()
997 mListState = mRecyclerView.getLayoutManager().onSaveInstanceState(); in onPause()

12