Searched refs:cachedGlyph (Results 1 – 1 of 1) sorted by relevance
/frameworks/rs/ |
D | rsFont.cpp | 198 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar); in renderUTF() local 201 if (cachedGlyph->mIsValid) { in renderUTF() 204 drawCachedGlyph(cachedGlyph, penX, penY); in renderUTF() 207 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); in renderUTF() 210 measureCachedGlyph(cachedGlyph, penX, penY, bounds); in renderUTF() 215 penX += (cachedGlyph->mAdvanceX >> 6); in renderUTF() 226 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar); in getCachedUTFChar() local 227 if (cachedGlyph == nullptr) { in getCachedUTFChar() 228 cachedGlyph = cacheGlyph((uint32_t)utfChar); in getCachedUTFChar() 231 if (!cachedGlyph->mIsValid) { in getCachedUTFChar() [all …]
|