Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DCacheTexture.cpp265 uint16_t glyphH = glyph.fHeight + TEXTURE_BORDER_SIZE; in fitBitmap() local
278 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight && in fitBitmap()
281 if (cacheBlock->mHeight - glyphH < glyphH) { in fitBitmap()
297 if (mHeight - glyphH >= glyphH) { in fitBitmap()
299 CacheBlock* newBlock = new CacheBlock(oldX, glyphH + TEXTURE_BORDER_SIZE, in fitBitmap()
300 roundedUpW, mHeight - glyphH - TEXTURE_BORDER_SIZE); in fitBitmap()
310 cacheBlock->mY += glyphH; in fitBitmap()
311 cacheBlock->mHeight -= glyphH; in fitBitmap()
319 if (cacheBlock->mHeight < fmin(glyphH, glyphW)) { in fitBitmap()
326 *retOriginX + glyphW, *retOriginY + glyphH); in fitBitmap()
[all …]