/openjdk7/jdk/src/macosx/native/jobjc/src/tests/java/com/apple/jobjc/ |
H A D | StructTest.java | 46 assertTrue(0f == r.size().width()); 48 assertTrue(3f == r.size().width()); 60 assertTrue(rect.size().width() == 2);
|
H A D | CategoryTest.java | 40 assertEquals(57.0, sz.width());
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | InternalDialog.java | 88 // Ignore x to make sure we fill entire component width 90 int width = c.getWidth(); 97 g.fillRect(x, y, width, height); 100 rightIcon.paintIcon(c, g, width - rWidth, y);
|
/openjdk7/jdk/test/java/util/Formattable/ |
H A D | StockName.java | 46 public void formatTo(Formatter fmt, int f, int width, int precision) { argument 65 // apply width and justification 67 if (len < width) 68 for (int i = 0; i < width - len; i++)
|
/openjdk7/jdk/test/javax/swing/JInternalFrame/6647340/ |
H A D | bug6647340.java | 71 frame.setBounds((screen.width - 400) / 2, (screen.height - 400) / 2, 400, 400); 93 frame.setSize(size.width + 100, size.height + 100); 108 frame.setSize(size.width - 100, size.height - 100);
|
/openjdk7/jdk/src/share/classes/sun/java2d/loops/ |
H A D | TransformBlit.java | 107 int width, int height); 150 int width, int height) 154 srcx, srcy, dstx, dsty, width, height); 103 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int srcx, int srcy, int dstx, int dsty, int width, int height) argument 146 Transform(SurfaceData src, SurfaceData dst, Composite comp, Region clip, AffineTransform at, int hint, int srcx, int srcy, int dstx, int dsty, int width, int height) argument
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | ListHelper.java | 246 * Returns width of the text of the longest item 376 return (x <= bounds.width) && 377 (x >= bounds.width - SCROLLBAR_WIDTH) && 388 int sbWidth = vsbVis ? bounds.width - SCROLLBAR_WIDTH : bounds.width; 402 x - (bounds.width - SCROLLBAR_WIDTH), 508 int width = bounds.width - 2*ITEM_MARGIN - 2*BORDER_WIDTH - (vsbVis ? SCROLLBAR_WIDTH : 0); 514 x, y, width, height, 537 int x, int y, int width, in 534 paintItem(Graphics g, Color[] colors, String string, int x, int y, int width, int height, boolean selected, boolean focused) argument [all...] |
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
|
H A D | XLabelPeer.java | 92 g.fillRect(0, 0, width, height); 114 textX = width - (fm.stringWidth(label) + 2); 118 textX = (width - fm.stringWidth(label)) / 2;
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | ToolTipManager.java | 278 sBounds.width -= (screenInsets.left + screenInsets.right); 293 location.x -= size.width; 299 if(location.x - size.width>=0) { 300 location.x -= size.width; 311 size.width,size.height); 317 else if (location.x - sBounds.x + size.width > sBounds.width) { 318 location.x = sBounds.x + Math.max(0, sBounds.width - size.width) 536 bounds.width [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | TitledBorder.java | 233 * @param width the width of the painted border 236 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 247 int borderW = width - edge - edge; 297 int labelW = width - insets.left - insets.right; 298 if (labelW > size.width) { 299 labelW = size.width; 306 labelX += width - insets.right - labelW; 309 labelX += (width - labelW) / 2; 338 border.paintBorder(c, g, x, y, width, heigh 564 getBaseline(Component c, int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicLabelUI.java | 189 int width, int height) { 197 paintViewR.width = width - (insets.left + insets.right); 199 paintIconR.x = paintIconR.y = paintIconR.width = paintIconR.height = 0; 200 paintTextR.x = paintTextR.y = paintTextR.width = paintTextR.height = 0; 232 iconR.x = iconR.y = iconR.width = iconR.height = 0; 233 textR.x = textR.y = textR.width = textR.height = 0; 236 viewR.width = viewR.height = Short.MAX_VALUE; 240 int x2 = Math.max(iconR.x + iconR.width, textR.x + textR.width); 188 layout(JLabel label, FontMetrics fm, int width, int height) argument 284 getBaseline(JComponent c, int width, int height) argument [all...] |
H A D | BasicScrollBarUI.java | 97 * Hint as to what width (when vertical) or height (when horizontal) 189 scrollBarWidth = UIManager.getInt("ScrollBar.width"); 435 * A vertical scrollbar's preferred width is the maximum of 438 * and the minimum width of the thumb. The preferred height is the 506 x = thumbR.x + thumbR.width; 507 w = trackRect.x + trackRect.width - x; 536 x = thumbR.x + thumbR.width; 537 w = trackRect.x + trackRect.width - x; 552 g.fillRect(trackBounds.x, trackBounds.y, trackBounds.width, trackBounds.height); 569 int w = thumbBounds.width; 878 setThumbBounds(int x, int y, int width, int height) argument [all...] |
H A D | BasicSplitPaneDivider.java | 210 * the width if the splitpane is <code>HORIZONTAL_SPLIT</code>, or 219 * Returns the size of the divider, that is the width if the splitpane 340 border.paintBorder(this, g, 0, 0, size.width, size.height); 709 offset >= getSize().width) { 717 minX = leftC.getMinimumSize().width; 727 maxX = Math.max(0, splitPane.getSize().width - 728 (getSize().width + right) - 729 rightC.getMinimumSize().width); 733 maxX = Math.max(0, splitPane.getSize().width - 734 (getSize().width [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | BytePackedRaster.java | 70 /** A cached copy of minX + width for use in bounds checks. */ 154 this.maxX = minX + width; 309 * @param width Width of the pixel rectangle. 361 * @param width Width of the pixel rectangle. 386 * @param width Width of the pixel rectangle. 545 int width = inRaster.getWidth(); 548 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) { 554 width, height, 570 * @param width The number of pixels to store horizontally 576 int width, in 574 setDataElements(int dstX, int dstY, int srcX, int srcY, int width, int height, BytePackedRaster inRaster) argument 1267 createChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument 1295 createWritableChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | ExtendedTextLabel.java | 91 * logicalStart, whose accumulated advance exceeds width. If the advances of 92 * all characters do not exceed width, return getNumCharacters. If width is 95 public abstract int getLineBreakIndex(int logicalStart, float width); argument
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | ReplicateScaleFilter.java | 54 * The width of the source image. 64 * The target width to scale the image. 94 * its source Image as specified by the width and height parameters. 95 * @param width the target width to scale the image 97 * @throws IllegalArgumentException if <code>width</code> equals 100 public ReplicateScaleFilter(int width, int height) { argument 101 if (width == 0 || height == 0) { 102 throw new IllegalArgumentException("Width ("+width+ 106 destWidth = width; [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/ |
H A D | Metacity.java | 304 clipBounds.width, clipBounds.height); 329 variables.put("width", w); 335 void paintFrameBorder(SynthContext context, Graphics g, int x0, int y0, int width, int height) { argument 397 g.setClip(getRoundedClipShape(0, 0, width, height, 12, 12, 406 clipBounds.width, clipBounds.height); 420 0, 0, width, height, jif); 423 0, 0, width, titleHeight, jif); 426 width - leftTitlebarEdge - rightTitlebarEdge, 432 width - rightTitlebarEdge, 0, 435 0, 0, width, topTitlebarEdg 1431 drawPiece(Node frame_style, Graphics g, String position, int x, int y, int width, int height, JInternalFrame jif) argument 1941 int width; field in class:Metacity.RoundRectClipShape [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | GraphicsDevice.java | 303 if (windowedModeBounds.width == 0) windowedModeBounds.width = 1; 324 screenBounds.width, screenBounds.height); 382 * matching width, height and bit depth. 440 return new DisplayMode(r.width, r.height, cm.getPixelSize(), 0);
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/ |
H A D | ExtendedPanAction.java | 113 if (viewPortSize.width == viewSize.width) { 123 viewPosition.x = Math.min(viewPosition.x, scrollPane.getViewport().getView().getSize().width - scrollPane.getViewport().getSize().width);
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaBorder.java | 103 final int width = borderedComponent.getWidth(); 107 borderedComponent.repaint(0, 0, width, i.top); // Top edge 109 borderedComponent.repaint(0, height - i.bottom, width, i.bottom); // Bottom edge 110 borderedComponent.repaint(width - i.right, 0, i.right, height); // Right edge
|
H A D | AquaMenuBorder.java | 44 * @param width the width of the painted border 47 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument 50 //paintButton(c, g, x, y, width, height); 53 //g.drawRect(x,y, width-1, height-1);
|
/openjdk7/jaxp/src/org/w3c/dom/html/ |
H A D | HTMLAppletElement.java | 125 * Override width. See the width attribute definition in HTML 4.0. This 129 public void setWidth(String width); argument
|
H A D | HTMLIFrameElement.java | 87 * Frame margin width, in pixels. See the marginwidth attribute 115 * Frame width. See the width attribute definition in HTML 4.0. 118 public void setWidth(String width); argument
|
H A D | HTMLImageElement.java | 133 * Override width. See the width attribute definition in HTML 4.0. 136 public void setWidth(String width); argument
|