Home
last modified time | relevance | path

Searched refs:CachedGlyphInfo (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/font/
DFont.h42 struct CachedGlyphInfo;
106 typedef void (Font::*RenderGlyph)(CachedGlyphInfo*, int, int, uint8_t*,
126 CachedGlyphInfo* cacheGlyph(const SkPaint* paint, glyph_t glyph, bool precaching);
128 SkGlyphCache* skiaGlyphCache, CachedGlyphInfo* glyph, bool precaching);
130 void measureCachedGlyph(CachedGlyphInfo* glyph, int x, int y,
133 void drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y,
136 void drawCachedGlyphTransformed(CachedGlyphInfo* glyph, int x, int y,
139 void drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y,
142 void drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset,
145 CachedGlyphInfo* getCachedGlyph(const SkPaint* paint, glyph_t textUnit,
[all …]
DFont.cpp128 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i); in invalidateTextureCache()
135 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int x, int y, in measureCachedGlyph()
157 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y, in drawCachedGlyph()
176 void Font::drawCachedGlyphTransformed(CachedGlyphInfo* glyph, int x, int y, in drawCachedGlyphTransformed()
206 void Font::drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, in drawCachedGlyphBitmap()
237 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, in drawCachedGlyph()
277 CachedGlyphInfo* Font::getCachedGlyph(const SkPaint* paint, glyph_t textUnit, bool precaching) { in getCachedGlyph()
278 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit); in getCachedGlyph()
334 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); in render()
404 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); in render()
[all …]
DFontCacheHistoryTracker.h26 struct CachedGlyphInfo;
32 void glyphRendered(CachedGlyphInfo*, int penX, int penY);
DCachedGlyphInfo.h25 struct CachedGlyphInfo { struct
DFontCacheHistoryTracker.cpp63 void FontCacheHistoryTracker::glyphRendered(CachedGlyphInfo* glyphInfo, int penX, int penY) { in glyphRendered()
/frameworks/rs/
DrsFont.h91 struct CachedGlyphInfo struct
127 DefaultKeyedVector<uint32_t, CachedGlyphInfo* > mCachedGlyphs; argument
128 CachedGlyphInfo* getCachedUTFChar(int32_t utfChar);
130 CachedGlyphInfo *cacheGlyph(uint32_t glyph);
131 void updateGlyphCache(CachedGlyphInfo *glyph);
132 void measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds);
133 void drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y);
134 void drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y,
DrsFont.cpp92 void Font::drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y) { in drawCachedGlyph()
112 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int32_t x, int32_t y, in drawCachedGlyph()
138 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds) { in measureCachedGlyph()
198 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar); in renderUTF()
224 Font::CachedGlyphInfo* Font::getCachedUTFChar(int32_t utfChar) { in getCachedUTFChar()
226 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar); in getCachedUTFChar()
238 void Font::updateGlyphCache(CachedGlyphInfo *glyph) { in updateGlyphCache()
283 Font::CachedGlyphInfo *Font::cacheGlyph(uint32_t glyph) { in cacheGlyph()
284 CachedGlyphInfo *newGlyph = new CachedGlyphInfo(); in cacheGlyph()
327 CachedGlyphInfo *glyph = mCachedGlyphs.valueAt(i); in ~Font()
/frameworks/base/libs/hwui/
DFontRenderer.h138 void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,
DFontRenderer.cpp208 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, in cacheBitmap()