/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CPrinterGraphicsConfig.java | 69 * @param height the height of the returned <code>BufferedImage</code> 73 public BufferedImage createCompatibleImage(int width, int height) { argument 74 return createCompatibleImage(width, height, Transparency.OPAQUE); 85 * @param height the height of the returned <code>VolatileImage</code> 90 public VolatileImage createCompatibleVolatileImage(int width, int height) { argument 91 return createCompatibleVolatileImage(width, height, Transparency.OPAQUE); 95 public VolatileImage createCompatibleVolatileImage(int width, int height, int transparency) { argument 108 * @param height th 117 createCompatibleImage(int width, int height, int transparency) argument [all...] |
H A D | CViewEmbeddedFrame.java | 90 public void validateWithBounds(final int x, final int y, final int width, final int height) { argument 95 ((LWWindowPeer) getPeer()).setBoundsPrivate(0, 0, width, height);
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | Xrandr.h | 43 int width, height; member in struct:__anon963 64 int height; member in struct:__anon964
|
/openjdk7/jdk/src/share/native/sun/awt/utility/ |
H A D | rect.c | 36 int BitmapToYXBandedRectangles(int bitsPerPixel, int width, int height, unsigned char * buf, RECT_T * outBuf) argument 50 for (j = 0; j < height; j++) {
|
/openjdk7/jdk/test/javax/swing/border/ |
H A D | Test6981576.java | 54 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 55 getBorder().paintBorder(c, g, x, y, width, height);
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XCustomCursor.java | 73 int width, int height, 105 long source = XlibWrapper.XCreateBitmapFromData(display,root_window,nativeXorMask,width,height); 108 long mask = XlibWrapper.XCreateBitmapFromData(display,root_window,nativeAndMask,width,height); 72 createCursor(byte[] xorMask, byte[] andMask, int width, int height, int fcolor, int bcolor, int xHotSpot, int yHotSpot) argument
|
/openjdk7/jdk/src/solaris/classes/sun/awt/ |
H A D | X11CustomCursor.java | 46 protected void createNativeCursor(Image im, int[] pixels, int width, int height, argument 145 int tNByte = wNByte * height; 151 for (int j = 0; j < height; j++) { 170 createCursor(xorMask, andMask, 8*wNByte, height, fc, bc, xHotSpot, yHotSpot); 174 int width, int height, 173 createCursor(byte[] xorMask, byte[] andMask, int width, int height, int fcolor, int bcolor, int xHotSpot, int yHotSpot) argument
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | GrowableRectArray.java | 53 public final void setHeight(int index, int height) { argument 54 array[getCellIndex(index) + 3] = height;
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | Box.java | 152 * The invisible component has no height 155 * just like any other component that has no maximum height. 169 * Creates an invisible, fixed-height component. 175 * to force the box to be at least the specified height. 181 * @param height the height of the invisible component, in pixels >= 0 187 public static Component createVerticalStrut(int height) { argument 188 return new Filler(new Dimension(0,height), new Dimension(0,height), 189 new Dimension(Short.MAX_VALUE, height)); [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | EtchedBorder.java | 117 * @param height the height of the painted border 119 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 121 int h = height;
|
H A D | LineBorder.java | 121 * @param height the height of the painted border 123 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 137 outer = new RoundRectangle2D.Float(x, y, width, height, arc, arc); 138 inner = new RoundRectangle2D.Float(x + offs, y + offs, width - size, height - size, arc, arc); 141 outer = new Rectangle2D.Float(x, y, width, height); 142 inner = new Rectangle2D.Float(x + offs, y + offs, width - size, height - size);
|
H A D | MatteBorder.java | 106 * tile icon's height, and the left and right will be equal to 117 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 130 g.fillRect(0, insets.top, insets.left, height - insets.top); 131 g.fillRect(insets.left, height - insets.bottom, width - insets.left, insets.bottom); 132 g.fillRect(width - insets.right, 0, insets.right, height - insets.bottom); 138 paintEdge(c, g, 0, insets.top, insets.left, height - insets.top, tileW, tileH); 139 paintEdge(c, g, insets.left, height - insets.bottom, width - insets.left, insets.bottom, tileW, tileH); 140 paintEdge(c, g, width - insets.right, 0, insets.right, height - insets.bottom, tileW, tileH); 147 private void paintEdge(Component c, Graphics g, int x, int y, int width, int height, int tileW, int tileH) { argument 148 g = g.create(x, y, width, height); [all...] |
H A D | SoftBevelBorder.java | 99 * @param height the height of the painted border 101 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 108 g.drawLine(0, 0, 0, height-2); 113 g.drawLine(1, 2, 1, height-2); 115 g.drawLine(0, height-1, 0, height-2); 119 g.drawLine(2, height-1, width-1, height-1); 120 g.drawLine(width-1, 2, width-1, height [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/ |
H A D | DiagramComponent.java | 45 private int height; field in class:DiagramComponent 61 this.height = getHeight() - this.insets.top - this.insets.bottom; 65 || (this.height != this.image.getHeight()); 67 int size = this.width * this.height; 71 this.image = new BufferedImage(this.width, this.height, BufferedImage.TYPE_INT_RGB); 75 float dy = 1.0f / (float) (this.height - 1); 79 for (int h = 0; h < this.height; h++, y += dy) { 94 this.image.setRGB(0, 0, this.width, this.height, this.array, 0, this.width); 95 g.drawImage(this.image, this.insets.left, this.insets.top, this.width, this.height, this); 98 this.height [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/ |
H A D | ComponentUI.java | 279 * @param height the height to get the baseline for 281 * @throws IllegalArgumentException if width or height is < 0 287 public int getBaseline(JComponent c, int width, int height) { argument 291 if (width < 0 || height < 0) { 293 "Width and height must be >= 0");
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | LoweredBorder.java | 69 * and had a width of <code>width</code> and a height of 70 * <code>height</code>. For performance reasons, you may want to read the 82 * @param height The height of the region to paint. Note that in the case of 86 protected void doPaint(Graphics2D g, JComponent c, int width, int height, argument 116 if (width != IMG_SIZE || height != IMG_SIZE){ 117 ImageScalingHelper.paint(g,0,0,width,height,img2, INSETS, INSETS, 174 * @param height the height of the painted border 177 int height) { 176 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument [all...] |
H A D | NimbusIcon.java | 42 private int height; field in class:NimbusIcon 48 this.height = h; 148 painter.paint(gfx, jc , width, height); 175 return height; 192 return scale(context, height);
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | CommentView.java | 124 int width, int height) { 126 width - commentPaddingD, height); 123 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | IconInfo.java | 57 private final int height; field in class:IconInfo 75 this.height = intIconData[1]; 77 this.scaledHeight = height; 78 this.rawLength = width * height + 2; 85 this.height = (int)longIconData[1]; 87 this.scaledHeight = height; 88 this.rawLength = width * height + 2; 97 this.height = ir.getHeight(); 100 this.height = image.getHeight(null); 103 this.scaledHeight = height; 110 setScaledSize(int width, int height) argument 210 imageToIntArray(Image image, int width, int height) argument [all...] |
H A D | OrientableFlowLayout.java | 152 dim.height += vVGap; 154 dim.height += cDim.height; 160 dim.height += insets.top + insets.bottom + vVGap*2; 187 dim.height += vVGap; 189 dim.height += cDim.height; 195 dim.height += insets.top + insets.bottom + vVGap*2; 216 int maxHeight = targetDim.height - (insets.top + insets.bottom + vVGap*2); 227 c.resize(cDim.width, cDim.height); 273 moveComponents(Container target, int x, int y, int width, int height, int colStart, int colEnd) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | BufferedImageGraphicsConfig.java | 70 int width, height; field in class:BufferedImageGraphicsConfig 82 this.height = bufImg.getHeight(); 101 public BufferedImage createCompatibleImage(int width, int height) { argument 102 WritableRaster wr = raster.createCompatibleWritableRaster(width, height); 171 return new Rectangle(0, 0, width, height);
|
H A D | JPEGImageDecoder.java | 84 public boolean sendHeaderInfo(int width, int height, argument 88 setDimensions(width, height);
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | CoreMetrics.java | 42 float height, 54 this.height = height; 122 public final float height; field in class:CoreMetrics 39 CoreMetrics(float ascent, float descent, float leading, float height, int baselineIndex, float[] baselineOffsets, float strikethroughOffset, float strikethroughThickness, float underlineOffset, float underlineThickness, float ssOffset, float italicAngle) argument
|
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | Ellipse2D.java | 74 * The overall height of this <code>Ellipse2D</code>. 78 public float height; field in class:Ellipse2D.Float 97 * @param h the height of the framing rectangle 133 return (double) height; 141 return (width <= 0.0 || height <= 0.0); 153 * @param h the height of the specified rectangular shape 160 this.height = h; 171 this.height = (float) h; 179 return new Rectangle2D.Float(x, y, width, height); 218 * The overall height o 222 public double height; field in class:Ellipse2D.Double [all...] |
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | BufferedImageFilter.java | 50 int height; field in class:BufferedImageFilter 91 * @param height the height to which to set the height of this 95 public void setDimensions(int width, int height) { argument 96 if (width <= 0 || height <= 0) { 101 this.height = height; 129 int size = width * height; 156 * @throws IllegalArgumentException if width or height ar [all...] |