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;
284 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit);
285 if (cachedGlyph) {
287 if (!cachedGlyph->mIsValid) {
290 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching);
293 cachedGlyph = cacheGlyph(paint, textUnit, precaching);
296 return cachedGlyph;
341 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 219 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,
226 cachedGlyph->mIsValid = true;
227 cachedGlyph->mCacheTexture = NULL;
231 cachedGlyph->mIsValid = false;
279 cachedGlyph->mCacheTexture = cacheTexture;
395 cachedGlyph->mIsValid = true;
FontRenderer.h 149 void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,

Completed in 876 milliseconds