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

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

Completed in 36 milliseconds