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

12

/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.cpp18 #define MARGIN 12 macro
94 x += fBitmap.width() + MARGIN;
97 y += fBitmap.height() + MARGIN;
105 x += fBitmap.width() + MARGIN;
108 y += fBitmap.height() + MARGIN;
114 x += fBitmap.width() + MARGIN;
117 y += fBitmap.height() + MARGIN;
132 x += fBitmap.width() + MARGIN;
135 y += fBitmap.height() + MARGIN;
142 x += fBitmap.width() + MARGIN;
[all...]
H A Dcolorfilterimagefilter.cpp19 #define MARGIN SkIntToScalar(10) macro
131 canvas->translate(FILTER_WIDTH + MARGIN, 0);
134 canvas->translate(0, FILTER_HEIGHT + MARGIN);
140 canvas->translate(FILTER_WIDTH + MARGIN, 0);
147 canvas->translate(FILTER_WIDTH + MARGIN, 0);
154 canvas->translate(FILTER_WIDTH + MARGIN, 0);
161 canvas->translate(FILTER_WIDTH + MARGIN, 0);
168 canvas->translate(FILTER_WIDTH + MARGIN, 0);
174 canvas->translate(FILTER_WIDTH + MARGIN, 0);
H A Ddropshadowimagefilter.cpp123 SkScalar MARGIN = SkIntToScalar(16); local
124 SkScalar DX = r.width() + MARGIN;
125 SkScalar DY = r.height() + MARGIN;
127 canvas->translate(MARGIN, MARGIN);
H A Dimagefilterscropped.cpp149 SkScalar MARGIN = SkIntToScalar(16); variable
150 SkScalar DX = r.width() + MARGIN;
151 SkScalar DY = r.height() + MARGIN;
153 canvas->translate(MARGIN, MARGIN);
H A Dtileimagefilter.cpp18 #define MARGIN 12 macro
79 x += image->width() + MARGIN;
82 y += image->height() + MARGIN;
H A Dimagefiltersbase.cpp209 SkScalar MARGIN = SkIntToScalar(16); variable
210 SkScalar DX = r.width() + MARGIN;
211 SkScalar DY = r.height() + MARGIN;
213 canvas->translate(MARGIN, MARGIN);
H A Dimagefilterscropexpand.cpp65 SkScalar MARGIN = SkIntToScalar(12); variable
74 canvas->translate(MARGIN, MARGIN);
H A Doffsetimagefilter.cpp17 #define MARGIN 12 macro
63 canvas->translate(SkIntToScalar(image->width() + MARGIN), 0);
/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
197 float lineWidth = (float) (width - 2 * MARGIN);
225 x = MARGIN;
238 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/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 3873 milliseconds

12