Searched refs:layoutState (Results 1 – 3 of 3) sorted by relevance
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | LinearLayoutManager.java | 1237 private void recycleByLayoutState(RecyclerView.Recycler recycler, LayoutState layoutState) { in recycleByLayoutState() argument 1238 if (!layoutState.mRecycle) { in recycleByLayoutState() 1241 if (layoutState.mLayoutDirection == LayoutState.LAYOUT_START) { in recycleByLayoutState() 1242 recycleViewsFromEnd(recycler, layoutState.mScrollingOffset); in recycleByLayoutState() 1244 recycleViewsFromStart(recycler, layoutState.mScrollingOffset); in recycleByLayoutState() 1259 int fill(RecyclerView.Recycler recycler, LayoutState layoutState, in fill() argument 1262 final int start = layoutState.mAvailable; in fill() 1263 if (layoutState.mScrollingOffset != LayoutState.SCOLLING_OFFSET_NaN) { in fill() 1265 if (layoutState.mAvailable < 0) { in fill() 1266 layoutState.mScrollingOffset += layoutState.mAvailable; in fill() [all …]
|
D | GridLayoutManager.java | 333 LayoutState layoutState, LayoutChunkResult result) { in layoutChunk() argument 335 layoutState.mItemDirection == LayoutState.ITEM_DIRECTION_TAIL; in layoutChunk() 340 int itemSpanIndex = getSpanIndex(recycler, state, layoutState.mCurrentPosition); in layoutChunk() 341 int itemSpanSize = getSpanSize(recycler, state, layoutState.mCurrentPosition); in layoutChunk() 344 while (count < mSpanCount && layoutState.hasMore(state) && remainingSpan > 0) { in layoutChunk() 345 int pos = layoutState.mCurrentPosition; in layoutChunk() 356 View view = layoutState.next(recycler); in layoutChunk() 376 if (layoutState.mScrapList == null) { in layoutChunk() 425 if (layoutState.mLayoutDirection == LayoutState.LAYOUT_START) { in layoutChunk() 426 bottom = layoutState.mOffset; in layoutChunk() [all …]
|
D | StaggeredGridLayoutManager.java | 1349 private int fill(RecyclerView.Recycler recycler, LayoutState layoutState, 1361 if (layoutState.mLayoutDirection == LAYOUT_END) { 1372 updateAllRemainingSpans(layoutState.mLayoutDirection, targetLine); 1379 while (layoutState.hasMore(state) && !mRemainingSpans.isEmpty()) { 1380 View view = layoutState.next(recycler); 1387 currentSpan = lp.mFullSpan ? mSpans[0] : getNextSpan(layoutState); 1400 if (layoutState.mLayoutDirection == LAYOUT_END) { 1409 if (layoutState.mLayoutDirection == LAYOUT_END) { 1434 if (lp.mFullSpan && layoutState.mItemDirection == ITEM_DIRECTION_HEAD) { 1439 if (layoutState.mLayoutDirection == LAYOUT_END) { [all …]
|