/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | SampleModel.java | 92 protected int height; field in class:SampleModel 112 * @param h The height (in pixels) of the region of image data. 126 throw new IllegalArgumentException("Width ("+w+") and height ("+ 131 " height="+h+") are too large"); 148 this.height = h; 160 /** Returns the height in pixels. 161 * @return the height in pixels of the region of image data 165 return height; 339 * @param h The height of the pixel rectangle. 365 y < 0 || y >= height || [all...] |
/openjdk7/jdk/src/share/classes/java/beans/ |
H A D | Beans.java | 627 public void appletResize(int width, int height) { argument
|
/openjdk7/jdk/src/share/classes/javax/imageio/ |
H A D | ImageTypeSpecifier.java | 1008 * encapsulated within this object. The width and height of the 1019 * encapsulated within this object. The width and height of the 1023 * @param height the desired height of the returned 1029 * <code>height</code> are negative or zero. 1031 * <code>width</code> and <code>height</code> is greater than 1034 public SampleModel getSampleModel(int width, int height) { argument 1035 if ((long)width*height > Integer.MAX_VALUE) { 1037 ("width*height > Integer.MAX_VALUE!"); 1039 return sampleModel.createCompatibleSampleModel(width, height); 1070 createBufferedImage(int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifGraphicsUtils.java | 86 * (<b>x</b>, <b>y</b>, <b>width</b>, <b>height</b>). 95 int width, int height, int justification) { 96 drawStringInRect(null, g, aString, x, y, width, height, justification); 100 int x, int y, int width, int height, 131 delta = (height - fontMetrics.getAscent() - fontMetrics.getDescent()) / 2; 136 startY = y + height - delta - fontMetrics.getDescent(); 163 viewRect.height -= (i.bottom + viewRect.y); 184 g.fillRect(0,0, size.width, size.height); 381 acceleratorR.width = acceleratorR.height = 0; 387 acceleratorR.height 94 drawStringInRect(Graphics g, String aString, int x, int y, int width, int height, int justification) argument 99 drawStringInRect(JComponent c, Graphics g, String aString, int x, int y, int width, int height, int justification) argument 451 drawMenuBezel(Graphics g, Color background, int x, int y, int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsTableHeaderUI.java | 204 skin.paintSkin(g, 0, 0, size.width-1, size.height-1, state); 239 int width, int height) { 238 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | FlowLayout.java | 415 dim.height = Math.max(dim.height, d.height); 423 int baseline = m.getBaseline(d.width, d.height); 426 maxDescent = Math.max(maxDescent, d.height - baseline); 432 dim.height = Math.max(maxAscent + maxDescent, dim.height); 436 dim.height += insets.top + insets.bottom + vgap*2; 464 dim.height = Math.max(dim.height, 514 moveComponents(Container target, int x, int y, int width, int height, int rowStart, int rowEnd, boolean ltr, boolean useBaseline, int[] ascent, int[] descent) argument [all...] |
H A D | Graphics2D.java | 433 * by <code>height + 1</code> pixels tall. This method 439 * @param height the height of the rectangle to be drawn. 445 public void draw3DRect(int x, int y, int width, int height, argument 453 //drawLine(x, y, x, y + height); 454 fillRect(x, y, 1, height + 1); 458 //drawLine(x + 1, y + height, x + width, y + height); 459 fillRect(x + 1, y + height, width, 1); 460 //drawLine(x + width, y, x + width, y + height 482 fill3DRect(int x, int y, int width, int height, boolean raised) argument [all...] |
H A D | MediaTracker.java | 154 * g.fillRect(0, 0, size().width, size().height); 217 * rendered at the indicated width and height. 222 * @param h the height at which the image is rendered 774 * width, height, and ID from this media tracker. 779 * @param height the height to remove (-1 for unscaled) 785 int width, int height) { 791 && ((ImageMediaEntry) cur).matches(image, width, height)) 884 int height; field in class:ImageMediaEntry 895 height 784 removeImage(Image image, int id, int width, int height) argument [all...] |
H A D | Rectangle.java | 35 * in the coordinate space, its width, and its height. 38 * <code>height</code> are <code>public</code> fields. The constructors 40 * one, do not prevent setting a negative value for width or height. 43 * A {@code Rectangle} whose width or height is exactly zero has location 54 * A {@code Rectangle} whose width or height is negative has neither 76 * negative width and height or it should use the first point in the set 102 * The values stored into the {@link #width} and {@link #height} dimension 153 * The height of the <code>Rectangle</code>. 160 public int height; field in class:Rectangle 183 * height ar 211 Rectangle(int x, int y, int width, int height) argument 225 Rectangle(int width, int height) argument 358 setBounds(int x, int y, int width, int height) argument 377 setRect(double x, double y, double width, double height) argument 436 reshape(int x, int y, int width, int height) argument 625 setSize(int width, int height) argument 639 resize(int width, int height) argument [all...] |
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/ |
H A D | SynthModel.java | 179 @XmlAttribute int height; field in class:Dimension 183 return String.format("new Dimension%s(%d, %d)", uiSuffix, width, height);
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaButtonBorder.java | 72 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument 75 //paintButton(c, g, x, y, width, height); 78 public void paintButton(final Component c, final Graphics g, int x, int y, int width, int height) { argument 88 // g.drawRect(x, y, width - 1, height - 1); 94 height -= (subInsets.top + subInsets.bottom); 98 // g.drawRect(x, y, width - 1, height - 1); 100 doButtonPaint(b, model, g, x, y, width, height); 103 protected void doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, final int height) { argument 104 painter.paint(g, b, x, y, width, height); 166 if (sizeVariant.h > 0 && sizeVariant.h > d.height) 211 getContentInsets(final AbstractButton b, final int width, final int height) argument 228 doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, int x, int y, int width, int height) argument 244 getStyleForSize(final AbstractButton b, final Size size, final int width, final int height) argument 274 doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, final int height) argument 297 doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, final int height) argument [all...] |
H A D | AquaTextFieldSearch.java | 311 // apparently without adjusting for odd height pixels, the search field "wobbles" relative to it's contents 312 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument 314 super.paintBorder(c, g, x, y - (height % 2), width, height);
|
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/ |
H A D | CGLSurfaceData.java | 45 protected final int height; field in class:CGLSurfaceData 49 native void validate(int xoff, int yoff, int width, int height, boolean isOpaque); argument 55 boolean isOpaque, int width, int height); 58 int width, int height) { 63 this.height = height * scale; 67 ColorModel cm, int type,int width, int height) 69 this(gc, cm, type, width, height); 84 ColorModel cm, int type,int width, int height) 86 this(gc, cm, type, width, height); 54 initPbuffer(long pData, long pConfigInfo, boolean isOpaque, int width, int height) argument 57 CGLSurfaceData(CGLGraphicsConfig gc, ColorModel cm, int type, int width, int height) argument 66 CGLSurfaceData(CPlatformView pView, CGLGraphicsConfig gc, ColorModel cm, int type,int width, int height) argument 83 CGLSurfaceData(CGLLayer layer, CGLGraphicsConfig gc, ColorModel cm, int type,int width, int height) argument 144 createData(CGLGraphicsConfig gc, int width, int height, ColorModel cm, Image image, int type) argument 262 CGLLayerSurfaceData(CGLLayer layer, CGLGraphicsConfig gc, int width, int height) argument 314 CGLVSyncOffScreenSurfaceData(CPlatformView pView, CGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument 336 CGLOffScreenSurfaceData(CPlatformView pView, CGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CImage.java | 61 // the width and height passed in as a parameter could differ than the width and the height of the NSImage (image), in that case, the image will be scaled 62 BufferedImage createBufferedImage(long image, double width, double height) { argument 64 return createImageWithSize(image, width, height); 67 public BufferedImage createImageWithSize(final long image, final double width, final double height) { argument 69 img.resize(width, height); 74 public BufferedImage createImageOfFile(final String file, final int width, final int height) { argument 75 return createBufferedImage(nativeCreateNSImageOfFileFromLaunchServices(file), width, height); 78 public BufferedImage createImageFromFile(final String file, final double width, final double height) { argument 80 nativeSetNSImageSize(image, width, height); 84 createSystemImageFromSelector(final String iconSelector, final int width, final int height) argument 88 createImageFromName(final String name, final int width, final int height) argument [all...] |
H A D | CPlatformView.java | 43 private native long nativeCreateView(int x, int y, int width, int height, long windowLayerPtr); argument 84 public void setBounds(int x, int y, int width, int height) { argument 85 CWrapper.NSView.setFrame(ptr, x, y, width, height); 127 im = getGraphicsConfiguration().createCompatibleImage(r.width, r.height, transparency); 218 int y = getBounds().height - event.getY(); 240 responder.handleWindowDidExposeEvent(new Rectangle(r.width, r.height));
|
H A D | CPrinterDialogPeer.java | 71 public void setBounds(int x, int y, int width, int height) {} argument 80 void invalidate(int x, int y, int width, int height) {} argument
|
H A D | CRobot.java | 159 int c[] = new int[bounds.width * bounds.height]; 172 nativeGetScreenPixels(r.x, r.y, r.width, r.height, pixels); 174 private native void nativeGetScreenPixels(int x, int y, int width, int height, int[] pixels); argument
|
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | ImageSurfaceData.h | 79 jint height; member in struct:_ImageSDOps
|
H A D | QuartzSurfaceData.h | 75 jint height; member in struct:_statePatternInfo
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/ |
H A D | BMPMetadata.java | 49 public int height; field in class:BMPMetadata 134 addChildNode(root, "Height", new Integer(height));
|
/openjdk7/jaxp/src/org/w3c/dom/html/ |
H A D | HTMLImageElement.java | 84 * Override height. See the height attribute definition in HTML 4.0. 87 public void setHeight(String height); argument
|
H A D | HTMLObjectElement.java | 119 * Override height. See the height attribute definition in HTML 4.0. 122 public void setHeight(String height); argument
|
H A D | HTMLTableCellElement.java | 113 * Cell height. See the height attribute definition in HTML 4.0. This 117 public void setHeight(String height); argument
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_Robot.c | 208 jint height, 218 DTRACE_PRINTLN6("RobotPeer: getRGBPixelsImpl(%lx, %d, %d, %d, %d, %x)", xgc, x, y, width, height, pixelArray); 223 if ((width * height) == 0) { 227 DASSERT(width * height > 0); /* only allow positive size */ 233 image = getWindowImage(awt_display, rootWindow, x, y, width, height); 236 if (!IS_SAFE_SIZE_MUL(width, height) || 237 !(ary = (jint *) SAFE_SIZE_ARRAY_ALLOC(malloc, width * height, sizeof (jint)))) 245 for (y = 0; y < height; y++) { 257 (*env)->SetIntArrayRegion(env, pixelArray, 0, height * width, ary); 202 Java_sun_awt_X11_XRobotPeer_getRGBPixelsImpl( JNIEnv *env, jclass cls, jobject xgc, jint x, jint y, jint width, jint height, jintArray pixelArray) argument
|
H A D | awt_UNIXToolkit.c | 108 int height = (*fp_gdk_pixbuf_get_height)(pixbuf); local 114 jbyteArray data = (*env)->NewByteArray(env, (row_stride * height)); 115 (*env)->SetByteArrayRegion(env, data, 0, (row_stride * height), 123 width, height, row_stride, bps, channels, alpha);
|