/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) {
|
xfermodeimagefilter.cpp | 18 #define MARGIN 12 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...] |
colorfilterimagefilter.cpp | 19 #define MARGIN SkIntToScalar(10) 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);
|
dropshadowimagefilter.cpp | 123 SkScalar MARGIN = SkIntToScalar(16); 124 SkScalar DX = r.width() + MARGIN; 125 SkScalar DY = r.height() + MARGIN; 127 canvas->translate(MARGIN, MARGIN);
|
imagefilterscropped.cpp | 149 SkScalar MARGIN = SkIntToScalar(16); 150 SkScalar DX = r.width() + MARGIN; 151 SkScalar DY = r.height() + MARGIN; 153 canvas->translate(MARGIN, MARGIN);
|
tileimagefilter.cpp | 18 #define MARGIN 12 79 x += image->width() + MARGIN; 82 y += image->height() + MARGIN;
|
imagefiltersbase.cpp | 209 SkScalar MARGIN = SkIntToScalar(16); 210 SkScalar DX = r.width() + MARGIN; 211 SkScalar DY = r.height() + MARGIN; 213 canvas->translate(MARGIN, MARGIN);
|
imagefilterscropexpand.cpp | 65 SkScalar MARGIN = SkIntToScalar(12); 74 canvas->translate(MARGIN, MARGIN);
|
offsetimagefilter.cpp | 17 #define MARGIN 12 63 canvas->translate(SkIntToScalar(image->width() + MARGIN), 0);
|
/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/skia/samplecode/ |
SampleHairline.cpp | 51 static bool check_bitmap_margin(const SkBitmap& bm, int margin) { 53 for (int i = 0; i < margin; i++) { 65 int right = bm.width() - margin + i; 76 #define MARGIN 10 86 if (!check_bitmap_margin(bm, MARGIN)) { 208 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2); 209 // this will erase our margin, which we want to always stay 0 213 bm.getAddr32(MARGIN, MARGIN), bm.rowBytes()) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
NfcTestActivity.java | 55 private static final int MARGIN = 80; 123 * Creates a Bitmap image that contains red on white text with a specified margin. 133 int w = 2 * MARGIN + rect.right - rect.left; 134 int h = 2 * MARGIN + rect.bottom - rect.top; 141 canvas.drawText(text, MARGIN - rect.left, MARGIN - rect.top, paint);
|
/external/icu/icu4c/source/samples/layout/ |
paragraph.cpp | 26 #define MARGIN 10 197 float lineWidth = (float) (width - 2 * MARGIN); 225 x = MARGIN; 238 x = (fWidth - lastX - MARGIN);
|
paragraph.h | 27 #define MARGIN 10
|
pflow.c | 30 #define MARGIN 10 292 lineWidth = (float) (width - 2 * MARGIN); 320 x = MARGIN; 333 x = (obj->fWidth - lastX - MARGIN);
|
/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/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/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);
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
LeanbackLauncherStrategy.java | 399 final int MARGIN = 10; 402 if (dx < -MARGIN) { 406 if (dy < -MARGIN) { 410 if (dx > MARGIN) { 414 if (dy > MARGIN) {
|
/cts/tests/tests/view/src/android/view/cts/ |
WindowManager_LayoutParamsTest.java | 42 private static final float MARGIN = 1.0f; 153 params.verticalMargin = 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;
|
/prebuilts/sdk/current/support/v7/gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |