/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | ImageData.h | 243 int offsetOfAlphaData(JNIEnv *env, jobject img, int scanStride); 244 #define offsetOfSrcData(env, img, srcStride, srcBump, offsetVar) \ 248 x1 = (*env)->GetIntField(env, img, gImageData.xDeviceAreaID); \ 249 y1 = (*env)->GetIntField(env, img, gImageData.yDeviceAreaID); \ 250 x2 = (*env)->GetIntField(env, img, gImageData.xOutputAreaID); \ 251 y2 = (*env)->GetIntField(env, img, gImageData.yOutputAreaID); \ 255 long getPlatformInfoFromImageData(JNIEnv *env, jobject img); 258 getViewOriginFromImageData(JNIEnv *env, jobject img, int *x, int *y); 261 getDeviceOriginFromImageData(JNIEnv *env, jobject img, int *x, int *y); 264 getOutputOriginFromImageData(JNIEnv *env, jobject img, in [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | DebugGraphicsObserver.java | 47 public synchronized boolean imageUpdate(Image img, int infoflags, argument
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | ImageObserver.java | 41 * getWidth(ImageObserver) and drawImage(img, x, y, ImageObserver) 46 * drawImage(img, x, y, [w, h,] ImageObserver) call). 51 * tracked is passed in using the img argument. Various constants 63 * @param img the image being observed. 88 public boolean imageUpdate(Image img, int infoflags, argument
|
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
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 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/src/share/classes/sun/print/ |
H A D | ProxyGraphics2D.java | 802 * @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...] |
H A D | PathGraphics.java | 1130 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...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | EffectUtils.java | 47 * @param img The image to clear 49 static void clearImage(BufferedImage img) { argument 50 Graphics2D g2 = img.createGraphics(); 52 g2.fillRect(0, 0, img.getWidth(), img.getHeight()); 241 * @param img the source image 250 static byte[] getPixels(BufferedImage img, argument 262 int imageType = img.getType(); 264 Raster raster = img.getRaster(); 276 * @param img th 284 setPixels(BufferedImage img, int x, int y, int w, int h, byte[] pixels) argument 318 getPixels(BufferedImage img, int x, int y, int w, int h, int[] pixels) argument 357 setPixels(BufferedImage img, int x, int y, int w, int h, int[] pixels) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ImageWatched.java | 81 public boolean newInfo(Image img, int info, argument 123 public boolean newInfo(Image img, int info, argument 127 boolean ret = next.newInfo(img, info, x, y, w, h); 132 } else if (myiw.imageUpdate(img, info, x, y, w, h) == false) { 169 public void newInfo(Image img, int info, int x, int y, int w, int h) { argument 170 if (watcherList.newInfo(img, info, x, y, w, h)) {
|
/openjdk7/jdk/test/javax/imageio/plugins/bmp/ |
H A D | TopDownTest.java | 113 BufferedImage img = null; 116 img = new BufferedImage(100, 100, TYPE_BYTE_INDEXED); 127 img = new BufferedImage(100, 100, TYPE_BYTE_INDEXED, icm); 132 img = new BufferedImage(100, 100, TYPE_INT_RGB); 134 Graphics g = img.createGraphics(); 140 return img;
|
/openjdk7/jdk/test/javax/imageio/ |
H A D | EmptyFileTest.java | 47 BufferedImage img = createTestImage(); 51 status = ImageIO.write(img, format, out);
|
/openjdk7/jdk/test/javax/imageio/plugins/gif/ |
H A D | EncodeSubImageTest.java | 74 BufferedImage img; field in class:EncodeSubImageTest 76 public EncodeSubImageTest(BufferedImage img) { argument 77 this.img = img; 110 checkPixel(dst, img.getWidth() / 2, img.getHeight() / 2, isSubsampled); 118 int src_rgb = img.getRGB(x, y); 157 writer.write(null, new IIOImage(img, null, null), p);
|
/openjdk7/jdk/test/javax/swing/plaf/metal/MetalBumps/ |
H A D | Test6657026.java | 207 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/test/sun/awt/image/ImageRepresentation/ |
H A D | LUTCompareTest.java | 61 Image img = createTestImage(); 65 LUTCompareTest o = new LUTCompareTest(img); 67 tk.prepareImage(img, -1, -1, o); 78 checkResults(img); 87 public LUTCompareTest(Image img) { argument 88 this.image = img; 175 BufferedImage img = new BufferedImage(icm, wr, false, null); 176 return img;
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Image.java | 345 public SurfaceManager getSurfaceManager(Image img) { 346 return img.surfaceManager; 348 public void setSurfaceManager(Image img, SurfaceManager mgr) { 349 img.surfaceManager = mgr;
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaNativeResources.java | 64 final BufferedImage img = new BufferedImage(20, 20, BufferedImage.TYPE_INT_ARGB); 66 Graphics g = img.getGraphics(); 70 return img;
|
H A D | AquaIcon.java | 138 final Image img = createImage(); 140 //if (RuntimeOptions.getRenderer(null) != RuntimeOptions.Sun) return img; 141 return getProgressiveOptimizedImage(img, getIconWidth(), getIconHeight()); 144 static Image getProgressiveOptimizedImage(final Image img, final int w, final int h) { argument 145 if (img == null) return null; 147 final int halfImgW = img.getWidth(null) / 2; 148 final int halfImgH = img.getHeight(null) / 2; 149 if (w * 2 > halfImgW && h * 2 > halfImgH) return img; 154 g.drawImage(img, 0, 0, halfImgW, halfImgH, null); 201 final BufferedImage img [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | ValidatePipe.java | 181 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/solaris/classes/sun/java2d/xr/ |
H A D | XRDrawImage.java | 41 protected void renderImageXform(SunGraphics2D sg, Image img, argument 45 SurfaceData srcData = dstData.getSourceSurfaceData(img, 64 super.renderImageXform(sg, img, tx, interpType, sx1, sy1, sx2, sy2,
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/ |
H A D | JpegDataContentHandler.java | 138 Image img = (Image) obj; 140 tracker.addImage(img, 0); 147 img.getWidth(null), 148 img.getHeight(null), 152 g.drawImage(img, 0, 0, null);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ |
H A D | ImageDataContentHandler.java | 150 private BufferedImage render(Image img) throws InterruptedException { argument 153 tracker.addImage(img, 0); 155 BufferedImage bufImage = new BufferedImage(img.getWidth(null), 156 img.getHeight(null), BufferedImage.TYPE_INT_RGB); 158 g.drawImage(img, 0, 0, null);
|
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11SurfaceData.c | 55 XImage *img; member in struct:_X11RIPrivate 79 static void X11SD_SwapBytes(X11SDOps *xsdo, XImage *img, int depth, int bpp); 551 XImage *img = NULL; local 562 img = XShmCreateImage(awt_display, xsdo->configData->awt_visInfo.visual, 565 if (img == NULL) { 570 shmget(IPC_PRIVATE, height * img->bytes_per_line, 577 XDestroyImage(img); 588 XDestroyImage(img); 610 XDestroyImage(img); 614 img 640 XImage *img = NULL; local 1257 X11SD_SwapBytes(X11SDOps *xsdo, XImage * img, int depth, int bpp) argument 1328 XImage * img = NULL; local [all...] |
H A D | X11TextRenderer_md.c | 43 XImage *img; local 48 img = XCreateImage(awt_display, NULL, 1, XYBitmap, 0, 0, 50 if (img != NULL) { 51 image_size = img->bytes_per_line * TEXT_BM_HEIGHT; 53 img->data = (char *) malloc(image_size); 54 if (img->data == NULL) { 55 XFree(img); 58 img->bitmap_bit_order = img->byte_order; 59 cData->monoImage = img; [all...] |
/openjdk7/jdk/src/macosx/native/apple/applescript/ |
H A D | NS_Java_ConversionUtils.m | 90 NSImage *img = (NSImage *)obj; 91 CFRetain(img); 93 jobject jobj = JNFCallObjectMethod(env, creator, jm_CImage_Generator_createImageFromPtr, ptr_to_jlong(img)); 106 NSImage *img = (NSImage *)jlong_to_ptr(nsImagePtr); 107 return [[img retain] autorelease];
|
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/ |
H A D | mlib_v_ImageClear_f.c | 45 type *pimg = (type *) mlib_ImageGetData(img); \ 46 mlib_s32 img_height = mlib_ImageGetHeight(img); \ 47 mlib_s32 img_width = mlib_ImageGetWidth(img); \ 48 mlib_s32 img_stride = mlib_ImageGetStride(img) / sizeof(type); \ 70 void mlib_v_ImageClear_BIT_1(mlib_image *img, argument 73 mlib_u8 *pimg = (mlib_u8 *) mlib_ImageGetData(img); 74 mlib_s32 img_height = mlib_ImageGetHeight(img); 75 mlib_s32 img_width = mlib_ImageGetWidth(img); 76 mlib_s32 img_stride = mlib_ImageGetStride(img); 77 mlib_s32 img_bitoff = mlib_ImageGetBitOffset(img); 151 mlib_v_ImageClear_BIT_2(mlib_image *img, const mlib_s32 *color) argument 237 mlib_v_ImageClear_BIT_3(mlib_image *img, const mlib_s32 *color) argument 342 mlib_v_ImageClear_BIT_4(mlib_image *img, const mlib_s32 *color) argument 429 mlib_v_ImageClear_U8_1(mlib_image *img, const mlib_s32 *color) argument 460 mlib_v_ImageClear_U8_2(mlib_image *img, const mlib_s32 *color) argument 493 mlib_v_ImageClear_U8_3(mlib_image *img, const mlib_s32 *color) argument 551 mlib_v_ImageClear_U8_4(mlib_image *img, const mlib_s32 *color) argument 584 mlib_v_ImageClear_S16_1(mlib_image *img, const mlib_s32 *color) argument 614 mlib_v_ImageClear_S16_2(mlib_image *img, const mlib_s32 *color) argument 646 mlib_v_ImageClear_S16_3(mlib_image *img, const mlib_s32 *color) argument 703 mlib_v_ImageClear_S16_4(mlib_image *img, const mlib_s32 *color) argument 737 mlib_v_ImageClear_S32_1(mlib_image *img, const mlib_s32 *color) argument 769 mlib_v_ImageClear_S32_2(mlib_image *img, const mlib_s32 *color) argument 800 mlib_v_ImageClear_S32_3(mlib_image *img, const mlib_s32 *color) argument 854 mlib_v_ImageClear_S32_4(mlib_image *img, const mlib_s32 *color) argument [all...] |
/openjdk7/jdk/test/javax/imageio/plugins/jpeg/ |
H A D | WritingInterruptionTest.java | 49 static BufferedImage img; field in class:WritingInterruptionTest 52 img = createTestImage(); 133 w.write(img); 194 BufferedImage img = new 196 Graphics2D g = img.createGraphics(); 207 return img;
|