Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DFont.cpp463 uint32_t cacheHeight = glyph->mCacheTexture->getHeight(); in updateGlyphCache() local
466 glyph->mBitmapMinV = startY / (float) cacheHeight; in updateGlyphCache()
468 glyph->mBitmapMaxV = endY / (float) cacheHeight; in updateGlyphCache()
/frameworks/rs/
DrsFont.cpp275 uint32_t cacheHeight = state->getCacheTextureType()->getDimY(); in updateGlyphCache() local
278 glyph->mBitmapMinV = (float)startY / (float)cacheHeight; in updateGlyphCache()
280 glyph->mBitmapMaxV = (float)endY / (float)cacheHeight; in updateGlyphCache()