Home
last modified time | relevance | path

Searched refs:widths (Results 1 – 25 of 66) sorted by relevance

123

/external/skia/gm/
Dgetpostextpath.cpp51 SkAutoTArray<SkScalar> widths(len); in onDraw() local
52 paint.getTextWidths(text, len, &widths[0]); in onDraw()
59 x += widths[i]; in onDraw()
Dtechtalk1.cpp301 SkScalar widths[256]; in draw_text() local
302 int count = paint.getTextWidths(text, len, widths, bounds); in draw_text()
307 adv += widths[j]; in draw_text()
/external/webkit/Source/WebCore/inspector/front-end/
DNetworkPanel.js940 var widths = {};
941 widths.name = 20;
942 widths.timeline = 80;
953 var widths = {};
954 widths.name = 20;
955 widths.method = 7;
956 widths.status = 8;
957 widths.type = 10;
958 widths.size = 10;
959 widths.time = 10;
[all …]
DDataGrid.js324 var widths = {};
327 widths[columnIdentifier] = (columns[columnIdentifier].title || "").length;
334 if (text.length > widths[columnIdentifier])
335 widths[columnIdentifier] = text.length;
341 totalColumnWidths += widths[columnIdentifier];
345 var width = Math.round(100 * widths[columnIdentifier] / totalColumnWidths);
353 widths[columnIdentifier] = width;
358 if (widths[columnIdentifier] > minPercent) {
359 --widths[columnIdentifier];
369 if (widths[columnIdentifier] < maxPercent) {
[all …]
/external/webkit/Tools/Scripts/
Dvalidate-committer-lists208 def _print_three_column_row(widths, values): argument
209 print "%s%s%s" % (values[0].ljust(widths[0]), values[1].ljust(widths[1]), values[2])
/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_view_layout.cc82 int widths[] = { tabstrip_size.width(), toolbar_size.width(), in GetMinimumSize() local
84 int min_width = *std::max_element(&widths[0], &widths[arraysize(widths)]); in GetMinimumSize()
/external/skia/legacy/src/core/
DSkPaint.cpp1185 SkScalar widths[], SkRect bounds[]) const { in getTextWidths() argument
1192 if (NULL == widths && NULL == bounds) { in getTextWidths()
1224 if (widths) { in getTextWidths()
1229 *widths++ = SkScalarMul(w, scale); in getTextWidths()
1238 if (count > 0 && widths) { in getTextWidths()
1239 *widths = SkScalarMul(SkFixedToScalar(prevWidth), scale); in getTextWidths()
1244 if (widths) { in getTextWidths()
1248 *widths++ = SkFixedToScalar(prevWidth + adjust); in getTextWidths()
1257 if (count > 0 && widths) { in getTextWidths()
1258 *widths = SkFixedToScalar(prevWidth); in getTextWidths()
[all …]
/external/freetype/src/pshinter/
Dpshglob.c47 PSH_Width width = stdw->widths; in psh_globals_scale_widths()
100 w = dimension->stdw.widths[n].cur;
642 PSH_Width write = dim->stdw.widths; in psh_globals_new()
662 PSH_Width write = dim->stdw.widths; in psh_globals_new()
Dpshglob.h77 PSH_WidthRec widths[PS_GLOBALS_MAX_STD_WIDTHS]; member
/external/webkit/Source/WebKit/android/plugins/
DANPPaintInterface.cpp156 uint32_t byteLength, float widths[], ANPRectF bounds[]) { in anp_getTextWidths() argument
157 return paint->getTextWidths(text, byteLength, widths, in anp_getTextWidths()
/external/skia/src/core/
DSkPaint.cpp1288 SkScalar widths[], SkRect bounds[]) const { in getTextWidths() argument
1295 if (NULL == widths && NULL == bounds) { in getTextWidths()
1327 if (widths) { in getTextWidths()
1332 *widths++ = SkScalarMul(w, scale); in getTextWidths()
1341 if (count > 0 && widths) { in getTextWidths()
1342 *widths = SkScalarMul(SkFixedToScalar(prevWidth), scale); in getTextWidths()
1347 if (widths) { in getTextWidths()
1351 *widths++ = SkFixedToScalar(prevWidth + adjust); in getTextWidths()
1360 if (count > 0 && widths) { in getTextWidths()
1361 *widths = SkFixedToScalar(prevWidth); in getTextWidths()
[all …]
/external/freetype/src/autofit/
Dafcjk.h81 AF_WidthRec widths[AF_CJK_MAX_WIDTHS]; member
Daflatin.c137 axis->widths[num_widths++].org = dist; in af_latin_metrics_init_widths()
141 af_sort_widths( num_widths, axis->widths ); in af_latin_metrics_init_widths()
153 ? axis->widths[0].org in af_latin_metrics_init_widths()
609 AF_Width width = axis->widths + nn; in af_latin_metrics_scale_dim()
1537 af_latin_snap_width( AF_Width widths, in af_latin_snap_width() argument
1553 w = widths[n].cur; in af_latin_snap_width()
1634 delta = dist - axis->widths[0].cur; in af_latin_compute_stem_width()
1641 dist = axis->widths[0].cur; in af_latin_compute_stem_width()
1676 dist = af_latin_snap_width( axis->widths, axis->width_count, dist ); in af_latin_compute_stem_width()
Daflatin.h102 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member
Daflatin2.c136 axis->widths[num_widths++].org = dist; in af_latin2_metrics_init_widths()
140 af_sort_widths( num_widths, axis->widths ); in af_latin2_metrics_init_widths()
152 ? axis->widths[0].org in af_latin2_metrics_init_widths()
589 AF_Width width = axis->widths + nn; in af_latin2_metrics_scale_dim()
1547 af_latin2_snap_width( AF_Width widths, in af_latin2_snap_width() argument
1563 w = widths[n].cur; in af_latin2_snap_width()
1646 delta = dist - axis->widths[0].cur; in af_latin2_compute_stem_width()
1653 dist = axis->widths[0].cur; in af_latin2_compute_stem_width()
1688 dist = af_latin2_snap_width( axis->widths, axis->width_count, dist ); in af_latin2_compute_stem_width()
Dafcjk.c149 axis->widths[num_widths++].org = dist; in af_cjk_metrics_init_widths()
153 af_sort_widths( num_widths, axis->widths ); in af_cjk_metrics_init_widths()
164 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org in af_cjk_metrics_init_widths()
1330 af_cjk_snap_width( AF_Width widths, in af_cjk_snap_width() argument
1346 w = widths[n].cur; in af_cjk_snap_width()
1409 if ( FT_ABS( dist - axis->widths[0].cur ) < 40 ) in af_cjk_compute_stem_width()
1411 dist = axis->widths[0].cur; in af_cjk_compute_stem_width()
1445 dist = af_cjk_snap_width( axis->widths, axis->width_count, dist ); in af_cjk_compute_stem_width()
Daftypes.h91 AF_Width widths );
/external/llvm/lib/Target/R600/
DR600RegisterInfo.td78 // XXX: Only use the X channel, until we support wider stack widths
143 // XXX: Only use the X channel, until we support wider stack widths
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
DFontAndroid.cpp359 SkScalar* widths = storage.get(); in offsetForPositionForComplexText() local
363 count = paint.getTextWidths(run.characters(), count << 1, widths); in offsetForPositionForComplexText()
370 if (x < SkScalarRound(pos + SkScalarHalf(widths[i]))) in offsetForPositionForComplexText()
372 pos += widths[i]; in offsetForPositionForComplexText()
/external/iproute2/
DREADME.lnstat62 You can specify individual field widths
/external/webkit/Source/WebCore/svg/
Dsvgattrs.in240 widths
/external/linux-tools-perf/Documentation/
Dperf-report.txt68 --column-widths=<width[,width...]>::
/external/freetype/include/freetype/internal/
Dtttypes.h336 FT_Byte* widths; member
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dkeyword_hint_decoration.mm106 // needs to be placed at a pixel boundary, round the text widths so
/external/skia/src/pdf/
DSkPDFFont.cpp1165 SkAutoTUnref<SkPDFArray> widths( in populate() local
1169 if (widths->size()) in populate()
1170 insert("W", widths.get()); in populate()

123