Searched refs:widths (Results 1 - 25 of 33) sorted by relevance

12

/external/skia/samplecode/
H A DSampleMeasure.cpp49 SkScalar* widths = autoWidths.get(); local
60 int n = p.getTextWidths(text, len, widths, rects);
77 x += widths[j];
H A DSampleTextOnPath.cpp38 static SkScalar sum_widths(const SkScalar widths[], int count) { argument
41 w += widths[i];
48 SkScalar widths[256]; local
57 paint.getTextWidths(text, count, widths, NULL);
58 SkDEBUGCODE(SkScalar tw0 = sum_widths(widths, count);)
59 paint.getTextWidths(text, count, widths, rects);
60 SkDEBUGCODE(SkScalar tw1 = sum_widths(widths, count);)
71 x += widths[j-1];
/external/freetype/src/autofit/
H A Dafcjk.h81 AF_WidthRec widths[AF_CJK_MAX_WIDTHS]; member in struct:AF_CJKAxisRec_
H A Daflatin.h101 FT_UInt width_count; /* number of used widths */
102 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member in struct:AF_LatinAxisRec_
H A Daftypes.h91 AF_Width widths );
H A Daflatin.c51 /* Find segments and links, compute all stem widths, and initialize */
137 axis->widths[num_widths++].org = dist;
141 af_sort_widths( num_widths, axis->widths );
153 ? axis->widths[0].org
519 /* Adjust scaling value, then scale and shift widths */
606 /* scale the widths */
609 AF_Width width = axis->widths + nn;
646 /* use discrete values for blue zone widths */
1534 /* current standard widths. */
1537 af_latin_snap_width( AF_Width widths, argument
[all...]
H A Daflatin2.c136 axis->widths[num_widths++].org = dist;
140 af_sort_widths( num_widths, axis->widths );
152 ? axis->widths[0].org
586 /* scale the standard widths */
589 AF_Width width = axis->widths + nn;
1544 /* current standard widths */
1547 af_latin2_snap_width( AF_Width widths, argument
1563 w = widths[n].cur;
1624 /* leave the widths of serifs alone */
1646 delta = dist - axis->widths[
[all...]
H A Dafcjk.c149 axis->widths[num_widths++].org = dist;
153 af_sort_widths( num_widths, axis->widths );
164 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org
1327 /* current standard widths */
1330 af_cjk_snap_width( AF_Width widths, argument
1346 w = widths[n].cur;
1409 if ( FT_ABS( dist - axis->widths[0].cur ) < 40 )
1411 dist = axis->widths[0].cur;
1445 dist = af_cjk_snap_width( axis->widths, axis->width_count, dist );
1461 /* monochrome horizontal hinting: snap widths t
[all...]
/external/freetype/src/pshinter/
H A Dpshglob.h57 /* 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_
H A Dpshglob.c39 /* scale the widths/heights table */
47 PSH_Width width = stdw->widths;
100 w = dimension->stdw.widths[n].cur;
639 /* copy standard widths */
642 PSH_Width write = dim->stdw.widths;
662 PSH_Width write = dim->stdw.widths;
H A Dpshalgo.c355 FT_Pos delta = len - dim->stdw.widths[0].cur;
363 len = dim->stdw.widths[0].cur;
536 /* Stem adjustment tries to snap stem widths to standard
/external/webkit/Tools/Scripts/
H A Dvalidate-committer-lists208 def _print_three_column_row(widths, values):
209 print "%s%s%s" % (values[0].ljust(widths[0]), values[1].ljust(widths[1]), values[2])
/external/webkit/Source/WebCore/inspector/front-end/
H A 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[columnIdentifie
[all...]
H A 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
[all...]
/external/chromium/chrome/browser/ui/views/frame/
H A Dbrowser_view_layout.cc82 int widths[] = { tabstrip_size.width(), toolbar_size.width(), local
84 int min_width = *std::max_element(&widths[0], &widths[arraysize(widths)]);
/external/webkit/Source/WebKit/android/plugins/
H A DANPPaintInterface.cpp151 If widths is not null, returns the array of advance widths for each
156 uint32_t byteLength, float widths[], ANPRectF bounds[]) {
157 return paint->getTextWidths(text, byteLength, widths,
155 anp_getTextWidths(ANPPaint* paint, const void* text, uint32_t byteLength, float widths[], ANPRectF bounds[]) argument
H A Dandroid_npapi.h589 If widths is not null, returns the array of advance widths for each
594 float widths[], ANPRectF bounds[]);
/external/skia/src/core/
H A DSkPaint.cpp1185 SkScalar widths[], SkRect bounds[]) const {
1192 if (NULL == widths && NULL == bounds) {
1217 // we adjust the widths returned here through auto-kerning
1224 if (widths) {
1229 *widths++ = SkScalarMul(w, scale);
1238 if (count > 0 && widths) {
1239 *widths = SkScalarMul(SkFixedToScalar(prevWidth), scale);
1244 if (widths) {
1248 *widths++ = SkFixedToScalar(prevWidth + adjust);
1257 if (count > 0 && widths) {
[all...]
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
H A DFontAndroid.cpp359 SkScalar* widths = storage.get(); local
363 count = paint.getTextWidths(run.characters(), count << 1, widths);
370 if (x < SkScalarRound(pos + SkScalarHalf(widths[i])))
372 pos += widths[i];
474 // Get the advances (widths) for each glyph.
/external/freetype/include/freetype/internal/
H A Dtttypes.h322 /* A small structure used to model the pre-computed widths of a given */
330 /* widths :: An array of widths. Note: These are 8-bit bytes. */
336 FT_Byte* widths; member in struct:TT_HdmxEntryRec_
348 /* pre-computed widths for a set of given sizes/dimensions. */
/external/skia/src/pdf/
H A DSkPDFFont.cpp1144 SkRefPtr<SkPDFArray> widths =
1148 widths->unref(); // SkRefPtr and compose both took a reference.
1149 if (widths->size())
1150 insert("W", widths.get());
/external/skia/include/core/
H A DSkPaint.h852 * widths are <= maxWidth are measured.
870 * @param widths If not null, returns the array of advances for
877 int getTextWidths(const void* text, size_t byteLength, SkScalar widths[],
/external/clang/lib/Lex/
H A DLiteralSupport.cpp336 "only character widths of 1, 2, or 4 bytes supported");
/external/libvorbis/doc/
H A D02-bitpacking.tex195 four-bit integer, reading some other combination of bit-widths from the
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...

Completed in 399 milliseconds

12