Home
last modified time | relevance | path

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

/external/skia/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
129 canvas->translate(FILTER_WIDTH + MARGIN, 0);
132 canvas->translate(0, FILTER_HEIGHT + MARGIN);
138 canvas->translate(FILTER_WIDTH + MARGIN, 0);
145 canvas->translate(FILTER_WIDTH + MARGIN, 0);
152 canvas->translate(FILTER_WIDTH + MARGIN, 0);
159 canvas->translate(FILTER_WIDTH + MARGIN, 0);
166 canvas->translate(FILTER_WIDTH + MARGIN, 0);
172 canvas->translate(FILTER_WIDTH + MARGIN, 0);
Ddropshadowimagefilter.cpp105 SkScalar MARGIN = SkIntToScalar(16); variable
106 SkScalar DX = r.width() + MARGIN;
107 SkScalar DY = r.height() + MARGIN;
109 canvas->translate(MARGIN, MARGIN);
Dimagefilterscropped.cpp154 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
155 SkScalar DX = r.width() + MARGIN; in onDraw()
156 SkScalar DY = r.height() + MARGIN; in onDraw()
158 canvas->translate(MARGIN, MARGIN); in onDraw()
Dimagefiltersbase.cpp218 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
219 SkScalar DX = r.width() + MARGIN; in onDraw()
220 SkScalar DY = r.height() + MARGIN; in onDraw()
222 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.cpp61 SkScalar MARGIN = SkIntToScalar(12); variable
70 canvas->translate(MARGIN, MARGIN);
Doffsetimagefilter.cpp17 #define MARGIN 12 macro
61 canvas->translate(SkIntToScalar(image->width() + MARGIN), 0); in onDraw()
/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/skia/samplecode/
DSampleHairline.cpp71 #define MARGIN 10 macro
81 if (!check_bitmap_margin(bm, MARGIN)) { in line_proc()
203 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2); in onDrawContent()
208 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()
828 cxNewSize = cxWinSize - 2 * MARGIN; in FillBitmap()
829 cyNewSize = cyWinSize - 2 * MARGIN; in FillBitmap()
840 cxImgPos = MARGIN; in FillBitmap()
846 cyImgPos = MARGIN; in FillBitmap()
927 if (cxImgPos < MARGIN) in FillBitmap()
928 cxImgPos = MARGIN; in FillBitmap()
929 if (cyImgPos < MARGIN) in FillBitmap()
930 cyImgPos = MARGIN; in FillBitmap()
[all …]
/external/syslinux/com32/menu/
Dmenumain.c59 #define MARGIN (cm->mparm[P_MARGIN]) macro
153 y, MARGIN + 1 + HSHIFT, in draw_row()
157 fputs(pad_line("", 0, WIDTH - 2 * MARGIN - 4), stdout); in draw_row()
162 WIDTH - 2 * MARGIN - 4); in draw_row()
315 printf("\033[%d;%dH\1#1\016l", VSHIFT + 1, HSHIFT + MARGIN + 1); in draw_menu()
316 for (x = 2 + HSHIFT; x <= (WIDTH - 2 * MARGIN - 1) + HSHIFT; x++) in draw_menu()
321 HSHIFT + MARGIN + 1, pad_line(cm->title, 1, WIDTH - 2 * MARGIN - 4)); in draw_menu()
323 printf("\033[%d;%dH\1#1t", VSHIFT + 3, HSHIFT + MARGIN + 1); in draw_menu()
324 for (x = 2 + HSHIFT; x <= (WIDTH - 2 * MARGIN - 1) + HSHIFT; x++) in draw_menu()
331 printf("\033[%d;%dH\1#1\016m", y, HSHIFT + MARGIN + 1); in draw_menu()
[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()
Dparagraph.h33 #define MARGIN 10 macro
/external/zlib/src/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()
/external/syslinux/com32/hdt/floppy/
Dhdt.cfg6 MENU MARGIN 0
/external/bart/docs/notebooks/thermal/
DThermal.ipynb261 "Check if 95% of the temperature readings are below CONTROL_TEMP + MARGIN"
/external/syslinux/doc/
Dmenu.txt498 MENU MARGIN 10