Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DCacheTexture.cpp269 CacheBlock* cacheBlock = mCacheBlocks; in fitBitmap() local
270 while (cacheBlock) { in fitBitmap()
274 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && in fitBitmap()
275 (cacheBlock->mY == TEXTURE_BORDER_SIZE || in fitBitmap()
276 (cacheBlock->mWidth - roundedUpW < CACHE_BLOCK_ROUNDING_SIZE))) { in fitBitmap()
277 if (cacheBlock->mHeight - glyphH < glyphH) { in fitBitmap()
282 *retOriginX = cacheBlock->mX; in fitBitmap()
283 *retOriginY = cacheBlock->mY; in fitBitmap()
287 if (cacheBlock->mY == TEXTURE_BORDER_SIZE) { in fitBitmap()
288 uint16_t oldX = cacheBlock->mX; in fitBitmap()
[all …]