Lines Matching defs:image

29 import java.awt.image.BufferedImage;
122 * @param image the bitmap content
129 public static Bitmap createBitmap(BufferedImage image, boolean isMutable,
131 // create a delegate with the given image.
132 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.ARGB_8888);
204 // create the image
205 BufferedImage image = new BufferedImage(width, height, imageType);
208 image.setRGB(0, 0, width, height, colors, offset, stride);
212 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.nativeToConfig(nativeConfig));
231 // create the image
232 BufferedImage image = new BufferedImage(width, height, imageType);
234 // copy the source image into the image.
237 image.setRGB(0, 0, width, height, argb, 0, width);
240 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.nativeToConfig(nativeConfig));
271 BufferedImage image = delegate.mImage;
273 Graphics2D g = image.createGraphics();
277 g.fillRect(0, 0, image.getWidth(), image.getHeight());
445 BufferedImage image = createCopy(bitmap.getImage(), BufferedImage.TYPE_INT_ARGB, alpha);
448 Bitmap_Delegate delegate = new Bitmap_Delegate(image, Config.ALPHA_8);
517 private Bitmap_Delegate(BufferedImage image, Config config) {
518 mImage = image;
536 * @param image the image to copy
537 * @param imageType the type of the new image
541 /*package*/ static BufferedImage createCopy(BufferedImage image, int imageType, int alpha) {
542 int w = image.getWidth();
543 int h = image.getHeight();
548 image.getRGB(0, 0, image.getWidth(), image.getHeight(), argb, 0, image.getWidth());