HomeSort by relevance Sort by last modified time
    Searched refs:mLayoutManager (Results 1 - 16 of 16) sorted by null

  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
BaseGridView.java 158 protected final GridLayoutManager mLayoutManager;
175 mLayoutManager = new GridLayoutManager(this);
176 setLayoutManager(mLayoutManager);
188 mLayoutManager.setFocusOutAllowed(throughFront, throughEnd);
189 mLayoutManager.setVerticalMargin(
191 mLayoutManager.setHorizontalMargin(
212 mLayoutManager.setFocusScrollStrategy(scrollStrategy);
225 return mLayoutManager.getFocusScrollStrategy();
236 mLayoutManager.setWindowAlignment(windowAlignment);
247 return mLayoutManager.getWindowAlignment()
    [all...]
VerticalGridView.java 39 mLayoutManager.setOrientation(RecyclerView.VERTICAL);
66 mLayoutManager.setNumRows(numColumns);
77 mLayoutManager.setRowHeight(width);
HorizontalGridView.java 63 mLayoutManager.setOrientation(RecyclerView.HORIZONTAL);
93 mLayoutManager.setNumRows(numRows);
104 mLayoutManager.setRowHeight(height);
247 if (mLayoutManager.getOpticalLeft(view) <
262 if (mLayoutManager.getOpticalRight(view) > getWidth()
  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
OrientationHelper.java 36 protected final RecyclerView.LayoutManager mLayoutManager;
45 mLayoutManager = layoutManager;
197 return mLayoutManager.getWidth() - mLayoutManager.getPaddingRight();
202 return mLayoutManager.getWidth();
207 mLayoutManager.offsetChildrenHorizontal(amount);
212 return mLayoutManager.getPaddingLeft();
219 return mLayoutManager.getDecoratedMeasuredWidth(view) + params.leftMargin
227 return mLayoutManager.getDecoratedMeasuredHeight(view) + params.topMargin
235 return mLayoutManager.getDecoratedRight(view) + params.rightMargin
    [all...]
RecyclerView.java     [all...]
  /development/samples/Support7Demos/src/com/example/android/supportv7/widget/
LinearLayoutManagerActivity.java 39 mDividerItemDecoration = new DividerItemDecoration(this, mLayoutManager.getOrientation());
49 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL;
54 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
57 mDividerItemDecoration.setOrientation(mLayoutManager.getOrientation());
65 return mLayoutManager.getReverseLayout();
70 mLayoutManager.setReverseLayout(newValue);
89 return mLayoutManager.getStackFromEnd();
94 mLayoutManager.setStackFromEnd(newValue);
GridLayoutManagerActivity.java 46 return 1 + (Math.abs(item.hashCode()) % mLayoutManager.getSpanCount());
56 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL;
61 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
68 return mLayoutManager.getReverseLayout();
73 mLayoutManager.setReverseLayout(newValue);
92 return mLayoutManager.getStackFromEnd();
97 mLayoutManager.setStackFromEnd(newValue);
108 mLayoutManager.scrollToPositionWithOffset(position, offset);
BaseLayoutManagerActivity.java 46 protected T mLayoutManager;
66 mLayoutManager = createLayoutManager();
67 mRecyclerView.setLayoutManager(mLayoutManager);
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
StaggeredGridLayoutManagerTest.java 55 volatile WrappedLayoutManager mLayoutManager;
82 mLayoutManager = new WrappedLayoutManager(config.mSpanCount,
84 mLayoutManager.setGapStrategy(config.mGapStrategy);
85 mLayoutManager.setReverseLayout(config.mReverseLayout);
86 mRecyclerView.setLayoutManager(mLayoutManager);
106 mLayoutManager.expectLayouts(1);
107 mLayoutManager.setFakeRtl(true);
108 mLayoutManager.waitForLayout(2);
110 mLayoutManager.mFakeRTL = true;
114 assertEquals("view should become rtl", true, mLayoutManager.isLayoutRTL())
    [all...]
LinearLayoutManagerTest.java 59 WrappedLinearLayoutManager mLayoutManager;
98 mLayoutManager = new WrappedLinearLayoutManager(getActivity(), config.mOrientation,
100 mLayoutManager.setStackFromEnd(config.mStackFromEnd);
101 mLayoutManager.setRecycleChildrenOnDetach(config.mRecycleChildrenOnDetach);
102 mRecyclerView.setLayoutManager(mLayoutManager);
110 int center = (mLayoutManager.findLastVisibleItemPosition()
111 - mLayoutManager.findFirstVisibleItemPosition()) / 2;
113 final int top = mLayoutManager.mOrientationHelper.getDecoratedStart(vh.itemView);
122 mLayoutManager.expectLayouts(2);
126 mLayoutManager.waitForLayout(2)
    [all...]
RecyclerViewAnimationsTest.java 43 AnimationLayoutManager mLayoutManager;
76 mLayoutManager = new AnimationLayoutManager();
77 recyclerView.setLayoutManager(mLayoutManager);
78 mLayoutManager.mOnLayoutCallbacks.mLayoutMin = firstLayoutStartIndex;
79 mLayoutManager.mOnLayoutCallbacks.mLayoutItemCount = firstLayoutItemCount;
81 mLayoutManager.expectLayouts(1);
84 mLayoutManager.waitForLayout(2);
86 mLayoutManager.mOnLayoutCallbacks.reset();
88 assertEquals("extra layouts should not happen", 1, mLayoutManager.getTotalLayoutCount());
90 mLayoutManager.getChildCount())
    [all...]
  /developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
RecyclerViewFragment.java 36 protected RecyclerView.LayoutManager mLayoutManager;
60 mLayoutManager = new LinearLayoutManager(getActivity());
61 mRecyclerView.setLayoutManager(mLayoutManager);
  /developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/
RecyclerViewFragment.java 36 protected RecyclerView.LayoutManager mLayoutManager;
60 mLayoutManager = new LinearLayoutManager(getActivity());
61 mRecyclerView.setLayoutManager(mLayoutManager);
  /development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/
RecyclerViewFragment.java 36 protected RecyclerView.LayoutManager mLayoutManager;
60 mLayoutManager = new LinearLayoutManager(getActivity());
61 mRecyclerView.setLayoutManager(mLayoutManager);
  /prebuilts/sdk/current/support/v7/recyclerview/libs/
android-support-v7-recyclerview.jar 
  /prebuilts/sdk/current/support/v17/leanback/libs/
android-support-v17-leanback.jar 

Completed in 1016 milliseconds