Home
last modified time | relevance | path

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

12

/external/chromium_org/ui/webui/resources/css/
Dtree.css.js8 /** @const */ var MARGIN = 1;
11 WIDTH + MARGIN * 2,
12 HEIGHT + MARGIN * 2);
15 ctx.translate(MARGIN, MARGIN);
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dtree.css.js28 var MARGIN = 1;
38 WIDTH + MARGIN * 2,
39 HEIGHT + MARGIN * 2);
43 ctx.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/
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/gm/
Dxfermodeimagefilter.cpp16 #define MARGIN 12 macro
139 x += fBitmap.width() + MARGIN; in onDraw()
142 y += fBitmap.height() + MARGIN; in onDraw()
150 x += fBitmap.width() + MARGIN; in onDraw()
153 y += fBitmap.height() + MARGIN; in onDraw()
159 x += fBitmap.width() + MARGIN; in onDraw()
162 y += fBitmap.height() + MARGIN; in onDraw()
176 x += fBitmap.width() + MARGIN; in onDraw()
179 y += fBitmap.height() + MARGIN; in onDraw()
186 x += fBitmap.width() + MARGIN; in onDraw()
[all …]
Dcolorfilterimagefilter.cpp19 #define MARGIN SkIntToScalar(10) macro
84 canvas->translate(FILTER_WIDTH + MARGIN, 0); in onDraw()
87 canvas->translate(0, FILTER_HEIGHT + MARGIN); in onDraw()
93 canvas->translate(FILTER_WIDTH + MARGIN, 0); in onDraw()
100 canvas->translate(FILTER_WIDTH + MARGIN, 0); in onDraw()
107 canvas->translate(FILTER_WIDTH + MARGIN, 0); in onDraw()
114 canvas->translate(FILTER_WIDTH + MARGIN, 0); in onDraw()
121 canvas->translate(FILTER_WIDTH + MARGIN, 0); in onDraw()
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()
Ddropshadowimagefilter.cpp145 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
146 SkScalar DX = r.width() + MARGIN; in onDraw()
147 SkScalar DY = r.height() + MARGIN; in onDraw()
149 canvas->translate(MARGIN, MARGIN); in onDraw()
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.cpp206 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
207 SkScalar DX = r.width() + MARGIN; in onDraw()
208 SkScalar DY = r.height() + MARGIN; in onDraw()
210 canvas->translate(MARGIN, MARGIN); in onDraw()
Dtileimagefilter.cpp16 #define MARGIN 12 macro
96 x += bitmap->width() + MARGIN; in onDraw()
99 y += bitmap->height() + MARGIN; in onDraw()
Dimagefilterscropexpand.cpp117 SkScalar MARGIN = SkIntToScalar(12); in onDraw() local
123 canvas->translate(MARGIN, MARGIN); in onDraw()
/external/chromium_org/third_party/skia/gm/
Dxfermodeimagefilter.cpp16 #define MARGIN 12 macro
140 x += fBitmap.width() + MARGIN; in onDraw()
143 y += fBitmap.height() + MARGIN; in onDraw()
151 x += fBitmap.width() + MARGIN; in onDraw()
154 y += fBitmap.height() + MARGIN; in onDraw()
160 x += fBitmap.width() + MARGIN; in onDraw()
163 y += fBitmap.height() + MARGIN; in onDraw()
177 x += fBitmap.width() + MARGIN; in onDraw()
180 y += fBitmap.height() + MARGIN; in onDraw()
187 x += fBitmap.width() + MARGIN; in onDraw()
[all …]
Dcolorfilterimagefilter.cpp19 #define MARGIN SkIntToScalar(10) macro
84 canvas->translate(FILTER_WIDTH + MARGIN, 0); in onDraw()
87 canvas->translate(0, FILTER_HEIGHT + MARGIN); in onDraw()
93 canvas->translate(FILTER_WIDTH + MARGIN, 0); in onDraw()
100 canvas->translate(FILTER_WIDTH + MARGIN, 0); in onDraw()
107 canvas->translate(FILTER_WIDTH + MARGIN, 0); in onDraw()
114 canvas->translate(FILTER_WIDTH + MARGIN, 0); in onDraw()
121 canvas->translate(FILTER_WIDTH + MARGIN, 0); in onDraw()
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()
Ddropshadowimagefilter.cpp146 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
147 SkScalar DX = r.width() + MARGIN; in onDraw()
148 SkScalar DY = r.height() + MARGIN; in onDraw()
150 canvas->translate(MARGIN, MARGIN); in onDraw()
Dimagefilterscropped.cpp155 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
156 SkScalar DX = r.width() + MARGIN; in onDraw()
157 SkScalar DY = r.height() + MARGIN; in onDraw()
159 canvas->translate(MARGIN, MARGIN); in onDraw()
Dimagefiltersbase.cpp239 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local
240 SkScalar DX = r.width() + MARGIN; in onDraw()
241 SkScalar DY = r.height() + MARGIN; in onDraw()
243 canvas->translate(MARGIN, MARGIN); in onDraw()
Dtileimagefilter.cpp16 #define MARGIN 12 macro
97 x += bitmap->width() + MARGIN; in onDraw()
100 y += bitmap->height() + MARGIN; in onDraw()
/external/chromium_org/base/process/
Dmemory_win.cc47 static const int MARGIN = 8; in EnableLowFragmentationHeap() local
48 scoped_ptr<HANDLE[]> heaps(new HANDLE[number_heaps + MARGIN]); in EnableLowFragmentationHeap()
49 number_heaps = GetProcessHeaps(number_heaps + MARGIN, heaps.get()); in EnableLowFragmentationHeap()
/external/skia/samplecode/
DSampleHairline.cpp89 #define MARGIN 10 macro
99 if (!check_bitmap_margin(bm, MARGIN)) { in line_proc()
228 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2); in onDrawContent()
233 bm.getAddr32(MARGIN, MARGIN), bm.rowBytes()); in onDrawContent()
/external/chromium_org/third_party/skia/samplecode/
DSampleHairline.cpp89 #define MARGIN 10 macro
99 if (!check_bitmap_margin(bm, MARGIN)) { in line_proc()
228 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2); in onDrawContent()
233 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/chromium_org/third_party/icu/source/samples/layout/
Dparagraph.cpp26 #define MARGIN 10 macro
192 float lineWidth = (float) (width - 2 * MARGIN); in breakLines()
220 x = MARGIN; in draw()
233 x = (fWidth - lastX - MARGIN); in draw()
/external/icu/icu4c/source/samples/layout/
Dparagraph.cpp26 #define MARGIN 10 macro
192 float lineWidth = (float) (width - 2 * MARGIN); in breakLines()
220 x = MARGIN; in draw()
233 x = (fWidth - lastX - MARGIN); in draw()

12