Home
last modified time | relevance | path

Searched refs:getLayoutManager (Results 1 – 25 of 39) 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.java382 return mNestedRecyclerView.getLayoutManager(); in getEffectiveLayoutManager()
384 return super.getLayoutManager(); in getEffectiveLayoutManager()
625 layoutParams.width = super.getLayoutManager().getWidth() - startMargin - endMargin; in setNestedViewLayout()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DDefaultScrollBar.java115 getOrientationHelper(getRecyclerView().getLayoutManager()); in initialize()
366 if (mOrientationHelper == null || mOrientationHelper.getLayoutManager() != layoutManager) { in getOrientationHelper()
384 if (getRecyclerView().getLayoutManager() == null in pageUp()
392 getOrientationHelper(getRecyclerView().getLayoutManager()); in pageUp()
432 if (getRecyclerView().getLayoutManager() == null in pageDown()
438 getOrientationHelper(getRecyclerView().getLayoutManager()); in pageDown()
444 if (getRecyclerView().getLayoutManager().isViewPartiallyVisible(lastChild, in pageDown()
501 RecyclerView.LayoutManager layoutManager = getRecyclerView().getLayoutManager(); in updatePaginationButtons()
534 return mSnapHelper.isAtStart(getRecyclerView().getLayoutManager()); in isAtStart()
539 return mSnapHelper.isAtEnd(getRecyclerView().getLayoutManager()); in isAtEnd()
DCarUiSnapHelper.java85 LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in smoothScrollBy()
414 LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in calculateScrollDistance()
496 if (mVerticalHelper == null || mVerticalHelper.getLayoutManager() != layoutManager) { in getVerticalHelper()
504 if (mHorizontalHelper == null || mHorizontalHelper.getLayoutManager() != layoutManager) { in getHorizontalHelper()
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/recyclerview/
DCarUiSnapHelperTest.java68 when(mRecyclerView.getLayoutManager()).thenReturn(mLayoutManager); in calculateDistanceToFinalSnap_shouldReturnTopMarginDifference()
83 when(mRecyclerView.getLayoutManager()).thenReturn(mLayoutManager); in calculateScrollDistance_shouldScrollHeightOfView()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsRecyclerView.java117 if (getLayoutManager() instanceof AppsGridLayoutManager) { in scrollToTop()
118 AppsGridLayoutManager layoutManager = (AppsGridLayoutManager) getLayoutManager(); in scrollToTop()
345 getCurrentScrollY(position, getLayoutManager().getDecoratedTop(child)); in getCurrentScrollY()
/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.java219 if (recyclerView.getLayoutManager() instanceof GridLayoutManager) {
220 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()
DProgramGrid.java259 int itemCount = getLayoutManager().getItemCount(); in focusFind()
344 final LayoutManager mLayoutManager = getLayoutManager(); in getFirstVisibleChildIndex()
DTimelineRow.java40 getLayoutManager().scrollToPosition(0); in resetScroll()
/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()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DGridSpacingItemDecoration.java45 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.java117 : recyclerView.getLayoutManager(); in isAtEnd()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/decorations/linear/
DLinearDividerItemDecoration.java78 mOrientation = ((LinearLayoutManager) parent.getLayoutManager()).getOrientation(); in getItemOffsets()
DLinearOffsetItemDecoration.java104 mOrientation = ((LinearLayoutManager) parent.getLayoutManager()).getOrientation(); in getItemOffsets()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardsAdapter.java101 final RecyclerView.LayoutManager layoutManager = recyclerView.getLayoutManager(); in onAttachedToRecyclerView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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()

12