Home
last modified time | relevance | path

Searched refs:LayoutState (Results 1 – 12 of 12) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java74 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 …]
DStaggeredGridLayoutManager.java19 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 …]
DLayoutState.java25 class LayoutState { class
DGridLayoutManager.java378 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()
DRecyclerView.java10485 @interface LayoutState {} annotation in RecyclerView.State
10489 @LayoutState
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerTest.java422 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()
DBaseGridLayoutManagerTest.java181 LayoutState createLayoutState() { in createLayoutState()
182 return new LayoutState() { in createLayoutState()
DLinearLayoutManagerBaseConfigSetTest.java36 import static android.support.v7.widget.LayoutState.LAYOUT_END;
37 import static android.support.v7.widget.LayoutState.LAYOUT_START;
DBaseLinearLayoutManagerTest.java401 LayoutState createLayoutState() { in createLayoutState()
402 return new LayoutState() { in createLayoutState()
DLinearLayoutManagerTest.java35 import static android.support.v7.widget.LayoutState.LAYOUT_END;
36 import static android.support.v7.widget.LayoutState.LAYOUT_START;
DBaseStaggeredGridLayoutManagerTest.java20 import static android.support.v7.widget.LayoutState.LAYOUT_END;
21 import static android.support.v7.widget.LayoutState.LAYOUT_START;
DStaggeredGridLayoutManagerBaseConfigSetTest.java40 import static android.support.v7.widget.LayoutState.LAYOUT_START;