/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
|
/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 | 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 | path_stroke_with_zero_length.cpp | 116 SkScalar widths[] = { 0, .999f, 1, 1.001f, 20 }; variable 120 for (SkScalar width : widths) {
|
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 | 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 | hairlines.cpp | 245 const SkScalar widths[] = { 0, 0.999f, 1, 1.001f }; local 249 for (auto width : widths) {
|
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 | typeface.cpp | 22 SkScalar* widths = widthStorage.get(); local 23 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths); 27 x += widths[i];
|
/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/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_
|
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.c | 78 "cjk standard widths computation (style `%s')\n" 224 axis->widths[num_widths++].org = dist; 228 /* this also replaces multiple almost identical stem widths */ 230 af_sort_and_quantize_widths( &num_widths, axis->widths, 242 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org 255 FT_TRACE5(( "%s widths:\n", 261 FT_TRACE5(( " %d", axis->widths[i].org )); 641 /* Adjust scaling value, then scale and shift widths */ 1433 /* current standard widths. */ 1436 af_cjk_snap_width( AF_Width widths, argument [all...] |
H A D | aflatin.c | 57 /* Find segments and links, compute all stem widths, and initialize */ 69 "latin standard widths computation (style `%s')\n" 217 axis->widths[num_widths++].org = dist; 221 /* this also replaces multiple almost identical stem widths */ 223 af_sort_and_quantize_widths( &num_widths, axis->widths, 235 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org 248 FT_TRACE5(( "%s widths:\n", 254 FT_TRACE5(( " %d", axis->widths[i].org )); 1112 /* Adjust scaling value, then scale and shift widths */ 1263 FT_TRACE5(( "%s widths (styl 1901 af_latin_hints_link_segments( AF_GlyphHints hints, FT_UInt width_count, AF_WidthRec* widths, AF_Dimension dim ) argument 2622 af_latin_snap_width( AF_Width widths, FT_UInt count, FT_Pos width ) argument [all...] |
H A D | aflatin2.c | 143 axis->widths[num_widths++].org = dist; 147 af_sort_widths( num_widths, axis->widths ); 159 ? axis->widths[0].org 619 /* scale the standard widths */ 622 AF_Width width = axis->widths + nn; 1596 /* current standard widths */ 1599 af_latin2_snap_width( AF_Width widths, argument 1615 w = widths[n].cur; 1676 /* leave the widths of serifs alone */ 1698 delta = dist - axis->widths[ [all...] |
/external/skia/tests/ |
H A D | StrokerTest.cpp | 23 const SkScalar widths[] = {-FLT_MAX, -1, -0.1f, -FLT_EPSILON, 0, FLT_EPSILON, variable 27 size_t widths_count = SK_ARRAY_COUNT(widths); 34 p.setStrokeWidth(widths[index]);
|
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/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/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/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/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
|
/external/iw/ |
H A D | info.c | 399 unsigned long widths = nla_get_u32(tb_comb[NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS]); local 401 if (widths) { 405 printf(", radar detect widths: {"); 407 if (widths & (1 << width)) {
|
/external/pdfium/core/fpdfapi/parser/ |
H A D | cpdf_document.cpp | 193 void InsertWidthArrayImpl(int* widths, int size, CPDF_Array* pWidthArray) { argument 196 if (widths[i] != *widths) 202 pWidthArray->AddNew<CPDF_Number>(*widths); 206 pWidthArray1->AddNew<CPDF_Number>(widths[i]); 208 FX_Free(widths); 214 int* widths = FX_Alloc(int, size); local 215 GetCharWidth(hDC, start, end, widths); 216 InsertWidthArrayImpl(widths, size, pWidthArray); 238 int* widths local [all...] |
/external/skia/src/pdf/ |
H A D | SkPDFFont.cpp | 437 sk_sp<SkPDFArray> widths = SkPDFMakeCIDGlyphWidthsArray( local 439 if (widths && widths->size() > 0) { 440 newCIDFont->insertObject("W", std::move(widths)); 513 auto widths = sk_make_sp<SkPDFArray>(); local 515 widths->appendScalar(from_font_units(advance, SkToU16(emSize))); 518 widths->appendScalar(from_font_units(advance, SkToU16(emSize))); 520 font->insertObject("Widths", std::move(widths));
|