Home
last modified time | relevance | path

Searched refs:skiaGlyph (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/font/
DFont.cpp284 const SkGlyph& skiaGlyph = GET_METRICS(autoCache.getCache(), textUnit); in getCachedGlyph() local
285 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching); in getCachedGlyph()
420 void Font::updateGlyphCache(const SkPaint* paint, const SkGlyph& skiaGlyph, in updateGlyphCache() argument
422 glyph->mAdvanceX = skiaGlyph.fAdvanceX; in updateGlyphCache()
423 glyph->mAdvanceY = skiaGlyph.fAdvanceY; in updateGlyphCache()
424 glyph->mBitmapLeft = skiaGlyph.fLeft; in updateGlyphCache()
425 glyph->mBitmapTop = skiaGlyph.fTop; in updateGlyphCache()
426 glyph->mLsbDelta = skiaGlyph.fLsbDelta; in updateGlyphCache()
427 glyph->mRsbDelta = skiaGlyph.fRsbDelta; in updateGlyphCache()
433 if (!skiaGlyph.fImage) { in updateGlyphCache()
[all …]
DFont.h125 void updateGlyphCache(const SkPaint* paint, const SkGlyph& skiaGlyph,