Searched refs:dx (Results 101 - 125 of 195) sorted by relevance

12345678

/openjdk10/jdk/test/java/awt/FullScreen/AltTabCrashTest/
H A DAltTabCrashTest.java233 int dx, dy; // motion delta field in class:AltTabCrashTest.Ball
243 dx = x % 20 + 1;
250 dx = -dx;
253 x += dx;
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/java2d/
H A DCompositeCRenderer.java245 protected boolean blitImage(SunGraphics2D sg2d, Image img, boolean fliph, boolean flipv, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, Color bgColor) { argument
249 dx = (flipv == false) ? dx : dx - dw;
251 ShapeBounds.setFrame(dx, dy, dw, dh);
291 g.drawImage(img, dx, dy, dx + dw, dy + dh, sx, sy, sx2, sy2, null);
/openjdk10/jdk/src/java.desktop/unix/classes/sun/awt/X11/
H A DXTextAreaPeer.java728 for (int x = cx - 1, y = 1, dx = 1; y <= s - 2; y += 2) {
735 g.drawLine(x + 1, y, x + dx, y);
737 g.drawLine(x, y + 1, x + dx + 1, y + 1);
740 g.drawLine(x + dx + 1, y, x + dx + 1, y);
742 g.drawLine(x + 1, y + 1, x + dx + 1, y + 1);
744 dx += 2;
752 for (int x = cx - 1, y = s - 1, dx = 1; y >= 1; y -= 2) {
756 g.drawLine(x, y - 1, x + dx + 1, y - 1);
759 g.drawLine(x + 1, y, x + dx,
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/marlin/
H A DDStroker.java409 final double dx, final double dy,
415 (dx == 0.0d && dy == 0.0d))
428 (dx + x0) + mx, (dy + y0) + my, x0 + mx, y0 + my,
459 double dx = x1 - cx0;
461 if (dx == 0.0d && dy == 0.0d) {
462 dx = 1.0d;
464 computeOffset(dx, dy, lineWidth2, offset0);
468 drawJoin(cdx, cdy, cx0, cy0, dx, dy, cmx, cmy, mx, my);
478 this.cdx = dx;
621 double dx, doubl
407 drawMiter(final double pdx, final double pdy, final double x0, final double y0, final double dx, final double dy, double omx, double omy, double mx, double my, boolean rev) argument
619 drawJoin(double pdx, double pdy, double x0, double y0, double dx, double dy, double omx, double omy, double mx, double my) argument
[all...]
H A DStroker.java411 final float dx, final float dy,
417 (dx == 0.0f && dy == 0.0f))
430 (dx + x0) + mx, (dy + y0) + my, x0 + mx, y0 + my,
461 float dx = x1 - cx0;
463 if (dx == 0.0f && dy == 0.0f) {
464 dx = 1.0f;
466 computeOffset(dx, dy, lineWidth2, offset0);
470 drawJoin(cdx, cdy, cx0, cy0, dx, dy, cmx, cmy, mx, my);
480 this.cdx = dx;
623 float dx, floa
409 drawMiter(final float pdx, final float pdy, final float x0, final float y0, final float dx, final float dy, float omx, float omy, float mx, float my, boolean rev) argument
621 drawJoin(float pdx, float pdy, float x0, float y0, float dx, float dy, float omx, float omy, float mx, float my) argument
[all...]
H A DDRenderer.java203 double dx = c.bx * icount2 + c.cx * icount;
209 x1 = x0 + dx;
210 dx += ddx;
242 // the dx and dy refer to forward differencing variables, not the last
244 double dddx, dddy, ddx, ddy, dx, dy;
249 dx = c.ax * icount3 + c.bx * icount2 + c.cx * icount;
266 dx = (dx - ddx) / 2.0d;
278 && Math.abs(dx) + Math.abs(dy) <= _INC_BND)
280 dx
[all...]
H A DRenderer.java204 float dx = c.bx * icount2 + c.cx * icount;
210 x1 = x0 + dx;
211 dx += ddx;
243 // the dx and dy refer to forward differencing variables, not the last
245 float dddx, dddy, ddx, ddy, dx, dy;
250 dx = c.ax * icount3 + c.bx * icount2 + c.cx * icount;
267 dx = (dx - ddx) / 2.0f;
279 && Math.abs(dx) + Math.abs(dy) <= _INC_BND)
281 dx
[all...]
/openjdk10/jdk/src/java.desktop/share/native/libmlib_image/
H A Dmlib_ImageScanPoly.c70 mlib_d64 dx, dy, div; local
205 dx = a2;
425 dxs += dx;
437 dxe -= dx;
511 dxs += dx;
523 dxe -= dx;
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsButtonUI.java258 int dx = 0;
276 dx += insets.left;
281 skin.paintSkin(g, dx, dy, dw, dh, state);
H A DXPStyle.java558 * @param dx the destination <i>x</i> coordinate
562 void paintSkin(Graphics g, int dx, int dy, State state) { argument
566 paintSkin(g, dx, dy, getWidth(state), getHeight(state), state);
584 * @param dx the destination <i>x</i> coordinate
592 void paintSkin(Graphics g, int dx, int dy, int dw, int dh, State state) { argument
601 g, dx, dy, dw, dh, state);
603 paintSkinRaw(g, dx, dy, dw, dh, state);
612 * @param dx the destination <i>x</i> coordinate.
620 void paintSkinRaw(Graphics g, int dx, int dy, int dw, int dh, State state) { argument
624 skinPainter.paint(null, g, dx, d
640 paintSkin(Graphics g, int dx, int dy, int dw, int dh, State state, boolean borderFill) argument
[all...]
/openjdk10/jdk/src/java.desktop/unix/native/libawt/java2d/loops/
H A Dvis_Interp.c68 xf = vis_fpadd32(xf, dx); \
80 mlib_d64 xf, xr, dx, yf, yf0, yf1, dy; local
89 dx = vis_to_double_dup(dxfract);
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/pisces/
H A DDasher.java169 float dx = x1 - x0;
172 float len = (float) Math.sqrt(dx*dx + dy*dy);
178 // The scaling factors needed to get the dx and dy of the
180 float cx = dx / len;
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/
H A DEvent.java705 * coordinates are increased by <i>dx</i> and <i>dy</i>,
712 * @param dx the distance to translate the <i>x</i> coordinate.
715 public void translate(int dx, int dy) { argument
716 this.x += dx;
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DPasswordView.java258 int dx = (pos - getStartOffset()) * m.charWidth(echoChar);
259 alloc.x += dx;
/openjdk10/jdk/src/java.desktop/share/native/common/java2d/opengl/
H A DOGLVertexCache.c39 jfloat dx, dy; member in struct:_J2DVertex
57 v->dx = DX; \
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/pipe/
H A DValidatePipe.java192 int dx, int dy, int sx, int sy, int w, int h,
196 return sg.imagepipe.copyImage(sg, img, dx, dy, sx, sy, w, h,
191 copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer) argument
/openjdk10/jdk/test/java/awt/font/TextLayout/
H A DTestJustification.java241 float dx = layout.isLeftToRight() ? 0 : width - adv;
243 layout.draw(g2d, basex + dx, basey);
/openjdk10/jdk/test/sun/java2d/SunGraphics2D/
H A DSimplePrimQuality.java80 private void drawLine(Graphics2D g, int x, int y, int dx, int dy) { argument
81 g.drawLine(x, y, x + dx, y + dy);
/openjdk10/jdk/test/javax/swing/ToolTipManager/7123767/
H A Dbug7123767.java263 float dx = (x1 - x0) / dmax;
268 robot.mouseMove((int) (x0 + dx * i), (int) (y0 + dy * i));
/openjdk10/jdk/test/javax/swing/regtesthelpers/
H A DUtil.java184 float dx = (x1 - x0) / dmax;
188 robot.mouseMove((int) (x0 + dx * i), (int) (y0 + dy * i));
/openjdk10/jdk/src/java.desktop/share/classes/sun/font/
H A DStandardGlyphVector.java561 float x = positions[ix*2] + gs.dx - adl.ascentX;
1623 pt.x = x + sgv.positions[n++] + gs.dx;
1706 float dx; field in class:StandardGlyphVector.GlyphStrike
1710 float dx = 0;
1718 dx = (float)tx.getTranslateX(); // uses ftx then gtx to get translation
1761 return new GlyphStrike(sgv, strike, dx, dy);
1764 private GlyphStrike(StandardGlyphVector sgv, FontStrike strike, float dx, float dy) { argument
1767 this.dx = dx;
1789 result[ix] = positions[ix] + dx;
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/loops/
H A DProcessPath.java599 /* Neither dx nor dy can be zero because of the check above */
600 int dx = x2 - x1;
622 int cross = y1 + ((bx1 - x1)*dy)/dx;
628 cross = x1 + ((by1 - y1)*dx)/dy;
647 int cross = y2 + ((bx2 - x2)*dy)/dx;
653 cross = x2 + ((by2 - y2)*dx)/dy;
710 int dx = xe - x0;
752 if (((xe-x2)^dx) < 0) {
1046 int dx = xe - x0;
1113 if (((xe-x2)^dx) <
1717 int dx; field in class:ProcessPath.Edge
1723 Edge(Point p, int x, int dx, int dir) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/geom/
H A DQuadCurve2D.java997 double dx = x - x1;
1002 double t0 = (dx * ky - dy * kx) / (dxl * ky - dyl * kx);
1234 double dx = x2 - x1;
1241 c1tag = getTag((k + dx * (y1tag < INSIDE ? y : y+h)) / dy, x, x+w);
1246 c2tag = getTag((k + dx * (y2tag < INSIDE ? y : y+h)) / dy, x, x+w);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicLabelUI.java232 int dx = insets.left + insets.right;
238 return new Dimension(dx, dy);
241 return new Dimension(icon.getIconWidth() + dx,
252 viewR.x = dx;
263 rv.width += dx;
/openjdk10/jdk/src/java.desktop/unix/classes/sun/java2d/xr/
H A DXRPMBlitLoops.java170 public void Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) { argument
181 x11sdDst.maskBuffer.compositeBlit(x11sdSrc, x11sdDst, sx, sy, dx, dy, w, h);
357 public void Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int sx, int sy, int dx, int dy, int w, int h) { argument
361 opaqueSwToSurfaceBlit.Blit(src, dst, comp, clip, sx, sy, dx, dy, w, h);
367 pmToSurfaceBlit.Blit(vImgSurface, dst, comp, clip, 0, 0, dx, dy, w, h);

Completed in 234 milliseconds

12345678