/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/ |
H A D | MiscTests.java | 70 private int dx, dy; field in class:MiscTests.CopyArea 72 CopyArea(String nodeName, String desc, int dx, int dy) { argument 75 this.dy = dy; 93 g.copyArea(x, y, size, size, dx, dy); 99 g.copyArea(x, y, size, size, dx, dy);
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | MaskTile.java | 75 int x, y, t, dx, dy, incx, incy, pdx, pdy, ddx, ddy, es, el, err; 79 dy = yend - ystart; 83 incy = dy > 0 ? 1 : (dy < 0) ? -1 : 0; 86 if (dy < 0) 87 dy = -dy; 90 if (dx > dy) { 96 es = dy; 105 el = dy; /* Fehlerschritt [all...] |
/openjdk7/jdk/test/java/awt/print/PrinterJob/ImagePrinting/ |
H A D | ClippedImages.java | 301 int dx, dy, dw, dh; 309 dx=300; dy=10; dw=50; dh=50; 311 drawImage(g, dx, dy, dx+dw, dy+dh ,sx,sy,1,1); 313 dx=20; dy=20; dw=400; dh=80; 315 drawImage(g, dx, dy, dx+dw, dy+dh, sx, sy, dw/2, dh/2); 317 dx=125; dy=40; 321 drawImage(g, dx, dy, dx+dw, dy [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifScrollBarButton.java | 167 for (int y = cy - 1, x = s - 1, dy = 1; x >= 1; x -= 2) { 171 g.drawLine(x - 1, y, x - 1, y + dy + 1); 174 g.drawLine(x, y + 1, x, y + dy); 176 g.drawLine(x - 1, y, x - 1, y + dy + 1); 179 g.drawLine(x, y + dy + 1, x, y + dy + 1); 181 dy += 2; 189 for (int y = cy - 1, x = 1, dy = 1; x <= s - 2; x += 2) { 196 g.drawLine(x, y + 1, x, y + dy); 198 g.drawLine(x + 1, y, x + 1, y + dy [all...] |
H A D | MotifScrollBarUI.java | 63 int dy = insets.top + insets.bottom; 65 ? new Dimension(dx + 11, dy + 33) 66 : new Dimension(dx + 33, dy + 11);
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | GradientPaintContext.java | 85 double dy; field in class:GradientPaintContext 116 dy = 0; 134 dy = (yvec.getX() * udx + yvec.getY() * udy) / ulenSq; 138 dy = dy % 1.0; 145 // To ensure that constraint, we negate the dx/dy 150 dy = -dy; 227 double rowrel = (x - x1) * dx + (y - y1) * dy; 240 cycleFillRaster(pixels, off, adjust, w, h, rowrel, dx, dy); 250 cycleFillRaster(int[] pixels, int off, int adjust, int w, int h, double rowrel, double dx, double dy) argument 268 clipFillRaster(int[] pixels, int off, int adjust, int w, int h, double rowrel, double dx, double dy) argument [all...] |
H A D | LinearGradientPaintContext.java | 109 float dy = endy - starty; // change in y from start to end 110 float dSq = dx*dx + dy*dy; // total distance squared 114 float constY = dy/dSq;
|
H A D | Point.java | 190 * by {@code dx} along the {@code x} axis and {@code dy} 192 * {@code (x+dx,y+dy)}. 196 * @param dy the distance to move this point 199 public void translate(int dx, int dy) { argument 201 this.y += dy;
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | ReplicateScaleFilter.java | 202 for (int dy = dy1; (sy = srcrows[dy]) < y + h; dy++) { 209 consumer.setPixels(dx1, dy, dx - dx1, 1, 243 for (int dy = dy1; (sy = srcrows[dy]) < y + h; dy++) { 250 consumer.setPixels(dx1, dy, dx - dx1, 1,
|
H A D | AreaAveragingScaleFilter.java | 142 int dy, dyrem; 144 dy = 0; 147 dy = savedy; 213 consumer.setPixels(0, dy, destWidth, 1, 215 dy++; 227 savedy = dy;
|
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | ImagePrinter.java | 80 int dy = (ih - dh) / 2; 82 g.drawImage(image, dx, dy, dx+dw, dy+dh, 0, 0, w, h, null);
|
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageClipping.c | 99 mlib_s32 dx, dy, dxd, dxs, dyd, dys, wid_e, hgt_e; local 131 dy = src_hgt - dst_hgt; 133 if (dy > 0) { 134 dys = (dy + 1) >> 1; 138 dyd = (-dy) >> 1; 142 dy_b = kh2 + dys - dy;
|
/openjdk7/jdk/src/windows/classes/sun/java2d/windows/ |
H A D | GDIBlitLoops.java | 124 int sx, int sy, int dx, int dy, 139 int sx, int sy, int dx, int dy, int w, int h) 141 nativeBlit(src, dst, clip, sx, sy, dx, dy, w, h, 122 nativeBlit(SurfaceData src, SurfaceData dst, Region clip, int sx, int sy, int dx, int dy, int w, int h, int rmask, int gmask, int bmask, boolean needLut) argument 137 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument
|
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/ |
H A D | OGLBlitLoops.java | 378 int sx, int sy, int dx, int dy, int w, int h) 385 dx, dy, dx+w, dy+h, 426 int sx, int sy, int dx, int dy, 433 dx, dy, dx+w, dy+h, 448 int sx, int sy, int dx, int dy, int w, int h) 455 dx, dy, dx+w, dy+h, 496 int sx, int sy, int dx, int dy, in 376 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 423 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int sx, int sy, int dx, int dy, int w, int h) argument 446 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 493 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int sx, int sy, int dx, int dy, int w, int h) argument 519 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 563 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 614 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int sx, int sy, int dx, int dy, int w, int h) argument 638 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 659 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 706 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int sx, int sy, int dx, int dy, int w, int h) argument 740 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 776 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/ |
H A D | D3DBlitLoops.java | 367 int sx, int sy, int dx, int dy, int w, int h) 374 dx, dy, dx+w, dy+h, 415 int sx, int sy, int dx, int dy, 422 dx, dy, dx+w, dy+h, 437 int sx, int sy, int dx, int dy, int w, int h) 444 dx, dy, dx+w, dy+h, 485 int sx, int sy, int dx, int dy, in 365 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 412 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int sx, int sy, int dx, int dy, int w, int h) argument 435 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 482 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int sx, int sy, int dx, int dy, int w, int h) argument 508 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 552 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 603 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int sx, int sy, int dx, int dy, int w, int h) argument 627 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 648 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 695 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int sx, int sy, int dx, int dy, int w, int h) argument 729 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 794 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 832 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int sx, int sy, int dx, int dy, int w, int h) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | Curve.java | 32 float ax, ay, bx, by, cx, cy, dx, dy; field in class:Curve 68 dy = y1; 84 dy = y1; 93 return t * (t * (t * ay + by) + cy) + dy; 230 // dx=xat(t) and dy=yat(t). These calls have been inlined for efficiency 232 final float dy = t * (t * day + dby) + cy; 235 final float dx2dy2 = dx*dx + dy*dy; 237 final float ddxdxddydy = ddx*dx + ddy*dy;
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/x11/ |
H A D | X11PMBlitBgLoops.java | 90 int dx, int dy, 101 sx, sy, dx, dy, w, h); 114 int dx, int dy, 87 BlitBg(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int bgColor, int sx, int sy, int dx, int dy, int w, int h) argument 111 nativeBlitBg(long srcData, long dstData, long xgc, int pixel, int sx, int sy, int dx, int dy, int w, int h) argument
|
H A D | X11PMBlitLoops.java | 150 int dx, int dy, 160 sx, sy, dx, dy, w, h); 173 int sx, int sy, int dx, int dy, 199 int sx, int sy, int dx, int dy, int w, int h) 204 blit.Blit(src, dst, comp, clip, sx, sy, dx, dy, w, h); 147 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 171 nativeBlit(long srcData, long dstData, long xgc, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument 197 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) argument
|
/openjdk7/jdk/test/sun/java2d/cmm/ColorConvertOp/ |
H A D | ColConvCCMTest.java | 91 static boolean testSubImage(int x0, int y0, int dx, int dy, argument 97 BufferedImage subSrc = src.getSubimage(x0, y0, dx, dy); 100 BufferedImage subDst = dst.getSubimage(x0, y0, dx, dy); 106 boolean result = cmp.compare(subDst, gldImage, x0, y0, dx, dy);
|
H A D | ColConvDCMTest.java | 94 static boolean testSubImage(int x0, int y0, int dx, int dy, int type, argument 100 BufferedImage subSrc = src.getSubimage(x0, y0, dx, dy); 103 BufferedImage subDst = dst.getSubimage(x0, y0, dx, dy); 111 boolean result = cmp.compare(subDst, gldImage, x0, y0, dx, dy);
|
H A D | ImageComparator.java | 117 int dx, int dy) 125 if (y0 > height - dy) y0 = height - dy; 131 for (int j = y0; j < y0 + dy; j++) { 116 compare(BufferedImage dst, BufferedImage gldImage, int x0, int y0, int dx, int dy) argument
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | AnimationController.java | 236 Graphics g, int dx, int dy, int dw, int dh, State state) { 238 skin.paintSkinRaw(g, dx, dy, dw, dh, state); 251 animationState.paintSkin(skin, g, dx, dy, dw, dh, state); 253 skin.paintSkinRaw(g, dx, dy, dw, dh, state); 378 int dx, int dy, int dw, int dh, State state) { 384 skin.paintSkinRaw(g, dx, dy, dw, dh, startState); 392 skin.paintSkinRaw(g, dx, dy, dw, dh, state); 395 skin.paintSkinRaw(_g, dx, dy, dw, dh, state); 235 paintSkin(JComponent component, Skin skin, Graphics g, int dx, int dy, int dw, int dh, State state) argument 377 paintSkin(Skin skin, Graphics _g, int dx, int dy, int dw, int dh, State state) argument
|
/openjdk7/jdk/test/sun/java2d/pipe/ |
H A D | RegionOps.java | 246 for (int dy = -100; dy <= 100; dy += 50) { 248 testTranslate(a, dx, dy, true, 255 public static void testTranslate(RectListImpl a, int dx, int dy, argument 260 RectListImpl theTrans = a.getTranslation(dx, dy); numops++; 262 RectListImpl unTrans = theTrans.getTranslation(-dx, -dy); 267 if (theTrans.contains(x+dx, y+dy) != inside) { 269 dx+", "+dy+" at "+x+", "+y); 375 public abstract RectListImpl getTranslation(int dx, int dy); argument 410 getTranslation(int dx, int dy) argument 483 getTranslation(int dx, int dy) argument [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | DrawLine.c | 96 jint dx, dy, ax, ay; \ 105 dy = Y2 - Y1; \ 107 ay = (dy < 0) ? -dy : dy; \ 157 if (dy < 0) { \ 202 if (dy > 0) { \ 217 *pBumpMinorMask = (dy < 0) ? BUMP_NEG_SCAN : BUMP_POS_SCAN; \ 226 *pBumpMajorMask = (dy < 0) ? BUMP_NEG_SCAN : BUMP_POS_SCAN; \
|
/openjdk7/jdk/src/share/native/sun/java2d/ |
H A D | SurfaceData.c | 221 jint dx, jint dy) 225 GETMAX(dst->y1, src->y1 + dy); 227 GETMIN(dst->y2, src->y2 + dy); 229 GETMAX(src->y1, dst->y1 - dy); 231 GETMIN(src->y2, dst->y2 - dy); 219 SurfaceData_IntersectBlitBounds(SurfaceDataBounds *src, SurfaceDataBounds *dst, jint dx, jint dy) argument
|