Searched defs:img (Results 51 - 75 of 88) sorted by relevance

1234

/openjdk7/jdk/test/javax/swing/plaf/metal/MetalBumps/
H A DTest6657026.java207 public boolean drawImage(Image img, int x, int y, ImageObserver observer) { argument
211 public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) { argument
215 public boolean drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer) { argument
219 public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) { argument
223 public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) { argument
224 if (img instanceof BufferedImage) {
225 this.image = (BufferedImage) img;
230 public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) { argument
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DValidatePipe.java181 public boolean copyImage(SunGraphics2D sg, Image img, argument
186 return sg.imagepipe.copyImage(sg, img, x, y, bgColor, observer);
191 public boolean copyImage(SunGraphics2D sg, Image img, argument
196 return sg.imagepipe.copyImage(sg, img, dx, dy, sx, sy, w, h,
202 public boolean scaleImage(SunGraphics2D sg, Image img, int x, int y, argument
207 return sg.imagepipe.scaleImage(sg, img, x, y, w, h, bgColor,
213 public boolean scaleImage(SunGraphics2D sg, Image img, argument
219 return sg.imagepipe.scaleImage(sg, img, dx1, dy1, dx2, dy2,
226 public boolean transformImage(SunGraphics2D sg, Image img, argument
230 return sg.imagepipe.transformImage(sg, img, atf
235 transformImage(SunGraphics2D sg, BufferedImage img, BufferedImageOp op, int x, int y) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
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);
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 DDebugGraphics.java1000 public boolean drawImage(Image img, int x, int y, argument
1006 " Drawing image: " + img +
1014 debugGraphics.drawImage(img, x, y, observer);
1019 ImageProducer oldProducer = img.getSource();
1030 imageToDraw = (i % 2) == 0 ? newImage : img;
1038 return graphics.drawImage(img, x, y, observer);
1044 public boolean drawImage(Image img, int x, int y, int width, int height, argument
1050 " Drawing image: " + img +
1058 debugGraphics.drawImage(img, x, y, width, height, observer);
1063 ImageProducer oldProducer = img
1088 drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer) argument
1134 drawImage(Image img, int x, int y,int width, int height, Color bgcolor, ImageObserver observer) argument
1181 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) argument
1231 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) argument
1280 loadImage(Image img) argument
[all...]
H A DTransferHandler.java660 * @param img an image to drag
662 public void setDragImage(Image img) { argument
663 dragImage = img;
H A DAbstractButton.java2182 * passed in <code>Image</code> <code>img</code>.
2184 * @param img the <code>Image</code> to be compared
2194 public boolean imageUpdate(Image img, int infoflags, argument
2219 if (!SwingUtilities.doesIconReferenceImage(iconDisplayed, img)) {
2224 return super.imageUpdate(img, infoflags, x, y, w, h);
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DImageView.java196 Image img = getImage();
199 disabledImage = GrayFilter.createDisabledImage(img);
201 img = disabledImage;
203 return img;
363 Image img = getImage(host == null || host.isEnabled());
364 if (img != null) {
365 if (! hasPixels(img)) {
375 g.drawImage(img, rect.x + leftInset, rect.y + topInset,
864 public boolean imageUpdate(Image img, int flags, int x, int y, argument
866 if (img !
[all...]
H A DStyleSheet.java2039 img = new ImageIcon(u);
2044 img = new ImageIcon(u);
2046 img = null;
2050 img = null;
2056 if (img == null) {
2212 if (img != null) {
2257 int gap = isLeftToRight ? - (img.getIconWidth() + bulletgap) :
2260 int y = Math.max(ay, ay + (int)(align * ah) -img.getIconHeight());
2262 img.paintIcon(c, g, x, y);
2442 Icon img field in class:StyleSheet.ListPainter
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DNullComponentPeer.java197 public boolean prepareImage(Image img, int w, int h, ImageObserver o) { argument
201 public int checkImage(Image img, int w, int h, ImageObserver o) { argument
H A DHeadlessToolkit.java355 public int checkImage(Image img, int w, int h, ImageObserver o) { argument
356 return tk.checkImage(img, w, h, o);
360 Image img, int w, int h, ImageObserver o) {
361 return tk.prepareImage(img, w, h, o);
359 prepareImage( Image img, int w, int h, ImageObserver o) argument
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DImageRepresentation.java788 public boolean drawToBufImage(Graphics g, ToolkitImage img, argument
819 public boolean drawToBufImage(Graphics g, ToolkitImage img, argument
851 public boolean drawToBufImage(Graphics g, ToolkitImage img, argument
886 public boolean drawToBufImage(Graphics g, ToolkitImage img, argument
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaImageFactory.java315 public SlicedImageControl(final Image img, final int westCut, final int eastCut, final int northCut, final int southCut) { argument
316 this(img, westCut, eastCut, northCut, southCut, true);
319 public SlicedImageControl(final Image img, final int westCut, final int eastCut, final int northCut, final int southCut, final boolean useMiddle) { argument
320 this(img, westCut, eastCut, northCut, southCut, useMiddle, true, true);
323 public SlicedImageControl(final Image img, final int westCut, final int eastCut, final int northCut, final int southCut, final boolean useMiddle, final boolean stretchHorizontally, final boolean stretchVertically) { argument
324 this(img, new NineSliceMetrics(img.getWidth(null), img.getHeight(null), westCut, eastCut, northCut, southCut, useMiddle, stretchHorizontally, stretchVertically));
327 public SlicedImageControl(final Image img, final NineSliceMetrics metrics) { argument
330 if (img
350 createSlice(final Image img, final int x, final int y, final int w, final int h) argument
[all...]
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);
/openjdk7/jdk/src/macosx/classes/sun/java2d/
H A DCRenderer.java390 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
392 // Copy img to scaled sg2d @ x,y with width height
393 public boolean scaleImage(SunGraphics2D sg2d, Image img, int x, int y, int width, int height, Color bgColor) { argument
398 int iw = img.getWidth(null);
399 int ih = img.getHeight(null);
401 return scaleImage(sg2d, img, x, y, x + width, y + height, sx, sy, sx + iw, sy + ih, bgColor);
404 // Copy img, clipped to sx1, sy1 by sx2, sy2 to dx1, dy2 by dx2, dy2
405 public boolean scaleImage(SunGraphics2D sg2d, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor) { argument
455 return blitImage(sg2d, img, fliph, flipv, srcX, srcY, srcW, srcH, dstX, dstY, dstW, dstH, bgColor);
458 protected boolean blitImage(SunGraphics2D sg2d, Image img, boolea argument
466 copyImage(SunGraphics2D sg2d, Image img, int dx, int dy, Color bgColor) argument
478 copyImage(SunGraphics2D sg2d, Image img, int dx, int dy, int sx, int sy, int width, int height, Color bgColor) argument
482 transformImage(SunGraphics2D sg2d, Image img, int x, int y, BufferedImageOp op, AffineTransform xf, Color bgColor) argument
530 copyImage(SunGraphics2D sg2d, Image img, int x, int y, Color bgColor, ImageObserver observer) argument
542 copyImage(SunGraphics2D sg2d, Image img, int dx, int dy, int sx, int sy, int width, int height, Color bgColor, ImageObserver observer) argument
554 scaleImage(SunGraphics2D sg2d, Image img, int x, int y, int width, int height, Color bgColor, ImageObserver observer) argument
566 scaleImage(SunGraphics2D sg2d, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver observer) argument
578 transformImage(SunGraphics2D sg2d, Image img, AffineTransform atfm, ImageObserver observer) argument
593 transformImage(SunGraphics2D sg2d, BufferedImage img, BufferedImageOp op, int x, int y) argument
641 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
[all...]
/openjdk7/jdk/test/java/awt/Component/isLightweightCrash/
H A DStubPeerCrash.java115 public boolean prepareImage(Image img, int w, int h, ImageObserver o){return true;}; argument
116 public int checkImage(Image img, int w, int h, ImageObserver o){return 0;}; argument
/openjdk7/jdk/src/share/classes/sun/print/
H A DProxyGraphics.java811 * @param img the specified image to be drawn.
820 public boolean drawImage(Image img, int x, int y, argument
822 return g.drawImage(img, x, y, observer);
847 * @param img the specified image to be drawn.
858 public boolean drawImage(Image img, int x, int y, argument
861 return g.drawImage(img, x, y, width, height, observer);
883 * @param img the specified image to be drawn.
894 public boolean drawImage(Image img, int x, int y, argument
897 return g.drawImage(img, x, y, bgcolor, observer);
925 * @param img th
938 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument
993 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) argument
1056 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) argument
[all...]
H A DPathGraphics.java1130 protected BufferedImage getBufferedImage(Image img) { argument
1131 if (img instanceof BufferedImage) {
1133 return (BufferedImage)img;
1134 } else if (img instanceof ToolkitImage) {
1138 return ((ToolkitImage)img).getBufferedImage();
1139 } else if (img instanceof VolatileImage) {
1142 return ((VolatileImage)img).getSnapshot();
1341 * @param img The image to be drawn.
1342 * This method does nothing if <code>img</code> is null.
1362 drawImageToPlatform(Image img, AffineTransfor argument
1393 drawImage(Image img, int x, int y, ImageObserver observer) argument
1433 drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) argument
1477 drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer) argument
1538 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument
1610 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) argument
1675 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) argument
1784 drawImage(Image img, AffineTransform xform, ImageObserver obs) argument
1824 drawImage(BufferedImage img, BufferedImageOp op, int x, int y) argument
1868 drawRenderedImage(RenderedImage img, AffineTransform xform) argument
[all...]
H A DPeekGraphics.java937 * @param img the specified image to be drawn.
947 public boolean drawImage(Image img, int x, int y, argument
950 if (img == null) {
957 ImageWaiter dim = new ImageWaiter(img);
960 mPrintMetrics.drawImage(this, img);
962 return mGraphics.drawImage(img, x, y, observer);
988 * @param img the specified image to be drawn.
1000 public boolean drawImage(Image img, int x, int y, argument
1004 if (img == null) {
1008 mPrintMetrics.drawImage(this, img);
1045 drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer) argument
1104 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument
1167 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) argument
1241 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) argument
1281 drawRenderedImage(RenderedImage img, AffineTransform xform) argument
1293 drawRenderableImage(RenderableImage img, AffineTransform xform) argument
1384 drawImage(Image img, AffineTransform xform, ImageObserver obs) argument
1431 drawImage(BufferedImage img, BufferedImageOp op, int x, int y) argument
1822 imageUpdate(Image img, int infoFlags, int x, int y, int width, int height) argument
1836 getImageWidth(Image img) argument
1852 getImageHeight(Image img) argument
1878 ImageWaiter(Image img) argument
1890 waitForDimensions(Image img) argument
[all...]
H A DProxyGraphics2D.java802 * @param img the specified image to be drawn.
812 public boolean drawImage(Image img, int x, int y, argument
815 return mGraphics.drawImage(img, x, y, observer);
840 * @param img the specified image to be drawn.
852 public boolean drawImage(Image img, int x, int y, argument
856 return mGraphics.drawImage(img, x, y, width, height, observer);
878 * @param img the specified image to be drawn.
890 public boolean drawImage(Image img, int x, int y, argument
894 if (img == null) {
900 if (needToCopyBgColorImage(img)) {
949 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument
1018 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) argument
1080 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) argument
1117 needToCopyBgColorImage(Image img) argument
1139 getBufferedImageCopy(Image img, Color bgcolor) argument
1200 drawRenderedImage(RenderedImage img, AffineTransform xform) argument
1207 drawRenderableImage(RenderableImage img, AffineTransform xform) argument
1311 drawImage(Image img, AffineTransform xform, ImageObserver obs) argument
1335 drawImage(BufferedImage img, BufferedImageOp op, int x, int y) argument
[all...]
/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/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/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/native/sun/java2d/cmm/lcms/
H A DLCMS.c509 void* getILData (JNIEnv *env, jobject img, jint* pDataType, argument
512 *pDataType = (*env)->GetIntField (env, img, IL_dataType_fID);
513 *pDataObject = (*env)->GetObjectField(env, img, IL_dataArray_fID);
/openjdk7/jdk/src/share/classes/sun/java2d/
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);

Completed in 116 milliseconds

1234