Searched defs:cachedGlyph (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/libs/rs/ |
H A D | rsFont.cpp | 196 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar); local 199 if (cachedGlyph->mIsValid) { 202 drawCachedGlyph(cachedGlyph, penX, penY); 205 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); 208 measureCachedGlyph(cachedGlyph, penX, penY, bounds); 213 penX += (cachedGlyph->mAdvanceX >> 6); 224 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar); local 225 if (cachedGlyph == NULL) { 226 cachedGlyph = cacheGlyph((uint32_t)utfChar); 229 if (!cachedGlyph [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 140 CachedGlyphInfo* cachedGlyph = NULL; local 143 cachedGlyph = mCachedGlyphs.valueAt(index); 145 cachedGlyph = cacheGlyph(paint, textUnit); 149 if (!cachedGlyph->mIsValid) { 151 updateGlyphCache(paint, skiaGlyph, cachedGlyph); 154 return cachedGlyph; 207 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); local 208 penX += SkFixedToFloat(SkAutoKern_AdjustF(prevRsbDelta, cachedGlyph->mLsbDelta)); 209 prevRsbDelta = cachedGlyph->mRsbDelta; 212 if (cachedGlyph [all...] |
Completed in 52 milliseconds