Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DCacheTexture.cpp271 CacheBlock* cacheBlock = mCacheBlocks; in fitBitmap() local
272 while (cacheBlock) { in fitBitmap()
276 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && in fitBitmap()
277 (cacheBlock->mY == TEXTURE_BORDER_SIZE || in fitBitmap()
278 (cacheBlock->mWidth - roundedUpW < CACHE_BLOCK_ROUNDING_SIZE))) { in fitBitmap()
279 if (cacheBlock->mHeight - glyphH < glyphH) { in fitBitmap()
284 *retOriginX = cacheBlock->mX; in fitBitmap()
285 *retOriginY = cacheBlock->mY; in fitBitmap()
289 if (cacheBlock->mY == TEXTURE_BORDER_SIZE) { in fitBitmap()
290 uint16_t oldX = cacheBlock->mX; in fitBitmap()
[all …]