HomeSort by relevance Sort by last modified time
    Searched refs:cachedGlyph (Results 1 - 4 of 4) sorted by null

  /frameworks/base/libs/hwui/font/
Font.cpp 134 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i);
135 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) {
136 cachedGlyph->mIsValid = false;
270 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit);
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 = getCachedGlyph(paint, glyph)
    [all...]
  /frameworks/rs/
rsFont.cpp 199 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar);
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);
228 if (cachedGlyph == NULL) {
229 cachedGlyph = cacheGlyph((uint32_t)utfChar);
232 if (!cachedGlyph->mIsValid)
    [all...]
  /frameworks/base/libs/hwui/
FontRenderer.cpp 218 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,
225 cachedGlyph->mIsValid = true;
226 cachedGlyph->mCacheTexture = NULL;
230 cachedGlyph->mIsValid = false;
278 cachedGlyph->mCacheTexture = cacheTexture;
394 cachedGlyph->mIsValid = true;
FontRenderer.h 151 void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,

Completed in 768 milliseconds