Lines Matching defs:pos
398 int pos = anchorInfo.mPosition;
400 while (pos < indexLimit) {
401 int next = getSpanIndex(recycler, state, pos + 1);
403 pos += 1;
409 anchorInfo.mPosition = pos;
465 private int getSpanIndex(RecyclerView.Recycler recycler, RecyclerView.State state, int pos) {
467 return mSpanSizeLookup.getCachedSpanIndex(pos, mSpanCount);
469 final int cached = mPreLayoutSpanIndexCache.get(pos, -1);
473 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(pos);
477 + " not cached, not in the adapter. Pos:" + pos);
480 + " not cached, not in the adapter. Pos:" + pos);
486 private int getSpanSize(RecyclerView.Recycler recycler, RecyclerView.State state, int pos) {
488 return mSpanSizeLookup.getSpanSize(pos);
490 final int cached = mPreLayoutSpanSizeCache.get(pos, -1);
494 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(pos);
498 + " not cached, not in the adapter. Pos:" + pos);
501 + " not cached, not in the adapter. Pos:" + pos);
518 final int pos = layoutState.mCurrentPosition;
519 outIndices[count] = pos;
520 final int spanSize = mSpanSizeLookup.getSpanSize(pos);
551 int pos = layoutState.mCurrentPosition;
552 final int spanSize = getSpanSize(recycler, state, pos);
554 throw new IllegalArgumentException("Item at position " + pos + " requires " +