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 | 211 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, argument 218 cachedGlyph->mIsValid = true; 219 cachedGlyph->mCacheTexture = nullptr; 223 cachedGlyph->mIsValid = false; 271 cachedGlyph->mCacheTexture = cacheTexture; 387 cachedGlyph->mIsValid = true;
|
/frameworks/rs/ |
H A D | rsFont.cpp | 199 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar); local 202 if (cachedGlyph->mIsValid) { 205 drawCachedGlyph(cachedGlyph, penX, penY); 208 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); 211 measureCachedGlyph(cachedGlyph, penX, penY, bounds); 216 penX += (cachedGlyph->mAdvanceX >> 6); 227 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar); local 228 if (cachedGlyph == nullptr) { 229 cachedGlyph = cacheGlyph((uint32_t)utfChar); 232 if (!cachedGlyph [all...] |
Completed in 1466 milliseconds