/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | Annotation.java | 46 private int width; field in class:Annotation 105 /** Computes width and height for this Annotation. Retrieve the 107 because the width and height only need to be recomputed if the 110 width = 0; 116 width = Math.max(width, (int) bounds.getWidth()); 123 return width; 152 return new Rectangle(x, y, width, height);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | DefaultListCellRenderer.java | 238 public void repaint(long tm, int x, int y, int width, int height) {} argument
|
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | BevelBorder.java | 109 * @param width the width of the painted border 112 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 114 paintRaisedBevel(c, g, x, y, width, height); 117 paintLoweredBevel(c, g, x, y, width, height); 240 int width, int height) { 243 int w = width; 269 int width, int height) { 272 int w = width; 239 paintRaisedBevel(Component c, Graphics g, int x, int y, int width, int height) argument 268 paintLoweredBevel(Component c, Graphics g, int x, int y, int width, int height) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicBorders.java | 243 int width, int height) { 257 BasicGraphicsUtils.drawBezel(g, x, y, width, height, 278 int width, int height) { 279 BasicGraphicsUtils.drawBezel(g, x, y, width, height, 299 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 306 BasicGraphicsUtils.drawLoweredBezel(g, x, y, width, height, 310 BasicGraphicsUtils.drawBezel(g, x, y, width, height, 316 BasicGraphicsUtils.drawBezel(g, x, y, width, height, false, false, 336 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 340 g.drawLine(0, height-2, width, heigh 242 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument 277 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument 394 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument 430 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument 512 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument [all...] |
H A D | BasicGraphicsUtils.java | 250 public static void drawDashedRect(Graphics g,int x,int y,int width,int height) { argument 254 for (vx = x; vx < (x + width); vx+=2) { 262 g.fillRect(x+width-1, vy, 1, 1); 296 r.width += insets.left + insets.right;
|
H A D | BasicIconFactory.java | 120 int width = 14; field in class:BasicIconFactory.EmptyFrameIcon 123 public int getIconWidth() { return width; }
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalBumps.java | 61 public MetalBumps( int width, int height, argument 63 setBumpArea( width, height ); 86 setBumpArea( bumpArea.width, bumpArea.height ); 89 public void setBumpArea( int width, int height ) { argument 90 xBumps = width / 2;
|
H A D | MetalComboBoxUI.java | 80 bounds.width -= 3; 112 g.drawRect(bounds.x, bounds.y, bounds.width, bounds.height - 1); 114 g.drawRect(bounds.x + 1, bounds.y + 1, bounds.width - 2, 121 g.fillRect(bounds.x + 2, bounds.y + 2, bounds.width - 3, 126 buttonInsets.bottom, bounds.width - 3, 145 public int getBaseline(JComponent c, int width, int height) { argument 149 baseline = super.getBaseline(c, width, height); 155 baseline = super.getBaseline(c, width, height); 270 int buttonWidth = arrowButton.getMinimumSize().width; 279 int width [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | EffectUtils.java | 68 int width = src.getWidth(); 70 if (dst == null || dst.getWidth() != width || dst.getHeight() != height || src.getType() != dst.getType()) { 75 int[] srcPixels = new int[width * height]; 76 int[] dstPixels = new int[width * height]; 77 getPixels(src, 0, 0, width, height, srcPixels); 79 blur(srcPixels, dstPixels, width, height, kernel, radius); 82 blur(dstPixels, srcPixels, height, width, kernel, radius); 84 setPixels(dst, 0, 0, width, height, srcPixels); 86 byte[] srcPixels = new byte[width * height]; 87 byte[] dstPixels = new byte[width * heigh 116 blur(int[] srcPixels, int[] dstPixels, int width, int height, float[] kernel, int radius) argument 178 blur(byte[] srcPixels, byte[] dstPixels, int width, int height, float[] kernel, int radius) argument 408 createCompatibleTranslucentImage(int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthLabelUI.java | 111 public int getBaseline(JComponent c, int width, int height) { argument 115 if (width < 0 || height < 0) { 130 viewRect.width = width - (i.right + viewRect.x); 145 baseline = BasicHTML.getHTMLBaseline(view, textRect.width,
|
/openjdk7/jdk/src/share/classes/javax/swing/table/ |
H A D | DefaultTableCellRenderer.java | 317 public void repaint(long tm, int x, int y, int width, int height) {} argument
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | Map.java | 111 * <code>x</code>, <code>y</code>. <code>width</code>, <code>height</code> 115 public AttributeSet getArea(int x, int y, int width, int height) { argument 131 if (rc != null && rc.contains(x, y, width, height)) { 238 * <code>width</code>, <code>height</code> is the size of 241 public boolean contains(int x, int y, int width, int height); argument 251 * (order is x, y, width, height). */ 253 /** Last value of width passed in. */ 293 public boolean contains(int x, int y, int width, int height) { argument 297 if (lastWidth != width || lastHeight != height) { 298 lastWidth = width; 384 contains(int x, int y, int width, int height) argument 458 contains(int x, int y, int width, int height) argument 499 contains(int x, int y, int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | IntegerInterleavedRaster.java | 55 /** A cached copy of minX + width for use in bounds checks. */ 129 this.maxX = minX + width; 252 * @param width Width of the pixel rectangle. 326 int width = inRaster.getWidth(); 329 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) { 334 setDataElements(dstOffX, dstOffY, width, height, inRaster); 345 * @param width The number of pixels to store horizontally 350 int width, int height, 353 if (width <= 0 || height <= 0) { 379 System.arraycopy(tdata, srcOffset, data, dstOffset, width); 349 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument 456 createWritableChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument 510 createChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument [all...] |
H A D | ShortInterleavedRaster.java | 57 /** A cached copy of minX + width for use in bounds checks. */ 132 this.maxX = minX + width; 274 * @param width Width of the pixel rectangle. 327 * @param width Width of the sample rectangle. 390 * @param width Width of the pixel rectangle. 462 int width = inRaster.getWidth(); 465 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) { 470 setDataElements(dstOffX, dstOffY, width, height, inRaster); 481 * @param width The number of pixels to store horizontally 486 int width, in 485 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument 676 createChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument 705 createWritableChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument [all...] |
H A D | SunVolatileImage.java | 48 * methods (width, height, etc.) but delegates all surface management 62 private int width, height; field in class:SunVolatileImage 67 int width, int height, Object context, 73 this.width = width; 95 int width, int height, Object context, 99 width, height, context, Transparency.OPAQUE, caps, UNDEFINED); 102 public SunVolatileImage(Component comp, int width, int height) { argument 103 this(comp, width, height, null); 107 int width, in 65 SunVolatileImage(Component comp, GraphicsConfiguration graphicsConfig, int width, int height, Object context, int transparency, ImageCapabilities caps, int accType) argument 93 SunVolatileImage(Component comp, GraphicsConfiguration graphicsConfig, int width, int height, Object context, ImageCapabilities caps) argument 106 SunVolatileImage(Component comp, int width, int height, Object context) argument 113 SunVolatileImage(GraphicsConfiguration graphicsConfig, int width, int height, int transparency, ImageCapabilities caps) 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 | AreaAveragingScaleFilter.java | 72 * its source Image as specified by the width and height parameters. 73 * @param width the target width to scale the image 76 public AreaAveragingScaleFilter(int width, int height) { argument 77 super(width, height);
|
H A D | ImageConsumer.java | 44 * @param width the width of the source image 47 void setDimensions(int width, int height); argument 150 * @param w the width of the area of pixels 176 * @param w the width of the area of pixels
|
H A D | ImageFilter.java | 89 public void setDimensions(int width, int height) { argument 90 consumer.setDimensions(width, height);
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsBorders.java | 127 int width, int height) { 129 g.drawLine(x,y, width-1,y); // draw top 132 g.drawLine(x,height-1, width-1,height-1); // draw bottom 133 g.drawLine(width-1,y, width-1,height-1); // draw right 157 int width, int height) { 167 xpBorder.paintBorder(c, g, 0, 0, width, height); 180 dw = width - 1; 185 dx = c.getComponentOrientation().isLeftToRight() ? 2 : (width-dw-2); 203 g.drawLine(width 126 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument 156 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument 259 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument 283 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument 313 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument [all...] |
H A D | WindowsInternalFrameUI.java | 99 * @param width the width of the painted border 102 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 107 width, bottomSkin.getHeight(), 114 rightSkin.paintSkin(g, width-rightSkin.getWidth(), topBorderHeight-1,
|
H A D | WindowsProgressBarUI.java | 78 public int getBaseline(JComponent c, int width, int height) { argument 79 int baseline = super.getBaseline(c, width, height); 270 len += (rect.width+gap)*2; // add 2x for the trails 275 rect.width = progressBar.getWidth() - ins.left - ins.right; 324 int chunksize = box.width+gap; 328 return new Rectangle(box.x, box.y-chunksize*2, box.width, chunksize*3); 349 deltax = -box.width - gap; 379 skin.paintSkin(gfx, box.x, box.y, box.width, box.height, null); 382 skin.paintSkin(gfx, box.x, box.y, box.width, box.height, null); 385 skin.paintSkin(gfx, box.x, box.y, box.width, bo [all...] |
/openjdk7/jdk/src/share/classes/java/applet/ |
H A D | Applet.java | 176 * <applet code="Clock" width=50 height=50> 210 * @param width the new requested width for the applet. 213 public void resize(int width, int height) { argument 215 if ((d.width != width) || (d.height != height)) { 216 super.resize(width, height); 218 stub.appletResize(width, height); 226 * @param d an object giving the new width and height. 229 resize(d.width, [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Image.java | 65 * Determines the width of the image. If the width is not yet known, 69 * @return the width of this image, or <code>-1</code> 70 * if the width is not yet known. 141 * the image at the specified <code>width</code> and 148 * If either <code>width</code> 151 * dimensions. If both <code>width</code> and <code>height</code> 154 * @param width the width to which to scale the image. 159 * @exception IllegalArgumentException if <code>width</cod 168 getScaledInstance(int width, int height, int hints) argument [all...] |
H A D | SplashScreen.java | 286 image = new BufferedImage(dim.width, dim.height, BufferedImage.TYPE_INT_ARGB); 327 _update(splashPtr, data, rect.x, rect.y, rect.width, rect.height, scanlineStride); 391 private native static void _update(long splashPtr, int[] data, int x, int y, int width, int height, int scanlineStride); argument
|