Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DCacheTexture.cpp273 CacheBlock* cacheBlock = mCacheBlocks; in fitBitmap() local
274 while (cacheBlock) { in fitBitmap()
278 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && in fitBitmap()
279 (cacheBlock->mY == TEXTURE_BORDER_SIZE || in fitBitmap()
280 (cacheBlock->mWidth - roundedUpW < CACHE_BLOCK_ROUNDING_SIZE))) { in fitBitmap()
281 if (cacheBlock->mHeight - glyphH < glyphH) { in fitBitmap()
286 *retOriginX = cacheBlock->mX; in fitBitmap()
287 *retOriginY = cacheBlock->mY; in fitBitmap()
291 if (cacheBlock->mY == TEXTURE_BORDER_SIZE) { in fitBitmap()
292 uint16_t oldX = cacheBlock->mX; in fitBitmap()
[all …]