HomeSort by relevance Sort by last modified time
    Searched defs:MARGIN (Results 1 - 25 of 95) sorted by null

1 2 3 4

  /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) {
dropshadowimagefilter.cpp 105 SkScalar MARGIN = SkIntToScalar(16);
106 SkScalar DX = r.width() + MARGIN;
107 SkScalar DY = r.height() + MARGIN;
109 canvas->translate(MARGIN, MARGIN);
imagemakewithfilter.cpp 67 SkScalar MARGIN = SkIntToScalar(40);
68 SkScalar DX = info.width() + MARGIN;
69 SkScalar DY = info.height() + MARGIN;
71 canvas->translate(MARGIN, MARGIN);
tileimagefilter.cpp 18 #define MARGIN 12
80 x += image->width() + MARGIN;
83 y += image->height() + MARGIN;
xfermodeimagefilter.cpp 18 #define MARGIN 12
89 x += fBitmap.width() + MARGIN;
92 y += fBitmap.height() + MARGIN;
99 x += fBitmap.width() + MARGIN;
102 y += fBitmap.height() + MARGIN;
107 x += fBitmap.width() + MARGIN;
110 y += fBitmap.height() + MARGIN;
128 x += fBitmap.width() + MARGIN;
131 y += fBitmap.height() + MARGIN;
139 x += fBitmap.width() + MARGIN;
    [all...]
imagefilterscropexpand.cpp 61 SkScalar MARGIN = SkIntToScalar(12);
70 canvas->translate(MARGIN, MARGIN);
imagefilterscropped.cpp 154 SkScalar MARGIN = SkIntToScalar(16);
155 SkScalar DX = r.width() + MARGIN;
156 SkScalar DY = r.height() + MARGIN;
158 canvas->translate(MARGIN, MARGIN);
offsetimagefilter.cpp 17 #define MARGIN 12
61 canvas->translate(SkIntToScalar(image->width() + MARGIN), 0);
colorfilterimagefilter.cpp 20 #define MARGIN SkIntToScalar(10)
129 canvas->translate(FILTER_WIDTH + MARGIN, 0);
132 canvas->translate(0, FILTER_HEIGHT + MARGIN);
138 canvas->translate(FILTER_WIDTH + MARGIN, 0);
145 canvas->translate(FILTER_WIDTH + MARGIN, 0);
152 canvas->translate(FILTER_WIDTH + MARGIN, 0);
159 canvas->translate(FILTER_WIDTH + MARGIN, 0);
166 canvas->translate(FILTER_WIDTH + MARGIN, 0);
172 canvas->translate(FILTER_WIDTH + MARGIN, 0);
imagefiltersbase.cpp 218 SkScalar MARGIN = SkIntToScalar(16);
219 SkScalar DX = r.width() + MARGIN;
220 SkScalar DY = r.height() + MARGIN;
222 canvas->translate(MARGIN, MARGIN);
  /external/icu/icu4c/source/samples/layout/
paragraph.h 33 #define MARGIN 10
paragraph.cpp 32 #define MARGIN 10
203 float lineWidth = (float) (width - 2 * MARGIN);
231 x = MARGIN;
244 x = (fWidth - lastX - MARGIN);
pflow.c 33 #define MARGIN 10
295 lineWidth = (float) (width - 2 * MARGIN);
323 x = MARGIN;
336 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 */
  /external/skia/samplecode/
SampleHairline.cpp 46 static bool check_bitmap_margin(const SkBitmap& bm, int margin) {
48 for (int i = 0; i < margin; i++) {
60 int right = bm.width() - margin + i;
71 #define MARGIN 10
81 if (!check_bitmap_margin(bm, MARGIN)) {
203 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2);
204 // this will erase our margin, which we want to always stay 0
208 bm.getAddr32(MARGIN, MARGIN), bm.rowBytes())
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
NfcTestActivity.java 57 private static final int MARGIN = 80;
138 * Creates a Bitmap image that contains red on white text with a specified margin.
148 int w = 2 * MARGIN + rect.right - rect.left;
149 int h = 2 * MARGIN + rect.bottom - rect.top;
156 canvas.drawText(text, MARGIN - rect.left, MARGIN - rect.top, paint);
  /cts/tests/openglperf2/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 53 private static final float MARGIN = 1.0f;
166 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/python/cpython2/Demo/tkinter/guido/
solitaire.py 42 # work in a "grid" where each card/stack is surrounded by MARGIN
44 # 2*MARGIN pixels. OFFSET is the offset used for displaying the
49 MARGIN = 10
50 XSPACING = CARDWIDTH + 2*MARGIN
51 YSPACING = CARDHEIGHT + 4*MARGIN
179 self.__back = Rectangle(canvas, MARGIN, MARGIN,
180 CARDWIDTH-MARGIN, CARDHEIGHT-MARGIN,
519 y = y + 2*MARGIN
    [all...]
  /external/libpng/contrib/visupng/
VisualPng.c 22 #define MARGIN 8
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/syslinux/com32/menu/
menumain.c 42 [P_MARGIN] = {"margin", 10},
59 #define MARGIN (cm->mparm[P_MARGIN])
153 y, MARGIN + 1 + HSHIFT,
157 fputs(pad_line("", 0, WIDTH - 2 * MARGIN - 4), stdout);
162 WIDTH - 2 * MARGIN - 4);
315 printf("\033[%d;%dH\1#1\016l", VSHIFT + 1, HSHIFT + MARGIN + 1);
316 for (x = 2 + HSHIFT; x <= (WIDTH - 2 * MARGIN - 1) + HSHIFT; x++)
321 HSHIFT + MARGIN + 1, pad_line(cm->title, 1, WIDTH - 2 * MARGIN - 4));
323 printf("\033[%d;%dH\1#1t", VSHIFT + 3, HSHIFT + MARGIN + 1)
    [all...]
  /platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
LeanbackLauncherStrategy.java 423 final int MARGIN = 10;
426 if (dx < -MARGIN) {
430 if (dy < -MARGIN) {
434 if (dx > MARGIN) {
438 if (dy > MARGIN) {
  /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 685 int margin = horizontal ? local
688 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin;
2143 int margin = a.getDimensionPixelSize(MARGIN, DEFAULT_MARGIN); local
    [all...]

Completed in 1408 milliseconds

1 2 3 4