Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DCacheTexture.cpp271 uint16_t roundedUpW = (glyphW + CACHE_BLOCK_ROUNDING_SIZE - 1) & -CACHE_BLOCK_ROUNDING_SIZE; in fitBitmap() local
278 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && in fitBitmap()
280 (cacheBlock->mWidth - roundedUpW < CACHE_BLOCK_ROUNDING_SIZE))) { in fitBitmap()
283 roundedUpW = glyphW; in fitBitmap()
294 cacheBlock->mWidth -= roundedUpW; in fitBitmap()
295 cacheBlock->mX += roundedUpW; in fitBitmap()
300 roundedUpW, mHeight - glyphH - TEXTURE_BORDER_SIZE); in fitBitmap()