Home
last modified time | relevance | path

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

12

/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);
/third_party/flutter/skia/gm/
Dxfermodeimagefilter.cpp29 #define MARGIN 12 macro
97 x += fBitmap.width() + MARGIN; in onDraw()
100 y += fBitmap.height() + MARGIN; in onDraw()
106 x += fBitmap.width() + MARGIN; in onDraw()
109 y += fBitmap.height() + MARGIN; in onDraw()
114 x += fBitmap.width() + MARGIN; in onDraw()
117 y += fBitmap.height() + MARGIN; in onDraw()
129 x += fBitmap.width() + MARGIN; in onDraw()
132 y += fBitmap.height() + MARGIN; in onDraw()
138 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.cpp107 SkScalar MARGIN = SkIntToScalar(16); variable
108 SkScalar DX = r.width() + MARGIN;
109 SkScalar DY = r.height() + MARGIN;
111 canvas->translate(MARGIN, MARGIN);
Dimagefilterscropped.cpp155 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
156 SkScalar DX = r.width() + MARGIN; in onDraw()
157 SkScalar DY = r.height() + MARGIN; in onDraw()
159 canvas->translate(MARGIN, MARGIN); in onDraw()
Dimagefiltersbase.cpp198 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
199 SkScalar DX = r.width() + MARGIN; in onDraw()
200 SkScalar DY = r.height() + MARGIN; in onDraw()
202 canvas->translate(MARGIN, MARGIN); in onDraw()
Dimagemakewithfilter.cpp286 SkScalar MARGIN = SkIntToScalar(40); in onDraw() local
287 SkScalar DX = mainImage->width() + MARGIN; in onDraw()
288 SkScalar DY = auxImage->height() + MARGIN; in onDraw()
295 canvas->drawString(filterNames[i], DX * i + MARGIN, 15, font, textPaint); in onDraw()
298 canvas->translate(MARGIN, MARGIN); in onDraw()
Dtileimagefilter.cpp30 #define MARGIN 12 macro
90 x += image->width() + MARGIN; in onDraw()
93 y += image->height() + MARGIN; in onDraw()
/third_party/flutter/skia/samplecode/
DSampleHairline.cpp70 #define MARGIN 10 macro
80 if (!check_bitmap_margin(bm, MARGIN)) { in line_proc()
193 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2); in onDrawContent()
198 bm.getAddr32(MARGIN, MARGIN), bm.rowBytes()); in onDrawContent()
/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/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/flutter/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/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()
/third_party/flutter/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()
/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()
/third_party/weex-loader/deps/weex-styler/lib/
Dutil.js75 MARGIN: 'margin', property
92 MARGIN: 'margin', property

12