Searched refs:LayoutState (Results 1 – 12 of 12) sorted by relevance
74 private LayoutState mLayoutState;538 firstLayoutDirection = mShouldReverseLayout ? LayoutState.ITEM_DIRECTION_TAIL :539 LayoutState.ITEM_DIRECTION_HEAD;541 firstLayoutDirection = mShouldReverseLayout ? LayoutState.ITEM_DIRECTION_HEAD :542 LayoutState.ITEM_DIRECTION_TAIL;683 ? LayoutState.LAYOUT_START : LayoutState.LAYOUT_END; in layoutForPredictiveAnimations()684 if (direction == LayoutState.LAYOUT_START) { in layoutForPredictiveAnimations()924 mLayoutState.mItemDirection = mShouldReverseLayout ? LayoutState.ITEM_DIRECTION_HEAD : in updateLayoutStateToFillEnd()925 LayoutState.ITEM_DIRECTION_TAIL; in updateLayoutStateToFillEnd()927 mLayoutState.mLayoutDirection = LayoutState.LAYOUT_END; in updateLayoutStateToFillEnd()[all …]
19 import static android.support.v7.widget.LayoutState.ITEM_DIRECTION_HEAD;20 import static android.support.v7.widget.LayoutState.ITEM_DIRECTION_TAIL;21 import static android.support.v7.widget.LayoutState.LAYOUT_END;22 import static android.support.v7.widget.LayoutState.LAYOUT_START;130 private final LayoutState mLayoutState;231 mLayoutState = new LayoutState(); in StaggeredGridLayoutManager()246 mLayoutState = new LayoutState(); in StaggeredGridLayoutManager()1521 private int fill(RecyclerView.Recycler recycler, LayoutState layoutState,1697 private void attachViewToSpans(View view, LayoutParams lp, LayoutState layoutState) {1698 if (layoutState.mLayoutDirection == LayoutState.LAYOUT_END) {[all …]
25 class LayoutState { class
378 itemDirection == LayoutState.ITEM_DIRECTION_TAIL; in ensureAnchorIsInCorrectSpan()499 LayoutState layoutState, LayoutChunkResult result) { in layoutChunk()510 layoutState.mItemDirection == LayoutState.ITEM_DIRECTION_TAIL; in layoutChunk()642 if (layoutState.mLayoutDirection == LayoutState.LAYOUT_START) { in layoutChunk()650 if (layoutState.mLayoutDirection == LayoutState.LAYOUT_START) { in layoutChunk()995 final boolean ascend = (layoutDir == LayoutState.LAYOUT_END) != mShouldReverseLayout; in onFocusSearchFailed()
10485 @interface LayoutState {} annotation in RecyclerView.State10489 @LayoutState
422 LinearLayoutManager.LayoutState.ITEM_DIRECTION_TAIL); in anchorUpdate()426 LinearLayoutManager.LayoutState.ITEM_DIRECTION_HEAD); in anchorUpdate()432 LinearLayoutManager.LayoutState.ITEM_DIRECTION_HEAD); in anchorUpdate()438 LinearLayoutManager.LayoutState.ITEM_DIRECTION_TAIL); in anchorUpdate()442 LinearLayoutManager.LayoutState.ITEM_DIRECTION_HEAD); in anchorUpdate()448 LinearLayoutManager.LayoutState.ITEM_DIRECTION_TAIL); in anchorUpdate()452 LinearLayoutManager.LayoutState.ITEM_DIRECTION_HEAD); in anchorUpdate()458 LinearLayoutManager.LayoutState.ITEM_DIRECTION_TAIL); in anchorUpdate()461 LinearLayoutManager.LayoutState.ITEM_DIRECTION_HEAD); in anchorUpdate()
181 LayoutState createLayoutState() { in createLayoutState()182 return new LayoutState() { in createLayoutState()
36 import static android.support.v7.widget.LayoutState.LAYOUT_END;37 import static android.support.v7.widget.LayoutState.LAYOUT_START;
401 LayoutState createLayoutState() { in createLayoutState()402 return new LayoutState() { in createLayoutState()
35 import static android.support.v7.widget.LayoutState.LAYOUT_END;36 import static android.support.v7.widget.LayoutState.LAYOUT_START;
20 import static android.support.v7.widget.LayoutState.LAYOUT_END;21 import static android.support.v7.widget.LayoutState.LAYOUT_START;
40 import static android.support.v7.widget.LayoutState.LAYOUT_START;