/external/skia/gm/ |
D | xfermodeimagefilter.cpp | 18 #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 …]
|
D | hittestpath.cpp | 20 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()
|
D | colorfilterimagefilter.cpp | 19 #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);
|
D | dropshadowimagefilter.cpp | 123 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()
|
D | imagefilterscropped.cpp | 149 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()
|
D | imagefiltersbase.cpp | 209 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()
|
D | tileimagefilter.cpp | 18 #define MARGIN 12 macro 79 x += image->width() + MARGIN; in onDraw() 82 y += image->height() + MARGIN; in onDraw()
|
D | imagefilterscropexpand.cpp | 65 SkScalar MARGIN = SkIntToScalar(12); in onDraw() local 74 canvas->translate(MARGIN, MARGIN); in onDraw()
|
D | offsetimagefilter.cpp | 17 #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/ |
D | FingerPrintGraph.java | 45 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 …]
|
D | BarGraph.java | 25 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/ |
D | SampleHairline.cpp | 76 #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/ |
D | VisualPng.c | 22 #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/ |
D | paragraph.cpp | 26 #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()
|
D | pflow.c | 30 #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()
|
D | paragraph.h | 27 #define MARGIN 10 macro
|
/external/zlib/src/examples/ |
D | fitblk.c | 124 #define MARGIN 8 /* amount to back off for completion */ macro 208 inf.avail_in = size - MARGIN; /* assure stream will complete */ in main()
|