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

/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp267 // roundedUpW equals glyphW to the next multiple of CACHE_BLOCK_ROUNDING_SIZE.
271 uint16_t roundedUpW = (glyphW + CACHE_BLOCK_ROUNDING_SIZE - 1) & -CACHE_BLOCK_ROUNDING_SIZE; local
278 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight &&
280 (cacheBlock->mWidth - roundedUpW < CACHE_BLOCK_ROUNDING_SIZE))) {
283 roundedUpW = glyphW;
294 cacheBlock->mWidth -= roundedUpW;
295 cacheBlock->mX += roundedUpW;
300 roundedUpW, mHeight - glyphH - TEXTURE_BORDER_SIZE);

Completed in 176 milliseconds