/openjdk7/jdk/src/share/classes/java/awt/image/ |
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) { 130 g.drawLine(x,y, x,height-1); // draw left 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); 184 dh = height - 1; 195 g.drawLine(4, 3, 4, height - 4); 196 g.drawLine(4, height 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 | 100 * @param height the height of the painted border 102 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 104 int topBorderHeight = (titlePane != null) ? titlePane.getSize().height : 0; 106 bottomSkin.paintSkin(g, 0, height-bottomSkin.getHeight(), 111 leftSkin.getWidth(), height-topBorderHeight-bottomSkin.getHeight()+2, 115 rightSkin.getWidth(), height-topBorderHeight-bottomSkin.getHeight()+2,
|
H A D | WindowsProgressBarUI.java | 78 public int getBaseline(JComponent c, int width, int height) { argument 79 int baseline = super.getBaseline(c, width, height); 87 height--; 91 height -= 3; 93 baseline = y + (height + metrics.getAscent() - 268 rect.height = progressBar.getHeight() - ins.top - ins.bottom; 277 len += (rect.height+gap)*2; // add 2x for the trails 325 return new Rectangle(box.x-chunksize*2, box.y, chunksize*3, box.height); 327 int chunksize = box.height+gap; 353 deltay = -box.height [all...] |
/openjdk7/jdk/src/share/classes/java/applet/ |
H A D | Applet.java | 176 * <applet code="Clock" width=50 height=50> 211 * @param height the new requested height 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, d.height); [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Image.java | 77 * Determines the height of the image. If the height is not yet known, 81 * @return the height of this image, or <code>-1</code> 82 * if the height is not yet known. 142 * <code>height</code> by default. The new <code>Image</code> object 149 * or <code>height</code> is a negative number then a value is 151 * dimensions. If both <code>width</code> and <code>height</code> 155 * @param height the height to which to scale the image. 160 * or <code>height</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
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaButtonLabeledUI.java | 113 g.fillRect(0, 0, size.width, size.height); 120 ((AquaButtonBorder)border).paintButton(c, g, viewRect.x, viewRect.y, viewRect.width, viewRect.height); 127 viewRect.height = b.getHeight() - (i.bottom + viewRect.y); 131 // we should base this on height. Use normal unless we are under a certain size 140 widgetBorder.paintButton(c, g, iconRect.x, iconRect.y, iconRect.width, iconRect.height); 214 final int y2 = Math.max(prefIconRect.y + prefIconRect.height, prefTextRect.y + prefTextRect.height); 216 int height = y2 - y1; 220 height += prefInsets.top + prefInsets.bottom; 221 return new Dimension(width, height); 241 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 | AquaComboBoxRenderer.java | 58 // From BasicComboBoxRenderer - trick to avoid zero-height items 77 public int getBaseline(int width, int height) { argument 78 return super.getBaseline(width, height) - 1;
|
H A D | AquaPainter.java | 127 slices.paint(g, boundsRect.x, boundsRect.y, boundsRect.width, boundsRect.height); 146 if (bounds.width <= 0 || bounds.height <= 0) { 157 final int imgH = bounds.height * scale; 167 imgW, imgH, 0, 0, bounds.width, bounds.height); 171 g.drawImage(img, bounds.x, bounds.y, bounds.width, bounds.height, null); 188 protected Image createTemplateImage(int width, int height) { argument 209 g.fillRect(boundsRect.x, boundsRect.y, boundsRect.width, boundsRect.height);
|
H A D | AquaSplitPaneDividerUI.java | 93 if (size.height > maxSize) { 94 final int diff = size.height - maxSize; 96 size.height = maxSize; 98 if (size.height < 4) doPaint = false; 110 painter.paint(g, splitPane, x, y, size.width, size.height); 176 if (size.height > maxSize) { 177 final int diff = size.height - maxSize; 224 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument 230 g2d.setPaint(new GradientPaint(0, 0, startColor, 0, height, endColor)); 231 g2d.fillRect(x, y, width, height); [all...] |
H A D | AquaTableHeaderBorder.java | 66 * @param height the height of the painted border 69 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument 79 getAlternateBorder().paintBorder(jc, g, x, y, width, height); 87 painter.state.set(height > 16 ? Widget.BUTTON_BEVEL : Widget.BUTTON_LIST_HEADER); 105 final int newHeight = height; 110 g.clipRect(newX, y, newWidth, height);
|
H A D | AquaTextPasswordFieldUI.java | 84 getCapsLockPainter().paintBorder(component, g, bounds.x, bounds.y, bounds.width, bounds.height); 142 public void paintBorder(final Component c, Graphics g, final int x, final int y, final int width, final int height) { argument 143 g = g.create(width - 23, height / 2 - 8, 18, 18);
|
/openjdk7/jdk/src/macosx/classes/sun/awt/ |
H A D | CGraphicsConfig.java | 45 public BufferedImage createCompatibleImage(int width, int height) { argument 113 * Creates a new hidden-acceleration image of the given width and height 117 int width, int height) 116 createAcceleratedImage(Component target, int width, int height) argument
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CPrinterSurfaceData.java | 49 initOps(context, this.fGraphicsStates, this.fGraphicsStatesObject, gc.getBounds().width, gc.getBounds().height); 56 private native void initOps(long context, ByteBuffer byteParameters, Object[] objectParameters, int width, int height); argument
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/ |
H A D | WBMPImageReader.java | 65 /** The original image height. */ 66 private int height; field in class:WBMPImageReader 108 return height; 148 // Read image height 149 height = ReaderUtil.readMultiByteInteger(iis); 150 metadata.height = height; 203 computeRegions(param, this.width, this.height, 218 destinationRegion.y + destinationRegion.height, 222 destinationRegion.equals(new Rectangle(0, 0, width, height)) [all...] |
/openjdk7/jaxp/src/org/w3c/dom/html/ |
H A D | HTMLAppletElement.java | 88 * Override height. See the height attribute definition in HTML 4.0. 92 public void setHeight(String height); argument
|
H A D | HTMLIFrameElement.java | 67 * Frame height. See the height attribute definition in HTML 4.0. 70 public void setHeight(String height); argument 80 * Frame margin height, in pixels. See the marginheight attribute
|
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/ |
H A D | mlib_v_ImageChannelExtract.c | 48 * The src and dst must have the same width, height and data type. 69 mlib_s32 width, mlib_s32 height, 75 mlib_s32 width, mlib_s32 height, 81 mlib_s32 width, mlib_s32 height, 87 mlib_s32 width, mlib_s32 height, 94 mlib_s32 width, mlib_s32 height); 98 mlib_s32 width, mlib_s32 height, 103 mlib_s32 width, mlib_s32 height, 108 mlib_s32 width, mlib_s32 height); 112 mlib_s32 width, mlib_s32 height); 353 mlib_s32 width, height; /* for src and dst */ local [all...] |
/openjdk7/jdk/src/solaris/native/sun/java2d/opengl/ |
H A D | GLXSurfaceData.c | 363 oglsdo->height = attr.height; 378 oglsdo->height = widget->core.height; 389 oglsdo->width, oglsdo->height); 399 jint width, jint height) 414 width, height, isOpaque); 436 attrlist[3] = height; 455 oglsdo->height = height; 395 Java_sun_java2d_opengl_GLXSurfaceData_initPbuffer(JNIEnv *env, jobject glxsd, jlong pData, jlong pConfigInfo, jboolean isOpaque, jint width, jint height) argument [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WChoicePeer.java | 75 public synchronized native void reshape(int x, int y, int width, int height); argument
|
H A D | WFontMetrics.java | 48 * The standard ascent of the font. This is the logical height 51 * characters in the font may extend above this height. 56 * The standard descent of the font. This is the logical height 59 * characters in the font may extend below this height. 66 * and the ascent of the next line. The height metric is calculated 72 * The standard height of a line of text in this font. This is 79 int height; field in class:WFontMetrics 94 * The maximum possible height of a line of text in this font. 99 * height field should be preferred unless the text in a given 139 * Get height [all...] |
/openjdk7/jdk/src/windows/classes/sun/java2d/opengl/ |
H A D | WGLSurfaceData.java | 48 int width, int height); 103 return new WGLOffScreenSurfaceData(peer, gc, r.width, r.height, 107 return new WGLVSyncOffScreenSurfaceData(peer, gc, r.width, r.height, 118 int width, int height, 122 return new WGLOffScreenSurfaceData(null, gc, width, height, 181 int width, int height, 185 super(peer, gc, width, height, image, cm, type); 204 private int width, height; field in class:WGLSurfaceData.WGLOffScreenSurfaceData 208 int width, int height, 215 this.height 46 initPbuffer(long pData, long pConfigInfo, boolean isOpaque, int width, int height) argument 117 createData(WGLGraphicsConfig gc, int width, int height, ColorModel cm, Image image, int type) argument 179 WGLVSyncOffScreenSurfaceData(WComponentPeer peer, WGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument 206 WGLOffScreenSurfaceData(WComponentPeer peer, WGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/ |
H A D | D3DMaskCache.cpp | 99 int width, int height, 131 width, height, 148 ty2 = ty1 + (((float)height) / D3D_MASK_CACHE_HEIGHT_IN_TEXELS); 153 dy2 = dy1 + height; 97 AddMaskQuad(int srcx, int srcy, int dstx, int dsty, int width, int height, int maskscan, void *mask) argument
|
H A D | D3DSurfaceData.h | 45 jint width, height; member in struct:_D3DSDOps
|