Searched refs:mBlockSize (Results 1 – 4 of 4) sorted by relevance
42 private int mBlockSize = 0; field in AppGridPageSnapper55 mBlockSize = numOfCol * numOfRow; in AppGridPageSnapper()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()112 return (adapterPos / mBlockSize + 1) * mBlockSize + mBlockSize - 1; in findFirstItemOnNextPage()117 return adapterPos - (adapterPos - 1) % mBlockSize - 1; in findFirstItemOnPrevPage()121 mPrevFirstVisiblePos = posToReturn / mBlockSize * mBlockSize; in handleScrollToPos()
77 for (int i = 0; i < mBlockSize; ++i) { in set()89 return contentTablePos / mDataSize / mBlockSize; in getIndexFromContentTablePos()93 return (id / mBlockSize) * INDEX_SIZE; in getPosInIndexTable()97 const int offset = id % mBlockSize; in getPosInContentTable()98 return (index * mBlockSize + offset) * mDataSize; in getPosInContentTable()
34 mBlockSize(blockSize), mDataSize(dataSize) {} in SparseTable()56 const int mBlockSize; variable
79 private final int mBlockSize; field in IkeCipher99 mBlockSize = blockSize == BLOCK_SIZE_NOT_SPECIFIED ? mCipher.getBlockSize() : blockSize; in IkeCipher()174 return mBlockSize; in getBlockSize()