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; 270 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit); local 271 if (cachedGlyph) { 273 if (!cachedGlyph->mIsValid) { 276 updateGlyphCache(paint, skiaGlyph, cachedGlyph, precaching); 279 cachedGlyph = cacheGlyph(paint, textUnit, precaching); 282 return cachedGlyph; 327 CachedGlyphInfo* cachedGlyph local 367 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph, true); local 402 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 | 218 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, argument 225 cachedGlyph->mIsValid = true; 226 cachedGlyph->mCacheTexture = NULL; 230 cachedGlyph->mIsValid = false; 278 cachedGlyph->mCacheTexture = cacheTexture; 394 cachedGlyph->mIsValid = true;
|
H A D | FontRenderer.h | 151 void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,
|
Completed in 54 milliseconds