/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalScrollBarUI.java | 162 g.drawLine( 0, 0, 0, trackBounds.height - 1 ); 163 g.drawLine( trackBounds.width - 2, 0, trackBounds.width - 2, trackBounds.height - 1 ); 164 g.drawLine( 2, trackBounds.height - 1, trackBounds.width - 1, trackBounds.height - 1); 169 g.drawLine( 1, 1, 1, trackBounds.height - 2 ); 172 int y = thumbRect.y + thumbRect.height - trackBounds.y; 176 g.drawLine( trackBounds.width - 1, 0, trackBounds.width - 1, trackBounds.height - 1 ); 178 MetalUtils.drawDisabledBorder(g, 0, 0, trackBounds.width, trackBounds.height ); 191 trackBounds.height += 2; 197 g.drawLine( 0, 2, 0, trackBounds.height 397 setThumbBounds(int x, int y, int width, int height) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/utility/ |
H A D | rect.h | 41 (r).height=(hh); \ 44 #define RECT_INC_HEIGHT(r) (r).height++ 50 int BitmapToYXBandedRectangles(int bitsPerPixel, int width, int height,
|
/openjdk7/jdk/test/javax/swing/plaf/basic/BasicScrollPaneUI/ |
H A D | Test6632810.java | 59 int height = illegelParam[1]; 61 ui.getBaseline(new JScrollPane(), width, height); 63 throw new RuntimeException("getBaseline(new JScrollPane(), " + width + ", " + height +
|
/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 | VerticalBagLayout.java | 87 dim.height += d.height + vgap; 93 dim.height += insets.top + insets.bottom; 114 dim.height += d.height + vgap; 120 dim.height += insets.top + insets.bottom; 135 int bottom = target.size().height - insets.bottom; 143 int compHeight = comp.size().height; 146 comp.reshape(left, top, right - left, d.height); 147 top += d.height [all...] |
/openjdk7/jdk/src/share/classes/java/awt/print/ |
H A D | Paper.java | 54 * The height of the physical page in 1/72nds 122 * Returns the height of the page in 1/72nds of an inch. 123 * @return the height of the page described by this 131 * Sets the width and height of this <code>Paper</code> 138 * @param height the value to which to set this <code>Paper</code> 139 * object's height 141 public void setSize(double width, double height) { argument 143 mHeight = height; 166 * @param height the value to which to set the height o 169 setImageableArea(double x, double y, double width, double height) argument [all...] |
/openjdk7/jdk/src/share/classes/java/applet/ |
H A D | AppletStub.java | 83 * <applet code="Clock" width=50 height=50> 108 * @param height the new requested height for the applet. 110 void appletResize(int width, int height); argument
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CCustomCursor.java | 36 return sMaxCursorSize = new Dimension(bounds.width / 2, bounds.height / 2); 59 int height = fImage.getHeight(c); 65 if (tracker.isErrorAny() || width < 0 || height < 0) { 67 width = height = 1; 68 fImage = createTransparentImage(width, height); 71 final Dimension nativeSize = toolkit.getBestCursorSize(width, height); 72 if (nativeSize.width != width || nativeSize.height != height) { 73 fImage = fImage.getScaledInstance(nativeSize.width, nativeSize.height, Image.SCALE_DEFAULT); 75 height [all...] |
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...] |
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/ |
H A D | D3DMaskBlit.h | 33 jint width, jint height,
|
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnD/ |
H A D | ImageGenerator.java | 37 public int height; field in class:ImageGenerator 42 height = _height; 45 height, 52 gr.fillRect(0, 0, width, height);
|
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDInOut/ |
H A D | ImageGenerator.java | 37 public int height; field in class:ImageGenerator 42 height = _height; 45 height, 52 gr.fillRect(0, 0, width, height);
|
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDNegative/ |
H A D | ImageGenerator.java | 37 public int height; field in class:ImageGenerator 42 height = _height; 45 height, 52 gr.fillRect(0, 0, width, height);
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | VMInternalFrame.java | 58 if (desktopSize.width > 0 && desktopSize.height > 0) { 60 d.height = Math.min(desktopSize.height - 40, d.height);
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | PixelDrawPipe.java | 47 int x, int y, int width, int height); 50 int x, int y, int width, int height, 54 int x, int y, int width, int height); 57 int x, int y, int width, int height, 46 drawRect(SunGraphics2D sg, int x, int y, int width, int height) argument 49 drawRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 53 drawOval(SunGraphics2D sg, int x, int y, int width, int height) argument 56 drawArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle) argument
|
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLMaskBlit.h | 33 jint width, jint height,
|
H A D | OGLMaskBlit.c | 43 jint width, jint height, 50 if (width <= 0 || height <= 0) { 76 0, 0, width, height, 82 ty2 = ((GLfloat)height) / OGLC_BLIT_TILE_SIZE; 88 j2d_glTexCoord2f(tx2, ty2); j2d_glVertex2i(dstx + width, dsty + height); 89 j2d_glTexCoord2f(tx1, ty2); j2d_glVertex2i(dstx, dsty + height); 41 OGLMaskBlit_MaskBlit(JNIEnv *env, OGLContext *oglc, jint dstx, jint dsty, jint width, jint height, void *pPixels) argument
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Rectangle.java | 35 * in the coordinate space, its width, and its height. 38 * <code>height</code> are <code>public</code> fields. The constructors 40 * one, do not prevent setting a negative value for width or height. 43 * A {@code Rectangle} whose width or height is exactly zero has location 54 * A {@code Rectangle} whose width or height is negative has neither 76 * negative width and height or it should use the first point in the set 102 * The values stored into the {@link #width} and {@link #height} dimension 153 * The height of the <code>Rectangle</code>. 160 public int height; field in class:Rectangle 183 * height ar 211 Rectangle(int x, int y, int width, int height) argument 225 Rectangle(int width, int height) argument 358 setBounds(int x, int y, int width, int height) argument 377 setRect(double x, double y, double width, double height) argument 436 reshape(int x, int y, int width, int height) argument 625 setSize(int width, int height) argument 639 resize(int width, int height) argument [all...] |
H A D | FlowLayout.java | 415 dim.height = Math.max(dim.height, d.height); 423 int baseline = m.getBaseline(d.width, d.height); 426 maxDescent = Math.max(maxDescent, d.height - baseline); 432 dim.height = Math.max(maxAscent + maxDescent, dim.height); 436 dim.height += insets.top + insets.bottom + vgap*2; 464 dim.height = Math.max(dim.height, 514 moveComponents(Container target, int x, int y, int width, int height, int rowStart, int rowEnd, boolean ltr, boolean useBaseline, int[] ascent, int[] descent) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | ViewportLayout.java | 150 viewSize.height = vpSize.height; 177 * the height of the view is smaller than the container. 179 if ((viewPosition.y + extentSize.height) > viewSize.height) { 180 viewPosition.y = Math.max(0, viewSize.height - extentSize.height); 195 if ((viewPosition.y == 0) && (vpSize.height > viewPrefSize.height)) { 196 viewSize.height [all...] |
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | XRMaskImage.java | 66 int height) { 69 int maskHeight = Math.max(height / MASK_SCALE_FACTOR, 1); 70 maskTX.scale(((double) width) / maskWidth, ((double) height) / maskHeight); 100 private void initBlitMask(int parentDrawable, int width, int height) { argument 101 int newPM = con.createPixmap(parentDrawable, 8, width, height); 113 con.renderRectangle(blitMaskPicture, XRUtils.PictOpClear, XRColor.NO_ALPHA, 0, 0, width, height); 116 blitMaskDimensions.height = height; 123 if (minSizeX > blitMaskDimensions.width || minSizeY > blitMaskDimensions.height) { 125 int newHeight = Math.max(minSizeY, blitMaskDimensions.height); 65 prepareBlitMask(XRSurfaceData dst, AffineTransform maskTX, int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | AbstractBorder.java | 58 * @param height the height of the painted border 60 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 100 * @param height the height of the border 103 public Rectangle getInteriorRectangle(Component c, int x, int y, int width, int height) { argument 104 return getInteriorRectangle(c, this, x, y, width, height); 116 * @param height the height of the border 119 public static Rectangle getInteriorRectangle(Component c, Border b, int x, int y, int width, int height) { argument 151 getBaseline(Component c, int width, int height) argument [all...] |
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/ |
H A D | CGLSurfaceData.java | 45 protected final int height; field in class:CGLSurfaceData 49 native void validate(int xoff, int yoff, int width, int height, boolean isOpaque); argument 55 boolean isOpaque, int width, int height); 58 int width, int height) { 63 this.height = height * scale; 67 ColorModel cm, int type,int width, int height) 69 this(gc, cm, type, width, height); 84 ColorModel cm, int type,int width, int height) 86 this(gc, cm, type, width, height); 54 initPbuffer(long pData, long pConfigInfo, boolean isOpaque, int width, int height) argument 57 CGLSurfaceData(CGLGraphicsConfig gc, ColorModel cm, int type, int width, int height) argument 66 CGLSurfaceData(CPlatformView pView, CGLGraphicsConfig gc, ColorModel cm, int type,int width, int height) argument 83 CGLSurfaceData(CGLLayer layer, CGLGraphicsConfig gc, ColorModel cm, int type,int width, int height) argument 144 createData(CGLGraphicsConfig gc, int width, int height, ColorModel cm, Image image, int type) argument 262 CGLLayerSurfaceData(CGLLayer layer, CGLGraphicsConfig gc, int width, int height) argument 314 CGLVSyncOffScreenSurfaceData(CPlatformView pView, CGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument 336 CGLOffScreenSurfaceData(CPlatformView pView, CGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_BitmapUtil.cpp | 39 HBITMAP BitmapUtil::CreateTransparencyMaskFromARGB(int width, int height, int* imageData) argument 43 char* buf = SAFE_SIZE_NEW_ARRAY2(char, (width + 15) / 16 * 2, height); 49 for (int i = 0; i < height; i++) { 77 HBITMAP bmp = CreateBitmap(width, height, 1, 1, buf); 95 HBITMAP BitmapUtil::CreateV4BitmapFromARGB(int width, int height, int* imageData) argument 111 bitmapInfo.bmiHeader.biHeight = -height; 128 for (int i = 0; i < height; i++ ) { 163 HBITMAP BitmapUtil::CreateBitmapFromARGBPre(int width, int height, argument 173 bmi.biHeight = -height; 189 memcpy(bitmapBits, (void*)imageData, srcStride * height); 209 BitmapUtil_CreateBitmapFromARGBPre(int width, int height, int srcStride, int* imageData) argument 246 UINT height = abs(bi.bmiHeader.biHeight); local 309 UINT height = abs(bi.bmiHeader.biHeight); local 364 CreateARGBBitmap(int width, int height, void ** bitmapBitsPtr) argument [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...] |