Home
last modified time | relevance | path

Searched refs:kLogValuesPerPage (Results 1 – 2 of 2) sorted by relevance

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp32 uint32_t startPage = start >> kLogValuesPerPage; in calcNumPages()
33 uint32_t endPage = (end - 1) >> kLogValuesPerPage; in calcNumPages()
58 mIndicesCount = (mMaxVal + kPageMask) >> kLogValuesPerPage; in initFromRanges()
63 mBitmapsCount = nPages << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
73 uint32_t startPage = start >> kLogValuesPerPage; in initFromRanges()
74 uint32_t endPage = (end - 1) >> kLogValuesPerPage; in initFromRanges()
78 mZeroPageIndex = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
84 mOwnedIndices[startPage] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
87 size_t index = ((currentPage - 1) << (kLogValuesPerPage - kLogBitsPerEl)) + in initFromRanges()
101 mOwnedIndices[j] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
[all …]
/frameworks/minikin/include/minikin/
DSparseBitSet.h56 const uint32_t* bitmap = &mBitmaps[mIndices[ch >> kLogValuesPerPage]]; in get()
75 static const int kLogValuesPerPage = 8; variable
76 static const int kPageMask = (1 << kLogValuesPerPage) - 1;