Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/font/
DFont.h80 void render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y,
83 void render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, const SkPath* path,
107 void precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs);
109 void render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y,
113 void measure(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, Rect* bounds,
118 CachedGlyphInfo* cacheGlyph(const SkPaint* paint, glyph_t glyph, bool precaching);
134 CachedGlyphInfo* getCachedGlyph(const SkPaint* paint, glyph_t textUnit,
141 DefaultKeyedVector<glyph_t, CachedGlyphInfo*> mCachedGlyphs;
DFont.cpp271 CachedGlyphInfo* Font::getCachedGlyph(const SkPaint* paint, glyph_t textUnit, bool precaching) { in getCachedGlyph()
289 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y, in render()
294 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, const SkPath* path, in render()
322 glyph_t glyph = *(glyphs++); in render()
342 void Font::measure(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, Rect* bounds, in measure()
352 void Font::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs) { in precache()
359 glyph_t glyph = *(glyphs++); in precache()
371 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y, in render()
389 glyph_t glyph = *(glyphs++); in render()
461 CachedGlyphInfo* Font::cacheGlyph(const SkPaint* paint, glyph_t glyph, bool precaching) { in cacheGlyph()
DFontUtil.h38 typedef uint16_t glyph_t; typedef
/frameworks/base/libs/hwui/
DTextDropShadowCache.h49 ShadowText(const SkPaint* paint, float radius, uint32_t glyphCount, const glyph_t* srcGlyphs, in ShadowText()
73 glyphs = reinterpret_cast<const glyph_t*>(str.string()); in copyTextLocally()
88 const glyph_t* glyphs;
133 ShadowTexture* get(const SkPaint* paint, const glyph_t* text, int numGlyphs, float radius,
DFontRenderer.h90 void precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs,
94 bool renderPosText(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, int numGlyphs,
98 bool renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs,
112 DropShadow renderDropShadow(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs,
DRecordedOp.h361 TextOp(BASE_PARAMS, const glyph_t* glyphs, const float* positions, int glyphCount, float x, in TextOp()
369 const glyph_t* glyphs;
379 const glyph_t* glyphs, int glyphCount, const SkPath* path, float hOffset, in TextOnPathOp()
387 const glyph_t* glyphs;
DTextDropShadowCache.cpp77 deltaInt = memcmp(lhs.glyphs, rhs.glyphs, lhs.glyphCount * sizeof(glyph_t)); in compare()
147 ShadowTexture* TextDropShadowCache::get(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, in get()
DRecordingCanvas.cpp508 uint16_t* glyphs = (glyph_t*)alloc().alloc<glyph_t>(glyphCount * sizeof(glyph_t)); in drawGlyphs()
528 const uint16_t* tempGlyphs = refBuffer<glyph_t>(glyphs, 1); in drawLayoutOnPath()
DFontRenderer.cpp556 FontRenderer::DropShadow FontRenderer::renderDropShadow(const SkPaint* paint, const glyph_t* glyphs, in renderDropShadow()
638 void FontRenderer::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, in precache()
648 bool FontRenderer::renderPosText(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, in renderPosText()
666 bool FontRenderer::renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, in renderTextOnPath()
/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.cpp40 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.cpp87 std::vector<glyph_t>* outGlyphs, in layoutTextUnscaled()
99 glyph_t glyph = autoCache.getCache()->unicharToGlyph(unichar); in layoutTextUnscaled()
DTestUtils.h329 std::vector<glyph_t>* outGlyphs,