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 128 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i);
129 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) {
130 cachedGlyph->mIsValid = false;
278 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit);
279 if (cachedGlyph) {
281 if (!cachedGlyph->mIsValid) {
285 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching);
288 cachedGlyph = cacheGlyph(paint, textUnit, precaching);
291 return cachedGlyph;
334 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph)
    [all...]
  /frameworks/rs/
rsFont.cpp 198 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar);
201 if (cachedGlyph->mIsValid) {
204 drawCachedGlyph(cachedGlyph, penX, penY);
207 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH);
210 measureCachedGlyph(cachedGlyph, penX, penY, bounds);
215 penX += (cachedGlyph->mAdvanceX >> 6);
226 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar);
227 if (cachedGlyph == nullptr) {
228 cachedGlyph = cacheGlyph((uint32_t)utfChar);
231 if (!cachedGlyph->mIsValid)
    [all...]
  /frameworks/base/libs/hwui/
FontRenderer.cpp 208 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,
215 cachedGlyph->mIsValid = true;
216 cachedGlyph->mCacheTexture = nullptr;
220 cachedGlyph->mIsValid = false;
268 cachedGlyph->mCacheTexture = cacheTexture;
383 cachedGlyph->mIsValid = true;
FontRenderer.h 138 void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,

Completed in 829 milliseconds