HomeSort by relevance Sort by last modified time
    Searched refs:widths (Results 1 - 25 of 202) sorted by null

1 2 3 4 5 6 7 8 9

  /external/skia/gm/
skbug_5321.cpp 24 SkAutoTMalloc<SkScalar> widths(glyph_count);
25 (void)paint.getTextWidths(text, byteLength, &widths[0]);
27 SkScalar w = widths[i];
28 widths[i] = x;
32 canvas->drawPosTextH(text, byteLength, &widths[0], y, paint);
hugepath.cpp 18 const float widths[] = { 0.9f, 1.0f, 1.1f }; local
21 for (float w : widths) {
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];
getpostextpath.cpp 42 SkAutoTArray<SkScalar> widths(len);
43 paint.getTextWidths(text, len, &widths[0]);
50 x += widths[i];
pdf_never_embed.cpp 17 SkAutoTArray<SkScalar> widths(SkToInt(textLen));
18 paint.getTextWidths(text, textLen, &widths[0]);
22 x += widths[i];
texteffects.cpp 109 SkTDArray<SkScalar> widths; local
110 widths.setCount(widthCount);
111 (void) paint.getTextWidths(test, sizeof(test) - 1, widths.begin());
117 posX += widths[index];
153 SkAutoTArray<SkScalar> widths(glyphCount);
154 blobPaint.getTextWidths(glyphs.get(), glyphTextBytes, widths.get());
169 advance += widths[glyphIndex++];
183 advance += widths[glyphIndex++];
196 advance += widths[glyphIndex++];
258 SkTDArray<SkScalar> widths; local
    [all...]
scaledemoji.cpp 111 SkAutoTArray<SkScalar> widths(len);
112 paint.getTextWidths(text, len, &widths[0]);
117 x += widths[i];
  /external/skqp/gm/
skbug_5321.cpp 24 SkAutoTMalloc<SkScalar> widths(glyph_count);
25 (void)paint.getTextWidths(text, byteLength, &widths[0]);
27 SkScalar w = widths[i];
28 widths[i] = x;
32 canvas->drawPosTextH(text, byteLength, &widths[0], y, paint);
hugepath.cpp 18 const float widths[] = { 0.9f, 1.0f, 1.1f }; local
21 for (float w : widths) {
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];
getpostextpath.cpp 42 SkAutoTArray<SkScalar> widths(len);
43 paint.getTextWidths(text, len, &widths[0]);
50 x += widths[i];
pdf_never_embed.cpp 17 SkAutoTArray<SkScalar> widths(SkToInt(textLen));
18 paint.getTextWidths(text, textLen, &widths[0]);
22 x += widths[i];
texteffects.cpp 109 SkTDArray<SkScalar> widths; local
110 widths.setCount(widthCount);
111 (void) paint.getTextWidths(test, sizeof(test) - 1, widths.begin());
117 posX += widths[index];
153 SkAutoTArray<SkScalar> widths(glyphCount);
154 blobPaint.getTextWidths(glyphs.get(), glyphTextBytes, widths.get());
169 advance += widths[glyphIndex++];
183 advance += widths[glyphIndex++];
196 advance += widths[glyphIndex++];
258 SkTDArray<SkScalar> widths; local
    [all...]
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;
  /external/fonttools/Lib/fontTools/ttLib/tables/
_h_d_m_x.py 23 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[glyphName]
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_fs_surface_builder.cpp 247 * Return the per-channel bitfield widths for a given image format.
266 const color_u widths = get_bit_widths(format); local
267 return color_u(0, widths.r, widths.r + widths.g,
268 widths.r + widths.g + widths.b);
277 const color_u widths = get_bit_widths(format); local
278 return ((widths.g == 0 || widths.g == widths.r) &
301 const color_u widths = get_bit_widths(format); local
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
PaintTest.java 84 float[] widths = new float[text.length()]; local
85 assertEquals(text.length(), p.getTextWidths(text, widths));
89 totalWidth += widths[i];
93 verifyBreakText(text, textChars, textSpan, i, i + 1, true, totalWidth, 1, widths[i]);
101 3, widths[0] + widths[1] + widths[2]);
105 3, widths[0] + widths[1] + widths[2])
1095 float[] widths = new float[text.length()]; local
1156 float[] widths = new float[] {-1, -1, -1, -1}; local
    [all...]
  /frameworks/minikin/include/minikin/
LineBreaker.h 101 std::vector<float> widths; member in struct:minikin::LineBreakResult
111 std::reverse(widths.begin(), widths.end());
  /device/generic/goldfish-opengl/shared/OpenglCodecCommon/
TextureSharedData.h 23 std::map<GLsizei, GLsizei> widths; member in struct:TextureDims
  /frameworks/layoutlib/bridge/src/android/text/
OptimizingLineBreaker.java 52 breakInfo.widths = new float[]{p.width};
130 breakInfo.widths[count] = opt[idx].mWidth;
141 float[] widths = new float[size]; local
146 System.arraycopy(lineBreaks.widths, 0, widths, 0, toCopy);
150 lineBreaks.widths = widths;
  /external/pdfium/fxbarcode/oned/
BC_OnedCode39Writer.cpp 174 int8_t widths[9] = {0};
188 ToIntArray(kOnedCode39CharacterEncoding[i], widths);
190 codeWidth += widths[k];
195 ToIntArray(kOnedCode39CharacterEncoding[39], widths);
197 int32_t pos = AppendPattern(result.get(), 0, widths, 9, 1, e);
211 ToIntArray(kOnedCode39CharacterEncoding[i], widths);
212 pos += AppendPattern(result.get(), pos, widths, 9, 1, e);
220 ToIntArray(kOnedCode39CharacterEncoding[39], widths);
221 pos += AppendPattern(result.get(), pos, widths, 9, 1, e);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
MeasureText.java 72 float[] widths = new float[text.length()]; local
74 int count = mPaint.getTextWidths(text, 0, text.length(), widths);
89 x += widths[i];
  /external/freetype/src/autofit/
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,
  /external/skia/samplecode/
SampleMeasure.cpp 41 SkScalar* widths = autoWidths.get(); local
51 int n = p.getTextWidths(text, len, widths, rects);
68 x += widths[j];
  /external/skqp/samplecode/
SampleMeasure.cpp 41 SkScalar* widths = autoWidths.get(); local
51 int n = p.getTextWidths(text, len, widths, rects);
68 x += widths[j];

Completed in 1838 milliseconds

1 2 3 4 5 6 7 8 9