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 mIndices.reset(new uint16_t[(mMaxVal + kPageMask) >> kLogValuesPerPage]); in initFromRanges()
60 mBitmaps.reset(new element[nPages << (kLogValuesPerPage - kLogBitsPerEl)]()); in initFromRanges()
68 uint32_t startPage = start >> kLogValuesPerPage; in initFromRanges()
69 uint32_t endPage = (end - 1) >> kLogValuesPerPage; in initFromRanges()
73 mZeroPageIndex = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
79 mIndices[startPage] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
82 size_t index = ((currentPage - 1) << (kLogValuesPerPage - kLogBitsPerEl)) + in initFromRanges()
96 mIndices[j] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()
[all …]
/frameworks/minikin/include/minikin/
DSparseBitSet.h51 const uint32_t* bitmap = &mBitmaps[mIndices[ch >> kLogValuesPerPage]]; in get()
69 static const int kLogValuesPerPage = 8; variable
70 static const int kPageMask = (1 << kLogValuesPerPage) - 1;