/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | ImagePrinter.java | 68 int dw = w; 70 if (dw > iw) { 71 dh = (int)(dh * ( (float) iw / (float) dw)) ; 72 dw = iw; 75 dw = (int)(dw * ( (float) ih / (float) dh)) ; 79 int dx = (iw - dw) / 2; 82 g.drawImage(image, dx, dy, dx+dw, dy+dh, 0, 0, w, h, null);
|
/openjdk7/jdk/src/share/classes/sun/invoke/util/ |
H A D | VerifyType.java | 61 Wrapper dw = Wrapper.forPrimitiveType(dst); 63 if (!dw.isSubwordOrInt()) return false; 64 if (!dw.isSigned() && sw.isSigned()) return false; 65 return dw.bitWidth() > sw.bitWidth(); 156 Wrapper dw = Wrapper.forPrimitiveType(dst); 157 if (sw.isSubwordOrInt() && dw.isSubwordOrInt()) { 158 if (sw.bitWidth() >= dw.bitWidth()) 160 if (!dw.isSigned() && sw.isSigned())
|
H A D | ValueConversions.java | 876 Wrapper dw = (dst.isPrimitive() ? Wrapper.forPrimitiveType(dst) : null); 881 if (dw == null) 883 Object res = dw.makeArray(length); 884 dw.copyArrayUnboxing(a, 0, res, 0, length); 889 if (dw == null) { 895 if (dw == null) return res; 896 Object a = dw.makeArray(length); 897 dw.copyArrayUnboxing(res, 0, a, 0, length);
|
/openjdk7/langtools/test/tools/javac/generics/diamond/pos/ |
H A D | Pos07.java | 43 DoubleFoo<?,?> dw = new DoubleFoo<>(); field in class:Pos07
|
H A D | Pos06.java | 50 DoubleFoo<?,?> dw = new DoubleFoo<>(fi,fd); field in class:Pos06
|
/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); 321 drawImage(g, dx, dy, dx+dw, dy+dh, sx, sy, dw/2, dh/2); 325 dx=290; dy=180; dw=20; dh=20; 326 drawImage(g, dx, dy, dx+dw*1 [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/txw2/ |
H A D | Document.java | 79 for( DatatypeWriter dw : DatatypeWriter.BUILTIN ) 80 datatypeWriters.put(dw.getType(),dw); 101 * @param dw 104 public void addDatatypeWriter( DatatypeWriter<?> dw ) { 105 datatypeWriters.put(dw.getType(),dw); 148 DatatypeWriter dw = datatypeWriters.get(c); 149 if(dw!=null) { 150 dw [all...] |
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_ImageConvMxN_ext.c | 234 mlib_s32 dw = mlib_ImageGetWidth(dst); local 271 dsh = dsa + dw + m; 272 dsv = dsh + dw; 274 for (i = 0; i < dw; i++) { 286 mlib_ImageConvMxNS322S32_ext(isa, sa1, dw + m - 1, nch, dx_l, dx_r); 287 mlib_ImageConvMxNMulAdd_S32(dsh, isa, dkernel1, dw, m, 1); 293 mlib_ImageConvMxNMedian_S32(da + k, dsh, dw, nch);
|
H A D | mlib_ImageConvMxN_Fp.c | 282 mlib_s32 dw = mlib_ImageGetWidth(dst); local 303 for (i = 0; i < dw; i++) 306 mlib_ImageConvMxNF322F32_ext(fsa, sa1, dw + m - 1, nch, dx_l, dx_r); 307 mlib_ImageConvMxNMulAdd_F32(da1, fsa, kernel1, dw, m, 1, nch); 669 mlib_s32 dw = mlib_ImageGetWidth(dst); local 688 for (i = 0; i < dw; i++) 691 mlib_ImageConvMxND642D64_ext(dsa, sa1, dw + m - 1, nch, dx_l, dx_r); 692 mlib_ImageConvMxNMulAdd_D64(da1, dsa, kernel1, dw, m, 1, nch);
|
/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
|
H A D | WindowsBorders.java | 176 int dx, dy, dw, dh; 180 dw = width - 1; 183 dw = skin.getWidth(); 185 dx = c.getComponentOrientation().isLeftToRight() ? 2 : (width-dw-2); 188 skin.paintSkin(g, dx, dy, dw, dh, State.NORMAL);
|
H A D | WindowsToolBarSeparatorUI.java | 95 int dw = vertical ? skin.getWidth() : size.width; 97 skin.paintSkin(g, dx, dy, dw, dh, null);
|
H A D | WindowsButtonUI.java | 259 int dw = d.width; 277 dw -= (insets.left + insets.right); 280 skin.paintSkin(g, dx, dy, dw, dh, state);
|
H A D | XPStyle.java | 578 * @param dw the width of the area to fill, may cause 584 void paintSkin(Graphics g, int dx, int dy, int dw, int dh, State state) { argument 590 g, dx, dy, dw, dh, state); 592 paintSkinRaw(g, dx, dy, dw, dh, state); 603 * @param dw the width of the area to fill, may cause 609 void paintSkinRaw(Graphics g, int dx, int dy, int dw, int dh, State state) { argument 610 skinPainter.paint(null, g, dx, dy, dw, dh, this, state); 618 * @param dw the width of the area to fill, may cause 626 void paintSkin(Graphics g, int dx, int dy, int dw, int dh, State state, argument 632 skinPainter.paint(null, g, dx, dy, dw, d [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/txw2/output/ |
H A D | StreamSerializer.java | 174 DataWriter dw = new DataWriter(new BufferedWriter(w)); 175 dw.setIndentStep(" "); 176 return dw;
|
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/ |
H A D | D3DBlitLoops.cpp | 352 jdouble dw = dx2 - dx1; local 372 sx1 += (int)((dstBounds.x1 - dx1) * (sw / dw)); 378 sx2 += (int)((dstBounds.x2 - dx2) * (sw / dw)); 567 double dx, dy, dw, dh, cdw, cdh; local 623 dw = ((dx + cdw) > dx2) ? (dx2 - dx) : cdw; 635 (LONG)(sx+dw), (LONG)(sy+dh) }; 636 RECT dstRect = { 0l, 0l, (LONG)dw, (LONG)dh }; 645 (float)dx, (float)dy, (float)(dx+dw), (float)(dy+dh), 701 jdouble dw = dx2 - dx1; local 706 if (sw <= 0 || sh <= 0 || dw < 812 jdouble dw = dx2 - dx1; local 1069 jint dw = dx2 - dx1, dh = dy2 - dy1; local [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLBlitLoops.c | 265 GLdouble dx, dy, dw, dh, cdw, cdh; local 310 dw = ((dx + cdw) > dx2) ? (dx2 - dx) : cdw; 344 j2d_glTexCoord2d(tx2, ty1); j2d_glVertex2d(dx + dw, dy); 345 j2d_glTexCoord2d(tx2, ty2); j2d_glVertex2d(dx + dw, dy + dh); 361 j2d_glTexCoord2d(tx2, ty2); j2d_glVertex2d(dx + dw, dy); 362 j2d_glTexCoord2d(tx2, ty1); j2d_glVertex2d(dx + dw, dy + dh); 456 jdouble dw = dx2 - dx1; local 461 if (sw <= 0 || sh <= 0 || dw <= 0 || dh <= 0) { 483 dx1 += (srcInfo.bounds.x1 - sx1) * (dw / sw); 491 dx2 += (srcInfo.bounds.x2 - sx2) * (dw / s 578 jdouble dw = dx2 - dx1; local [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ |
H A D | DOMForest.java | 376 DataWriter dw = new DataWriter(new OutputStreamWriter(out), null); 377 dw.setIndentStep(" "); 379 new SAXResult(dw));
|
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | QuartzRenderer.m | 509 jint interpolation, BOOL fliph, BOOL flipv, jint w, jint h, jint sx, jint sy, jint sw, jint sh, jint dx, jint dy, jint dw, jint dh) 512 //fprintf(stderr, " flip:(%d, %d), size:(%d, %d), src:(%d, %d, %d, %d), dst:(%d, %d, %d, %d)\n", (jint)fliph, (jint)flipv, w, h, sx, sy, sw, sh, dx, dy, dw, dh); 531 tx += dw; 542 CGContextDrawImage(cgRef, CGRectMake(0, 0, dw, dh), isdo->imgRef); 547 CGContextDrawImage(cgRef, CGRectMake(0.0f, 0.0f, dw, dh), subImg); 556 jboolean fliph, jboolean flipv, jint w, jint h, jint sx, jint sy, jint sw, jint sh, jint dx, jint dy, jint dw, jint dh) 558 if ((w > 0) && (h > 0) && (sw > 0) && (sh > 0) && (dw > 0) && (dh > 0)) 561 qsdo->graphicsStateInfo.interpolation, (BOOL)fliph, (BOOL)flipv, (jint)w, (jint)h, (jint)sx, (jint)sy, (jint)sw, (jint)sh, (jint)dx, (jint)dy, (jint)dw, (jint)dh); 779 (JNIEnv *env, jobject jthis, jobject jsurfacedata, jobject imageSurfaceData, jboolean fliph, jboolean flipv, jint w, jint h, jint sx, jint sy, jint sw, jint sh, jint dx, jint dy, jint dw, jint dh) 787 doImage(env, qsdo, imageSurfaceData, fliph, flipv, w, h, sx, sy, sw, sh, dx, dy, dw, d [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/ |
H A D | DOMForest.java | 570 DataWriter dw = new DataWriter(new OutputStreamWriter(out),null); 571 dw.setIndentStep(" "); 573 new SAXResult(dw));
|
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
H A D | CompositeCRenderer.java | 245 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);
|
H A D | CRenderer.java | 390 native void doImage(SurfaceData sData, SurfaceData img, boolean fliph, boolean flipv, int w, int h, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh); argument 458 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 461 surfaceData.blitImage(this, sg2d, imgSurfaceData, fliph, flipv, sx, sy, sw, sh, dx, dy, dw, dh, bgColor); 641 void doImage(SurfaceData sData, SurfaceData img, boolean fliph, boolean flipv, int w, int h, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh) { argument 643 super.doImage(sData, img, fliph, flipv, w, h, sx, sy, sw, sh, dx, dy, dw, dh);
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/ |
H A D | GIFImageWriter.java | 819 int dy, int ddy, int dw, int dh, 825 byte[] dbuf = new byte[dw]; 840 for (int i = 0, j = 0; i < dw; i++, j += sdx) { 843 compressor.compress(dbuf, 0, dw); 851 int dy, int ddy, int dw, int dh, 867 compressor.compress(data, offset, dw); 817 writeRows(RenderedImage image, LZWCompressor compressor, int sx, int sdx, int sy, int sdy, int sw, int dy, int ddy, int dw, int dh, int numRowsWritten, int progressReportRowPeriod) argument 849 writeRowsOpt(byte[] data, int offset, int lineStride, LZWCompressor compressor, int dy, int ddy, int dw, int dh, int numRowsWritten, int progressReportRowPeriod) argument
|
/openjdk7/jdk/src/share/classes/java/lang/invoke/ |
H A D | MethodType.java | 760 Wrapper dw = Wrapper.forPrimitiveType(dst); 763 // Byte/Number/Comparable/Object -> dw:Byte -> byte. 764 // Character/Comparable/Object -> dw:Character -> char 765 // Boolean/Comparable/Object -> dw:Boolean -> boolean 766 // This means that dw must be cast-compatible with src. 767 if (src.isAssignableFrom(dw.wrapperType())) { 775 dw.isConvertibleFrom(Wrapper.forWrapperType(src))) { 783 // An marginal case is Number -> dw:Character -> char, which would be OK if there were a
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_MenuItem.cpp | 150 DWORD dw = GetLastError(); local 152 if (dw == ERROR_OUTOFMEMORY) 164 NULL, dw, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
|