Home
last modified time | relevance | path

Searched refs:mShouldReverseLayout (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java102 boolean mShouldReverseLayout = false; field in LinearLayoutManager
242 boolean didLayoutFromEnd = mLastStackFromEnd ^ mShouldReverseLayout; in onSaveInstanceState()
343 mShouldReverseLayout = mReverseLayout; in resolveShouldLayoutReverse()
345 mShouldReverseLayout = !mReverseLayout; in resolveShouldLayoutReverse()
443 final int direction = targetPosition < firstChildPos != mShouldReverseLayout ? -1 : 1; in computeScrollVectorForPosition()
484 mAnchorInfo.mLayoutFromEnd = mShouldReverseLayout ^ mStackFromEnd;
518 if (mShouldReverseLayout) {
538 firstLayoutDirection = mShouldReverseLayout ? LayoutState.ITEM_DIRECTION_TAIL :
541 firstLayoutDirection = mShouldReverseLayout ? LayoutState.ITEM_DIRECTION_HEAD :
608 if (mShouldReverseLayout ^ mStackFromEnd) {
[all …]
DStaggeredGridLayoutManager.java137 boolean mShouldReverseLayout = false; field in StaggeredGridLayoutManager
267 if (mShouldReverseLayout) { in checkForGaps()
286 int invalidGapDir = mShouldReverseLayout ? LAYOUT_START : LAYOUT_END; in checkForGaps()
338 if (mShouldReverseLayout) { in hasGapsToFix()
362 if (mShouldReverseLayout) { in hasGapsToFix()
394 if (mShouldReverseLayout) {
553 mShouldReverseLayout = mReverseLayout;
555 mShouldReverseLayout = !mReverseLayout;
619 anchorInfo.mLayoutFromEnd = mShouldReverseLayout;
645 mSpans[i].cacheReferenceLineAndClear(mShouldReverseLayout, anchorInfo.mOffset);
[all …]
DGridLayoutManager.java995 final boolean ascend = (layoutDir == LayoutState.LAYOUT_END) != mShouldReverseLayout; in onFocusSearchFailed()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseStaggeredGridLayoutManagerTest.java710 final int dir = mShouldReverseLayout ? -1 : 1; in validateChildren()