Searched defs:cachedGlyph (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 129 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i); local 130 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) { 131 cachedGlyph->mIsValid = false; 265 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit); local 266 if (cachedGlyph) { 268 if (!cachedGlyph->mIsValid) { 271 updateGlyphCache(paint, skiaGlyph, cachedGlyph, precaching); 274 cachedGlyph = cacheGlyph(paint, textUnit, precaching); 277 return cachedGlyph; 322 CachedGlyphInfo* cachedGlyph local 362 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph, true); local 397 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); local [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 164 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, argument 171 cachedGlyph->mIsValid = true; 172 cachedGlyph->mCacheTexture = NULL; 176 cachedGlyph->mIsValid = false; 206 cachedGlyph->mCacheTexture = cacheTexture; 291 cachedGlyph->mIsValid = true;
|
/frameworks/rs/ |
H A D | rsFont.cpp | 197 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar); local 200 if (cachedGlyph->mIsValid) { 203 drawCachedGlyph(cachedGlyph, penX, penY); 206 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); 209 measureCachedGlyph(cachedGlyph, penX, penY, bounds); 214 penX += (cachedGlyph->mAdvanceX >> 6); 225 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar); local 226 if (cachedGlyph == NULL) { 227 cachedGlyph = cacheGlyph((uint32_t)utfChar); 230 if (!cachedGlyph [all...] |
Completed in 321 milliseconds