Home
last modified time | relevance | path

Searched refs:numGlyphs (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,
DFont.cpp289 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, int x, int y, in render() argument
291 render(paint, glyphs, numGlyphs, x, y, FRAMEBUFFER, nullptr, 0, 0, nullptr, positions); in render()
294 void Font::render(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, const SkPath* path, in render() argument
296 if (numGlyphs == 0 || glyphs == nullptr) { in render()
312 float textWidth = SkScalarToFloat(paint->measureText(glyphs, numGlyphs * 2)); in render()
321 while (glyphsCount < numGlyphs && penX < pathLength) { in render()
342 void Font::measure(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, Rect* bounds, in measure() argument
349 render(paint, glyphs, numGlyphs, 0, 0, MEASURE, nullptr, 0, 0, bounds, positions); in measure()
352 void Font::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs) { in precache() argument
353 if (numGlyphs == 0 || glyphs == nullptr) { in precache()
[all …]
/frameworks/base/libs/hwui/
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,
99 int numGlyphs, const SkPath* path, float hOffset, float vOffset,
112 DropShadow renderDropShadow(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs,
DTextDropShadowCache.cpp147 ShadowTexture* TextDropShadowCache::get(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, in get() argument
149 ShadowText entry(paint, radius, numGlyphs, glyphs, positions); in get()
156 mRenderer->renderDropShadow(&paintCopy, glyphs, numGlyphs, radius, positions); in get()
DFontRenderer.cpp557 int numGlyphs, float radius, in renderDropShadow() argument
577 mCurrentFont->measure(paint, glyphs, numGlyphs, &bounds, positions); in renderDropShadow()
604 mCurrentFont->render(paint, glyphs, numGlyphs, penX, penY, Font::BITMAP, dataBuffer, in renderDropShadow()
638 void FontRenderer::precache(const SkPaint* paint, const glyph_t* glyphs, int numGlyphs, in precache() argument
641 font->precache(paint, glyphs, numGlyphs); in precache()
649 int numGlyphs, int x, int y, const float* positions, Rect* bounds, in renderPosText() argument
657 mCurrentFont->render(paint, glyphs, numGlyphs, x, y, positions); in renderPosText()
667 int numGlyphs, const SkPath* path, float hOffset, float vOffset, in renderTextOnPath() argument
675 mCurrentFont->render(paint, glyphs, numGlyphs, path, hOffset, vOffset); in renderTextOnPath()
DTextDropShadowCache.h133 ShadowTexture* get(const SkPaint* paint, const glyph_t* text, int numGlyphs, float radius,
/frameworks/av/cmds/screenrecord/
DTextRenderer.cpp36 uint32_t TextRenderer::mXOffset[FontBitmap::numGlyphs];
52 for (unsigned int i = 0; i < FontBitmap::numGlyphs; i++) { in initXOffset()
162 if (chi >= FontBitmap::numGlyphs) { in glyphIndex()
165 assert(chi < FontBitmap::numGlyphs); in glyphIndex()
DFontBitmap.h6 static const uint32_t numGlyphs = 95; variable
/frameworks/rs/
DrsFont.cpp161 uint32_t start, int32_t numGlyphs, in renderUTF() argument
164 if (!mInitialized || numGlyphs == 0 || text == nullptr || len == 0) { in renderUTF()
179 if (numGlyphs > 0) { in renderUTF()
180 glyphsLeft = numGlyphs; in renderUTF()
218 if (numGlyphs > 0) { in renderUTF()
745 uint32_t startIndex, int32_t numGlyphs, in renderText() argument
774 currentFont->renderUTF(text, len, x, y, startIndex, numGlyphs, in renderText()
DrsFont.h86 uint32_t start, int32_t numGlyphs,
149 uint32_t startIndex = 0, int numGlyphs = -1,
/frameworks/minikin/libs/minikin/
DLayout.cpp686 unsigned int numGlyphs; in doLayoutRun() local
687 hb_glyph_info_t* info = hb_buffer_get_glyph_infos(buffer.get(), &numGlyphs); in doLayoutRun()
698 if (numGlyphs) { in doLayoutRun()
702 for (unsigned int i = 0; i < numGlyphs; i++) { in doLayoutRun()
748 if (numGlyphs) { in doLayoutRun()
749 mAdvances[info[numGlyphs - 1].cluster - clusterOffset] += letterSpaceHalfRight; in doLayoutRun()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in1135 … GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, co…
1136 …CALL_GL_API(glPathGlyphsNV, firstPathName, fontTarget, fontName, fontStyle, numGlyphs, type, charc…
1138 … const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMi…
1139 …yphRangeNV, firstPathName, fontTarget, fontName, fontStyle, firstGlyph, numGlyphs, handleMissingGl…
1270 …t void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathPara…
1271 …rayNV, firstPathName, fontTarget, fontName, fontStyle, firstGlyphIndex, numGlyphs, pathParameterTe…
1273 …onst void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathPara…
1274 …stPathName, fontTarget, fontSize, fontData, faceIndex, firstGlyphIndex, numGlyphs, pathParameterTe…
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h3088 … GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, co…
3089 … const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMi…
3133 …t void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathPara…
3134 …onst void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathPara…
3165 … GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, co…
3166 … const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMi…
3210 …t void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathPara…
3211 …onst void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathPara…
/frameworks/native/opengl/libs/
Dentries.in636 …t void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathPara…
638 … const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMi…
639 … GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, co…
640 …onst void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathPara…