Searched defs:dy (Results 1 - 25 of 81) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/java/awt/
H A DPoint.java190 * 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;
H A DGradientPaintContext.java85 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 DRectangle.java509 * @param dy the distance to move this <code>Rectangle</code>
514 public void translate(int dx, int dy) { argument
556 newv = oldv + dy;
557 if (dy < 0) {
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/
H A DMiscTests.java70 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/windows/classes/sun/java2d/windows/
H A DGDIBlitLoops.java124 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/test/java/awt/WMSpecificTests/Mutter/
H A DMutterMaximizeTest.java126 private static void dragWindow(Window w, int dx, int dy, Robot robot) { argument
130 p.translate(dx, dy);
/openjdk7/jdk/test/sun/java2d/SunGraphics2D/
H A DSimplePrimQuality.java79 private void drawLine(Graphics2D g, int x, int y, int dx, int dy) { argument
80 g.drawLine(x, y, x + dx, y + dy);
/openjdk7/jdk/test/sun/java2d/cmm/ColorConvertOp/
H A DColConvCCMTest.java91 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 DColConvDCMTest.java94 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 DImageComparator.java117 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/sun/java2d/
H A DNullSurfaceData.java148 int x, int y, int w, int h, int dx, int dy)
147 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument
/openjdk7/jdk/src/solaris/classes/sun/java2d/x11/
H A DX11PMBlitBgLoops.java90 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 DX11PMBlitLoops.java150 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/src/share/classes/sun/font/
H A DStrikeMetrics.java94 StrikeMetrics(float ax, float ay, float dx, float dy, float bx, float by, argument
99 descentY = dy;
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DWritableRaster.java409 * is copied to address (x+dx, y+dy) in this WritableRaster,
410 * unless (x+dx, y+dy) falls outside the bounds of this raster.
418 * @param dy The Y translation factor from src space to dst space
424 public void setRect(int dx, int dy, Raster srcRaster) { argument
430 int dstOffY = dy+srcOffY;
/openjdk7/jdk/src/solaris/native/sun/font/
H A DX11FontScaler.c318 jfloat j0=0, j1=1, ay=j0, dy=j0, mx=j0; local
328 /* dy = (jfloat)AWTCharDescent(AWTFontMaxBounds(xFont)); */
331 dy = (jfloat)AWTFontDescent(xFont);
344 j0, ay, j0, dy, j1, j0, j0, j1, mx, j0);
346 /* ay, dy, mx, (float)context->scale); */
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageClipping.c99 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/share/classes/sun/java2d/pipe/
H A DDrawImagePipe.java63 int dx, int dy, int sx, int sy, int w, int h,
62 copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer) argument
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DByteInterleavedRaster.java1147 public void setRect(int dx, int dy, Raster srcRaster) { argument
1149 super.setRect(dx, dy, srcRaster);
1158 int dstOffY = dy+srcOffY;
H A DBytePackedRaster.java789 * is copied to address (x+dx, y+dy) in this WritableRaster,
790 * unless (x+dx, y+dy) falls outside the bounds of this raster.
798 * @param dy The Y translation factor from src space to dst space
802 public void setRect(int dx, int dy, Raster srcRaster) { argument
806 super.setRect(dx, dy, srcRaster);
815 int dstOffY = dy+srcOffY;
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DAnimationController.java236 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/src/macosx/classes/sun/java2d/opengl/
H A DCGLSurfaceData.java178 int dx, int dy) {
188 final double[] coords = {x, y, x + w, y + h, x + dx, y + dy};
195 dy = ((int) Math.ceil(coords[5] - 0.5)) - y;
197 oglRenderPipe.copyArea(sg2d, x, y, w, h, dx, dy);
177 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_Interp.c69 yf = vis_fpadd32(yf, dy)
80 mlib_d64 xf, xr, dx, yf, yf0, yf1, dy; local
90 dy = vis_to_double_dup(dyfract);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWEmbeddedFrame.java207 int dx, int dy, int dwidth, int dheight);
205 printBand(long hdc, byte[] data, int offset, int sx, int sy, int swidth, int sheight, int dx, int dy, int dwidth, int dheight) argument
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DRenderer.java77 int x, int y, int w, int h, int dx, int dy)
97 buf.putInt(dx).putInt(dy);
217 int x, int y, int w, int h, int dx, int dy)
220 d3dr.copyArea(sg2d, x, y, w, h, dx, dy);
76 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument
216 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument

Completed in 3274 milliseconds

1234