Searched defs:widths (Results 1 - 25 of 31) sorted by relevance

12

/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
/external/skia/gm/
H A Dglyph_pos.cpp144 SkScalar widths[sizeof(kText) - 1]; local
145 paint.getTextWidths(kText, sizeof(kText) - 1, widths, NULL);
155 w += widths[i];
H A Dglyph_pos_align.cpp56 SkScalar widths[kMaxStringLength]; local
62 paint.getTextWidths(text, length, widths);
74 posX[i] = x + originX * widths[i];
76 x += widths[i];
H A Dtypeface.cpp82 SkScalar* widths = widthStorage.get(); local
83 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths);
87 x += widths[i];
H A Dblurrect.cpp197 const int widths[] = {25, 5, 5, 100, 150, 25}; local
209 for (size_t i = 0 ; i < SK_ARRAY_COUNT(widths) ; i++) {
210 int width = widths[i];
H A Dtechtalk1.cpp301 SkScalar widths[256]; local
302 int count = paint.getTextWidths(text, len, widths, bounds);
307 adv += widths[j];
/external/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/skia/tests/
H A DSwizzlerTest.cpp78 // Test on an invalid width and representative widths
79 const uint32_t widths[] = { 0, 10, 50 }; local
89 for (uint32_t width : widths) {
H A DStrokerTest.cpp15 const SkScalar widths[] = {-FLT_MAX, -1, -0.1f, -FLT_EPSILON, 0, FLT_EPSILON, variable
19 size_t widths_count = SK_ARRAY_COUNT(widths);
26 p.setStrokeWidth(widths[index]);
/external/freetype/src/autofit/
H A Dafcjk.h78 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 Daflatin.h87 FT_UInt width_count; /* number of used widths */
88 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member in struct:AF_LatinAxisRec_
168 AF_WidthRec* widths,
178 AF_WidthRec* widths,
H A Dafcjk.c78 "cjk standard widths computation (style `%s')\n"
203 axis->widths[num_widths++].org = dist;
207 /* this also replaces multiple almost identical stem widths */
209 af_sort_and_quantize_widths( &num_widths, axis->widths,
221 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org
234 FT_TRACE5(( "%s widths:\n",
240 FT_TRACE5(( " %d", axis->widths[i].org ));
580 /* Adjust scaling value, then scale and shift widths */
1359 /* current standard widths. */
1362 af_cjk_snap_width( AF_Width widths, argument
[all...]
H A Daflatin.c53 /* Find segments and links, compute all stem widths, and initialize */
65 "latin standard widths computation (style `%s')\n"
203 axis->widths[num_widths++].org = dist;
207 /* this also replaces multiple almost identical stem widths */
209 af_sort_and_quantize_widths( &num_widths, axis->widths,
221 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org
234 FT_TRACE5(( "%s widths:\n",
240 FT_TRACE5(( " %d", axis->widths[i].org ));
884 /* Adjust scaling value, then scale and shift widths */
1001 FT_TRACE5(( "%s widths (styl
1375 af_latin_hints_link_segments( AF_GlyphHints hints, FT_UInt width_count, AF_WidthRec* widths, AF_Dimension dim ) argument
2032 af_latin_snap_width( AF_Width widths, FT_UInt count, FT_Pos width ) argument
[all...]
H A Daflatin2.c138 axis->widths[num_widths++].org = dist;
142 af_sort_widths( num_widths, axis->widths );
154 ? axis->widths[0].org
614 /* scale the standard widths */
617 AF_Width width = axis->widths + nn;
1575 /* current standard widths */
1578 af_latin2_snap_width( AF_Width widths, argument
1594 w = widths[n].cur;
1655 /* leave the widths of serifs alone */
1677 delta = dist - axis->widths[
[all...]
/external/toybox/toys/pending/
H A Dps.c228 char widths[] = {1,1,5,5,5,2,3,3,4,5,6,5,8,8,27,27,11,8,4,5,8,8,8,6}, local
335 field->len = widths[i];
/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_
/external/pdfium/third_party/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_
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_denoiser.c34 static const int widths[] = {4, 4, 8, 8, 8, 16, 16, 16, 32, 32, 32, 64, 64}; variable
55 return widths[bs] * heights[bs] * (increase_denoising ? 60 : 40);
64 return widths[bs] * heights[bs] * 20;
69 return widths[bs] * heights[bs] * (increase_denoising ? 3 : 2);
73 return widths[bs] * heights[bs] * (increase_denoising ? 3 : 2);
92 for (c = 0; c < widths[bs]; ++c) {
141 for (c = 0; c < widths[bs]; ++c) {
176 vpx_memcpy(dest, src, widths[bs]);
H A Dvp9_encoder.c1195 const int widths[3] = {a->y_width, a->uv_width, a->uv_width }; local
1206 const int w = widths[i];
/external/skia/tools/
H A Dcreate_test_font.cpp185 SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) {
221 *widths->append() = width;
275 SkTDArray<SkScalar> widths; local
277 output_path_data(paint, used, emSize, &ptsOut, &verbs, &charCodes, &widths);
328 output_fixed(widths[index], emSize, &widthsStr);
183 output_path_data(const SkPaint& paint, const char* used, int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, SkTDArray<unsigned>* charCodes, SkTDArray<SkScalar>* widths) argument
/external/skia/experimental/PdfViewer/
H A DSkPdfFont.h419 const SkPdfArray* widths = dict->Widths(parsed); local
420 for (unsigned int i = 0 ; i < widths->size(); i++) {
422 fChars[i].fWidth = (*widths)[i]->numberValue();
/external/pdfium/core/src/fpdfapi/fpdf_edit/
H A Dfpdf_edit_doc.cpp198 int* widths = FX_Alloc(int, size); local
199 GetCharWidth(hDC, start, end, widths);
202 if (widths[i] != *widths) {
208 pWidthArray->AddInteger(*widths);
213 pWidthArray1->AddInteger(widths[i]);
216 FX_Free(widths);
581 int* widths = FX_Alloc(int, size); local
582 FX_GetCharWidth(font, start, end, widths);
585 if (widths[
846 int* widths = FX_Alloc(int, size); local
[all...]
/external/pdfium/core/src/fpdftext/
H A Dfpdf_text.cpp225 int* widths = FX_Alloc(int, m_BaseLines.GetSize()); local
227 widths[i] = 0;
235 widths[i] = (int)((MaxRightX - MinLeftX) / charwidth);
237 if (widths[i] > 1000) {
238 widths[i] = 1000;
240 if (widths[i] < minchars) {
241 widths[i] = minchars;
246 if (widths[i]) {
247 AvgWidth += widths[i];
253 if (MaxWidth < widths[
[all...]
/external/skia/src/core/
H A DSkPaint.cpp1067 SkScalar widths[], SkRect bounds[]) const {
1074 if (NULL == widths && NULL == bounds) {
1093 // we adjust the widths returned here through auto-kerning
1100 if (widths) {
1105 *widths++ = SkScalarMul(w, scale);
1114 if (count > 0 && widths) {
1115 *widths = SkScalarMul(SkFixedToScalar(prevWidth), scale);
1120 if (widths) {
1124 *widths++ = SkFixedToScalar(prevWidth + adjust);
1133 if (count > 0 && widths) {
1066 getTextWidths(const void* textData, size_t byteLength, SkScalar widths[], SkRect bounds[]) const argument
[all...]
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/oned/ ...

Completed in 570 milliseconds

12