Searched refs:dx (Results 26 - 50 of 163) sorted by relevance

1234567

/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)
123 if (x0 > width - dx) x0 = width - dx;
130 for (int i = x0; i < x0 + dx; i++) {
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 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/share/classes/java/awt/image/
H A DAreaAveragingScaleFilter.java164 int dx = 0;
198 alphas[dx] += mult * a;
199 reds[dx] += mult * r;
200 greens[dx] += mult * g;
201 blues[dx] += mult * b;
206 dx++;
/openjdk7/jdk/test/javax/imageio/plugins/jpeg/
H A DReadAsGrayTest.java59 static final int dx = 50; field in class:ReadAsGrayTest
138 int x = i * dx + dx / 2;
168 BufferedImage img = new BufferedImage(dx * colors.length, h, type);
173 g.fillRect(i * dx, 0, dx, h);
/openjdk7/jdk/test/sun/java2d/pipe/
H A DRegionOps.java247 for (int dx = -100; dx <= 100; dx += 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, in 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 DDrawLine.c96 jint dx, dy, ax, ay; \
104 dx = X2 - X1; \
106 ax = (dx < 0) ? -dx : dx; \
138 if (dx < 0) { \
181 if (dx > 0) { \
216 *pBumpMajorMask = (dx < 0) ? BUMP_NEG_PIXEL : BUMP_POS_PIXEL; \
227 *pBumpMinorMask = (dx < 0) ? BUMP_NEG_PIXEL : BUMP_POS_PIXEL; \
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DPixelToParallelogramConverter.java195 // Save the original dx, dy in case we need it to transform
197 double dx = ux2 - ux1;
254 double len = len(dx, dy);
256 dx = len = 1;
260 double unitvector[] = {dy/len, -dx/len};
265 dx = x2 - x1;
267 double len = len(dx, dy);
276 udx = lw * dx / len;
284 dx += udx;
288 px, py, -udy, udx, dx, d
[all...]
H A DDrawImage.java82 int dx, int dy, int sx, int sy, int w, int h,
87 dx + sg.transX, dy + sg.transY,
90 scaleImage(sg, img, dx, dy, (dx + w), (dy + h),
281 double dx = coords[0];
283 double dw = coords[2] - dx;
289 int idx = (int) Math.floor(dx + 0.5);
292 (closeToInteger(idx, dx) && closeToInteger(idy, dy)))
552 int dx, int dy,
578 sx, sy, dx, d
81 copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor) argument
550 renderImageCopy(SunGraphics2D sg, Image img, Color bgColor, int dx, int dy, int sx, int sy, int w, int h) argument
916 blitSurfaceData(SunGraphics2D sg, Region clipRegion, SurfaceData srcData, SurfaceData dstData, SurfaceType srcType, SurfaceType dstType, int sx, int sy, int dx, int dy, int w, int h, Color bgColor) argument
1021 copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer) argument
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/
H A DSurfaceData.c221 jint dx, jint dy)
224 GETMAX(dst->x1, src->x1 + dx);
226 GETMIN(dst->x2, src->x2 + dx);
228 GETMAX(src->x1, dst->x1 - dx);
230 GETMIN(src->x2, dst->x2 - dx);
219 SurfaceData_IntersectBlitBounds(SurfaceDataBounds *src, SurfaceDataBounds *dst, jint dx, jint dy) argument
/openjdk7/jdk/src/solaris/classes/sun/java2d/x11/
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/java2d/pisces/
H A DRenderer.java187 float dx = c.bx / countsq + c.cx / count;
191 float x1 = x0 + dx;
192 dx += ddx;
214 // the dx and dy refer to forward differencing variables, not the last
216 float dddx, dddy, ddx, ddy, dx, dy;
222 dx = c.ax / (1 << (3 * countlg)) + c.bx / (1 << (2 * countlg)) + c.cx / (1 << countlg);
233 dx = (dx - ddx) / 2;
238 while (count % 2 == 0 && Math.abs(dx) <= INC_BND && Math.abs(dy) <= INC_BND) {
239 dx
[all...]
/openjdk7/jdk/test/javax/imageio/plugins/bmp/
H A DBMPSubsamplingTest.java91 int dx = 300; field in class:BMPSubsamplingTest
93 int w = dx * colors.length + srcXSubsampling;
302 g.fillRect(i * dx, 0, dx, h);
346 int x = dx / (2 * srcXSubsampling);
359 x += dx / srcXSubsampling;
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRBackendNative.java291 int sx, int sy, int dx, int dy,
294 putMaskNative(drawable, gc, imageData, sx, sy, dx, dy,
300 int sx, int sy, int dx, int dy,
308 int sx, int sy, int dx, int dy, int w, int h) {
318 sx, sy, dx, dy, w, h);
328 int sx, int sy, int dx, int dy,
290 putMaskImage(int drawable, long gc, byte[] imageData, int sx, int sy, int dx, int dy, int width, int height, int maskOff, int maskScan, float ea) argument
298 putMaskNative(int drawable, long gc, byte[] imageData, int sx, int sy, int dx, int dy, int width, int height, int maskOff, int maskScan, float ea, long xImg) argument
305 padBlit(byte op, int srcPict, int maskPict, int dstPict, AffineTransform maskTrx, int maskWidth, int maskHeight, int lastMaskWidth, int lastMaskHeight, int sx, int sy, int dx, int dy, int w, int h) argument
321 padBlitNative(byte op, int srcPict, int maskPict, int dstPict, int m00, int m01, int m02, int m10, int m11, int m12, int maskWidth, int maskHeight, int lastMaskWidth, int lastMaskHeight, int sx, int sy, int dx, int dy, int w, int h) argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DDragRecognitionSupport.java164 int dx = Math.abs(me.getX() - dndArmedEvent.getX());
166 if ((dx > motionThreshold) || (dy > motionThreshold)) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DDropShadowEffect.java98 int dx = x + tmpOffX;
99 tmpBuf1[offset + dx] = (byte) ((lineBuf[x] & 0xFF000000) >>> 24);
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCMouseDragGestureRecognizer.java135 int dx = Math.abs(origin.x - current.x);
138 if (dx >= fMotionThreshold || dy >= fMotionThreshold) {
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWMouseDragGestureRecognizer.java213 int dx = Math.abs(origin.x - current.x);
216 if (dx > motionThreshold || dy > motionThreshold) {
/openjdk7/jdk/test/java/awt/Mouse/MouseModifiersUnitTest/
H A DExtraButtonDrag.java107 int dx = x0 < x1 ? 1 : -1;
118 curX += dx;
/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/src/solaris/classes/sun/awt/X11/
H A DXMouseDragGestureRecognizer.java215 int dx = Math.abs(origin.x - current.x);
218 if (dx > motionThreshold || dy > motionThreshold) {
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLBlitLoops.c265 GLdouble dx, dy, dw, dh, cdw, cdh; local
308 for (sx = sx1, dx = dx1; sx < sx2; sx += tw, dx += cdw) {
310 dw = ((dx + cdw) > dx2) ? (dx2 - dx) : cdw;
343 j2d_glTexCoord2d(tx1, ty1); j2d_glVertex2d(dx, dy);
344 j2d_glTexCoord2d(tx2, ty1); j2d_glVertex2d(dx + dw, dy);
345 j2d_glTexCoord2d(tx2, ty2); j2d_glVertex2d(dx + dw, dy + dh);
346 j2d_glTexCoord2d(tx1, ty2); j2d_glVertex2d(dx, dy + dh);
360 j2d_glTexCoord2d(tx1, ty2); j2d_glVertex2d(dx, d
807 OGLBlitLoops_CopyArea(JNIEnv *env, OGLContext *oglc, OGLSDOps *dstOps, jint x, jint y, jint width, jint height, jint dx, jint dy) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJViewport.java398 int dx, dy;
400 dx = positionAdjustment(getWidth(), contentRect.width, contentRect.x);
403 if (dx != 0 || dy != 0) {
410 viewPosition.x -= dx;
781 int dx = newLocation.x - lastPaintPosition.x;
783 boolean canBlit = computeBlit(dx, dy, blitFrom, blitTo, blitSize, blitPaint);
1151 * @param dx the horizontal delta
1161 int dx,
1168 int dxAbs = Math.abs(dx);
1172 if ((dx
1160 computeBlit( int dx, int dy, Point blitFrom, Point blitTo, Dimension blitSize, Rectangle blitPaint) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dcanvas.h38 void awt_canvas_scroll(XtPointer this, struct CanvasData *wdata, long dx, long dy);

Completed in 420 milliseconds

1234567