HomeSort by relevance Sort by last modified time
    Searched defs:cachedGlyph (Results 1 - 2 of 2) 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 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 == nullptr) {
229 cachedGlyph = cacheGlyph((uint32_t)utfChar);
232 if (!cachedGlyph->mIsValid)
    [all...]

Completed in 68 milliseconds