/openjdk7/jdk/src/share/classes/sun/awt/image/ |
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, 74 this.height = height; 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, int height, Objec 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/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/ |
H A D | SlotLayout.java | 78 int height = preferredBounds.height; 80 pos += height / 2; 94 child.resolveBounds(new Point(lx, ly), new Rectangle(x, y, width, height)); 95 pos += height + gap; 104 int i = preferredBounds.height; 115 int height = preferredBounds.height; 123 ly += (max - height) / 2; 128 ly += max - 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/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_png.c | 59 png_uint_32 width, height; local 84 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 105 if (!SAFE_TO_ALLOC(rowbytes, height)) { 109 if ((image_data = (unsigned char *) malloc(rowbytes * height)) == NULL) { 113 if (!SAFE_TO_ALLOC(height, sizeof(png_bytep))) { 116 if ((row_pointers = (png_bytepp) malloc(height * sizeof(png_bytep))) 121 for (i = 0; i < height; ++i) 129 splash->height = height; 136 if (!SAFE_TO_ALLOC(splash->height, strid [all...] |
/openjdk7/jdk/test/javax/swing/plaf/metal/MetalBumps/ |
H A D | Test6657026.java | 131 public void clipRect(int x, int y, int width, int height) { argument 135 public void setClip(int x, int y, int width, int height) { argument 147 public void copyArea(int x, int y, int width, int height, int dx, int dy) { argument 155 public void fillRect(int x, int y, int width, int height) { argument 159 public void clearRect(int x, int y, int width, int height) { argument 163 public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) { argument 167 public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) { argument 171 public void drawOval(int x, int y, int width, int height) { argument 175 public void fillOval(int x, int y, int width, int height) { argument 179 public void drawArc(int x, int y, int width, int height, in argument 183 fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument 211 drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) argument 219 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/java2d/opengl/ |
H A D | GLXSurfaceData.java | 47 int width, int height); 82 return new GLXOffScreenSurfaceData(peer, gc, r.width, r.height, 86 return new GLXVSyncOffScreenSurfaceData(peer, gc, r.width, r.height, 97 int width, int height, 101 return new GLXOffScreenSurfaceData(null, gc, width, height, 160 int width, int height, 164 super(peer, gc, width, height, image, cm, type); 183 private int width, height; field in class:GLXSurfaceData.GLXOffScreenSurfaceData 187 int width, int height, 194 this.height 45 initPbuffer(long pData, long pConfigInfo, boolean isOpaque, int width, int height) argument 96 createData(GLXGraphicsConfig gc, int width, int height, ColorModel cm, Image image, int type) argument 158 GLXVSyncOffScreenSurfaceData(X11ComponentPeer peer, GLXGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument 185 GLXOffScreenSurfaceData(X11ComponentPeer peer, GLXGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | HorizBagLayout.java | 85 dim.height = Math.max(d.height, dim.height); 91 dim.height += insets.top + insets.bottom; 111 dim.height = Math.max(dim.height, d.height); 117 dim.height += insets.top + insets.bottom; 132 int bottom = target.size().height - insets.bottom;
|
H A D | RepaintArea.java | 101 addTo = (r.width > r.height) ? HORIZONTAL : VERTICAL; 149 rect.height -= (y - rect.y); 156 int yDelta = rect.y + rect.height - y - h; 158 rect.height -= yDelta; 160 if (rect.width <= 0 || rect.height <= 0) { 211 int square = paintRect.width * paintRect.height; 213 * ra.paintRects[HORIZONTAL].height - ra.paintRects[VERTICAL].width 214 * ra.paintRects[VERTICAL].height; 238 ra.paintRects[i].height); 282 rect.y += common.height; [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | BorderLayout.java | 655 dim.height = Math.max(d.height, dim.height); 660 dim.height = Math.max(d.height, dim.height); 665 dim.height = Math.max(d.height, dim.height); 670 dim.height [all...] |
H A D | DisplayMode.java | 29 * The <code>DisplayMode</code> class encapsulates the bit depth, height, 55 * @param height the height of the display, in pixels 65 public DisplayMode(int width, int height, int bitDepth, int refreshRate) { argument 66 this.size = new Dimension(width, height); 72 * Returns the height of the display, in pixels. 73 * @return the height of the display, in pixels 76 return size.height;
|
/openjdk7/jdk/test/java/awt/image/ |
H A D | GetSamplesTest.java | 45 public static int height = 100; field in class:GetSamplesTest 68 int[] iArray = new int[ width * height + numBands]; 69 float[] fArray = new float[ width * height + numBands]; 70 double[] dArray = new double[ width * height + numBands]; 109 res = new ComponentSampleModel(dataType, width, height, 4, width * 4, new int[] { 0, 1, 2, 3 } ); 111 res = new MultiPixelPackedSampleModel(dataType, width, height, 4); 113 res = new SinglePixelPackedSampleModel(dataType, width, height, 116 res = new BandedSampleModel(dataType, width, height, numBands); 118 res = new PixelInterleavedSampleModel(dataType, width, height, 4, width * 4, new int[] { 0, 1, 2, 3 });
|
H A D | GetDataElementsTest.java | 40 public static int height = 100; field in class:GetDataElementsTest 45 SampleModel sm = new ComponentSampleModel(dataType, width, height, 4, width * 4, new int[] { 0, 1, 2, 3 } );
|
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/ |
H A D | CenterLayout.java | 47 size.height += insets.top + insets.bottom; 68 containerSize.height -= containerInsets.top + containerInsets.bottom; 70 int componentTop = (containerSize.height / 2) - (size.height / 2); 74 c.setBounds( componentLeft, componentTop, size.width, size.height );
|
/openjdk7/jdk/test/java/awt/PrintJob/EdgeTest/ |
H A D | EdgeTest.java | 60 g.drawLine(0, 0, 0, d.height); 63 g.drawLine(0, d.height, d.width, d.height); 66 g.drawLine(d.width, 0, d.width, d.height); 69 d.width / 2 - 100, d.height / 2 - 10);
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaButtonBorder.java | 72 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument 75 //paintButton(c, g, x, y, width, height); 78 public void paintButton(final Component c, final Graphics g, int x, int y, int width, int height) { argument 88 // g.drawRect(x, y, width - 1, height - 1); 94 height -= (subInsets.top + subInsets.bottom); 98 // g.drawRect(x, y, width - 1, height - 1); 100 doButtonPaint(b, model, g, x, y, width, height); 103 protected void doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, final int height) { argument 104 painter.paint(g, b, x, y, width, height); 166 if (sizeVariant.h > 0 && sizeVariant.h > d.height) 211 getContentInsets(final AbstractButton b, final int width, final int height) argument 228 doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, int x, int y, int width, int height) argument 244 getStyleForSize(final AbstractButton b, final Size size, final int width, final int height) argument 274 doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, final int height) argument 297 doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, final int height) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | GraphicsUtilities.java | 54 /** Compute the width and height of given string given the current 73 int y = containerDimension.height; 91 int y = d.height; 98 if (y > containerDimension.height) { 99 y = containerDimension.height; 116 int y = ((containerDimension.height - sz.height) / 2); 131 int yPos = Math.min(d.height - sz.height, 132 (int) ((d.height * relative [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WFramePeer.java | 84 setMaximizedBounds(adjBounds.x, adjBounds.y, adjBounds.width, adjBounds.height); 112 (currentDevBounds.height - primaryDevBounds.height > 0)); 118 b.height -= (currentDevBounds.height - primaryDevBounds.height); 139 public void reshape(int x, int y, int width, int height) { argument 141 super.reshape(x, y, width, height); 143 reshapeFrame(x, y, width, height); 153 d.height 210 setBoundsPrivate(int x, int y, int width, int height) argument [all...] |
H A D | WRobotPeer.java | 64 int pixelArray[] = new int[bounds.width*bounds.height]; 65 getRGBPixels(bounds.x, bounds.y, bounds.width, bounds.height, pixelArray); 69 private native void getRGBPixels(int x, int y, int width, int height, int pixelArray[]); argument
|
/openjdk7/jdk/test/java/awt/Dialog/DialogOverflowSizeTest/ |
H A D | DialogSizeOverflowTest.java | 59 System.out.println("size.width : size.height "+size.width + " : "+ size.height); 60 if (size.width > 1000 || size.height > 1000 || size.width < 0 || size.height < 0) {
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | BufferedImageFilter.java | 50 int height; field in class:BufferedImageFilter 91 * @param height the height to which to set the height of this 95 public void setDimensions(int width, int height) { argument 96 if (width <= 0 || height <= 0) { 101 this.height = height; 129 int size = width * height; 156 * @throws IllegalArgumentException if width or height ar [all...] |
/openjdk7/jdk/src/share/classes/java/awt/print/ |
H A D | PageFormat.java | 131 * Returns the height, in 1/72nds of an inch, of the page. 133 * page when determining the height. 134 * @return the height of the page. 137 double height; 141 height = mPaper.getHeight(); 143 height = mPaper.getWidth(); 146 return height; 246 * Return the height, in 1/72nds of an inch, of the imageable 249 * @return the height of the page. 252 double height; [all...] |
/openjdk7/jdk/test/javax/swing/JTextArea/6925473/ |
H A D | bug6925473.java | 26 * @summary REGRESSION: JOptionPane in dialog is full-screen height 48 if (preferredSize.width <= 0 || preferredSize.height <= 0) { 58 if (preferredSizeLW.width <= 0 || preferredSizeLW.height <= 0) {
|
/openjdk7/jdk/test/javax/swing/border/ |
H A D | Test6625450.java | 37 // test height 53 private static void test(boolean expected, int width, int height) { argument 55 BORDER.getBaseline(COMPONENT, width, height);
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/hw/ |
H A D | AccelTypedVolatileImage.java | 45 * @param height width 53 int width, int height, int transparency, 56 super(null, graphicsConfig, width, height, null, transparency, 52 AccelTypedVolatileImage(GraphicsConfiguration graphicsConfig, int width, int height, int transparency, int accType) argument
|
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | ProxyPrintGraphics.java | 78 * @param height the height of the clipping rectangle. 83 public Graphics create(int x, int y, int width, int height) { argument 84 Graphics g = getGraphics().create(x, y, width, height);
|