/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
H A D | write.py | 94 pythons, widths = [], [0] * (benched_per_table + 1) 142 # calculate column widths (global for all tables) 144 widths[idx] = max(widths[idx], max(map(len, row))) 156 c * (width + 2) for width in widths 179 for width, col in zip(widths, row) 185 ' %s%*s ' % (col, len(col) - widths[j], '') 187 ['%*s ', ' %*s '][idx == 1] % (widths[j], col)
|
/external/skia/gm/ |
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 | atlastext.cpp | 41 std::unique_ptr<SkScalar[]> widths(new SkScalar[cnt]); 42 paint.getTextWidths(glyphs.get(), cnt * sizeof(SkGlyphID), widths.get(), nullptr); 47 positions[i] = {positions[i - 1].fX + widths[i - 1], y}; 53 return positions[cnt - 1].fX + widths[cnt - 1] - positions[0].fX;
|
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 | typeface.cpp | 23 SkScalar* widths = widthStorage.get(); local 24 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths); 28 x += widths[i];
|
H A D | drawatlas.cpp | 113 SkScalar* widths = (SkScalar*)(xform + count); local 122 paint.getTextWidths(text, length, widths); 126 const SkScalar offset = SkScalarHalf(widths[i]);
|
/external/skqp/gm/ |
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 | typeface.cpp | 23 SkScalar* widths = widthStorage.get(); local 24 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths); 28 x += widths[i];
|
H A D | drawatlas.cpp | 113 SkScalar* widths = (SkScalar*)(xform + count); local 122 paint.getTextWidths(text, length, widths); 126 const SkScalar offset = SkScalarHalf(widths[i]);
|
/external/freetype/src/autofit/ |
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/tests/ |
H A D | SwizzlerTest.cpp | 73 // Test on an invalid width and representative widths 74 const uint32_t widths[] = { 0, 10, 50 }; local 84 for (uint32_t width : widths) {
|
/external/skqp/tests/ |
H A D | SwizzlerTest.cpp | 72 // Test on an invalid width and representative widths 73 const uint32_t widths[] = { 0, 10, 50 }; local 83 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/skia/tools/fonts/ |
H A D | create_test_font.cpp | 142 SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) { 181 *widths->append() = width; 237 SkTDArray<SkScalar> widths; local 239 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths); 292 output_fixed(widths[index], emSize, &widthsStr); 140 output_path_data(const SkPaint& paint, int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) argument
|
/external/skqp/tools/ |
H A D | create_test_font.cpp | 141 SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) { 180 *widths->append() = width; 236 SkTDArray<SkScalar> widths; local 238 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths); 291 output_fixed(widths[index], emSize, &widthsStr); 139 output_path_data(const SkPaint& paint, int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) argument
|
/external/pdfium/fpdfsdk/ |
H A D | fpdfedittext.cpp | 329 std::map<uint32_t, uint32_t> widths; local 334 widths[glyphIndex] = pFont->GetGlyphWidth(glyphIndex); 342 for (auto it = widths.begin(); it != widths.end(); ++it) { 345 if (std::next(it) == widths.end()) { 363 if (next_it == widths.end() || next_it->first != it->first + 1 || 382 if (next_it == widths.end() || next_it->first != it->first + 1)
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
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/libvpx/libvpx/vpx_dsp/ |
H A D | psnr.c | 204 const int widths[3] = { a->y_crop_width, a->uv_crop_width, a->uv_crop_width }; local 218 const int w = widths[i]; 252 const int widths[3] = { a->y_crop_width, a->uv_crop_width, a->uv_crop_width }; local 264 const int w = widths[i];
|
/external/skia/src/pdf/ |
H A D | SkPDFFont.cpp | 463 sk_sp<SkPDFArray> widths = SkPDFMakeCIDGlyphWidthsArray( local 465 if (widths && widths->size() > 0) { 466 newCIDFont->insertObject("W", std::move(widths)); 539 auto widths = sk_make_sp<SkPDFArray>(); local 541 widths->appendScalar(from_font_units(advance, SkToU16(emSize))); 544 widths->appendScalar(from_font_units(advance, SkToU16(emSize))); 546 font->insertObject("Widths", std::move(widths));
|
/external/skqp/src/pdf/ |
H A D | SkPDFFont.cpp | 463 sk_sp<SkPDFArray> widths = SkPDFMakeCIDGlyphWidthsArray( local 465 if (widths && widths->size() > 0) { 466 newCIDFont->insertObject("W", std::move(widths)); 539 auto widths = sk_make_sp<SkPDFArray>(); local 541 widths->appendScalar(from_font_units(advance, SkToU16(emSize))); 544 widths->appendScalar(from_font_units(advance, SkToU16(emSize))); 546 font->insertObject("Widths", std::move(widths));
|
/external/skia/src/core/ |
H A D | SkPaint.cpp | 953 SkScalar widths[], SkRect bounds[]) const { 960 if (nullptr == widths && nullptr == bounds) { 980 // we adjust the widths returned here through auto-kerning 987 if (widths) { 991 *widths++ = (prevWidth + adjust) * scale; 1000 if (count > 0 && widths) { 1001 *widths = prevWidth * scale; 1006 if (widths) { 1010 *widths++ = prevWidth + adjust; 1019 if (count > 0 && widths) { 952 getTextWidths(const void* textData, size_t byteLength, SkScalar widths[], SkRect bounds[]) const argument [all...] |
/external/skqp/src/core/ |
H A D | SkPaint.cpp | 953 SkScalar widths[], SkRect bounds[]) const { 960 if (nullptr == widths && nullptr == bounds) { 980 // we adjust the widths returned here through auto-kerning 987 if (widths) { 991 *widths++ = (prevWidth + adjust) * scale; 1000 if (count > 0 && widths) { 1001 *widths = prevWidth * scale; 1006 if (widths) { 1010 *widths++ = prevWidth + adjust; 1019 if (count > 0 && widths) { 952 getTextWidths(const void* textData, size_t byteLength, SkScalar widths[], SkRect bounds[]) const argument [all...] |