Searched defs:textLen (Results 1 - 25 of 50) sorted by relevance

12

/external/skia/gm/
H A Dpdf_never_embed.cpp16 size_t textLen = strlen(text); local
17 SkAutoTArray<SkScalar> widths(SkToInt(textLen));
18 paint.getTextWidths(text, textLen, &widths[0]);
19 SkAutoTArray<SkPoint> pos(SkToInt(textLen));
20 for (int i = 0; i < SkToInt(textLen); ++i) {
24 canvas->drawPosText(text, textLen, &pos[0], paint);
H A Dfontscaler.cpp41 const size_t textLen = strlen(text); variable
65 canvas->drawText(text, textLen, x, y, paint);
H A Dfontscalerdistortable.cpp43 const size_t textLen = strlen(text); variable
74 canvas->drawText(text, textLen, x, y, paint);
H A Ddftext.cpp67 const size_t textLen = strlen(text); variable
77 canvas->drawText(text, textLen, 0, 0, paint);
91 canvas->drawText(text, textLen, rotX, rotY, paint);
107 canvas->drawText(text, textLen, 0, 0, paint);
117 SkAutoTArray<SkPoint> pos(SkToInt(textLen));
118 SkAutoTArray<SkScalar> widths(SkToInt(textLen));
121 paint.getTextWidths(text, textLen, &widths[0]);
125 for (unsigned int i = 0; i < textLen; ++i) {
130 canvas->drawPosText(text, textLen, &pos[0], paint);
152 canvas->drawText(text, textLen,
[all...]
H A Dskbug_257.cpp34 size_t textLen = strlen(text); local
35 int count = paint.countText(text, textLen);
37 paint.getTextWidths(text, textLen, &widths[0]);
43 canvas->drawPosText(text, textLen, &pos[0], paint);
50 size_t textLen = strlen(text); local
51 int count = paint.countText(text, textLen);
53 paint.getTextWidths(text, textLen, &widths[0]);
59 canvas->drawPosTextH(text, textLen, &pos[0], y, paint);
H A Dpictureimagegenerator.cpp40 const size_t textLen = strlen(kSkiaStr); local
41 paint.getTextPath(kSkiaStr, textLen, 0, 0, &path);
93 canvas->drawText(kSkiaStr, textLen, 0, 0, paint);
H A Dshadertext.cpp105 const int textLen = SK_ARRAY_COUNT(text) - 1; variable
108 const int w = pointSize * textLen;
172 canvas->drawText(text, textLen, 0, textBase, paint);
178 canvas->drawTextOnPath(text, textLen, path, nullptr, paint);
H A Dtexteffects.cpp143 const size_t textLen = strlen(text); local
144 const int glyphCount = blobPaint.textToGlyphs(text, textLen, nullptr);
146 blobPaint.textToGlyphs(text, textLen, glyphs.get());
H A Dtypeface.cpp121 const size_t textLen = strlen(text); variable
134 canvas->drawText(text, textLen, x, y, paint);
136 drawKernText(canvas, text, textLen, x + 240, y, paint);
/external/skqp/gm/
H A Dpdf_never_embed.cpp16 size_t textLen = strlen(text); local
17 SkAutoTArray<SkScalar> widths(SkToInt(textLen));
18 paint.getTextWidths(text, textLen, &widths[0]);
19 SkAutoTArray<SkPoint> pos(SkToInt(textLen));
20 for (int i = 0; i < SkToInt(textLen); ++i) {
24 canvas->drawPosText(text, textLen, &pos[0], paint);
H A Dfontscaler.cpp41 const size_t textLen = strlen(text); variable
65 canvas->drawText(text, textLen, x, y, paint);
H A Dfontscalerdistortable.cpp43 const size_t textLen = strlen(text); variable
74 canvas->drawText(text, textLen, x, y, paint);
H A Ddftext.cpp67 const size_t textLen = strlen(text); variable
77 canvas->drawText(text, textLen, 0, 0, paint);
91 canvas->drawText(text, textLen, rotX, rotY, paint);
107 canvas->drawText(text, textLen, 0, 0, paint);
117 SkAutoTArray<SkPoint> pos(SkToInt(textLen));
118 SkAutoTArray<SkScalar> widths(SkToInt(textLen));
121 paint.getTextWidths(text, textLen, &widths[0]);
125 for (unsigned int i = 0; i < textLen; ++i) {
130 canvas->drawPosText(text, textLen, &pos[0], paint);
152 canvas->drawText(text, textLen,
[all...]
H A Dskbug_257.cpp34 size_t textLen = strlen(text); local
35 int count = paint.countText(text, textLen);
37 paint.getTextWidths(text, textLen, &widths[0]);
43 canvas->drawPosText(text, textLen, &pos[0], paint);
50 size_t textLen = strlen(text); local
51 int count = paint.countText(text, textLen);
53 paint.getTextWidths(text, textLen, &widths[0]);
59 canvas->drawPosTextH(text, textLen, &pos[0], y, paint);
H A Dpictureimagegenerator.cpp40 const size_t textLen = strlen(kSkiaStr); local
41 paint.getTextPath(kSkiaStr, textLen, 0, 0, &path);
93 canvas->drawText(kSkiaStr, textLen, 0, 0, paint);
H A Dshadertext.cpp105 const int textLen = SK_ARRAY_COUNT(text) - 1; variable
108 const int w = pointSize * textLen;
172 canvas->drawText(text, textLen, 0, textBase, paint);
178 canvas->drawTextOnPath(text, textLen, path, nullptr, paint);
H A Dtexteffects.cpp143 const size_t textLen = strlen(text); local
144 const int glyphCount = blobPaint.textToGlyphs(text, textLen, nullptr);
146 blobPaint.textToGlyphs(text, textLen, glyphs.get());
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DCharsetRecog_2022.java31 * @param textLen the size of the text in the byte.
35 int match(byte [] text, int textLen, byte [][] escapeSequences) { argument
43 for (i=0; i<textLen; i++) {
49 if ((textLen - i) < seq.length) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCharsetRecog_2022.java30 * @param textLen the size of the text in the byte.
34 int match(byte [] text, int textLen, byte [][] escapeSequences) { argument
42 for (i=0; i<textLen; i++) {
48 if ((textLen - i) < seq.length) {
/external/skia/samplecode/
H A DSampleFontScalerTest.cpp86 const size_t textLen = strlen(text); local
109 canvas->drawText(text, textLen, x, y, paint);
H A DSampleShaderText.cpp115 const int textLen = SK_ARRAY_COUNT(text) - 1; local
118 int w = pointSize * textLen;
180 canvas->drawText(text, textLen, 0, textBase, paint);
186 canvas->drawTextOnPath(text, textLen, path, nullptr, paint);
/external/skia/tests/
H A DSVGDeviceTest.cpp50 int textLen = SkToInt(strlen(expected)); local
55 int xposCount = (scalarsPerPos < 1) ? 1 : textLen;
72 int yposCount = (scalarsPerPos < 2) ? 1 : textLen;
/external/skqp/samplecode/
H A DSampleFontScalerTest.cpp86 const size_t textLen = strlen(text); local
109 canvas->drawText(text, textLen, x, y, paint);
/external/skqp/tests/
H A DSVGDeviceTest.cpp50 int textLen = SkToInt(strlen(expected)); local
55 int xposCount = (scalarsPerPos < 1) ? 1 : textLen;
72 int yposCount = (scalarsPerPos < 2) ? 1 : textLen;
/external/icu/icu4c/source/i18n/
H A Dcsr2022.cpp30 * @param textLen the size of the text in the byte.
34 int32_t CharsetRecog_2022::match_2022(const uint8_t *text, int32_t textLen, const uint8_t escapeSequences[][5], int32_t escapeSequences_length) const argument
44 while(i < textLen) {
51 if (textLen-i >= seq_length) {

Completed in 389 milliseconds

12