/external/skia/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/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/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/skia/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/zlib/src/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()
|