Home
last modified time | relevance | path

Searched refs:MARGIN (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/gm/
Dxfermodeimagefilter.cpp29 #define MARGIN 12 macro
96 x += fBitmap.width() + MARGIN; in onDraw()
99 y += fBitmap.height() + MARGIN; in onDraw()
105 x += fBitmap.width() + MARGIN; in onDraw()
108 y += fBitmap.height() + MARGIN; in onDraw()
113 x += fBitmap.width() + MARGIN; in onDraw()
116 y += fBitmap.height() + MARGIN; in onDraw()
128 x += fBitmap.width() + MARGIN; in onDraw()
131 y += fBitmap.height() + MARGIN; in onDraw()
137 x += fBitmap.width() + MARGIN; in onDraw()
[all …]
Dhittestpath.cpp25 const SkScalar MARGIN = SkIntToScalar(4); in test_hittest() local
28 for (SkScalar y = r.fTop + SK_ScalarHalf - MARGIN; y < r.fBottom + MARGIN; y += SK_Scalar1) { in test_hittest()
29 … for (SkScalar x = r.fLeft + SK_ScalarHalf - MARGIN; x < r.fRight + MARGIN; x += SK_Scalar1) { in test_hittest()
Dcolorfilterimagefilter.cpp34 #define MARGIN SkIntToScalar(10) macro
139 canvas->translate(FILTER_WIDTH + MARGIN, 0);
142 canvas->translate(0, FILTER_HEIGHT + MARGIN);
148 canvas->translate(FILTER_WIDTH + MARGIN, 0);
155 canvas->translate(FILTER_WIDTH + MARGIN, 0);
162 canvas->translate(FILTER_WIDTH + MARGIN, 0);
169 canvas->translate(FILTER_WIDTH + MARGIN, 0);
176 canvas->translate(FILTER_WIDTH + MARGIN, 0);
182 canvas->translate(FILTER_WIDTH + MARGIN, 0);
Ddropshadowimagefilter.cpp104 SkScalar MARGIN = SkIntToScalar(16); variable
105 SkScalar DX = r.width() + MARGIN;
106 SkScalar DY = r.height() + MARGIN;
108 canvas->translate(MARGIN, MARGIN);
Dimagefilterscropped.cpp152 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
153 SkScalar DX = r.width() + MARGIN; in onDraw()
154 SkScalar DY = r.height() + MARGIN; in onDraw()
156 canvas->translate(MARGIN, MARGIN); in onDraw()
Dimagemakewithfilter.cpp299 SkScalar MARGIN = SkIntToScalar(40); in onDraw() local
300 SkScalar DX = mainImage->width() + MARGIN; in onDraw()
301 SkScalar DY = auxImage->height() + MARGIN; in onDraw()
308 canvas->drawString(filterNames[i], DX * i + MARGIN, 15, font, textPaint); in onDraw()
311 canvas->translate(MARGIN, MARGIN); in onDraw()
Dtileimagefilter.cpp30 #define MARGIN 12 macro
88 x += image->width() + MARGIN; in onDraw()
91 y += image->height() + MARGIN; in onDraw()
Dimagefiltersbase.cpp243 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
244 SkScalar DX = r.width() + MARGIN; in onDraw()
245 SkScalar DY = r.height() + MARGIN; in onDraw()
247 canvas->translate(MARGIN, MARGIN); in onDraw()
Dimagefilterscropexpand.cpp57 SkScalar MARGIN = SkIntToScalar(12); variable
66 canvas->translate(MARGIN, MARGIN);
Doffsetimagefilter.cpp29 #define MARGIN 12 macro
67 canvas->translate(SkIntToScalar(image->width() + MARGIN), 0); in onDraw()
/third_party/skia/third_party/externals/libpng/contrib/visupng/
DVisualPng.c22 #define MARGIN 8 macro
127 512 + 2 * MARGIN + ixBorders, 384 + 2 * MARGIN + iyBorders, in WinMain()
832 cxNewSize = cxWinSize - 2 * MARGIN;
833 cyNewSize = cyWinSize - 2 * MARGIN;
844 cxImgPos = MARGIN;
850 cyImgPos = MARGIN;
935 if (cxImgPos < MARGIN)
936 cxImgPos = MARGIN;
937 if (cyImgPos < MARGIN)
938 cyImgPos = MARGIN;
[all …]
/third_party/icu/icu4c/source/samples/layout/
Dparagraph.cpp32 #define MARGIN 10 macro
203 float lineWidth = (float) (width - 2 * MARGIN); in breakLines()
231 x = MARGIN; in draw()
244 x = (fWidth - lastX - MARGIN); in draw()
Dpflow.c35 #define MARGIN 10 macro
297 lineWidth = (float) (width - 2 * MARGIN); in pf_breakLines()
325 x = MARGIN; in pf_draw()
338 x = (obj->fWidth - lastX - MARGIN); in pf_draw()
Dparagraph.h33 #define MARGIN 10 macro
/third_party/skia/third_party/externals/icu/source/samples/layout/
Dparagraph.cpp32 #define MARGIN 10 macro
203 float lineWidth = (float) (width - 2 * MARGIN); in breakLines()
231 x = MARGIN; in draw()
244 x = (fWidth - lastX - MARGIN); in draw()
Dpflow.c33 #define MARGIN 10 macro
295 lineWidth = (float) (width - 2 * MARGIN); in pf_breakLines()
323 x = MARGIN; in pf_draw()
336 x = (obj->fWidth - lastX - MARGIN); in pf_draw()
Dparagraph.h33 #define MARGIN 10 macro
/third_party/weex-loader/deps/weex-styler/lib/
Dutil.js75 MARGIN: 'margin', property
92 MARGIN: 'margin', property
/third_party/zlib/examples/
Dfitblk.c124 #define MARGIN 8 /* amount to back off for completion */ macro
208 inf.avail_in = size - MARGIN; /* assure stream will complete */ in main()
/third_party/ffmpeg/libavcodec/
Dvp8.c2280 #define MARGIN (16 << 2) macro
2288 s->mv_bounds.mv_min.y = -MARGIN; in vp78_decode_mv_mb_modes()
2289 s->mv_bounds.mv_max.y = ((s->mb_height - 1) << 6) + MARGIN; in vp78_decode_mv_mb_modes()
2297 s->mv_bounds.mv_min.x = -MARGIN; in vp78_decode_mv_mb_modes()
2298 s->mv_bounds.mv_max.x = ((s->mb_width - 1) << 6) + MARGIN; in vp78_decode_mv_mb_modes()
2413 td->mv_bounds.mv_min.x = -MARGIN; in decode_mb_row_no_filter()
2414 td->mv_bounds.mv_max.x = ((s->mb_width - 1) << 6) + MARGIN; in decode_mb_row_no_filter()
2592 td->mv_bounds.mv_min.y = -MARGIN - 64 * threadnr; in vp78_decode_mb_row_sliced()
2593 td->mv_bounds.mv_max.y = ((s->mb_height - 1) << 6) + MARGIN - 64 * threadnr; in vp78_decode_mb_row_sliced()
2778 s->mv_bounds.mv_min.y = -MARGIN; in vp78_decode_frame()
[all …]