Searched defs:cachedGlyph (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/font/
H A DFont.cpp55 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i); local
56 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) {
57 cachedGlyph->mIsValid = false;
169 CachedGlyphInfo* cachedGlyph = NULL; local
172 cachedGlyph = mCachedGlyphs.valueAt(index);
174 cachedGlyph = cacheGlyph(paint, textUnit, precaching);
178 if (!cachedGlyph->mIsValid) {
180 updateGlyphCache(paint, skiaGlyph, cachedGlyph, precaching);
183 return cachedGlyph;
239 CachedGlyphInfo* cachedGlyph local
278 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph, true); local
315 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); local
341 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); local
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp169 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, argument
172 cachedGlyph->mIsValid = false;
201 cachedGlyph->mCacheTexture = cacheTexture;
250 cachedGlyph->mIsValid = true;
/frameworks/rs/
H A DrsFont.cpp197 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 2609 milliseconds