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

1234

/external/chromium_org/third_party/skia/experimental/ChromeUtils/
H A DSkBorder.cpp21 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 DSkBorder.h69 SkBorder(const SkPaint paints[4], const SkScalar widths[4], const BorderStyle styles[4]);
/external/skia/experimental/ChromeUtils/
H A DSkBorder.cpp21 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 DSkBorder.h69 SkBorder(const SkPaint paints[4], const SkScalar widths[4], const BorderStyle styles[4]);
/external/chromium_org/third_party/ots/src/
H A Dhdmx.h17 std::vector<uint8_t> widths; member in struct:ots::OpenTypeHDMXDeviceRecord
H A Dhdmx.cc79 rec.widths.reserve(file->maxp->num_glyphs);
85 rec.widths.push_back(width);
118 !out->Write(&rec.widths[0], rec.widths.size())) {
/external/fonttools/Lib/fontTools/ttLib/tables/
H A D_h_d_m_x.py23 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.py23 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/chromium_org/third_party/WebKit/Source/core/accessibility/
H A DAXInlineTextBox.cpp93 Vector<float> widths; local
94 m_inlineTextBox->characterWidths(widths);
95 ASSERT(widths.size() == len);
100 widthSoFar += widths[i];
/external/chromium_org/chrome/utility/
H A Dchrome_content_utility_client_unittest.cc56 int widths[] = { heights[0] * 3 / 2, heights[1] * 3 / 2, heights[2] * 3 / 2 }; local
59 CreateJPEGImage(widths[i], heights[i], SK_ColorRED, &jpg);
68 EXPECT_EQ(widths[i] >> i, bitmap.width());
/external/chromium_org/third_party/skia/gm/
H A Dgetpostextpath.cpp56 SkAutoTArray<SkScalar> widths(len);
57 paint.getTextWidths(text, len, &widths[0]);
64 x += widths[i];
H A Dglyph_pos_align.cpp59 SkScalar widths[kMaxStringLength]; local
65 paint.getTextWidths(text, length, widths);
77 posX[i] = x + originX * widths[i];
79 x += widths[i];
/external/skia/gm/
H A Dgetpostextpath.cpp55 SkAutoTArray<SkScalar> widths(len);
56 paint.getTextWidths(text, len, &widths[0]);
63 x += widths[i];
/external/chromium_org/components/test/data/autofill/merge/tools/
H A Dflatten.py54 widths = [len(value) for value in column]
55 column_widths.append(max(widths))
/external/chromium_org/third_party/skia/samplecode/
H A DSampleMeasure.cpp42 SkScalar* widths = autoWidths.get(); local
52 int n = p.getTextWidths(text, len, widths, rects);
69 x += widths[j];
/external/freetype/src/autofit/
H A Daflatin.h91 FT_UInt width_count; /* number of used widths */
92 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member in struct:AF_LatinAxisRec_
176 AF_WidthRec* widths,
186 AF_WidthRec* widths,
H A Dafcjk.h82 FT_UInt width_count; /* number of used widths */
83 AF_WidthRec widths[AF_CJK_MAX_WIDTHS]; /* widths array */ member in struct:AF_CJKAxisRec_
/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];
/external/chromium_org/ui/views/controls/table/
H A Dtable_utils.cc70 std::vector<int> widths; local
79 widths.push_back(column_width == 0 ? kUnspecifiedColumnWidth :
87 widths.back() += available_width;
90 return widths;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DAbstractInlineTextBox.cpp119 void AbstractInlineTextBox::characterWidths(Vector<float>& widths) const
124 m_inlineTextBox->characterWidths(widths);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DDataGrid.js477 * @param {!Array.<number>} widths
482 _autoSizeWidths: function(widths, minPercent, maxPercent)
485 minPercent = Math.min(minPercent, Math.floor(100 / widths.length));
487 for (var i = 0; i < widths.length; ++i)
488 totalWidth += widths[i];
490 for (var i = 0; i < widths.length; ++i) {
491 var width = Math.round(100 * widths[i] / totalWidth);
497 widths[i] = width;
502 for (var i = 0; i < widths.length; ++i) {
503 if (widths[
[all...]
/external/chromium_org/third_party/freetype/src/autofit/
H A Dafcjk.h81 AF_WidthRec widths[AF_CJK_MAX_WIDTHS]; member in struct:AF_CJKAxisRec_
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DEdgeDemo.cpp277 SkScalar widths[testStrLen]; local
281 paint.getTextWidths(testStr, testStrLen, widths, NULL);
284 SkScalar width = widths[x];
285 widths[x] = running;
288 SkScalar bias = (width - widths[testStrLen - 1]) / 2;
290 textPos[x].fX = bias + widths[x];
/external/skia/experimental/Intersection/
H A DEdgeDemo.cpp277 SkScalar widths[testStrLen]; local
281 paint.getTextWidths(testStr, testStrLen, widths, NULL);
284 SkScalar width = widths[x];
285 widths[x] = running;
288 SkScalar bias = (width - widths[testStrLen - 1]) / 2;
290 textPos[x].fX = bias + widths[x];
/external/pdfium/core/src/fpdftext/
H A Dfpdf_text.cpp228 int* widths = FX_Alloc(int, m_BaseLines.GetSize()); local
229 if (widths) {
231 widths[i] = 0;
239 widths[i] = (int)((MaxRightX - MinLeftX) / charwidth);
241 if (widths[i] > 1000) {
242 widths[i] = 1000;
244 if (widths[i] < minchars) {
245 widths[i] = minchars;
250 if (widths[i]) {
251 AvgWidth += widths[
[all...]

Completed in 592 milliseconds

1234