Searched refs:precaching (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/font/
H A DFont.h124 CachedGlyphInfo* cacheGlyph(const SkPaint* paint, glyph_t glyph, bool precaching);
126 SkGlyphCache* skiaGlyphCache, CachedGlyphInfo* glyph, bool precaching);
144 bool precaching = false);
H A DFont.cpp277 CachedGlyphInfo* Font::getCachedGlyph(const SkPaint* paint, glyph_t textUnit, bool precaching) { argument
285 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching);
288 cachedGlyph = cacheGlyph(paint, textUnit, precaching);
421 SkGlyphCache* skiaGlyphCache, CachedGlyphInfo* glyph, bool precaching) {
436 mState->cacheBitmap(skiaGlyph, glyph, &startX, &startY, precaching);
464 CachedGlyphInfo* Font::cacheGlyph(const SkPaint* paint, glyph_t glyph, bool precaching) { argument
474 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), newGlyph, precaching);
420 updateGlyphCache(const SkPaint* paint, const SkGlyph& skiaGlyph, SkGlyphCache* skiaGlyphCache, CachedGlyphInfo* glyph, bool precaching) argument
/frameworks/base/libs/hwui/
H A DFontRenderer.h147 uint32_t *retOriginX, uint32_t *retOriginY, bool precaching);
H A DFontRenderer.cpp212 uint32_t* retOriginX, uint32_t* retOriginY, bool precaching) {
258 if (!precaching) {
266 // either the glyph didn't fit or we're precaching and will cache it when we draw
211 cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, uint32_t* retOriginX, uint32_t* retOriginY, bool precaching) argument

Completed in 303 milliseconds