/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/ |
H A D | PaletteBuilder.java | 29 import java.awt.image.BufferedImage; 30 import java.awt.image.RenderedImage; 31 import java.awt.image.ColorModel; 32 import java.awt.image.IndexColorModel; 33 import java.awt.image.Raster; 34 import java.awt.image.WritableRaster; 72 * Creates an image representing given image 76 * of colors in the given image exceeds maximum palette size). 77 * Result image the 154 canCreatePalette(RenderedImage image) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_Robot.c | 96 XImage *image; local 123 * 24-bit RGB image so we don't have to fool around with colormaps etc. 141 image = ReadAreaToImage( 162 return image; 211 XImage *image; local 233 image = getWindowImage(awt_display, rootWindow, x, y, width, height); 240 XDestroyImage(image); 247 jint pixel = (jint) XGetPixel(image, x, y); /* Note ignore upper 260 XDestroyImage(image);
|
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11PMBlitLoops.c | 193 pixels of the source image with the desired color */ 223 XImage *image; local 251 /* Create a bitmask image and then blit it to the pixmap. */ 252 image = XCreateImage(awt_display, DefaultVisual(awt_display, screen), 254 if (image == NULL) { 259 dstScan = image->bytes_per_line; 260 image->data = malloc(dstScan * height); 261 if (image->data == NULL) { 262 XFree(image); 267 pDst = (unsigned char *)image [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WTrayIconPeer.java | 36 import java.awt.image.*; 38 import sun.awt.image.IntegerComponentRaster; 68 Image image = ((TrayIcon)target).getImage(); 69 if (image != null) { 70 updateNativeImage(image); 115 synchronized void updateNativeImage(Image image) { argument 128 gr.drawImage(image, 0, 0, (autosize ? TRAY_ICON_WIDTH : image.getWidth(observer)), 129 (autosize ? TRAY_ICON_HEIGHT : image.getHeight(observer)), observer); 188 public boolean imageUpdate(Image image, in argument [all...] |
H A D | WPathGraphics.java | 49 import java.awt.image.BufferedImage; 50 import java.awt.image.ColorModel; 51 import java.awt.image.DataBuffer; 52 import java.awt.image.IndexColorModel; 53 import java.awt.image.WritableRaster; 54 import java.awt.image.ComponentSampleModel; 55 import java.awt.image.MultiPixelPackedSampleModel; 56 import java.awt.image.SampleModel; 58 import sun.awt.image.ByteComponentRaster; 59 import sun.awt.image 891 drawImageToPlatform(Image image, AffineTransform xform, Color bgcolor, int srcX, int srcY, int srcWidth, int srcHeight, boolean handlingTransparency) argument [all...] |
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngread.c | 200 /* Read the information before the actual image data. This has been 638 png_error(png_ptr, "Not enough image data"); 733 /* Read one or more rows of image data. If the image is interlaced, 736 * image has alpha or transparency, and png_handle_alpha()[*] has been 740 * "row" holds the actual image, and pixels are placed in it 741 * as they arrive. If the image is displayed after each pass, it will 743 * "chunky" progressive image, with finer detail added as it becomes 747 * If you have called png_handle_alpha(), and the image has either an 750 * also, but you may. If the image i 813 png_read_image(png_structp png_ptr, png_bytepp image) argument [all...] |
H A D | pngwrite.c | 49 * after the image data, put it in png_write_end(). I strongly encourage 577 /* Write a few rows of image data. If the image is interlaced, 580 * "write" the image seven times. 601 /* Write the image. You only need to call this function once, even 602 * if you are writing an interlaced image. 605 png_write_image(png_structp png_ptr, png_bytepp image) argument 617 /* Initialize interlace handling. If image is not interlaced, 627 /* Loop through image */ 628 for (i = 0, rp = image; [all...] |
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_gif.c | 85 const int interlacedOffset[] = { 0, 4, 2, 1, 0 }; /* The way Interlaced image should. */ 135 SavedImage *image = &(gif->SavedImages[imageIndex]); local 136 GifImageDesc *desc = &(image->ImageDesc); 161 for (i = 0; i < image->ExtensionBlockCount; i++) { 162 byte_t *pExtension = (byte_t *) image->ExtensionBlocks[i].Bytes; 163 unsigned size = image->ExtensionBlocks[i].ByteCount; 165 switch (image->ExtensionBlocks[i].Function) { 188 if (++i >= image->ExtensionBlockCount) 190 pExtension = (byte_t *) image->ExtensionBlocks[i].Bytes; 191 if (image [all...] |
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | fontscalerdefs.h | 109 UInt8 *image; member in struct:GlyphInfo 113 * image, or advance and an empty outline.
|
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/ |
H A D | Paint9Painter.java | 28 import java.awt.image.BufferedImage; 42 * Painting type indicating the image should be centered in 48 * Painting type indicating the image should be tiled across the 55 * Painting type indicating the image should be split into nine 61 * Painting type indicating the image should be split into nine 86 * Conveniance method for testing the validity of an image. 88 * @param image Image to check. 89 * @return true if <code>image</code> is non-null and has a positive 92 public static boolean validImage(Image image) { argument 93 return (image ! 150 paint9(Graphics g, int x, int y, int w, int h, Image image, Insets sInsets, Insets dInsets, PaintType type, int componentMask) argument 260 drawImage(Image image, Graphics g, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2) argument 290 drawChunk(Image image, Graphics g, boolean stretch, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, boolean xDirection) argument [all...] |
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/ |
H A D | OutputImageTests.java | 44 import java.awt.image.BufferedImage; 87 imageRoot = new Group(outputRoot, "image", "Image Writing Benchmarks"); 179 BufferedImage image; field in class:OutputImageTests.Context 190 image = createBufferedImage(size, size, content, false); 212 // REMIND: this is a hack to create an image that the 215 // of the writer's default image param) 220 g.drawImage(image, 0, 0, null); 222 image = newimg; 232 ImageIO.write(image, format, f); 236 ImageIO.write(image, forma [all...] |
H A D | InputImageTests.java | 48 import java.awt.image.BufferedImage; 102 imageRoot = new Group(inputRoot, "image", "Image Reading Benchmarks"); 220 BufferedImage image; field in class:InputImageTests.Context 233 image = createBufferedImage(size, size, content, false); 257 // REMIND: this is a hack to create an image that the 260 // of the writer's default image param) 265 g.drawImage(image, 0, 0, null); 267 image = newimg; 279 ImageIO.write(image, format, f); 283 ImageIO.write(image, forma [all...] |
/openjdk7/jdk/test/javax/swing/JComponent/4337267/ |
H A D | bug4337267.java | 14 import java.awt.image.BufferedImage; 62 assertEquals(p1.image, p2.image); 209 TestBufferedImage image = createImage(new Dimension(1, 1)); field in class:bug4337267.TestJPanel 218 image = createImage(size); 222 Graphics g0 = image.getGraphics(); 224 g.drawImage(image, 0, 0, this);
|
/openjdk7/jdk/src/share/classes/sun/java2d/cmm/lcms/ |
H A D | LCMSImageLayout.java | 29 import java.awt.image.BufferedImage; 30 import java.awt.image.ComponentColorModel; 31 import java.awt.image.Raster; 32 import java.awt.image.WritableRaster; 33 import java.awt.image.SinglePixelPackedSampleModel; 34 import java.awt.image.ComponentSampleModel; 35 import java.awt.image.DataBuffer; 36 import java.awt.image.DataBufferByte; 37 import java.awt.image.DataBufferUShort; 38 import java.awt.image 173 LCMSImageLayout(BufferedImage image) argument 266 isSupported(BufferedImage image) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | PSPathGraphics.java | 46 import java.awt.image.BufferedImage; 47 import sun.awt.image.ByteComponentRaster; 254 * The portion of the passed in image defined by 259 * @param img The image to be drawn. 261 * @param xform Used to tranform the image before drawing. 263 * @param bgcolor This color is drawn where the image has transparent 268 * of the portion of the image to be drawn. 271 * of the portion of the image to be drawn. 272 * @param srcWidth The width of the portion of the image to 274 * @param srcHeight The height of the portion of the image t 279 drawImageToPlatform(Image image, AffineTransform xform, Color bgcolor, int srcX, int srcY, int srcWidth, int srcHeight, boolean handlingTransparency) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XDataTransferer.java | 34 import java.awt.image.BufferedImage; 35 import java.awt.image.ColorModel; 36 import java.awt.image.WritableRaster; 144 isMimeFormat(format, "image"); 169 protected byte[] imageToPlatformBytes(Image image, long format) argument 173 mimeType = "image/png"; 175 mimeType = "image/jpeg"; 177 // Check if an image MIME format. 182 if ("image".equals(primaryType)) { 186 // Not an image MIM [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JFrame.java | 655 public void setIconImage(Image image) { argument 656 super.setIconImage(image);
|
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | BufImgSurfaceData.java | 26 package sun.awt.image; 31 import java.awt.image.ColorModel; 32 import java.awt.image.SampleModel; 33 import java.awt.image.DirectColorModel; 34 import java.awt.image.IndexColorModel; 35 import java.awt.image.Raster; 36 import java.awt.image.BufferedImage; 37 import java.awt.image.DataBuffer; 81 // REMIND: Check the image type and pick an appropriate subclass 335 public java.awt.image [all...] |
H A D | GifImageDecoder.java | 28 * image data to an InputStreamImageSource object. 32 package sun.awt.image; 38 import java.awt.image.*; 115 * produce an image from the stream. 329 * The ImageConsumer hints flag for a non-interlaced GIF image. 336 * The ImageConsumer hints flag for an interlaced GIF image. 472 // Read the image descriptor 554 * If height of current image is smaller than the global height, 586 (interlace ? "" : "non-") + "interlaced image...");
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | ComponentColorModel.java | 26 package java.awt.image; 2900 * Returns a <CODE>Raster</CODE> representing the alpha channel of an image, 2904 * the last band of image data. Returns null if there is no separate spatial 2912 * @return A <CODE>WritableRaster</CODE> containing the image's alpha channel.
|
H A D | IndexColorModel.java | 26 package java.awt.image; 132 private sun.awt.image.BufImgSurfaceData.ICMColorData colorData = null; 1411 * compute the color/alpha values in the returned image. 1412 * If <code>forceARGB</code> is <code>true</code>, a TYPE_INT_ARGB image is
|
H A D | Raster.java | 37 package java.awt.image; 41 import sun.awt.image.ByteInterleavedRaster; 42 import sun.awt.image.ShortInterleavedRaster; 43 import sun.awt.image.IntegerInterleavedRaster; 44 import sun.awt.image.ByteBandedRaster; 45 import sun.awt.image.ShortBandedRaster; 46 import sun.awt.image.BytePackedRaster; 47 import sun.awt.image.SunWritableRaster; 119 * @see java.awt.image.DataBuffer 120 * @see java.awt.image [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Frame.java | 527 * Returns the image to be displayed as the icon for this frame. 535 * @return the icon image for this frame, or <code>null</code> 536 * if this frame doesn't have an icon image. 554 public void setIconImage(Image image) { argument 555 super.setIconImage(image);
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaIcon.java | 29 import java.awt.image.BufferedImage; 54 // converts an object that is an icon into an image so we can hand it off to AppKit 63 // This could be any kind of icon, so we need to make a buffer for it, draw it and then pass the new image off to appkit. 64 final BufferedImage image = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB); 65 final Graphics g = image.getGraphics(); 68 return image; 114 Image image; field in class:AquaIcon.CachingScalingIcon 124 this.image = null; 128 if (image != null) return image; [all...] |
/openjdk7/jdk/test/java/awt/Toolkit/Headless/ExceptionContract/ |
H A D | ExceptionContract.java | 45 import java.awt.image.*; 277 public boolean prepareImage(Image image, int width, int height, ImageObserver observer) { argument 282 public int checkImage(Image image, int width, int height, ImageObserver observer) { argument
|