Home
last modified time | relevance | path

Searched refs:mBlockSize (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppGridPageSnapper.java42 private int mBlockSize = 0; field in AppGridPageSnapper
55 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()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dsparse_table.cpp77 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()
Dsparse_table.h34 mBlockSize(blockSize), mDataSize(dataSize) {} in SparseTable()
56 const int mBlockSize; variable
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeCipher.java79 private final int mBlockSize; field in IkeCipher
99 mBlockSize = blockSize == BLOCK_SIZE_NOT_SPECIFIED ? mCipher.getBlockSize() : blockSize; in IkeCipher()
174 return mBlockSize; in getBlockSize()