Searched refs:CachedGlyphInfo (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/libs/hwui/font/ |
D | Font.h | 42 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 …]
|
D | Font.cpp | 128 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 …]
|
D | FontCacheHistoryTracker.h | 26 struct CachedGlyphInfo; 32 void glyphRendered(CachedGlyphInfo*, int penX, int penY);
|
D | CachedGlyphInfo.h | 25 struct CachedGlyphInfo { struct
|
D | FontCacheHistoryTracker.cpp | 63 void FontCacheHistoryTracker::glyphRendered(CachedGlyphInfo* glyphInfo, int penX, int penY) { in glyphRendered()
|
/frameworks/rs/ |
D | rsFont.h | 91 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,
|
D | rsFont.cpp | 92 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/ |
D | FontRenderer.h | 138 void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,
|
D | FontRenderer.cpp | 208 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, in cacheBitmap()
|