Searched refs:layoutManager (Results 1 – 9 of 9) sorted by relevance
302 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); in calculateDyToMakeVisible() local303 if (layoutManager == null || !layoutManager.canScrollVertically()) { in calculateDyToMakeVisible()308 final int top = layoutManager.getDecoratedTop(view) - params.topMargin; in calculateDyToMakeVisible()309 final int bottom = layoutManager.getDecoratedBottom(view) + params.bottomMargin; in calculateDyToMakeVisible()310 final int start = layoutManager.getPaddingTop(); in calculateDyToMakeVisible()311 final int end = layoutManager.getHeight() - layoutManager.getPaddingBottom(); in calculateDyToMakeVisible()327 final RecyclerView.LayoutManager layoutManager = getLayoutManager(); in calculateDxToMakeVisible() local328 if (layoutManager == null || !layoutManager.canScrollHorizontally()) { in calculateDxToMakeVisible()333 final int left = layoutManager.getDecoratedLeft(view) - params.leftMargin; in calculateDxToMakeVisible()334 final int right = layoutManager.getDecoratedRight(view) + params.rightMargin; in calculateDxToMakeVisible()[all …]
47 private OrientationHelper(RecyclerView.LayoutManager layoutManager) { in OrientationHelper() argument48 mLayoutManager = layoutManager; in OrientationHelper()233 RecyclerView.LayoutManager layoutManager, int orientation) { in createOrientationHelper() argument236 return createHorizontalHelper(layoutManager); in createOrientationHelper()238 return createVerticalHelper(layoutManager); in createOrientationHelper()250 RecyclerView.LayoutManager layoutManager) { in createHorizontalHelper() argument251 return new OrientationHelper(layoutManager) { in createHorizontalHelper()348 public static OrientationHelper createVerticalHelper(RecyclerView.LayoutManager layoutManager) {349 return new OrientationHelper(layoutManager) {
10631 void start(RecyclerView recyclerView, LayoutManager layoutManager) { in start() argument10633 mLayoutManager = layoutManager; in start()
34 RecyclerView.LayoutManager layoutManager; field in RvCompatListActivity.RecyclerViewFragment43 recyclerView.setLayoutManager(layoutManager); in onCreateView()56 fragment.layoutManager = createLayoutManager(this); in onCreate()
87 Object layoutManager = in setLayoutManager() local89 if (layoutManager != null) { in setLayoutManager()90 setProperty(recyclerView, layoutMgrClassName, layoutManager, "setLayoutManager"); in setLayoutManager()
363 LayoutManager layoutManager = mRecyclerView.getLayoutManager(); in computeShownPages() local365 View firstChild = layoutManager.getChildAt(0); in computeShownPages()368 View lastChild = layoutManager.getChildAt(layoutManager.getChildCount() - 1); in computeShownPages()
79 GridLayoutManager layoutManager = new GridLayoutManager(context, in FullscreenUserSwitcher() local81 mUserGridView.setLayoutManager(layoutManager); in FullscreenUserSwitcher()
80 GridLayoutManager layoutManager = new GridLayoutManager(context, in onViewCreated() local82 mUserGridView.setLayoutManager(layoutManager); in onViewCreated()
1892 final RecyclerView.LayoutManager layoutManager = recyclerView.getLayoutManager(); in onMoved() local1893 if (layoutManager instanceof ViewDropHandler) { in onMoved()1894 ((ViewDropHandler) layoutManager).prepareForDrop(viewHolder.itemView, in onMoved()1900 if (layoutManager.canScrollHorizontally()) { in onMoved()1901 final int minLeft = layoutManager.getDecoratedLeft(target.itemView); in onMoved()1905 final int maxRight = layoutManager.getDecoratedRight(target.itemView); in onMoved()1911 if (layoutManager.canScrollVertically()) { in onMoved()1912 final int minTop = layoutManager.getDecoratedTop(target.itemView); in onMoved()1916 final int maxBottom = layoutManager.getDecoratedBottom(target.itemView); in onMoved()