Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DFont.h104 typedef void (Font::*RenderGlyph)(CachedGlyphInfo*, int, int, uint8_t*,
124 CachedGlyphInfo* cacheGlyph(const SkPaint* paint, glyph_t glyph, bool precaching);
126 SkGlyphCache* skiaGlyphCache, CachedGlyphInfo* glyph, bool precaching);
128 void measureCachedGlyph(CachedGlyphInfo* glyph, int x, int y,
131 void drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y,
134 void drawCachedGlyphTransformed(CachedGlyphInfo* glyph, int x, int y,
137 void drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y,
140 void drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset,
143 CachedGlyphInfo* getCachedGlyph(const SkPaint* paint, glyph_t textUnit,
150 DefaultKeyedVector<glyph_t, CachedGlyphInfo*> mCachedGlyphs;
DFont.cpp134 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i); in invalidateTextureCache()
141 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int x, int y, in measureCachedGlyph()
163 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y, in drawCachedGlyph()
182 void Font::drawCachedGlyphTransformed(CachedGlyphInfo* glyph, int x, int y, in drawCachedGlyphTransformed()
212 void Font::drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, in drawCachedGlyphBitmap()
243 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, in drawCachedGlyph()
283 CachedGlyphInfo* Font::getCachedGlyph(const SkPaint* paint, glyph_t textUnit, bool precaching) { in getCachedGlyph()
284 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit); in getCachedGlyph()
341 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); in render()
381 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph, true); in precache()
[all …]
DCachedGlyphInfo.h27 struct CachedGlyphInfo { struct
/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.cpp93 void Font::drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y) { in drawCachedGlyph()
113 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int32_t x, int32_t y, in drawCachedGlyph()
139 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds) { in measureCachedGlyph()
199 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar); in renderUTF()
225 Font::CachedGlyphInfo* Font::getCachedUTFChar(int32_t utfChar) { in getCachedUTFChar()
227 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar); in getCachedUTFChar()
239 void Font::updateGlyphCache(CachedGlyphInfo *glyph) { in updateGlyphCache()
284 Font::CachedGlyphInfo *Font::cacheGlyph(uint32_t glyph) { in cacheGlyph()
285 CachedGlyphInfo *newGlyph = new CachedGlyphInfo(); in cacheGlyph()
328 CachedGlyphInfo *glyph = mCachedGlyphs.valueAt(i); in ~Font()
/frameworks/base/libs/hwui/
DFontRenderer.h149 void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,
DFontRenderer.cpp219 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, in cacheBitmap()