Searched refs:cachedGlyph (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/font/
H A DFont.cpp135 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i); local
136 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) {
137 cachedGlyph->mIsValid = false;
271 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit); local
272 if (cachedGlyph) {
274 if (!cachedGlyph->mIsValid) {
277 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching);
280 cachedGlyph = cacheGlyph(paint, textUnit, precaching);
283 return cachedGlyph;
328 CachedGlyphInfo* cachedGlyph local
368 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph, true); local
403 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); local
[all...]
/frameworks/rs/
H A DrsFont.cpp199 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 DFontRenderer.cpp218 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 DFontRenderer.h151 void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,

Completed in 2472 milliseconds