/frameworks/base/libs/hwui/ |
H A D | TextDropShadowCache.cpp | 105 int numGlyphs, uint32_t radius, const float* positions) { 113 len, numGlyphs, radius, positions); 104 get(SkPaint* paint, const char* text, uint32_t len, int numGlyphs, uint32_t radius, const float* positions) argument
|
H A D | FontRenderer.cpp | 488 uint32_t startIndex, uint32_t len, int numGlyphs, uint32_t radius, const float* positions) { 506 mCurrentFont->measure(paint, text, startIndex, len, numGlyphs, &bounds, positions); 519 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, penX, penY, 551 void FontRenderer::precache(SkPaint* paint, const char* text, int numGlyphs) { argument 567 font->precache(paint, text, numGlyphs); 571 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, Rect* bounds) { 578 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, x, y); 585 uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, 593 mCurrentFont->render(paint, text, startIndex, len, numGlyphs, x, y, positions); 600 uint32_t startIndex, uint32_t len, int numGlyphs, SkPat 487 renderDropShadow(SkPaint* paint, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, uint32_t radius, const float* positions) argument 570 renderText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, Rect* bounds) argument 584 renderPosText(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, const float* positions, Rect* bounds) argument 599 renderTextOnPath(SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, SkPath* path, float hOffset, float vOffset, Rect* bounds) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | HarfbuzzSkia.cpp | 57 int numGlyphs = paint->textToGlyphs(characters, length * sizeof(uint16_t), skiaGlyphs); local 61 for (int i = numGlyphs - 1; i >= 0; --i) { 65 *glyphsSize = numGlyphs; 69 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, argument 75 uint16_t* glyphs16 = new uint16_t[numGlyphs]; 78 for (unsigned i = 0; i < numGlyphs; ++i) 81 paint->getTextWidths(glyphs16, numGlyphs * sizeof(uint16_t), scalarAdvances); 86 for (unsigned i = 0; i < numGlyphs; ++i) { 101 int numGlyphs = paint->textToGlyphs(characters, length * sizeof(uint16_t), glyphs16); local 104 for (int i = 0; i < numGlyphs; [all...] |
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 187 int numGlyphs, int x, int y, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) { 189 render(paint, text, start, len, numGlyphs, x, y, BITMAP, bitmap, 192 render(paint, text, start, len, numGlyphs, x, y, FRAMEBUFFER, NULL, 198 int numGlyphs, int x, int y, const float* positions) { 199 render(paint, text, start, len, numGlyphs, x, y, FRAMEBUFFER, NULL, 204 int numGlyphs, SkPath* path, float hOffset, float vOffset) { 205 if (numGlyphs == 0 || text == NULL || len == 0) { 232 while (glyphsCount < numGlyphs && penX < pathLength) { 254 int numGlyphs, Rect *bounds, const float* positions) { 260 render(paint, text, start, len, numGlyphs, 186 render(SkPaint* paint, const char* text, uint32_t start, uint32_t len, int numGlyphs, int x, int y, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument 197 render(SkPaint* paint, const char *text, uint32_t start, uint32_t len, int numGlyphs, int x, int y, const float* positions) argument 203 render(SkPaint* paint, const char *text, uint32_t start, uint32_t len, int numGlyphs, SkPath* path, float hOffset, float vOffset) argument 253 measure(SkPaint* paint, const char* text, uint32_t start, uint32_t len, int numGlyphs, Rect *bounds, const float* positions) argument 263 precache(SkPaint* paint, const char* text, int numGlyphs) argument 284 render(SkPaint* paint, const char* text, uint32_t start, uint32_t len, int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* positions) argument [all...] |
/frameworks/rs/ |
H A D | rsFont.cpp | 160 uint32_t start, int32_t numGlyphs, 163 if (!mInitialized || numGlyphs == 0 || text == NULL || len == 0) { 178 if (numGlyphs > 0) { 179 glyphsLeft = numGlyphs; 217 if (numGlyphs > 0) { 746 uint32_t startIndex, int32_t numGlyphs, 773 currentFont->renderUTF(text, len, x, y, startIndex, numGlyphs, 159 renderUTF(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t start, int32_t numGlyphs, RenderMode mode, Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument 745 renderText(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t startIndex, int32_t numGlyphs, Font::RenderMode mode, Font::Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument
|