Searched refs:OrientationHelper (Results 1 – 8 of 8) sorted by relevance
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | OrientationHelper.java | 32 public abstract class OrientationHelper { class 44 private OrientationHelper(RecyclerView.LayoutManager layoutManager) { in OrientationHelper() method in OrientationHelper 175 public static OrientationHelper createOrientationHelper( in createOrientationHelper() 192 public static OrientationHelper createHorizontalHelper( in createHorizontalHelper() 194 return new OrientationHelper(layoutManager) { in createHorizontalHelper() 269 public static OrientationHelper createVerticalHelper(RecyclerView.LayoutManager layoutManager) { 270 return new OrientationHelper(layoutManager) {
|
D | ScrollbarHelper.java | 29 static int computeScrollOffset(RecyclerView.State state, OrientationHelper orientation, in computeScrollOffset() 60 static int computeScrollExtent(RecyclerView.State state, OrientationHelper orientation, in computeScrollExtent() 79 static int computeScrollRange(RecyclerView.State state, OrientationHelper orientation, in computeScrollRange()
|
D | StaggeredGridLayoutManager.java | 59 public static final int HORIZONTAL = OrientationHelper.HORIZONTAL; 61 public static final int VERTICAL = OrientationHelper.VERTICAL; 105 OrientationHelper mPrimaryOrientation; 106 OrientationHelper mSecondaryOrientation; 395 OrientationHelper tmp = mPrimaryOrientation; 494 mPrimaryOrientation = OrientationHelper.createOrientationHelper(this, mOrientation); 495 mSecondaryOrientation = OrientationHelper
|
D | LinearLayoutManager.java | 45 public static final int HORIZONTAL = OrientationHelper.HORIZONTAL; 47 public static final int VERTICAL = OrientationHelper.VERTICAL; 78 OrientationHelper mOrientationHelper; 880 mOrientationHelper = OrientationHelper.createOrientationHelper(this, mOrientation); in ensureLayoutState()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | StaggeredGridLayoutManagerTest.java | 251 OrientationHelper helper = OrientationHelper.createHorizontalHelper(mLayoutManager); in rtlTest() 1107 OrientationHelper orientationHelper = OrientationHelper in scrollToPositionWithOffsetTest() 1218 OrientationHelper orientationHelper = OrientationHelper in scrollToPositionTest() 1341 OrientationHelper orientationHelper = OrientationHelper in assertViewPositions() 1377 OrientationHelper primaryOrientation = OrientationHelper in scrollByTest() 1876 if (mOrientation == OrientationHelper.HORIZONTAL) { in onBindViewHolder() 1906 int mOrientation = OrientationHelper.VERTICAL;
|
D | LinearLayoutManagerTest.java | 152 OrientationHelper orientationHelper = OrientationHelper in scrollToPositionWithOffsetTest() 906 OrientationHelper mSecondaryOrientation; 948 mSecondaryOrientation = OrientationHelper.createOrientationHelper(this, in ensureLayoutState()
|
D | RecyclerViewLayoutTest.java | 1575 for (int orientation : new int[]{OrientationHelper.HORIZONTAL, in testAdapterChangeDuringScroll() 1576 OrientationHelper.VERTICAL}) { in testAdapterChangeDuringScroll() 1624 return orientation == OrientationHelper.VERTICAL; in adapterChangeDuringScrollTest() 1629 return orientation == OrientationHelper.HORIZONTAL; in adapterChangeDuringScrollTest()
|
D | GridLayoutManagerTest.java | 224 final OrientationHelper helper = mGlm.mOrientationHelper; in layoutParamsTest()
|