/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ |
tree.css.js | 28 var MARGIN = 1; 38 WIDTH + MARGIN * 2, 39 HEIGHT + MARGIN * 2); 43 ctx.translate(MARGIN, MARGIN);
|
/external/chromium_org/ui/webui/resources/css/ |
tree.css.js | 8 /** @const */ var MARGIN = 1; 11 WIDTH + MARGIN * 2, 12 HEIGHT + MARGIN * 2); 15 ctx.translate(MARGIN, MARGIN);
|
/external/chromium_org/base/process/ |
memory_win.cc | 47 static const int MARGIN = 8; 48 scoped_ptr<HANDLE[]> heaps(new HANDLE[number_heaps + MARGIN]); 49 number_heaps = GetProcessHeaps(number_heaps + MARGIN, heaps.get());
|
/external/skia/gm/ |
hittestpath.cpp | 20 const SkScalar MARGIN = SkIntToScalar(4); 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) {
|
colorfilterimagefilter.cpp | 19 #define MARGIN SkIntToScalar(10) 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);
|
dropshadowimagefilter.cpp | 147 SkScalar MARGIN = SkIntToScalar(16); 148 SkScalar DX = r.width() + MARGIN; 149 SkScalar DY = r.height() + MARGIN; 151 canvas->translate(MARGIN, MARGIN);
|
imagefiltersbase.cpp | 202 SkScalar MARGIN = SkIntToScalar(16); 203 SkScalar DX = r.width() + MARGIN; 204 SkScalar DY = r.height() + MARGIN; 206 canvas->translate(MARGIN, MARGIN);
|
imagefilterscropped.cpp | 157 SkScalar MARGIN = SkIntToScalar(16); 158 SkScalar DX = r.width() + MARGIN; 159 SkScalar DY = r.height() + MARGIN; 161 canvas->translate(MARGIN, MARGIN);
|
offsetimagefilter.cpp | 14 #define MARGIN 12 103 x += bitmap->width() + MARGIN; 106 y += bitmap->height() + MARGIN;
|
tileimagefilter.cpp | 14 #define MARGIN 12 105 x += bitmap->width() + MARGIN; 108 y += bitmap->height() + MARGIN;
|
xfermodeimagefilter.cpp | 16 #define MARGIN 12 144 x += fBitmap.width() + MARGIN; 147 y += fBitmap.height() + MARGIN; 155 x += fBitmap.width() + MARGIN; 158 y += fBitmap.height() + MARGIN; 164 x += fBitmap.width() + MARGIN; 167 y += fBitmap.height() + MARGIN; 182 x += fBitmap.width() + MARGIN; 185 y += fBitmap.height() + MARGIN; 192 x += fBitmap.width() + MARGIN; [all...] |
/external/icu4c/samples/layout/ |
paragraph.h | 27 #define MARGIN 10
|
paragraph.cpp | 26 #define MARGIN 10 192 float lineWidth = (float) (width - 2 * MARGIN); 220 x = MARGIN; 233 x = (fWidth - lastX - MARGIN);
|
pflow.c | 30 #define MARGIN 10 292 lineWidth = (float) (width - 2 * MARGIN); 320 x = MARGIN; 333 x = (obj->fWidth - lastX - MARGIN);
|
/external/zlib/src/examples/ |
fitblk.c | 32 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 */ 208 inf.avail_in = size - MARGIN; /* assure stream will complete */ 215 assert(ret == Z_STREAM_END); /* otherwise MARGIN too small */
|
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/ |
FlockingScene.cpp | 152 const float MARGIN = 30.0f; // So the fish dont disappear and appear at the edges. 155 b->flock((const Boid**) &mBoids, NUM_BOIDS, i, LIMIT_X + MARGIN, LIMIT_Y + MARGIN);
|
/cts/tests/tests/view/src/android/view/cts/ |
WindowManager_LayoutParamsTest.java | 42 private static final float MARGIN = 1.0f; 151 params.verticalMargin = MARGIN;
|
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/ |
GameView.java | 74 private static final int MARGIN = 4;
219 mDstRect.offsetTo(MARGIN+x, MARGIN+y);
248 canvas.drawLine(x7 + MARGIN, y, x7 + s3 - 1 - MARGIN, y, mWinPaint);
252 canvas.drawLine(x, y7 + MARGIN, x, y7 + s3 - 1 - MARGIN, mWinPaint);
257 canvas.drawLine(x7 + MARGIN, y7 + MARGIN,
258 x7 + s3 - 1 - MARGIN, y7 + s3 - 1 - MARGIN, mWinPaint); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
FingerPrintGraph.java | 45 static final int MARGIN= 5; // margin on all four sides 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) [all...] |
BarGraph.java | 25 private static final int MARGIN= 5; // margin on all four sides 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 [all...] |
/external/libpng/contrib/visupng/ |
VisualPng.c | 21 #define MARGIN 8 125 512 + 2 * MARGIN + ixBorders, 384 + 2 * MARGIN + iyBorders, 824 cxNewSize = cxWinSize - 2 * MARGIN; 825 cyNewSize = cyWinSize - 2 * MARGIN; 835 cxImgPos = MARGIN; 841 cyImgPos = MARGIN; 922 if (cxImgPos < MARGIN) 923 cxImgPos = MARGIN; 924 if (cyImgPos < MARGIN) [all...] |
/external/chromium/base/ |
process_util_win.cc | 834 static const int MARGIN = 8; 835 scoped_array<HANDLE> heaps(new HANDLE[number_heaps + MARGIN]); 836 number_heaps = GetProcessHeaps(number_heaps + MARGIN, heaps.get());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
ImageViewer.java | 87 private static final int MARGIN = 5; 390 int margin = getZoomedPixelSize(MARGIN); local 395 mPadding.x = margin; 401 mPadding.y = margin; 420 int margin = getZoomedPixelSize(MARGIN) * 2; local 426 int max = horizontalScroll + verticalBarSize + margin; 446 int max = verticalScroll + horizontalBarSize + margin;
|
/frameworks/base/core/java/android/widget/ |
GridLayout.java | 672 int margin = horizontal ? local 675 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin; 2009 int margin = a.getDimensionPixelSize(MARGIN, DEFAULT_MARGIN); local [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
GridLayout.java | 668 int margin = horizontal ? local 671 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin; 1892 int margin = a.getDimensionPixelSize(MARGIN, DEFAULT_MARGIN); local [all...] |