Home
last modified time | relevance | path

Searched refs:numGlyphs (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/font/
DFont.h81 int numGlyphs, int x, int y, const float* positions);
84 int numGlyphs, SkPath* path, float hOffset, float vOffset);
109 void precache(SkPaint* paint, const char* text, int numGlyphs);
112 int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap,
116 int numGlyphs, Rect *bounds, const float* positions);
DFont.cpp287 int numGlyphs, int x, int y, const float* positions) { in render() argument
288 render(paint, text, start, len, numGlyphs, x, y, FRAMEBUFFER, NULL, in render()
293 int numGlyphs, SkPath* path, float hOffset, float vOffset) { in render() argument
294 if (numGlyphs == 0 || text == NULL || len == 0) { in render()
321 while (glyphsCount < numGlyphs && penX < pathLength) { in render()
343 int numGlyphs, Rect *bounds, const float* positions) { in measure() argument
349 render(paint, text, start, len, numGlyphs, 0, 0, MEASURE, NULL, 0, 0, bounds, positions); in measure()
352 void Font::precache(SkPaint* paint, const char* text, int numGlyphs) { in precache() argument
355 if (numGlyphs == 0 || text == NULL) { in precache()
360 while (glyphsCount < numGlyphs) { in precache()
[all …]
/frameworks/base/libs/hwui/
DFontRenderer.h102 void precache(SkPaint* paint, const char* text, int numGlyphs, const mat4& matrix);
107 uint32_t len, int numGlyphs, int x, int y, const float* positions, Rect* bounds,
112 uint32_t len, int numGlyphs, SkPath* path, float hOffset, float vOffset, Rect* bounds,
134 uint32_t len, int numGlyphs, uint32_t radius, const float* positions);
DFontRenderer.cpp594 uint32_t startIndex, uint32_t len, int numGlyphs, uint32_t radius, const float* positions) { in renderDropShadow() argument
613 mCurrentFont->measure(paint, text, startIndex, len, numGlyphs, &bounds, positions); in renderDropShadow()
644 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, penX, penY, in renderDropShadow()
678 void FontRenderer::precache(SkPaint* paint, const char* text, int numGlyphs, const mat4& matrix) { in precache() argument
680 font->precache(paint, text, numGlyphs); in precache()
688 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, in renderPosText() argument
696 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, x, y, positions); in renderPosText()
706 uint32_t startIndex, uint32_t len, int numGlyphs, SkPath* path, in renderTextOnPath() argument
714 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, path, hOffset, vOffset); in renderTextOnPath()
DTextDropShadowCache.cpp172 int numGlyphs, float radius, const float* positions) { in get() argument
180 len, numGlyphs, radius, positions); in get()
DTextDropShadowCache.h139 int numGlyphs, float radius, const float* positions);
/frameworks/base/core/jni/android/graphics/
DTextLayoutCache.cpp660 unsigned int numGlyphs; in logGlyphs() local
661 hb_glyph_info_t* info = hb_buffer_get_glyph_infos(buffer, &numGlyphs); in logGlyphs()
663 ALOGD(" -- glyphs count=%d", numGlyphs); in logGlyphs()
664 for (size_t i = 0; i < numGlyphs; i++) { in logGlyphs()
732 unsigned int numGlyphs; in computeRunValues() local
733 hb_glyph_info_t* info = hb_buffer_get_glyph_infos(mBuffer, &numGlyphs); in computeRunValues()
739 ALOGD(" -- num_glyph = %d", numGlyphs); in computeRunValues()
746 for (size_t i = 0; i < numGlyphs; i++) { in computeRunValues()
822 unsigned int numGlyphs; in shapeFontRun() local
823 hb_glyph_info_t* info = hb_buffer_get_glyph_infos(mBuffer, &numGlyphs); in shapeFontRun()
[all …]
/frameworks/rs/
DrsFont.cpp162 uint32_t start, int32_t numGlyphs, in renderUTF() argument
165 if (!mInitialized || numGlyphs == 0 || text == NULL || len == 0) { in renderUTF()
180 if (numGlyphs > 0) { in renderUTF()
181 glyphsLeft = numGlyphs; in renderUTF()
219 if (numGlyphs > 0) { in renderUTF()
750 uint32_t startIndex, int32_t numGlyphs, in renderText() argument
778 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,