Searched refs:image (Results 51 - 75 of 673) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/awt/font/
H A DImageGraphicAttribute.java63 * @param image the <code>Image</code> rendered by this
65 * This object keeps a reference to <code>image</code>.
69 public ImageGraphicAttribute(Image image, int alignment) { argument
71 this(image, alignment, 0, 0);
80 * @param image the <code>Image</code> rendered by this
82 * This object keeps a reference to <code>image</code>.
92 public ImageGraphicAttribute(Image image, argument
99 // Can't clone image
100 // fImage = (Image) image.clone();
101 fImage = image;
[all...]
/openjdk7/jdk/test/java/awt/image/ConvolveOp/
H A DEdgeNoOpCrash.java34 import java.awt.image.ConvolveOp;
35 import java.awt.image.DataBuffer;
36 import java.awt.image.ImagingOpException;
37 import java.awt.image.Kernel;
38 import java.awt.image.Raster;
39 import java.awt.image.WritableRaster;
/openjdk7/jdk/make/
H A Djprt.gmk38 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \
42 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \
46 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \
/openjdk7/jdk/test/sun/pisces/
H A DStrokeShapeTest.java26 import java.awt.image.BufferedImage;
37 BufferedImage image = new BufferedImage(200, 200, BufferedImage.TYPE_INT_RGB);
38 Graphics2D g = image.createGraphics();
41 g.fill(new Rectangle(image.getWidth(), image.getHeight()));
55 //ImageIO.write(image, "PNG", new File(args[0]));
61 if (image.getRGB(x, y) == Color.BLACK.getRGB()) {
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DOffScreenImageSource.java26 package sun.awt.image;
29 import java.awt.image.ImageConsumer;
30 import java.awt.image.ImageProducer;
31 import java.awt.image.Raster;
32 import java.awt.image.WritableRaster;
33 import java.awt.image.ColorModel;
34 import java.awt.image.IndexColorModel;
35 import java.awt.image.DirectColorModel;
36 import java.awt.image.BufferedImage;
37 import java.awt.image
40 BufferedImage image; field in class:OffScreenImageSource
45 OffScreenImageSource(BufferedImage image, Hashtable properties) argument
57 OffScreenImageSource(BufferedImage image) argument
[all...]
H A DBufImgSurfaceManager.java26 package sun.awt.image;
31 import java.awt.image.BufferedImage;
38 * All rendering to the image will use the software surface as the destination.
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DImageScalingHelper.java41 * Painting type indicating the image should be centered in the space provided. When used the <code>mask</code>
47 * Painting type indicating the image should be tiled across the specified width and height. When used the
53 * Painting type indicating the image should be split into nine regions with the top, left, bottom and right
59 * Painting type indicating the image should be split into nine regions with the top, left, bottom and right
92 * @param image Image to render from, if <code>null</code> this method will do nothing
93 * @param sInsets Insets specifying the portion of the image that will be stretched or tiled, if <code>null</code>
95 * @param dInsets Destination insets specifying the portion of the image will be stretched or tiled, if
98 * @param mask Specifies portion of image to render, if <code>PAINT_ALL</code> is specified, any other regions
103 Image image, Insets sInsets,
105 if (image
102 paint(Graphics g, int x, int y, int w, int h, Image image, Insets sInsets, Insets dInsets, PaintType paintType, int mask) argument
228 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
267 drawImage(Image image, Graphics g, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2) argument
[all...]
/openjdk7/jdk/test/java/awt/Graphics/
H A DTextAAHintsTest.java32 import java.awt.image.*;
100 VolatileImage image;
102 image = createVolatileImage(w, h, new ImageCapabilities(true));
107 image = createVolatileImage(w, h,
110 System.out.println("Skipping volatile image test.");
111 image = null;
114 return image;
118 VolatileImage image = getVolatileImage(500, 100);
119 if (image == null) {
124 int status = image
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DImage.java27 import java.awt.image.ImageProducer;
28 import java.awt.image.ImageObserver;
29 import java.awt.image.ImageFilter;
30 import java.awt.image.FilteredImageSource;
31 import java.awt.image.AreaAveragingScaleFilter;
32 import java.awt.image.ReplicateScaleFilter;
34 import sun.awt.image.SurfaceManager;
38 * classes that represent graphical images. The image must be
49 * all images that do not create their own image caps; it holds the
56 * Priority for accelerating this image
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DIconInfo.java28 import java.awt.image.*;
29 import sun.awt.image.ToolkitImage;
30 import sun.awt.image.ImageRepresentation;
35 * Representation of image as an int array.
41 * Representation of image as an long array.
47 * Icon image.
49 private Image image; field in class:IconInfo
51 * Width of icon image. Being set in constructor.
55 * Height of icon image. Being set in constructor.
59 * Width of scaled icon image
91 IconInfo(Image image) argument
210 imageToIntArray(Image image, int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/
H A DPaint9Painter.java28 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/make/
H A Djdk-rules.gmk103 compare-images: compare-image
104 compare-image:
105 @$(call MakeStart,jdk,compare-image)
107 $(MAKE) ALT_OUTPUTDIR=$(ABS_OUTPUTDIR) compare-image )
108 @$(call MakeFinish,jdk,compare-image)
110 compare-images-clobber: compare-image-clobber
111 compare-image-clobber:
112 @$(call MakeStart,jdk,compare-image-clobber)
114 $(MAKE) ALT_OUTPUTDIR=$(ABS_OUTPUTDIR) compare-image-clobber )
115 @$(call MakeFinish,jdk,compare-image
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWTrayIconPeer.java36 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...]
/openjdk7/jdk/src/windows/classes/sun/java2d/
H A DWindowsSurfaceManagerFactory.java29 import sun.awt.image.BufImgVolatileSurfaceManager;
30 import sun.awt.image.SunVolatileImage;
31 import sun.awt.image.VolatileSurfaceManager;
/openjdk7/jdk/test/javax/swing/SwingUtilities/6797139/
H A Dbug6797139.java33 import java.awt.image.BufferedImage;
48 BufferedImage image = new BufferedImage(b.getWidth(), b.getHeight(),
50 Graphics g = image.getGraphics();
/openjdk7/jdk/test/sun/awt/image/ImageRepresentation/
H A DLUTCompareTest.java42 import java.awt.image.BufferedImage;
43 import java.awt.image.DataBuffer;
44 import java.awt.image.ImageObserver;
45 import java.awt.image.IndexColorModel;
46 import java.awt.image.WritableRaster;
83 Image image; field in class:LUTCompareTest
88 this.image = img;
91 public boolean imageUpdate(Image image, int info, argument
93 if (image == this.image) {
113 checkResults(Image image) argument
[all...]
/openjdk7/jdk/test/sun/awt/image/ImageWatched/
H A DAddNoLeak.java24 import java.awt.image.ImageObserver;
25 import java.awt.image.ImageProducer;
26 import java.awt.image.ImageConsumer;
32 @summary Make sure that we don't leak image observers (or related objects)
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DBufImgOps.java28 import java.awt.image.AffineTransformOp;
29 import java.awt.image.BufferedImage;
30 import java.awt.image.BufferedImageOp;
31 import java.awt.image.ConvolveOp;
32 import java.awt.image.LookupOp;
33 import java.awt.image.RescaleOp;
/openjdk7/jdk/test/javax/swing/JSlider/6794831/
H A Dbug6794831.java33 import java.awt.image.BufferedImage;
54 BufferedImage image = new BufferedImage(300, 200, BufferedImage.TYPE_INT_ARGB);
62 ((BasicSliderUI) slider.getUI()).paintTicks(image.getGraphics());
70 ((BasicSliderUI) slider.getUI()).paintTicks(image.getGraphics());
79 ((BasicSliderUI) slider.getUI()).paintTicks(image.getGraphics());
88 ((BasicSliderUI) slider.getUI()).paintTicks(image.getGraphics());
/openjdk7/jdk/test/sun/java2d/SunGraphics2D/SourceClippingBlitTest/
H A DSourceClippingBlitTest.java53 import java.awt.image.BufferedImage;
54 import java.awt.image.VolatileImage;
171 public void render(Graphics g, Image image, argument
182 if (image instanceof VolatileImage) {
183 vi = (VolatileImage)image;
192 g.drawImage(image,
248 static void initImage(GraphicsConfiguration gc, Image image) { argument
249 Graphics g = image.getGraphics();
251 int w = image.getWidth(null);
252 int h = image
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLBufImgOps.java28 import java.awt.image.AffineTransformOp;
29 import java.awt.image.BufferedImage;
30 import java.awt.image.BufferedImageOp;
31 import java.awt.image.ConvolveOp;
32 import java.awt.image.LookupOp;
33 import java.awt.image.RescaleOp;
/openjdk7/jdk/src/share/classes/java/awt/image/renderable/
H A DRenderableImage.java36 package java.awt.image.renderable;
39 import java.awt.image.*;
45 * independent of any specific rendering of the image. For example, a
75 * image data for this RenderableImage. Note that this method may
76 * return an empty vector, to indicate that the image has no sources,
84 * Gets a property from the property set of this image.
114 * usual width of a RenderableImage is equal to the image's aspect
117 * @return the width of the image in user coordinates.
125 * @return the height of the image in user coordinates.
130 * Gets the minimum X coordinate of the rendering-independent image dat
[all...]
/openjdk7/jdk/test/java/awt/image/mlib/
H A DMlibOpsTest.java39 import java.awt.image.AffineTransformOp;
40 import java.awt.image.BufferedImage;
41 import java.awt.image.BufferedImageOp;
42 import java.awt.image.ByteLookupTable;
43 import java.awt.image.ConvolveOp;
44 import java.awt.image.Kernel;
45 import java.awt.image.LookupOp;
48 import sun.awt.image.ImagingLib;
/openjdk7/jdk/test/sun/java2d/cmm/ColorConvertOp/
H A DColCvtIntARGB.java31 import java.awt.image.BufferedImage;
32 import java.awt.image.ColorConvertOp;
39 // Build a 1 pixel ARGB, non-premultiplied image
/openjdk7/jdk/src/solaris/classes/sun/java2d/
H A DUnixSurfaceManagerFactory.java31 import sun.awt.image.SunVolatileImage;
32 import sun.awt.image.VolatileSurfaceManager;

Completed in 81 milliseconds

1234567891011>>