Searched refs:dx (Results 51 - 75 of 195) sorted by relevance

12345678

/openjdk10/jdk/test/java/awt/WMSpecificTests/Mutter/
H A DMutterMaximizeTest.java128 private static void dragWindow(Window w, int dx, int dy, Robot robot) { argument
132 p.translate(dx, dy);
/openjdk10/jdk/test/java/awt/Mouse/MouseModifiersUnitTest/
H A DExtraButtonDrag.java131 int dx = x0 < x1 ? 1 : -1;
142 curX += dx;
/openjdk10/jdk/src/java.desktop/windows/classes/sun/awt/windows/
H A DWMouseDragGestureRecognizer.java214 int dx = Math.abs(origin.x - current.x);
217 if (dx > motionThreshold || dy > motionThreshold) {
/openjdk10/jdk/src/java.desktop/unix/classes/sun/awt/X11/
H A DXMouseDragGestureRecognizer.java211 int dx = Math.abs(origin.x - current.x);
214 if (dx > motionThreshold || dy > motionThreshold) {
/openjdk10/jdk/test/javax/swing/JTextArea/8149849/
H A DDNDTextToScaledArea.java117 float dx = (x2 - x1) / dmax;
121 robot.mouseMove((int) (x1 + dx * i), (int) (y1 + dy * i));
/openjdk10/jdk/test/javax/swing/JInternalFrame/8160248/
H A DJInternalFrameDraggingTest.java111 int dx = w / N;
115 for (int x = xs; x < xs + w; x += dx, y += dy) {
/openjdk10/jdk/src/java.desktop/share/native/libmlib_image/
H A Dmlib_ImageAffineEdge.c231 dx = ((X - 32768) & MLIB_MASK) * scale; \
232 dx_2 = 0.5 * dx; \
233 dx2 = dx * dx; \
244 dx = ((X - 32768) & MLIB_MASK) * scale; \
245 dx2 = dx * dx; \
246 dx3_2 = dx * dx2; \
249 xf0 = - dx3_2 + dx3_3 - dx; \
251 xf2 = - dx3_2 + dx2 + dx; \
572 mlib_d64 dx, dx_2, dx2, dx3_2, dx3_3; local
[all...]
H A Dmlib_ImageAffine_BC_D64.c50 * sides[2] is dx * 65536, sides[3] is dy * 65536
101 dx = (X & MLIB_MASK) * scale; \
103 dx_2 = ((FTYPE)0.5) * dx; \
105 dx2 = dx * dx; dy2 = dy * dy; \
124 dx = (X & MLIB_MASK) * scale; \
126 dx2 = dx * dx; dy2 = dy * dy; \
127 dx3_2 = dx * dx2; dy3_2 = dy * dy2; \
131 xf0 = dx3_3 - dx3_2 - dx; \
152 FTYPE dx, dx_2, dx2, dx3_2, dx3_3; variable
279 FTYPE dx, dx_2, dx2, dx3_2, dx3_3; variable
413 FTYPE dx, dx_2, dx2, dx3_2, dx3_3; variable
547 FTYPE dx, dx_2, dx2, dx3_2, dx3_3; variable
[all...]
H A Dmlib_ImageAffine_BC_F32.c50 * sides[2] is dx * 65536, sides[3] is dy * 65536
101 dx = (X & MLIB_MASK) * scale; \
103 dx_2 = ((FTYPE)0.5) * dx; \
105 dx2 = dx * dx; dy2 = dy * dy; \
124 dx = (X & MLIB_MASK) * scale; \
126 dx2 = dx * dx; dy2 = dy * dy; \
127 dx3_2 = dx * dx2; dy3_2 = dy * dy2; \
131 xf0 = dx3_3 - dx3_2 - dx; \
152 FTYPE dx, dx_2, dx2, dx3_2, dx3_3; variable
279 FTYPE dx, dx_2, dx2, dx3_2, dx3_3; variable
413 FTYPE dx, dx_2, dx2, dx3_2, dx3_3; variable
547 FTYPE dx, dx_2, dx2, dx3_2, dx3_3; variable
[all...]
H A Dmlib_ImageAffine_BC_S32.c50 * sides[2] is dx * 65536, sides[3] is dy * 65536
101 dx = (X & MLIB_MASK) * scale; \
103 dx_2 = ((FTYPE)0.5) * dx; \
105 dx2 = dx * dx; dy2 = dy * dy; \
124 dx = (X & MLIB_MASK) * scale; \
126 dx2 = dx * dx; dy2 = dy * dy; \
127 dx3_2 = dx * dx2; dy3_2 = dy * dy2; \
131 xf0 = dx3_3 - dx3_2 - dx; \
152 FTYPE dx, dx_2, dx2, dx3_2, dx3_3; variable
281 FTYPE dx, dx_2, dx2, dx3_2, dx3_3; variable
418 FTYPE dx, dx_2, dx2, dx3_2, dx3_3; variable
555 FTYPE dx, dx_2, dx2, dx3_2, dx3_3; variable
[all...]
/openjdk10/jdk/src/java.desktop/share/native/common/java2d/opengl/
H A DOGLBlitLoops.c269 GLdouble dx, dy, dw, dh, cdw, cdh; local
312 for (sx = sx1, dx = dx1; sx < sx2; sx += tw, dx += cdw) {
314 dw = ((dx + cdw) > dx2) ? (dx2 - dx) : cdw;
350 j2d_glTexCoord2d(tx1, ty1); j2d_glVertex2d(dx, dy);
351 j2d_glTexCoord2d(tx2, ty1); j2d_glVertex2d(dx + dw, dy);
352 j2d_glTexCoord2d(tx2, ty2); j2d_glVertex2d(dx + dw, dy + dh);
353 j2d_glTexCoord2d(tx1, ty2); j2d_glVertex2d(dx, dy + dh);
367 j2d_glTexCoord2d(tx1, ty2); j2d_glVertex2d(dx, d
861 OGLBlitLoops_CopyArea(JNIEnv *env, OGLContext *oglc, OGLSDOps *dstOps, jint x, jint y, jint width, jint height, jint dx, jint dy) argument
[all...]
H A DOGLBlitLoops.h68 jint dx, jint dy);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DJViewport.java405 int dx, dy;
407 dx = positionAdjustment(getWidth(), contentRect.width, contentRect.x);
410 if (dx != 0 || dy != 0) {
417 viewPosition.x -= dx;
824 int dx = newLocation.x - lastPaintPosition.x;
826 boolean canBlit = computeBlit(dx, dy, blitFrom, blitTo, blitSize, blitPaint);
1270 * @param dx the horizontal delta
1280 int dx,
1287 int dxAbs = Math.abs(dx);
1291 if ((dx
1279 computeBlit( int dx, int dy, Point blitFrom, Point blitTo, Dimension blitSize, Rectangle blitPaint) argument
[all...]
/openjdk10/jdk/src/java.desktop/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
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/loops/
H A DMaskBlit.java178 int sx, sy, dx, dy;
200 dx = dstx;
211 dx = 0;
220 sx, sy, dx, dy, width, height,
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/opengl/
H A DOGLRenderer.java76 int x, int y, int w, int h, int dx, int dy)
96 buf.putInt(dx).putInt(dy);
216 int x, int y, int w, int h, int dx, int dy)
219 oglr.copyArea(sg2d, x, y, w, h, dx, dy);
75 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument
215 copyArea(SunGraphics2D sg2d, int x, int y, int w, int h, int dx, int dy) argument
/openjdk10/jdk/src/java.desktop/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
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),
559 int dx, int dy,
585 sx, sy, dx, dy, w, h, bgColor);
933 int sx, int sy, int dx, int dy,
964 if (srcData == dstData && sx == dx && sy == dy
973 sx, sy, dx, dy, w, h);
977 bgColor.getRGB(), 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
557 renderImageCopy(SunGraphics2D sg, Image img, Color bgColor, int dx, int dy, int sx, int sy, int w, int h) argument
927 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
1038 copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer) argument
[all...]
H A DRegion.java473 * the specified dx, dy translation factors.
475 public Region getTranslatedRegion(int dx, int dy) { argument
476 if ((dx | dy) == 0) {
479 int tlox = lox + dx;
481 int thix = hix + dx;
483 if ((tlox > lox) != (dx > 0) ||
485 (thix > hix) != (dx > 0) ||
488 return getSafeTranslatedRegion(dx, dy);
504 newbands[i] = bands[i] + dx; i++;
505 newbands[i] = bands[i] + dx;
512 getSafeTranslatedRegion(int dx, int dy) argument
[all...]
/openjdk10/jdk/src/java.desktop/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
/openjdk10/jdk/test/javax/imageio/plugins/bmp/
H A DNoExtraBytesTest.java69 private static final int dx = w / usedColors.length; field in class:NoExtraBytesTest
203 g.fillRect(i * dx, 0, dx, h);
284 int x = dx / 2;
286 for (int i = 0; i < usedColors.length; i++, x += dx) {
/openjdk10/hotspot/src/os_cpu/bsd_x86/vm/
H A Dbsd_x86_32.s296 movw (%esi),%dx
297 movw %dx,(%edi)
320 movw (%esi),%dx
321 movw %dx,(%edi)
351 movw (%esi),%dx
352 movw %dx,(%edi)
396 movw (%esi),%dx
397 movw %dx,(%edi)
426 movw (%esi),%dx
427 movw %dx,(
[all...]
/openjdk10/hotspot/src/os_cpu/linux_x86/vm/
H A Dlinux_x86_32.s275 movw (%esi),%dx
276 movw %dx,(%edi)
299 movw (%esi),%dx
300 movw %dx,(%edi)
330 movw (%esi),%dx
331 movw %dx,(%edi)
375 movw (%esi),%dx
376 movw %dx,(%edi)
405 movw (%esi),%dx
406 movw %dx,(
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/sun/font/
H A DLayoutPathImpl.java239 double dx = x - px;
241 a += sqrt(dx * dx + dy * dy);
416 double dx = nx - bx; // vector from previous to current
426 double dot = dx * px + dy * py; // dot product
439 double l2 = dl * dl; // aka dx * dx + dy * dy, square of length
444 vcx = bx + p * dx; // compute closest point
529 double dx = data[index] - bx;
535 double rx = (px * dx
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicTableUI.java187 protected int dx; field in class:BasicTableUI.Actions
205 Actions(String name, int dx, int dy, boolean extend, argument
211 // that one of dx and dy be 0 and the other be -1 or 1.
218 // look at the sign of dx and dy only
219 dx = sign(dx);
223 assert (dx == 0 || dy == 0) && !(dx == 0 && dy == 0);
226 this.dx = dx;
243 moveWithinTableRange(JTable table, int dx, int dy) argument
264 moveWithinSelectedRange(JTable table, int dx, int dy, ListSelectionModel rsm, ListSelectionModel csm) argument
364 calcNextPos(int dx, int minX, int maxX, int dy, int minY, int maxY) argument
[all...]

Completed in 204 milliseconds

12345678