/openjdk7/jdk/src/solaris/classes/sun/java2d/x11/ |
H A D | X11Renderer.java | 101 int x, int y, int width, int height) 107 x+sg2d.transX, y+sg2d.transY, width, height); 118 int x, int y, int width, int height, 125 x+sg2d.transX, y+sg2d.transY, width, height, 136 int x, int y, int width, int height) 142 x+sg2d.transX, y+sg2d.transY, width, height); 153 int x, int y, int width, int height, 160 x+sg2d.transX, y+sg2d.transY, width, height, 206 int x, int y, int width, int height) 212 x+sg2d.transX, y+sg2d.transY, width, height); 100 drawRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 117 drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 135 drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 152 drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 205 fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 222 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 240 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 257 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | XRCompositeManager.java | 233 int maskX, int maskY, int dstX, int dstY, int width, int height) { 242 width, height); 249 maskX, maskY, dstX, dstY, width, height); 232 XRComposite(int src, int mask, int dst, int srcX, int srcY, int maskX, int maskY, int dstX, int dstY, int width, int height) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | SpringLayout.java | 244 * Specifies the height of a component's bounding rectangle. 261 * <code>width</code>, and <code>height</code> properties. 322 private Spring height; field in class:SpringLayout.Constraints 345 * The <code>height</code> and <code>width</code> springs 360 * and <code>height</code> properties. 369 * @param height the spring value for the <code>height</code> property 371 public Constraints(Spring x, Spring y, Spring width, Spring height) { argument 375 setHeight(height); 381 * <code>height</cod 438 getBaselineFromHeight(int height) argument 629 setHeight(Spring height) argument 958 addInsets(int width, int height, Container p) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicProgressBarUI.java | 251 public int getBaseline(JComponent c, int width, int height) { argument 252 super.getBaseline(c, width, height); 259 height = height - insets.top - insets.bottom; 260 return y + (height + metrics.getAscent() - 337 * Returns the width (if HORIZONTAL) or height (if VERTICAL) 388 protected int getAmountFull(Insets b, int width, int height) { argument 397 amountFull = (int)Math.round(height * 489 componentInnards.height); 494 length = getBoxLength(componentInnards.height, 707 paintString(Graphics g, int x, int y, int width, int height, int amountFull, Insets b) argument 751 paintString(Graphics g, int x, int y, int width, int height, int fillStart, int amountFull, Insets b) argument 797 getStringPlacement(Graphics g, String progressString, int x,int y,int width,int height) argument [all...] |
H A D | BasicScrollPaneUI.java | 106 vpBorder.paintBorder(scrollpane, g, r.x, r.y, r.width, r.height); 282 int extent = extentSize.height; 283 int max = viewSize.height; 364 public int getBaseline(JComponent c, int width, int height) { argument 369 if (width < 0 || height < 0) { 370 throw new IllegalArgumentException("Width and height must be >= 0"); 376 height = height - spInsets.top - spInsets.bottom; 385 headerPref.height); 391 height [all...] |
H A D | BasicSpinnerUI.java | 559 public int getBaseline(JComponent c, int width, int height) { argument 560 super.getBaseline(c, width, height); 564 height = height - insets.top - insets.bottom; 565 if (width >= 0 && height >= 0) { 566 int baseline = editor.getBaseline(width, height); 884 /* Force the editors height to be a multiple of 2 886 editorD.height = ((editorD.height + 1) / 2) * 2; 888 Dimension size = new Dimension(editorD.width, editorD.height); 900 setBounds(Component c, int x, int y, int width, int height) argument [all...] |
H A D | BasicTableHeaderUI.java | 593 public int getBaseline(JComponent c, int width, int height) { argument 594 super.getBaseline(c, width, height); 602 int columnBaseline = comp.getBaseline(pref.width, height); 676 draggedCellRect.width, draggedCellRect.height); 683 draggedCellRect.width, draggedCellRect.height); 711 cellRect.width, cellRect.height, true); 729 int height = 0; 738 int rendererHeight = comp.getPreferredSize().height; 739 height = Math.max(height, rendererHeigh [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | AbstractRegionPainter.java | 88 * The height of the top section. Recomputed on each call to paint. 96 * The height of the center section. Recomputed on each call to paint. 104 * The height of the bottom section. Recomputed on each call to paint. 144 //don't render if the width/height are too small 207 * and a height of <code>height</code>. For performance reasons, you may want to read 217 * @param height The height of the region to paint. Note that in the case of 222 int height, Object[] extendedCacheKeys); 506 private float d; // canvasSize.height 221 doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) argument 726 paint0(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | BoxView.java | 257 alloc.height -= minorOffsets[index]; 259 c.repaint(alloc.x, alloc.y, alloc.width, alloc.height); 273 * @param height true if the height preference should change 275 public void preferenceChanged(View child, boolean width, boolean height) { argument 276 boolean majorChanged = (majorAxis == X_AXIS) ? width : height; 277 boolean minorChanged = (majorAxis == X_AXIS) ? height : width; 286 super.preferenceChanged(child, width, height); 394 * @param height the height > 396 setSize(float width, float height) argument 707 layout(int width, int height) argument [all...] |
H A D | View.java | 283 * @param height true if the height preference has changed 286 public void preferenceChanged(View child, boolean width, boolean height) { argument 289 parent.preferenceChanged(this, width, height); 632 1, alloc.height); 990 * @param height the height >= 0 992 public void setSize(float width, float height) { argument
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | ImageView.java | 100 private int height; field in class:ImageView 359 rect.height - topInset - bottomInset); 376 width, height, imageObserver); 393 rect.height - topInset - bottomInset); 400 g.setClip(clip.x, clip.y, clip.width, clip.height); 427 rect.height - counter - counter -yOffset-yOffset-1); 445 // If the attributes specified a width/height, always use it! 452 return height + topInset + bottomInset; 462 return height + topInset + bottomInset; 478 return retValue + (float)(height 560 setSize(float width, float height) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/applet/ |
H A D | AppletPanel.java | 218 // Get the height (if any) 219 defaultAppletSize.height = getHeight(); 220 currentAppletSize.height = defaultAppletSize.height; 241 defaultAppletSize.height); 249 currentAppletSize.height); 897 public void appletResize(int width, int height) { argument 899 currentAppletSize.height = height; 901 currentAppletSize.height); 923 setBounds(int x, int y, int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | EmbeddedFrame.java | 386 setBoundsPrivate(x, y, size.width, size.height); 422 * <code>width</code> and <code>height</code>. 440 * @param height the new <code>height</code> of this embedded frame 447 protected void setBoundsPrivate(int x, int y, int width, int height) { argument 450 peer.setBoundsPrivate(x, y, width, height); 456 * width, height and location relative to the native parent component. 537 public void setBoundsPrivate(int x, int y, int width, int height) { argument 538 setBounds(x, y, width, height, SET_BOUNDS);
|
H A D | NullComponentPeer.java | 114 public void repaint(long tm, int x, int y, int width, int height) { argument 120 public void setBounds(int x, int y, int width, int height, int op) { argument 123 public void reshape(int x, int y, int width, int height) { argument 193 public Image createImage(int width, int height) { argument 239 public VolatileImage createVolatileImage(int width, int height) { argument
|
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ImageRepresentation.java | 59 int height = -1; field in class:ImageRepresentation 88 * width and height are unknown at this point. The color 149 if (width != w || height != h) { 155 height = h; 165 return height; 253 biRaster = cmodel.createCompatibleWritableRaster(width, height); 259 biRaster = cmodel.createCompatibleWritableRaster(width, height); 724 newInfo(image, info, 0, 0, width, height);
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | BufferedImage.java | 302 * @param height height of the created image 320 int height, 332 height); 341 height); 360 height); 372 height); 385 width, height, 400 width, height, 415 width, height, 319 BufferedImage(int width, int height, int imageType) argument 539 BufferedImage(int width, int height, int imageType, IndexColorModel cm) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/ |
H A D | ImageWriter.java | 471 * height, and the second element contains an (inclusive) maximum 472 * width and height. Together, each pair defines a valid range of 473 * sizes. To specify a fixed size, the same width and height will 1139 * @param height the height of the image. 1163 * @exception IllegalArgumentException if width or height are less 1169 int width, int height, 1296 * @param height the height of the image. 1323 * @exception IllegalArgumentException if width or height ar 1167 prepareWriteEmpty(IIOMetadata streamMetadata, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List<? extends BufferedImage> thumbnails, ImageWriteParam param) argument 1327 prepareInsertEmpty(int imageIndex, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List<? extends BufferedImage> thumbnails, ImageWriteParam param) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | XPStyle.java | 203 return new Point(d.width, d.height); 345 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 359 super.paintBorder(c, g, x, y, width, height); 371 int x, int y, int width, int height) { 372 skin.paintSkin(g, x, y, width, height, null); 528 return size.height; 569 paintSkin(g, r.x, r.y, r.width, r.height, state); 580 * @param dh the height of the area to fill, may cause 605 * @param dh the height of the area to fill, may cause 620 * @param dh the height o 370 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaImageFactory.java | 82 static Image getThisApplicationsIcon(final int width, final int height) { argument 97 return AquaUtils.getCImageCreator().createImageOfFile(path, height, width); 438 protected abstract Image createTemplateImage(final int width, final int height); argument
|
H A D | AquaMenuPainter.java | 142 public void paintMenuBarBackground(final Graphics g, final int width, final int height, final JComponent c) { argument 144 g.fillRect(0, 0, width, height); 145 menuBarPainter.get().paintBorder(null, g, 0, 0, width, height); 148 public void paintSelectedMenuTitleBackground(final Graphics g, final int width, final int height) { argument 149 selectedMenuBarItemPainter.get().paintBorder(null, g, -1, 0, width + 2, height); 152 public void paintSelectedMenuItemBackground(final Graphics g, final int width, final int height) { argument 153 selectedMenuItemPainter.get().paintBorder(null, g, 0, 0, width, height); 170 viewRect.height -= (i.bottom + viewRect.y); 337 r = SwingUtilities.computeUnion(iconRect.x, iconRect.y, iconRect.width, iconRect.height, r); 360 r.height [all...] |
H A D | AquaSpinnerUI.java | 167 public int getBaseline(JComponent c, int width, int height) { argument 168 super.getBaseline(c, width, height); 172 height = height - insets.top - insets.bottom; 173 if (width >= 0 && height >= 0) { 174 int baseline = editor.getBaseline(width, height); 508 painter.paint(g, spinner, 0, 0, bounds.width, bounds.height); 515 return new Dimension(kPreferredSize.width, kPreferredSize.height - 8); 567 /* Force the editors height to be a multiple of 2 569 editorD.height 583 setBounds(final Component c, final int x, final int y, final int width, final int height) argument [all...] |
H A D | AquaUtils.java | 286 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument 287 final BufferedImage img = new BufferedImage(width + blur * 2, height + blur * 2, BufferedImage.TYPE_INT_ARGB_PRE); 288 paintToImage(img, x, y, width, height); 293 protected void paintToImage(final BufferedImage img, final int x, final int y, final int width, final int height) { argument 298 imgG.fillRect(0, 0, width + blur * 2, height + blur * 2); 303 final int adjH = (int)(height - (insets.top + insets.bottom) * distance); 334 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument 335 slices.paint(g, x, y, width, height);
|
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
H A D | CRenderer.java | 73 native void doRect(SurfaceData sData, float x, float y, float width, float height, boolean isfill); argument 75 public void drawRect(SunGraphics2D sg2d, int x, int y, int width, int height) { argument 76 drawRect(sg2d, (float) x, (float) y, (float) width, (float) height); 81 public void drawRect(SunGraphics2D sg2d, float x, float y, float width, float height) { argument 82 if ((width < 0) || (height < 0)) return; 86 surfaceData.doRect(this, sg2d, x, y, width, height, false); 96 rectToShape.setRect(x, y, width, height); 102 public void fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) { argument 103 fillRect(sg2d, (float) x, (float) y, (float) width, (float) height); 106 public void fillRect(SunGraphics2D sg2d, float x, float y, float width, float height) { argument 113 doRoundRect(SurfaceData sData, float x, float y, float width, float height, float arcW, float arcH, boolean isfill) argument 115 drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 121 drawRoundRect(SunGraphics2D sg2d, float x, float y, float width, float height, float arcWidth, float arcHeight) argument 142 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 146 fillRoundRect(SunGraphics2D sg2d, float x, float y, float width, float height, float arcWidth, float arcHeight) argument 152 doOval(SurfaceData sData, float x, float y, float width, float height, boolean isfill) argument 154 drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 160 drawOval(SunGraphics2D sg2d, float x, float y, float width, float height) argument 181 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 185 fillOval(SunGraphics2D sg2d, float x, float y, float width, float height) argument 191 doArc(SurfaceData sData, float x, float y, float width, float height, float angleStart, float angleExtent, int type, boolean isfill) argument 193 drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 199 drawArc(SunGraphics2D sg2d, float x, float y, float width, float height, float startAngle, float arcAngle, int type) argument 220 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 224 fillArc(SunGraphics2D sg2d, float x, float y, float width, float height, float startAngle, float arcAngle, int type) argument 393 scaleImage(SunGraphics2D sg2d, Image img, int x, int y, int width, int height, Color bgColor) argument 478 copyImage(SunGraphics2D sg2d, Image img, int dx, int dy, int sx, int sy, int width, int height, Color bgColor) 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 611 doRect(SurfaceData sData, float x, float y, float width, float height, boolean isfill) argument 616 doRoundRect(SurfaceData sData, float x, float y, float width, float height, float arcW, float arcH, boolean isfill) argument 621 doOval(SurfaceData sData, float x, float y, float width, float height, boolean isfill) argument 626 doArc(SurfaceData sData, float x, float y, float width, float height, float angleStart, float angleExtent, int type, boolean isfill) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/ |
H A D | GIFImageReader.java | 106 int width = -1, height = -1; field in class:GIFImageReader 405 (destY < destinationRegion.y + destinationRegion.height) && 407 (streamY < sourceRegion.y + sourceRegion.height) && 427 processImageProgress(100.0F*rowsDone/height); 436 if (streamY >= height) { 796 destinationRegion.height - 1, 802 (destinationRegion.height + yStep - 1)/yStep, 852 this.height = imageMetadata.imageHeight; 863 computeRegions(param, width, height, theImage, 1022 height [all...] |
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/ |
H A D | JFIFMarkerSegment.java | 365 * width and height into account. If necessary, the thumbnail 846 int height, 852 thumbHeight = height; 955 System.out.print(name + " height: "); 967 JFIFThumbRGB(JPEGBuffer buffer, int width, int height) argument 970 super(buffer, width, height, width*height*3, "JFIFthumbRGB"); 1019 super.write(ios, writer); // width and height 1032 JFIFThumbPalette(JPEGBuffer buffer, int width, int height) argument 1036 height, 844 JFIFThumbUncompressed(JPEGBuffer buffer, int width, int height, int skip, String name) argument [all...] |