Searched refs:autoCache (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.cpp | 91 SkAutoGlyphCacheNoGamma autoCache(paint, &surfaceProps, &SkMatrix::I()); in layoutTextUnscaled() local 97 glyph_t glyph = autoCache.getCache()->unicharToGlyph(unichar); in layoutTextUnscaled() 98 autoCache.getCache()->unicharToGlyph(unichar); in layoutTextUnscaled() 106 SkGlyph skGlyph = autoCache.getCache()->getUnicharMetrics(unichar); in layoutTextUnscaled()
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 283 … SkAutoGlyphCacheNoGamma autoCache(*paint, &surfaceProps, &mDescription.mLookupTransform); in getCachedGlyph() local 284 const SkGlyph& skiaGlyph = GET_METRICS(autoCache.getCache(), textUnit); in getCachedGlyph() 285 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching); in getCachedGlyph() 475 SkAutoGlyphCacheNoGamma autoCache(*paint, &surfaceProps, &mDescription.mLookupTransform); in cacheGlyph() local 476 const SkGlyph& skiaGlyph = GET_METRICS(autoCache.getCache(), glyph); in cacheGlyph() 480 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), newGlyph, precaching); in cacheGlyph()
|