Home
last modified time | relevance | path

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

12

/external/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()
Dimagefilterscropexpand.cpp57 SkScalar MARGIN = SkIntToScalar(12); variable
66 canvas->translate(MARGIN, MARGIN);
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()
/external/skqp/gm/
Dxfermodeimagefilter.cpp18 #define MARGIN 12 macro
89 x += fBitmap.width() + MARGIN; in onDraw()
92 y += fBitmap.height() + MARGIN; in onDraw()
99 x += fBitmap.width() + MARGIN; in onDraw()
102 y += fBitmap.height() + MARGIN; in onDraw()
107 x += fBitmap.width() + MARGIN; in onDraw()
110 y += fBitmap.height() + MARGIN; in onDraw()
128 x += fBitmap.width() + MARGIN; in onDraw()
131 y += fBitmap.height() + MARGIN; in onDraw()
139 x += fBitmap.width() + MARGIN; in onDraw()
[all …]
Dhittestpath.cpp20 const SkScalar MARGIN = SkIntToScalar(4); in test_hittest() local
23 for (SkScalar y = r.fTop + SK_ScalarHalf - MARGIN; y < r.fBottom + MARGIN; y += SK_Scalar1) { in test_hittest()
24 … for (SkScalar x = r.fLeft + SK_ScalarHalf - MARGIN; x < r.fRight + MARGIN; x += SK_Scalar1) { in test_hittest()
Dimagemakewithfilter.cpp67 SkScalar MARGIN = SkIntToScalar(40); in onDraw() local
68 SkScalar DX = info.width() + MARGIN; in onDraw()
69 SkScalar DY = info.height() + MARGIN; in onDraw()
71 canvas->translate(MARGIN, MARGIN); in onDraw()
Dcolorfilterimagefilter.cpp20 #define MARGIN SkIntToScalar(10) macro
130 canvas->translate(FILTER_WIDTH + MARGIN, 0);
133 canvas->translate(0, FILTER_HEIGHT + MARGIN);
139 canvas->translate(FILTER_WIDTH + MARGIN, 0);
146 canvas->translate(FILTER_WIDTH + MARGIN, 0);
153 canvas->translate(FILTER_WIDTH + MARGIN, 0);
160 canvas->translate(FILTER_WIDTH + MARGIN, 0);
167 canvas->translate(FILTER_WIDTH + MARGIN, 0);
173 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.cpp153 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
154 SkScalar DX = r.width() + MARGIN; in onDraw()
155 SkScalar DY = r.height() + MARGIN; in onDraw()
157 canvas->translate(MARGIN, MARGIN); in onDraw()
Dimagefiltersbase.cpp195 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
196 SkScalar DX = r.width() + MARGIN; in onDraw()
197 SkScalar DY = r.height() + MARGIN; in onDraw()
199 canvas->translate(MARGIN, MARGIN); in onDraw()
Dtileimagefilter.cpp18 #define MARGIN 12 macro
80 x += image->width() + MARGIN; in onDraw()
83 y += image->height() + MARGIN; in onDraw()
Dimagefilterscropexpand.cpp60 SkScalar MARGIN = SkIntToScalar(12); variable
69 canvas->translate(MARGIN, MARGIN);
/external/autotest/client/site_tests/platform_PrinterPpds/
Dhelpers.py57 MARGIN = 2048 # max distance to the header
58 position_pjl = doc.find(PJL_MARKER, position, position + MARGIN)
72 position_pjl = doc.find(PJL_MARKER, position, position + MARGIN)
95 MARGIN = 2048 # max distance to the header
96 position_ps = doc.find(PS_MARKER, position, position + MARGIN)
110 position_ps = doc.find(PS_MARKER, position, position + MARGIN)
111 position_ui = doc.find('{setuserinfo}', position, position + MARGIN)
112 position_ji = doc.find('/JobInfo <<', position, position + MARGIN)
/external/python/cpython2/Demo/tkinter/guido/
Dsolitaire.py49 MARGIN = 10 variable
50 XSPACING = CARDWIDTH + 2*MARGIN
51 YSPACING = CARDHEIGHT + 4*MARGIN
179 self.__back = Rectangle(canvas, MARGIN, MARGIN,
180 CARDWIDTH-MARGIN, CARDHEIGHT-MARGIN,
519 y = y + 2*MARGIN
534 height=3*YSPACING + 20 + MARGIN)
543 Window(self.canvas, MARGIN, 3*YSPACING + 20,
546 x = MARGIN
547 y = MARGIN
[all …]
/external/skqp/samplecode/
DSampleHairline.cpp71 #define MARGIN 10 macro
81 if (!check_bitmap_margin(bm, MARGIN)) { in line_proc()
202 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2); in onDrawContent()
207 bm.getAddr32(MARGIN, MARGIN), bm.rowBytes()); in onDrawContent()
/external/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 …]
/external/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.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()
/external/rust/crates/libz-sys/src/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()

12