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

/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp247 uint16_t glyphH = glyph.fHeight + TEXTURE_BORDER_SIZE; local
260 if (roundedUpW <= cacheBlock->mWidth && glyphH <= cacheBlock->mHeight &&
263 if (cacheBlock->mHeight - glyphH < glyphH) {
279 if (getHeight() - glyphH >= glyphH) {
281 CacheBlock* newBlock = new CacheBlock(oldX, glyphH + TEXTURE_BORDER_SIZE,
282 roundedUpW, getHeight() - glyphH - TEXTURE_BORDER_SIZE);
292 cacheBlock->mY += glyphH;
293 cacheBlock->mHeight -= glyphH;
[all...]

Completed in 786 milliseconds