Searched refs:roundedUpW (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp249 // roundedUpW equals glyphW to the next multiple of CACHE_BLOCK_ROUNDING_SIZE.
253 uint16_t roundedUpW = (glyphW + CACHE_BLOCK_ROUNDING_SIZE - 1) & -CACHE_BLOCK_ROUNDING_SIZE; local
260 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight &&
262 (cacheBlock->mWidth - roundedUpW < CACHE_BLOCK_ROUNDING_SIZE))) {
265 roundedUpW = glyphW;
276 cacheBlock->mWidth -= roundedUpW;
277 cacheBlock->mX += roundedUpW;
282 roundedUpW, getHeight() - glyphH - TEXTURE_BORDER_SIZE);

Completed in 384 milliseconds