Searched defs:cachedGlyph (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 128 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i); local 129 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) { 130 cachedGlyph->mIsValid = false; 278 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit); local 279 if (cachedGlyph) { 281 if (!cachedGlyph->mIsValid) { 285 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching); 288 cachedGlyph = cacheGlyph(paint, textUnit, precaching); 291 return cachedGlyph; 334 CachedGlyphInfo* cachedGlyph local 404 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); local [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 208 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, argument 215 cachedGlyph->mIsValid = true; 216 cachedGlyph->mCacheTexture = nullptr; 220 cachedGlyph->mIsValid = false; 268 cachedGlyph->mCacheTexture = cacheTexture; 383 cachedGlyph->mIsValid = true;
|
/frameworks/rs/ |
H A D | rsFont.cpp | 198 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar); local 201 if (cachedGlyph->mIsValid) { 204 drawCachedGlyph(cachedGlyph, penX, penY); 207 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); 210 measureCachedGlyph(cachedGlyph, penX, penY, bounds); 215 penX += (cachedGlyph->mAdvanceX >> 6); 226 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar); local 227 if (cachedGlyph == nullptr) { 228 cachedGlyph = cacheGlyph((uint32_t)utfChar); 231 if (!cachedGlyph [all...] |
Completed in 175 milliseconds