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

/frameworks/base/libs/hwui/font/
H A DFont.h26 #include "CachedGlyphInfo.h"
73 typedef void (Font::*RenderGlyph)(CachedGlyphInfo*, int, int, uint8_t*,
95 DefaultKeyedVector<glyph_t, CachedGlyphInfo*> mCachedGlyphs;
99 CachedGlyphInfo* cacheGlyph(SkPaint* paint, glyph_t glyph, bool precaching);
100 void updateGlyphCache(SkPaint* paint, const SkGlyph& skiaGlyph, CachedGlyphInfo* glyph,
103 void measureCachedGlyph(CachedGlyphInfo* glyph, int x, int y,
106 void drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y,
109 void drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y,
112 void drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset,
115 CachedGlyphInfo* getCachedGlyp
[all...]
H A DCachedGlyphInfo.h27 struct CachedGlyphInfo { struct in namespace:android::uirenderer
H A DFont.cpp55 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i);
62 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int x, int y,
84 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y,
103 void Font::drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y,
131 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset,
168 CachedGlyphInfo* Font::getCachedGlyph(SkPaint* paint, glyph_t textUnit, bool precaching) {
169 CachedGlyphInfo* cachedGlyph = NULL;
239 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph);
278 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph, true);
315 CachedGlyphInfo* cachedGlyp
[all...]
/frameworks/rs/
H A DrsFont.h92 struct CachedGlyphInfo struct in class:android::renderscript::Font
128 DefaultKeyedVector<uint32_t, CachedGlyphInfo* > mCachedGlyphs;
129 CachedGlyphInfo* getCachedUTFChar(int32_t utfChar);
131 CachedGlyphInfo *cacheGlyph(uint32_t glyph);
132 void updateGlyphCache(CachedGlyphInfo *glyph);
133 void measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds);
134 void drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y);
135 void drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y,
H A DrsFont.cpp91 void Font::drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y) {
111 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int32_t x, int32_t y,
137 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds) {
197 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar);
223 Font::CachedGlyphInfo* Font::getCachedUTFChar(int32_t utfChar) {
225 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar);
237 void Font::updateGlyphCache(CachedGlyphInfo *glyph) {
282 Font::CachedGlyphInfo *Font::cacheGlyph(uint32_t glyph) {
283 CachedGlyphInfo *newGlyph = new CachedGlyphInfo();
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.h28 #include "font/CachedGlyphInfo.h"
114 void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,
H A DFontRenderer.cpp169 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,

Completed in 377 milliseconds