/external/skia/gm/ |
H A D | skbug_5321.cpp | 24 SkAutoTMalloc<SkScalar> widths(glyph_count); 25 (void)paint.getTextWidths(text, byteLength, &widths[0]); 27 SkScalar w = widths[i]; 28 widths[i] = x; 32 canvas->drawPosTextH(text, byteLength, &widths[0], y, paint);
|
H A D | glyph_pos_align.cpp | 41 SkScalar widths[kMaxStringLength]; local 47 paint.getTextWidths(text, length, widths); 59 posX[i] = x + originX * widths[i]; 61 x += widths[i];
|
H A D | getpostextpath.cpp | 42 SkAutoTArray<SkScalar> widths(len); 43 paint.getTextWidths(text, len, &widths[0]); 50 x += widths[i];
|
H A D | pdf_never_embed.cpp | 17 SkAutoTArray<SkScalar> widths(SkToInt(textLen)); 18 paint.getTextWidths(text, textLen, &widths[0]); 22 x += widths[i];
|
H A D | skbug_257.cpp | 36 SkAutoTArray<SkScalar> widths(count); 37 paint.getTextWidths(text, textLen, &widths[0]); 41 x += widths[i]; 52 SkAutoTArray<SkScalar> widths(count); 53 paint.getTextWidths(text, textLen, &widths[0]); 57 x += widths[i];
|
H A D | texteffects.cpp | 290 SkTDArray<SkScalar> widths; local 291 widths.setCount(widthCount); 292 (void) paint.getTextWidths(test, sizeof(test) - 1, widths.begin()); 298 posX += widths[index]; 334 SkAutoTArray<SkScalar> widths(glyphCount); 335 blobPaint.getTextWidths(glyphs.get(), glyphTextBytes, widths.get()); 350 advance += widths[glyphIndex++]; 364 advance += widths[glyphIndex++]; 377 advance += widths[glyphIndex++]; 439 SkTDArray<SkScalar> widths; local [all...] |
H A D | glyph_pos.cpp | 120 SkScalar widths[sizeof(kText) - 1]; local 121 paint.getTextWidths(kText, sizeof(kText) - 1, widths, nullptr); 131 w += widths[i];
|
H A D | blurrect.cpp | 177 const int widths[] = {25, 5, 5, 100, 150, 25}; local 189 for (size_t i = 0 ; i < SK_ARRAY_COUNT(widths) ; i++) { 190 int width = widths[i];
|
H A D | dftext.cpp | 118 SkAutoTArray<SkScalar> widths(SkToInt(textLen)); 121 paint.getTextWidths(text, textLen, &widths[0]); 127 x += widths[i];
|
H A D | drawatlas.cpp | 114 SkScalar* widths = (SkScalar*)(xform + count); local 116 paint.getTextWidths(text, length, widths); 120 const SkScalar offset = SkScalarHalf(widths[i]);
|
H A D | typeface.cpp | 22 SkScalar* widths = widthStorage.get(); local 23 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths); 27 x += widths[i];
|
/external/skia/experimental/ChromeUtils/ |
H A D | SkBorder.cpp | 21 const SkScalar widths[4], 28 memcpy(fWidths, widths, sizeof(fWidths)); 20 SkBorder(const SkPaint paints[4], const SkScalar widths[4], const BorderStyle styles[4]) argument
|
H A D | SkBorder.h | 69 SkBorder(const SkPaint paints[4], const SkScalar widths[4], const BorderStyle styles[4]);
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
H A D | _h_d_m_x.py | 23 widths = {} 25 widths[glyphOrder[glyphID]] = byteord(data[glyphID+2]) 26 self.hdmx[ppem] = widths 39 for ppem, widths in items: 40 data = data + bytechr(ppem) + bytechr(max(widths.values())) 42 width = widths[glyphOrder[glyphID]] 54 widths = self.hdmx[ppem] 55 records.append(widths) 67 widths = self.hdmx[ppem] 68 row.append(widths[glyphNam [all...] |
/external/fonttools/Tools/fontTools/ttLib/tables/ |
H A D | _h_d_m_x.py | 23 widths = {} 25 widths[glyphOrder[glyphID]] = byteord(data[glyphID+2]) 26 self.hdmx[ppem] = widths 39 for ppem, widths in items: 40 data = data + bytechr(ppem) + bytechr(max(widths.values())) 42 width = widths[glyphOrder[glyphID]] 54 widths = self.hdmx[ppem] 55 records.append(widths) 67 widths = self.hdmx[ppem] 68 row.append(widths[glyphNam [all...] |
/external/pdfium/xfa/fxbarcode/oned/ |
H A D | BC_OnedCode39Writer.cpp | 194 int32_t widths[9] = {0}; local 208 ToIntArray(CHARACTER_ENCODINGS[i], widths); 210 codeWidth += widths[k]; 217 ToIntArray(CHARACTER_ENCODINGS[39], widths); 218 int32_t pos = AppendPattern(result, 0, widths, 9, 1, e); 232 ToIntArray(CHARACTER_ENCODINGS[i], widths); 233 pos += AppendPattern(result, pos, widths, 9, 1, e); 246 ToIntArray(CHARACTER_ENCODINGS[39], widths); 247 pos += AppendPattern(result, pos, widths, 9, 1, e);
|
/external/freetype/src/autofit/ |
H A D | aflatin.h | 93 FT_UInt width_count; /* number of used widths */ 94 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member in struct:AF_LatinAxisRec_ 174 AF_WidthRec* widths, 184 AF_WidthRec* widths,
|
H A D | afcjk.h | 78 FT_UInt width_count; /* number of used widths */ 79 AF_WidthRec widths[AF_CJK_MAX_WIDTHS]; /* widths array */ member in struct:AF_CJKAxisRec_
|
/external/skia/samplecode/ |
H A D | SampleMeasure.cpp | 41 SkScalar* widths = autoWidths.get(); local 51 int n = p.getTextWidths(text, len, widths, rects); 68 x += widths[j];
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
H A D | Relay.java | 102 float[] widths = null; 105 widths = new float[BUFFER_SIZE]; 142 bridge.getPaint().getTextWidths(charArray, 0, offset, widths); 144 wideAttribute[i] = (byte) (((int) widths[i] != charWidth) ? 1 : 0);
|
H A D | TerminalBridge.java | 414 float[] widths = new float[1]; 415 defaultPaint.getTextWidths("X", widths); 416 charWidth = (int) Math.ceil(widths[0]); 720 float[] widths = new float[1]; 721 defaultPaint.getTextWidths("X", widths); 722 int termWidth = (int) widths[0] * cols;
|
/external/skia/tests/ |
H A D | SwizzlerTest.cpp | 76 // Test on an invalid width and representative widths 77 const uint32_t widths[] = { 0, 10, 50 }; local 87 for (uint32_t width : widths) {
|
/external/freetype/src/pshinter/ |
H A D | pshglob.h | 57 /* The maximum number of standard and snap widths in either the */ 73 /* standard and snap widths table */ 77 PSH_WidthRec widths[PS_GLOBALS_MAX_STD_WIDTHS]; member in struct:PSH_WidthsRec_
|
/external/pdfium/third_party/freetype/src/pshinter/ |
H A D | pshglob.h | 57 /* The maximum number of standard and snap widths in either the */ 73 /* standard and snap widths table */ 77 PSH_WidthRec widths[PS_GLOBALS_MAX_STD_WIDTHS]; member in struct:PSH_WidthsRec_
|
/external/skia/tools/ |
H A D | create_test_font.cpp | 132 SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) { 171 *widths->append() = width; 227 SkTDArray<SkScalar> widths; local 229 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths); 282 output_fixed(widths[index], emSize, &widthsStr); 130 output_path_data(const SkPaint& paint, int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) argument
|