Searched refs:MARGIN (Results 1 - 22 of 22) sorted by relevance

/external/skia/gm/
H A Dhittestpath.cpp20 const SkScalar MARGIN = SkIntToScalar(4); local
23 for (SkScalar y = r.fTop + SK_ScalarHalf - MARGIN; y < r.fBottom + MARGIN; y += SK_Scalar1) {
24 for (SkScalar x = r.fLeft + SK_ScalarHalf - MARGIN; x < r.fRight + MARGIN; x += SK_Scalar1) {
H A Dxfermodeimagefilter.cpp17 #define MARGIN 12 macro
123 x += fBitmap.width() + MARGIN;
126 y += fBitmap.height() + MARGIN;
134 x += fBitmap.width() + MARGIN;
137 y += fBitmap.height() + MARGIN;
143 x += fBitmap.width() + MARGIN;
146 y += fBitmap.height() + MARGIN;
160 x += fBitmap.width() + MARGIN;
163 y += fBitmap.height() + MARGIN;
170 x += fBitmap.width() + MARGIN;
[all...]
H A Dcolorfilterimagefilter.cpp19 #define MARGIN SkIntToScalar(10) macro
84 canvas->translate(FILTER_WIDTH + MARGIN, 0);
87 canvas->translate(0, FILTER_HEIGHT + MARGIN);
93 canvas->translate(FILTER_WIDTH + MARGIN, 0);
100 canvas->translate(FILTER_WIDTH + MARGIN, 0);
107 canvas->translate(FILTER_WIDTH + MARGIN, 0);
114 canvas->translate(FILTER_WIDTH + MARGIN, 0);
121 canvas->translate(FILTER_WIDTH + MARGIN, 0);
H A Ddropshadowimagefilter.cpp146 SkScalar MARGIN = SkIntToScalar(16); local
147 SkScalar DX = r.width() + MARGIN;
148 SkScalar DY = r.height() + MARGIN;
150 canvas->translate(MARGIN, MARGIN);
H A Dimagefilterscropped.cpp172 SkScalar MARGIN = SkIntToScalar(16); variable
173 SkScalar DX = r.width() + MARGIN;
174 SkScalar DY = r.height() + MARGIN;
176 canvas->translate(MARGIN, MARGIN);
H A Dtileimagefilter.cpp17 #define MARGIN 12 macro
81 x += bitmap->width() + MARGIN;
84 y += bitmap->height() + MARGIN;
H A Dimagefiltersbase.cpp232 SkScalar MARGIN = SkIntToScalar(16); variable
233 SkScalar DX = r.width() + MARGIN;
234 SkScalar DY = r.height() + MARGIN;
236 canvas->translate(MARGIN, MARGIN);
H A Doffsetimagefilter.cpp15 #define MARGIN 12 macro
97 canvas->translate(SkIntToScalar(bitmap->width() + MARGIN), 0);
H A Dimagefilterscropexpand.cpp117 SkScalar MARGIN = SkIntToScalar(12); local
123 canvas->translate(MARGIN, MARGIN);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DFingerPrintGraph.java45 static final int MARGIN= 5; // margin on all four sides field in class:FingerPrintGraph
224 for (int i=0, y=MARGIN; i < this.count; i++, y+=LINE_HEIGHT) {
251 int labelxpos = MARGIN + baselineBarLength;
253 this.gc.fillRectangle(MARGIN, y + (GAP/2), baselineBarLength, BAR_HEIGHT);
254 Rectangle rec = new Rectangle(MARGIN, y + (GAP/2), baselineBarLength, BAR_HEIGHT);
259 Rectangle recValue = new Rectangle(MARGIN, y + (GAP/2), wr, BAR_HEIGHT);
262 Rectangle recError = new Rectangle(MARGIN+wr, y + (GAP/2), baselineErrorLength*2, BAR_HEIGHT);
264 Rectangle rec = new Rectangle(MARGIN, y + (GAP/2), baselineBarLength+baselineErrorLength, BAR_HEIGHT);
293 this.gc.fillRectangle(MARGIN, y + (GAP/2) + BAR_HEIGHT, currentBarLength, BAR_HEIGHT);
294 Rectangle rec = new Rectangle(MARGIN,
[all...]
H A DBarGraph.java25 private static final int MARGIN= 5; // margin on all four sides field in class:BarGraph
75 return MARGIN + titleHeight + n * (GAP + BARHEIGHT) + GAP + textHeight + MARGIN;
101 w= width - maxNameLength - TGAP - 2 * MARGIN;
109 gc.drawString(this.fTitle, MARGIN, MARGIN, true); // draw title left aligned
112 int center= MARGIN + w / 2;
145 int y= MARGIN + vstart;
258 int x= MARGIN + w + TGAP;
/external/skia/samplecode/
H A DSampleHairline.cpp76 #define MARGIN 10 macro
86 if (!check_bitmap_margin(bm, MARGIN)) {
208 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2);
213 bm.getAddr32(MARGIN, MARGIN), bm.rowBytes());
/external/icu/icu4c/source/samples/layout/
H A Dparagraph.cpp26 #define MARGIN 10 macro
192 float lineWidth = (float) (width - 2 * MARGIN);
220 x = MARGIN;
233 x = (fWidth - lastX - MARGIN);
H A Dparagraph.h27 #define MARGIN 10 macro
H A Dpflow.c30 #define MARGIN 10 macro
292 lineWidth = (float) (width - 2 * MARGIN);
320 x = MARGIN;
333 x = (obj->fWidth - lastX - MARGIN);
/external/libpng/contrib/visupng/
H A DVisualPng.c22 #define MARGIN 8 macro
127 512 + 2 * MARGIN + ixBorders, 384 + 2 * MARGIN + iyBorders,
828 cxNewSize = cxWinSize - 2 * MARGIN;
829 cyNewSize = cyWinSize - 2 * MARGIN;
840 cxImgPos = MARGIN;
846 cyImgPos = MARGIN;
927 if (cxImgPos < MARGIN)
928 cxImgPos = MARGIN;
929 if (cyImgPos < MARGIN)
[all...]
/external/zlib/src/examples/
H A Dfitblk.c32 complete (see the MARGIN define below). That will result in a
49 block of the third and final pass. MARGIN is chosen to be just
124 #define MARGIN 8 /* amount to back off for completion */ macro
208 inf.avail_in = size - MARGIN; /* assure stream will complete */
215 assert(ret == Z_STREAM_END); /* otherwise MARGIN too small */
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/
H A Dperformanceui.jarMETA-INF/MANIFEST.MF .project about.html plugin.xml build.properties images/FAIL ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.ui.forms_3.5.2.r36_v20100702.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/oned/ ...

Completed in 1381 milliseconds