Home
last modified time | relevance | path

Searched refs:mPrimaryOrientation (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DStaggeredGridLayoutManager.java105 OrientationHelper mPrimaryOrientation; field in StaggeredGridLayoutManager
334 int myEnd = mPrimaryOrientation.getDecoratedEnd(child); in hasGapsToFix()
335 int nextEnd = mPrimaryOrientation.getDecoratedEnd(nextChild); in hasGapsToFix()
342 int myStart = mPrimaryOrientation.getDecoratedStart(child); in hasGapsToFix()
343 int nextStart = mPrimaryOrientation.getDecoratedStart(nextChild); in hasGapsToFix()
365 if (span.getEndLine() < mPrimaryOrientation.getEndAfterPadding()) {
368 } else if (span.getStartLine() > mPrimaryOrientation.getStartAfterPadding()) {
412 if (mPrimaryOrientation != null && mSecondaryOrientation != null) {
414 OrientationHelper tmp = mPrimaryOrientation;
415 mPrimaryOrientation = mSecondaryOrientation;
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DStaggeredGridLayoutManagerTest.java335 final int scrollStep = (mLayoutManager.mPrimaryOrientation.getTotalSpace() / 10) in scrollBackAndPreservePositionsTest()
352 mLayoutManager.mPrimaryOrientation.getDecoratedEnd(child); in scrollBackAndPreservePositionsTest()
355 mLayoutManager.mPrimaryOrientation.getDecoratedStart(child); in scrollBackAndPreservePositionsTest()
395 mLayoutManager.mPrimaryOrientation.getDecoratedEnd(child); in scrollBackAndPreservePositionsTest()
398 mLayoutManager.mPrimaryOrientation.getDecoratedStart(child); in scrollBackAndPreservePositionsTest()
547 final int totalSpace = mLayoutManager.mPrimaryOrientation.getTotalSpace(); in getFirstLastChildrenTest()
640 mLayoutManager.mPrimaryOrientation.getDecoratedEnd(fullSpan), in testTemporaryGapHandling()
641 mLayoutManager.mPrimaryOrientation.getDecoratedStart(view1)); in testTemporaryGapHandling()
643 mLayoutManager.mPrimaryOrientation.getDecoratedEnd(fullSpan), in testTemporaryGapHandling()
644 mLayoutManager.mPrimaryOrientation.getDecoratedStart(view2)); in testTemporaryGapHandling()
[all …]