Home
last modified time | relevance | path

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

12

/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DCarScrollBar.java143 getOrientationHelper(getRecyclerView().getLayoutManager()); in initialize()
455 RecyclerView.LayoutManager layoutManager = getRecyclerView().getLayoutManager(); in updateRowsPerPage()
527 if (mOrientationHelper == null || mOrientationHelper.getLayoutManager() != layoutManager) { in getOrientationHelper()
544 if (getRecyclerView().getLayoutManager() == null in pageUp()
551 getOrientationHelper(getRecyclerView().getLayoutManager()); in pageUp()
592 if (getRecyclerView().getLayoutManager() == null in pageDown()
598 getOrientationHelper(getRecyclerView().getLayoutManager()); in pageDown()
604 if (getRecyclerView().getLayoutManager().isViewPartiallyVisible(lastChild, in pageDown()
656 RecyclerView.LayoutManager layoutManager = getRecyclerView().getLayoutManager(); in updatePaginationButtons()
687 return mSnapHelper.isAtStart(getRecyclerView().getLayoutManager()); in isAtStart()
[all …]
DPagedSnapHelper.java207 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in calculateScrollDistance()
286 if (mVerticalHelper == null || mVerticalHelper.getLayoutManager() != layoutManager) { in getVerticalHelper()
295 if (mHorizontalHelper == null || mHorizontalHelper.getLayoutManager() != layoutManager) { in getHorizontalHelper()
DPagedRecyclerView.java388 return mNestedRecyclerView.getLayoutManager(); in getEffectiveLayoutManager()
390 return super.getLayoutManager(); in getEffectiveLayoutManager()
629 layoutParams.width = super.getLayoutManager().getWidth() - startMargin - endMargin; in setNestedViewLayout()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsRecyclerView.java89 LinearLayoutManager layoutManager = ((LinearLayoutManager) getLayoutManager()); in scrollToPositionAtProgress()
126 int offset = getLayoutManager().getDecoratedTop(child); in getCurrentScrollY()
/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/Media/src/com/android/car/media/browse/
DBrowseAdapter.java207 if (recyclerView.getLayoutManager() instanceof GridLayoutManager) {
208 GridLayoutManager manager = (GridLayoutManager) recyclerView.getLayoutManager();
/packages/apps/TV/src/com/android/tv/guide/
DProgramRow.java319 getLayoutManager().scrollToPosition(0); in resetScroll()
326 ((LinearLayoutManager) getLayoutManager()).scrollToPositionWithOffset(position, offset); in resetScroll()
DTimelineRow.java40 getLayoutManager().scrollToPosition(0); in resetScroll()
DProgramGrid.java333 final LayoutManager mLayoutManager = getLayoutManager(); in getFirstVisibleChildIndex()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java214 .getLayoutManager()).findLastVisibleItemPosition(); in isScrolledToBottom()
624 (LinearLayoutManager) mRecyclerView.getLayoutManager(); in scrollToPosition()
649 (LinearLayoutManager) mRecyclerView.getLayoutManager(); in getScrollPositionFromBottom()
859 mRecyclerView.getLayoutManager().onRestoreInstanceState(mListState); in onConversationMessagesCursorUpdated()
987 mListState = mRecyclerView.getLayoutManager().onSaveInstanceState(); in onPause()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DGridSpacingItemDecoration.java51 GridLayoutManager layoutManager = (GridLayoutManager) parent.getLayoutManager(); in getItemOffsets()
/packages/apps/PermissionController/src/android/support/wearable/view/
DWearableListView.java593 LayoutManager layoutManager = (LayoutManager) getLayoutManager(); in smoothScrollToPosition()
796 LayoutManager layoutManager = (LayoutManager) getLayoutManager(); in notifyChildrenAboutProximity()
850 final View child = getLayoutManager().getChildAt(i); in findCenterViewIndex()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestRecyclerView.java75 public RecyclerView.LayoutManager getLayoutManager() { in getLayoutManager() method in TestRecyclerView
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/
DVerticalListDividerDecoration.java76 if (parent.getLayoutManager() == null || mDivider == null) { in onDrawOver()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DMasterClearFragment.java107 : recyclerView.getLayoutManager(); in isAtEnd()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardsAdapter.java101 final RecyclerView.LayoutManager layoutManager = recyclerView.getLayoutManager(); in onAttachedToRecyclerView()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardsAdapter.java101 final RecyclerView.LayoutManager layoutManager = recyclerView.getLayoutManager(); in onAttachedToRecyclerView()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DSeriesFragment.java64 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView()
DGenreFragment.java62 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView()
DArtistFragment.java64 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView()
DAlbumFragment.java63 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView()
DMovieFragment.java65 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView()
DOtherFragment.java69 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView()
DPlaylistFragment.java70 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserGridRecyclerView.java451 && !(parent.getLayoutManager() instanceof GridLayoutManager)) { in getItemOffsets()

12