Searched refs:img (Results 101 - 125 of 154) sorted by relevance

1234567

/openjdk7/jdk/test/javax/imageio/plugins/png/
H A DShortHistogramTest.java205 BufferedImage img = new BufferedImage(w, h,
208 Graphics2D g = img.createGraphics();
217 return img;
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSunGraphicsEnvironment.java176 public Graphics2D createGraphics(BufferedImage img) { argument
177 if (img == null) {
180 SurfaceData sd = SurfaceData.getPrimarySurfaceData(img);
H A DSurfaceData.java213 public SurfaceData getSourceSurfaceData(Image img, argument
218 SurfaceManager srcMgr = SurfaceManager.getManager(img);
220 if (img.getAccelerationPriority() > 0.0f &&
272 public static SurfaceData getPrimarySurfaceData(Image img) { argument
273 SurfaceManager sMgr = SurfaceManager.getManager(img);
281 public static SurfaceData restoreContents(Image img) { argument
282 SurfaceManager sMgr = SurfaceManager.getManager(img);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaUtils.java287 final BufferedImage img = new BufferedImage(width + blur * 2, height + blur * 2, BufferedImage.TYPE_INT_ARGB_PRE);
288 paintToImage(img, x, y, width, height);
289 // debugFrame("border", img);
290 g.drawImage(img, -blur, -blur, null);
293 protected void paintToImage(final BufferedImage img, final int x, final int y, final int width, final int height) { argument
295 Graphics2D imgG = (Graphics2D)img.getGraphics();
311 imgG = (Graphics2D)img.getGraphics();
315 imgG.drawImage(img, blurOp, 0, 0);
H A DScreenMenu.java357 Image img = null;
361 img = AquaIcon.getImageForIcon(i);
364 cmi.setImage(img);
/openjdk7/jdk/src/macosx/classes/sun/java2d/
H A DOSXSurfaceData.java142 BufferedImage img = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB_PRE);
144 clearRect(img, w, h);
145 return img;
148 protected BufferedImage getCompositingImageSame(BufferedImage img, int w, int h) { argument
149 if ((img == null) || (img.getWidth() != w) || (img.getHeight() != h)) {
150 img = getCompositingImage(w, h);
152 return img;
1010 public void blitImage(CRenderer renderer, SunGraphics2D sg2d, SurfaceData img, boolea argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DAbstractRegionPainter.java630 VolatileImage img = getImage(g.getDeviceConfiguration(), c, canvas.width, canvas.height, extendedCacheKeys);
631 if (img != null) {
645 ImageScalingHelper.paint(g, 0, 0, w, h, img, insets, dstInsets,
661 VolatileImage img = getImage(g.getDeviceConfiguration(), c, w, h, extendedCacheKeys);
662 if (img != null) {
664 g.drawImage(img, 0, 0, null);
H A DNimbusLookAndFeel.java362 BufferedImage img = EffectUtils.createCompatibleTranslucentImage(
364 Graphics2D gfx = img.createGraphics();
367 return new ImageIconUIResource(GrayFilter.createDisabledImage(img));
H A DDefaults.template838 BufferedImage img = new BufferedImage(w, h, TYPE_INT_ARGB);
839 Graphics2D gfx = img.createGraphics();
842 g.drawImage(img, x, y, null);
843 img = null;
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCDataTransferer.m221 jobject img = NULL;
223 img = getImageForByteStream(env, sourceData);
225 return img;
H A DCImage.m221 NSImage *img = (NSImage *)jlong_to_ptr(nsImgPtr);
224 CImage_CopyNSImageIntoArray(img, dst, w, h);
/openjdk7/jdk/src/share/classes/java/beans/
H A DBeans.java539 Image img = target.createImage((java.awt.image.ImageProducer)o);
540 imageCache.put(url, img);
541 return img;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJSlider.java764 public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h) { argument
778 if (SwingUtilities.doesIconReferenceImage(label.getIcon(), img) ||
779 SwingUtilities.doesIconReferenceImage(label.getDisabledIcon(), img)) {
780 return super.imageUpdate(img, infoflags, x, y, w, h);
H A DJLabel.java885 * not equal to the passed in Image <code>img</code>.
890 public boolean imageUpdate(Image img, int infoflags, argument
895 !SwingUtilities.doesIconReferenceImage(getIcon(), img) &&
896 !SwingUtilities.doesIconReferenceImage(disabledIcon, img)) {
900 return super.imageUpdate(img, infoflags, x, y, w, h);
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DXRBackendNative.c643 XImage *defaultImg, *img; local
671 img = defaultImg;
681 img->data[line*img->bytes_per_line + pix] =
686 img = XCreateImage(awt_display, NULL, 8, ZPixmap,
692 img, 0, 0, 0, 0, width, height); local
695 if (img != defaultImg) {
696 img->data = NULL;
697 XDestroyImage(img);
/openjdk7/jdk/src/windows/classes/sun/awt/shell/
H A DWin32ShellFolderManager2.java120 BufferedImage img = new BufferedImage(16, 16, BufferedImage.TYPE_INT_ARGB);
122 img.setRGB(0, 0, 16, 16, Win32ShellFolder2.getStandardViewButton0(iconIndex), 0, 16);
124 STANDARD_VIEW_BUTTONS[iconIndex] = img;
126 return img;
/openjdk7/jdk/test/java/awt/print/PrinterJob/ImagePrinting/
H A DClippedImages.java154 BufferedImage img = null; field in class:ClippedImageCanvas
158 img = new BufferedImage(sw, sh, BufferedImage.TYPE_INT_RGB);
159 Graphics2D g2d = img.createGraphics();
265 g.drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, null);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPathGraphics.java872 * @param img The image to be drawn.
897 BufferedImage img = getBufferedImage(image);
898 if (img == null) {
1041 if (!handlingTransparency && hasTransparentPixels(img)) {
1043 if (isBitmaskTransparency(img)) {
1045 if (drawBitmaskImage(img, xform, bgcolor,
1067 if ((srcX+srcWidth > img.getWidth(null) ||
1068 srcY+srcHeight > img.getHeight(null))
1156 ColorModel cm = img.getColorModel();
1157 int imgType = img
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCFileDialog.java253 public int checkImage(Image img, int w, int h, ImageObserver o) { argument
367 public boolean prepareImage(Image img, int w, int h, ImageObserver o) { argument
/openjdk7/jdk/src/share/classes/javax/swing/filechooser/
H A DFileSystemView.java243 Image img = sf.getIcon(false);
245 if (img != null) {
246 return new ImageIcon(img, sf.getFolderType());
/openjdk7/jdk/test/java/awt/Graphics2D/RenderClipTest/
H A DRenderClipTest.java545 public static int[] getData(BufferedImage img) { argument
546 Raster r = img.getRaster();
551 public static int getScan(BufferedImage img) { argument
552 Raster r = img.getRaster();
558 public static int getOffset(BufferedImage img) { argument
559 Raster r = img.getRaster();
1574 public void setImage(BufferedImage img) { argument
1575 this.image = img;
1591 public void setReference(BufferedImage img) { argument
1592 checkImage(img
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DGraphicsEnvironment.java254 * @param img the specified <code>BufferedImage</code>
257 * @throws NullPointerException if <code>img</code> is null
259 public abstract Graphics2D createGraphics(BufferedImage img); argument
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DPaletteBuilder.java100 * <code>img</code>. If number of colors in the given image exceeds
103 * @exception IllegalArgumentException if <code>img</code> is
107 * is unable to create approximation of <code>img</code>
115 public static IndexColorModel createIndexColorModel(RenderedImage img) { argument
116 PaletteBuilder pb = new PaletteBuilder(img);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXEmbedChildProxyPeer.java257 public boolean prepareImage(Image img, int w, int h, ImageObserver o) { return false; } argument
258 public int checkImage(Image img, int w, int h, ImageObserver o) { return 0; } argument
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKStyle.java888 Image img = (Image)
890 if (img != null) {
891 return new ImageIcon(img);
904 Image img =
906 return (img != null) ? new ImageIcon(img) : null;

Completed in 84 milliseconds

1234567