Home
last modified time | relevance | path

Searched refs:glyph_t (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/libs/hwui/font/
DFont.h86 void render(const SkPaint* paint, const glyph_t* glyphs,
89 void render(const SkPaint* paint, const glyph_t* glyphs,
115 void precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs);
117 void render(const SkPaint* paint, const glyph_t* glyphs,
121 void measure(const SkPaint* paint, const glyph_t* glyphs,
126 CachedGlyphInfo* cacheGlyph(const SkPaint* paint, glyph_t glyph, bool precaching);
145 CachedGlyphInfo* getCachedGlyph(const SkPaint* paint, glyph_t textUnit,
152 DefaultKeyedVector<glyph_t, CachedGlyphInfo*> mCachedGlyphs;
DFont.cpp277 CachedGlyphInfo* Font::getCachedGlyph(const SkPaint* paint, glyph_t textUnit, bool precaching) { in getCachedGlyph()
294 void Font::render(const SkPaint* paint, const glyph_t* glyphs, in render()
300 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, in render()
328 glyph_t glyph = *(glyphs++); in render()
348 void Font::measure(const SkPaint* paint, const glyph_t* glyphs, in measure()
358 void Font::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs) { in precache()
365 glyph_t glyph = *(glyphs++); in precache()
377 void Font::render(const SkPaint* paint, const glyph_t* glyphs, in render()
397 glyph_t glyph = *(glyphs++); in render()
470 CachedGlyphInfo* Font::cacheGlyph(const SkPaint* paint, glyph_t glyph, bool precaching) { in cacheGlyph()
DFontUtil.h43 typedef uint16_t glyph_t; typedef
/frameworks/base/libs/hwui/
DTextDropShadowCache.h42 ShadowText(const SkPaint* paint, float radius, uint32_t glyphCount, const glyph_t* srcGlyphs, in ShadowText()
72 glyphs = reinterpret_cast<const glyph_t*>(str.string()); in copyTextLocally()
87 const glyph_t* glyphs;
133 ShadowTexture* get(const SkPaint* paint, const glyph_t* text,
DFontRenderer.h94 … void precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, const SkMatrix& matrix);
97 bool renderPosText(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs,
101 bool renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs,
115 DropShadow renderDropShadow(const SkPaint* paint, const glyph_t *glyphs, int numGlyphs,
DRecordedOp.h385 TextOp(BASE_PARAMS, const glyph_t* glyphs, const float* positions, int glyphCount, in TextOp()
393 const glyph_t* glyphs;
403 const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, float vOffset) in TextOnPathOp()
410 const glyph_t* glyphs;
DTextDropShadowCache.cpp78 deltaInt = memcmp(lhs.glyphs, rhs.glyphs, lhs.glyphCount * sizeof(glyph_t)); in compare()
148 ShadowTexture* TextDropShadowCache::get(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, in get()
DFontRenderer.cpp560 FontRenderer::DropShadow FontRenderer::renderDropShadow(const SkPaint* paint, const glyph_t *glyphs, in renderDropShadow()
641 void FontRenderer::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, in precache()
651 bool FontRenderer::renderPosText(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, in renderPosText()
669 bool FontRenderer::renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, in renderTextOnPath()
DRecordingCanvas.cpp547 glyphs = refBuffer<glyph_t>(glyphs, glyphCount); in drawGlyphs()
567 const uint16_t* tempGlyphs = refBuffer<glyph_t>(glyphs, 1); in drawLayoutOnPath()
/frameworks/base/libs/hwui/tests/microbench/
DFontBench.cpp36 std::vector<glyph_t> glyphs; in BM_FontRenderer_precache_cachehits()
/frameworks/base/libs/hwui/tests/unit/
DTextDropShadowCacheTests.cpp39 std::vector<glyph_t> glyphs; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
DFontRendererTests.cpp39 std::vector<glyph_t> glyphs; in RENDERTHREAD_OPENGL_PIPELINE_TEST()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp86 std::vector<glyph_t>* outGlyphs, std::vector<float>* outPositions, in layoutTextUnscaled()
97 glyph_t glyph = autoCache.getCache()->unicharToGlyph(unichar); in layoutTextUnscaled()
DTestUtils.h331 std::vector<glyph_t>* outGlyphs, std::vector<float>* outPositions,