Home
last modified time | relevance | path

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

12

/external/skia/gm/
Dxfermodeimagefilter.cpp18 #define MARGIN 12 macro
94 x += fBitmap.width() + MARGIN; in onDraw()
97 y += fBitmap.height() + MARGIN; in onDraw()
105 x += fBitmap.width() + MARGIN; in onDraw()
108 y += fBitmap.height() + MARGIN; in onDraw()
114 x += fBitmap.width() + MARGIN; in onDraw()
117 y += fBitmap.height() + MARGIN; in onDraw()
132 x += fBitmap.width() + MARGIN; in onDraw()
135 y += fBitmap.height() + MARGIN; in onDraw()
142 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()
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);
Ddropshadowimagefilter.cpp123 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
124 SkScalar DX = r.width() + MARGIN; in onDraw()
125 SkScalar DY = r.height() + MARGIN; in onDraw()
127 canvas->translate(MARGIN, MARGIN); in onDraw()
Dimagefilterscropped.cpp149 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
150 SkScalar DX = r.width() + MARGIN; in onDraw()
151 SkScalar DY = r.height() + MARGIN; in onDraw()
153 canvas->translate(MARGIN, MARGIN); in onDraw()
Dimagefiltersbase.cpp209 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
210 SkScalar DX = r.width() + MARGIN; in onDraw()
211 SkScalar DY = r.height() + MARGIN; in onDraw()
213 canvas->translate(MARGIN, MARGIN); in onDraw()
Dtileimagefilter.cpp18 #define MARGIN 12 macro
79 x += image->width() + MARGIN; in onDraw()
82 y += image->height() + MARGIN; in onDraw()
Dimagefilterscropexpand.cpp65 SkScalar MARGIN = SkIntToScalar(12); in onDraw() local
74 canvas->translate(MARGIN, MARGIN); in onDraw()
Doffsetimagefilter.cpp17 #define MARGIN 12 macro
63 canvas->translate(SkIntToScalar(image->width() + MARGIN), 0); in onDraw()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DFingerPrintGraph.java45 static final int MARGIN= 5; // margin on all four sides field in FingerPrintGraph
224 for (int i=0, y=MARGIN; i < this.count; i++, y+=LINE_HEIGHT) { in drawBars()
251 int labelxpos = MARGIN + baselineBarLength; in drawBars()
253 this.gc.fillRectangle(MARGIN, y + (GAP/2), baselineBarLength, BAR_HEIGHT); in drawBars()
254 Rectangle rec = new Rectangle(MARGIN, y + (GAP/2), baselineBarLength, BAR_HEIGHT); in drawBars()
259 Rectangle recValue = new Rectangle(MARGIN, y + (GAP/2), wr, BAR_HEIGHT); in drawBars()
262 Rectangle recError = new Rectangle(MARGIN+wr, y + (GAP/2), baselineErrorLength*2, BAR_HEIGHT); in drawBars()
264 …Rectangle rec = new Rectangle(MARGIN, y + (GAP/2), baselineBarLength+baselineErrorLength, BAR_HEIG… in drawBars()
293 this.gc.fillRectangle(MARGIN, y + (GAP/2) + BAR_HEIGHT, currentBarLength, BAR_HEIGHT); in drawBars()
294 Rectangle rec = new Rectangle(MARGIN, y + (GAP/2) + BAR_HEIGHT, currentBarLength, BAR_HEIGHT); in drawBars()
[all …]
DBarGraph.java25 private static final int MARGIN= 5; // margin on all four sides field in BarGraph
75 return MARGIN + titleHeight + n * (GAP + BARHEIGHT) + GAP + textHeight + MARGIN; in getHeight()
101 w= width - maxNameLength - TGAP - 2 * MARGIN; in paint()
109 gc.drawString(this.fTitle, MARGIN, MARGIN, true); // draw title left aligned in paint()
112 int center= MARGIN + w / 2; in paint()
145 int y= MARGIN + vstart; in paint()
258 int x= MARGIN + w + TGAP; in paint()
/external/skia/samplecode/
DSampleHairline.cpp76 #define MARGIN 10 macro
86 if (!check_bitmap_margin(bm, MARGIN)) { in line_proc()
208 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2); in onDrawContent()
213 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/icu/icu4c/source/samples/layout/
Dparagraph.cpp26 #define MARGIN 10 macro
197 float lineWidth = (float) (width - 2 * MARGIN); in breakLines()
225 x = MARGIN; in draw()
238 x = (fWidth - lastX - MARGIN); in draw()
Dpflow.c30 #define MARGIN 10 macro
292 lineWidth = (float) (width - 2 * MARGIN); in pf_breakLines()
320 x = MARGIN; in pf_draw()
333 x = (obj->fWidth - lastX - MARGIN); in pf_draw()
Dparagraph.h27 #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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/
Dperformanceui.jarMETA-INF/MANIFEST.MF .project about.html plugin.xml build.properties images ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.ui.forms_3.5.2.r36_v20100702.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.ui.workbench_3.6.1.M20101117-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...

12