/frameworks/base/core/jni/android/graphics/ |
D | HarfbuzzSkia.cpp | 66 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), skiaGlyphs); in stringToGlyphs() local 70 for (int i = numGlyphs - 1; i >= 0; --i) { in stringToGlyphs() 74 *glyphsSize = numGlyphs; in stringToGlyphs() 78 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, in glyphsToAdvances() argument 87 uint16_t* glyphs16 = new uint16_t[numGlyphs]; in glyphsToAdvances() 90 for (unsigned i = 0; i < numGlyphs; ++i) in glyphsToAdvances() 93 paint.getTextWidths(glyphs16, numGlyphs * sizeof(uint16_t), scalarAdvances); in glyphsToAdvances() 98 for (unsigned i = 0; i < numGlyphs; ++i) { in glyphsToAdvances() 116 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), glyphs16); in canRender() local 119 for (int i = 0; i < numGlyphs; ++i) { in canRender()
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.cpp | 158 int numGlyphs, int x, int y, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) { in render() argument 160 render(paint, text, start, len, numGlyphs, x, y, BITMAP, bitmap, in render() 163 render(paint, text, start, len, numGlyphs, x, y, FRAMEBUFFER, NULL, in render() 170 int numGlyphs, Rect *bounds) { in measure() argument 176 render(paint, text, start, len, numGlyphs, 0, 0, MEASURE, NULL, 0, 0, bounds); in measure() 182 int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, in render() argument 184 if (numGlyphs == 0 || text == NULL || len == 0) { in render() 191 if (numGlyphs > 0) { in render() 192 glyphsLeft = numGlyphs; in render() 230 if (numGlyphs > 0) { in render() [all …]
|
D | FontRenderer.h | 79 int numGlyphs, int x, int y, uint8_t *bitmap = NULL, 98 int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, 102 int numGlyphs, Rect *bounds); 188 uint32_t len, int numGlyphs, int x, int y, Rect* bounds); 209 uint32_t len, int numGlyphs, uint32_t radius);
|
D | TextDropShadowCache.cpp | 105 int numGlyphs, uint32_t radius) { in get() argument 111 len, numGlyphs, radius); in get()
|
D | TextDropShadowCache.h | 120 int numGlyphs, uint32_t radius);
|
/frameworks/base/libs/rs/ |
D | rsFont.cpp | 159 uint32_t start, int32_t numGlyphs, in renderUTF() argument 162 if (!mInitialized || numGlyphs == 0 || text == NULL || len == 0) { in renderUTF() 177 if (numGlyphs > 0) { in renderUTF() 178 glyphsLeft = numGlyphs; in renderUTF() 216 if (numGlyphs > 0) { in renderUTF() 726 uint32_t startIndex, int32_t numGlyphs, in renderText() argument 749 currentFont->renderUTF(text, len, x, y, startIndex, numGlyphs, in renderText()
|
D | rsFont.h | 88 uint32_t start, int32_t numGlyphs, 151 uint32_t startIndex = 0, int numGlyphs = -1,
|