Searched refs:mLayoutManager (Results 1 – 9 of 9) sorted by relevance
166 protected final GridLayoutManager mLayoutManager; field in BaseGridView183 mLayoutManager = new GridLayoutManager(this); in BaseGridView()184 setLayoutManager(mLayoutManager); in BaseGridView()200 mLayoutManager.setFocusOutAllowed(throughFront, throughEnd); in initBaseGridViewAttributes()201 mLayoutManager.setVerticalMargin( in initBaseGridViewAttributes()203 mLayoutManager.setHorizontalMargin( in initBaseGridViewAttributes()224 mLayoutManager.setFocusScrollStrategy(scrollStrategy); in setFocusScrollStrategy()237 return mLayoutManager.getFocusScrollStrategy(); in getFocusScrollStrategy()248 mLayoutManager.setWindowAlignment(windowAlignment); in setWindowAlignment()259 return mLayoutManager.getWindowAlignment(); in getWindowAlignment()[all …]
39 mLayoutManager.setOrientation(RecyclerView.VERTICAL); in VerticalGridView()66 mLayoutManager.setNumRows(numColumns); in setNumColumns()77 mLayoutManager.setRowHeight(width); in setColumnWidth()
63 mLayoutManager.setOrientation(RecyclerView.HORIZONTAL); in HorizontalGridView()93 mLayoutManager.setNumRows(numRows); in setNumRows()104 mLayoutManager.setRowHeight(height); in setRowHeight()247 if (mLayoutManager.getOpticalLeft(view) < in needsFadingLowEdge()262 if (mLayoutManager.getOpticalRight(view) > getWidth() in needsFadingHighEdge()
36 protected final RecyclerView.LayoutManager mLayoutManager; field in OrientationHelper45 mLayoutManager = layoutManager; in OrientationHelper()197 return mLayoutManager.getWidth() - mLayoutManager.getPaddingRight(); in createHorizontalHelper()202 return mLayoutManager.getWidth(); in createHorizontalHelper()207 mLayoutManager.offsetChildrenHorizontal(amount); in createHorizontalHelper()212 return mLayoutManager.getPaddingLeft(); in createHorizontalHelper()219 return mLayoutManager.getDecoratedMeasuredWidth(view) + params.leftMargin in createHorizontalHelper()227 return mLayoutManager.getDecoratedMeasuredHeight(view) + params.topMargin in createHorizontalHelper()235 return mLayoutManager.getDecoratedRight(view) + params.rightMargin; in createHorizontalHelper()242 return mLayoutManager.getDecoratedLeft(view) - params.leftMargin; in createHorizontalHelper()[all …]
7537 private LayoutManager mLayoutManager; field in RecyclerView.SmoothScroller7565 mLayoutManager = layoutManager; in start()7585 return mLayoutManager; in getLayoutManager()7605 mLayoutManager.onSmoothScrollerStopped(this); in stop()7607 mLayoutManager = null; in stop()
57 volatile WrappedLayoutManager mLayoutManager; field in StaggeredGridLayoutManagerTest84 mLayoutManager = new WrappedLayoutManager(config.mSpanCount, in setupByConfig()86 mLayoutManager.setGapStrategy(config.mGapStrategy); in setupByConfig()87 mLayoutManager.setReverseLayout(config.mReverseLayout); in setupByConfig()88 mRecyclerView.setLayoutManager(mLayoutManager); in setupByConfig()109 mLayoutManager.expectLayouts(1); in testAreAllStartsTheSame()111 mLayoutManager.waitForLayout(2); in testAreAllStartsTheSame()113 assertFalse("all starts should not be the same", mLayoutManager.areAllStartsEqual()); in testAreAllStartsTheSame()120 mLayoutManager.expectLayouts(1); in testAreAllEndsTheSame()122 mLayoutManager.waitForLayout(2); in testAreAllEndsTheSame()[all …]
59 WrappedLinearLayoutManager mLayoutManager; field in LinearLayoutManagerTest98 mLayoutManager = new WrappedLinearLayoutManager(getActivity(), config.mOrientation, in setupByConfig()100 mLayoutManager.setStackFromEnd(config.mStackFromEnd); in setupByConfig()101 mLayoutManager.setRecycleChildrenOnDetach(config.mRecycleChildrenOnDetach); in setupByConfig()102 mRecyclerView.setLayoutManager(mLayoutManager); in setupByConfig()110 int center = (mLayoutManager.findLastVisibleItemPosition() in testKeepFocusOnRelayout()111 - mLayoutManager.findFirstVisibleItemPosition()) / 2; in testKeepFocusOnRelayout()113 final int top = mLayoutManager.mOrientationHelper.getDecoratedStart(vh.itemView); in testKeepFocusOnRelayout()122 mLayoutManager.expectLayouts(2); in testKeepFocusOnRelayout()126 mLayoutManager.waitForLayout(2); in testKeepFocusOnRelayout()[all …]
42 AnimationLayoutManager mLayoutManager; field in RecyclerViewAnimationsTest75 mLayoutManager = new AnimationLayoutManager(); in setupBasic()76 recyclerView.setLayoutManager(mLayoutManager); in setupBasic()77 mLayoutManager.mOnLayoutCallbacks.mLayoutMin = firstLayoutStartIndex; in setupBasic()78 mLayoutManager.mOnLayoutCallbacks.mLayoutItemCount = firstLayoutItemCount; in setupBasic()80 mLayoutManager.expectLayouts(1); in setupBasic()83 mLayoutManager.waitForLayout(2); in setupBasic()85 mLayoutManager.mOnLayoutCallbacks.reset(); in setupBasic()87 assertEquals("extra layouts should not happen", 1, mLayoutManager.getTotalLayoutCount()); in setupBasic()89 mLayoutManager.getChildCount()); in setupBasic()[all …]
113 private RecyclerView.LayoutManager mLayoutManager;126 mLayoutManager = new LinearLayoutManager(this);127 mRecyclerView.setLayoutManager(mLayoutManager);