Searched refs:adapterPos (Results 1 – 1 of 1) sorted by relevance
86 int adapterPos = findAdapterPosition(currentPosView); in findSnapView() local94 if (adapterPos <= mPrevFirstVisiblePos in findSnapView()95 || (float) adapterPos % mBlockSize / mBlockSize < mPageSnapThreshold) { in findSnapView()96 posToReturn = adapterPos - adapterPos % mBlockSize; in findSnapView()99 posToReturn = (adapterPos / mBlockSize + 1) * mBlockSize + mBlockSize - 1; in findSnapView()111 int findFirstItemOnNextPage(int adapterPos) { in findFirstItemOnNextPage() argument112 return (adapterPos / mBlockSize + 1) * mBlockSize + mBlockSize - 1; in findFirstItemOnNextPage()116 int findFirstItemOnPrevPage(int adapterPos) { in findFirstItemOnPrevPage() argument117 return adapterPos - (adapterPos - 1) % mBlockSize - 1; in findFirstItemOnPrevPage()241 int adapterPos = findAdapterPosition(currentPosView); in attachToRecyclerView()[all …]