Searched refs:cachedGlyph (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 134 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i); local 135 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) { 136 cachedGlyph->mIsValid = false; 284 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit); local 285 if (cachedGlyph) { 287 if (!cachedGlyph->mIsValid) { 290 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching); 293 cachedGlyph = cacheGlyph(paint, textUnit, precaching); 296 return cachedGlyph; 341 CachedGlyphInfo* cachedGlyph local 381 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph, true); local 416 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); local [all...] |
/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 == NULL) { 229 cachedGlyph = cacheGlyph((uint32_t)utfChar); 232 if (!cachedGlyph [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 219 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, argument 226 cachedGlyph->mIsValid = true; 227 cachedGlyph->mCacheTexture = NULL; 231 cachedGlyph->mIsValid = false; 279 cachedGlyph->mCacheTexture = cacheTexture; 395 cachedGlyph->mIsValid = true;
|
H A D | FontRenderer.h | 149 void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,
|
Completed in 175 milliseconds