/external/skia/gm/ |
D | xfermodeimagefilter.cpp | 29 #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 …]
|
D | hittestpath.cpp | 25 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()
|
D | colorfilterimagefilter.cpp | 34 #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);
|
D | dropshadowimagefilter.cpp | 104 SkScalar MARGIN = SkIntToScalar(16); variable 105 SkScalar DX = r.width() + MARGIN; 106 SkScalar DY = r.height() + MARGIN; 108 canvas->translate(MARGIN, MARGIN);
|
D | imagefilterscropped.cpp | 152 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()
|
D | imagemakewithfilter.cpp | 299 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()
|
D | tileimagefilter.cpp | 30 #define MARGIN 12 macro 88 x += image->width() + MARGIN; in onDraw() 91 y += image->height() + MARGIN; in onDraw()
|
D | imagefilterscropexpand.cpp | 57 SkScalar MARGIN = SkIntToScalar(12); variable 66 canvas->translate(MARGIN, MARGIN);
|
D | imagefiltersbase.cpp | 243 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/ |
D | xfermodeimagefilter.cpp | 18 #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 …]
|
D | hittestpath.cpp | 20 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()
|
D | imagemakewithfilter.cpp | 67 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()
|
D | colorfilterimagefilter.cpp | 20 #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);
|
D | dropshadowimagefilter.cpp | 104 SkScalar MARGIN = SkIntToScalar(16); variable 105 SkScalar DX = r.width() + MARGIN; 106 SkScalar DY = r.height() + MARGIN; 108 canvas->translate(MARGIN, MARGIN);
|
D | imagefilterscropped.cpp | 153 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()
|
D | imagefiltersbase.cpp | 195 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()
|
D | tileimagefilter.cpp | 18 #define MARGIN 12 macro 80 x += image->width() + MARGIN; in onDraw() 83 y += image->height() + MARGIN; in onDraw()
|
D | imagefilterscropexpand.cpp | 60 SkScalar MARGIN = SkIntToScalar(12); variable 69 canvas->translate(MARGIN, MARGIN);
|
/external/autotest/client/site_tests/platform_PrinterPpds/ |
D | helpers.py | 57 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/ |
D | solitaire.py | 49 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/ |
D | SampleHairline.cpp | 71 #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/ |
D | VisualPng.c | 22 #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/ |
D | paragraph.cpp | 32 #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()
|
D | pflow.c | 33 #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/ |
D | fitblk.c | 124 #define MARGIN 8 /* amount to back off for completion */ macro 208 inf.avail_in = size - MARGIN; /* assure stream will complete */ in main()
|