/openjdk7/jdk/test/javax/swing/JToolBar/4247996/ |
H A D | bug4247996.java | 85 result[0] = new Point(p.x + size.width / 2, p.y + size.height / 2);
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | ShapeSpanIterator.java | 126 setOutputAreaXYWH(r.x, r.y, r.width, r.height);
|
H A D | DrawImage.java | 96 int width, int height, 105 if ((width > 0) && (height > 0) && isSimpleTranslate(sg)) { 108 double dx2 = dx1 + width; 119 if ((x | y) != 0 || width != imgw || height != imgh) { 122 atfm.scale(((double)width)/imgw, ((double)height)/imgh); 285 // First check if width and height are very close to img w&h. 322 final int width = sx2 - sx1; 324 final BufferedImage bimg = new BufferedImage(width, height, type); 329 g2d.fillRect(0, 0, width, height); 332 g2d.copyImage(img, 0, 0, sx1, sy1, width, heigh 95 scaleImage(SunGraphics2D sg, Image img, int x, int y, int width, int height, Color bgColor) argument 1040 scaleImage(SunGraphics2D sg, Image img, int x, int y, int width, int height, Color bgColor, ImageObserver observer) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XWarningWindow.java | 218 void paint(Graphics g, int x, int y, int width, int height) { argument 247 paint(g, 0, 0, bounds.width, bounds.height); 260 final int width = xe.get_width(); 267 paint(g, x, y, width, height);
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/jules/ |
H A D | JulesAATileGenerator.java | 52 int left, right, top, bottom, width, height; field in class:JulesAATileGenerator 115 width = right - left; 118 if (width > 0 && height > 0) { 119 tilesX = (int) Math.ceil(((double) width) / TILE_SIZE);
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JDialog.java | 1125 * @param width the width 1130 public void repaint(long time, int x, int y, int width, int height) { argument 1133 this, x, y, width, height); 1136 super.repaint(time, x, y, width, height);
|
H A D | JFrame.java | 770 * @param width the width 775 public void repaint(long time, int x, int y, int width, int height) { argument 778 this, x, y, width, height); 781 super.repaint(time, x, y, width, height);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTreeUI.java | 533 bounds.x = tree.getWidth() - (bounds.x + bounds.width) - 1096 public int getBaseline(JComponent c, int width, int height) { argument 1097 super.getBaseline(c, width, height); 1114 baseline = renderer.getBaseline(pref.width, pref.height); 1272 g.fillRect(rect.x, rect.y, rect.width, rect.height); 1312 xRect.width -= totalChildIndent + totalChildIndent; 1320 rect.width = xRect.width; 1332 rect.x = rect.x + rect.width - 100; 1335 rect.width [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalSplitPaneDivider.java | 83 g.fillRect(clip.x, clip.y, clip.width, clip.height); 85 size.width -= inset * 2; 90 size.width -= (insets.left + insets.right);
|
H A D | MetalToolTipUI.java | 107 size.width - (insets.left + insets.right) - 6 - accelSpacing, 112 accelBL = BasicHTML.getHTMLBaseline(v, paintTextR.width, 145 d.width += calcAccelSpacing(c, c.getFontMetrics(smallFont), key);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthScrollPaneUI.java | 117 vpBorder.paintBorder(scrollpane, g, r.x, r.y, r.width, r.height); 247 int width, int height) { 256 context.getPainter().paintViewportBorder(context, g, x, y, width, 246 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
|
H A D | SynthButtonUI.java | 188 public int getBaseline(JComponent c, int width, int height) { argument 192 if (width < 0 || height < 0) { 207 viewRect.width = width - (i.right + viewRect.x); 222 baseline = BasicHTML.getHTMLBaseline(view, textRect.width,
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsSliderUI.java | 132 int x = (trackRect.width - skin.getWidth()) / 2; 138 trackRect.width, skin.getHeight(), null); 209 size.width = s.getWidth();
|
H A D | WindowsTableHeaderUI.java | 204 skin.paintSkin(g, 0, 0, size.width-1, size.height-1, state); 239 int width, int height) { 241 x + left + (width - left - right - icon.getIconWidth()) / 2, 238 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Robot.java | 407 * @throws IllegalArgumentException if <code>screenRect</code> width and height are not greater than zero 451 raster = Raster.createPackedRaster(buffer, translatedRect.width, translatedRect.height, translatedRect.width, bandmasks, null); 460 if (rect.width <= 0 || rect.height <= 0) { 461 throw new IllegalArgumentException("Rectangle width and height must be > 0");
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CFileDialog.java | 272 public Image createImage(int width, int height) { argument 277 public VolatileImage createVolatileImage(int width, int height) { argument 394 public void setBounds(int x, int y, int width, int height, int op) { argument
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | ostream.hpp | 44 int _width; // width of the page 58 outputStream(int width = 80); 59 outputStream(int width, bool has_time_stamps); 73 int width() const { return _width; } function in class:outputStream
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | sun_awt_X11_GtkFileDialogPeer.c | 112 (JNIEnv * env, jobject jpeer, jint x, jint y, jint width, jint height, jint op) 125 if (width > 0 && height > 0) { 126 fp_gtk_window_resize(dialog, (gint)width, (gint)height); 111 Java_sun_awt_X11_GtkFileDialogPeer_setBounds(JNIEnv * env, jobject jpeer, jint x, jint y, jint width, jint height, jint op) argument
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WScrollPanePeer.java | 97 public void childResized(int width, int height) { argument 100 setSpans(vs.width, vs.height, width, height);
|
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngget.c | 83 return info_ptr->width; 669 png_uint_32 *width, png_uint_32 *height, int *bit_depth, 676 if (png_ptr == NULL || info_ptr == NULL || width == NULL || 680 *width = info_ptr->width; 699 png_check_IHDR (png_ptr, info_ptr->width, info_ptr->height, 757 int *unit, png_fixed_point *width, png_fixed_point *height) 764 *width = png_fixed(png_ptr, atof(info_ptr->scal_s_width), "sCAL width"); 777 int *unit, double *width, doubl 668 png_get_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, int *interlace_type, int *compression_type, int *filter_type) argument 756 png_get_sCAL_fixed(png_structp png_ptr, png_const_infop info_ptr, int *unit, png_fixed_point *width, png_fixed_point *height) argument 776 png_get_sCAL(png_const_structp png_ptr, png_const_infop info_ptr, int *unit, double *width, double *height) argument 792 png_get_sCAL_s(png_const_structp png_ptr, png_const_infop info_ptr, int *unit, png_charpp width, png_charpp height) argument [all...] |
H A D | pngset.c | 198 png_uint_32 width, png_uint_32 height, int bit_depth, 207 info_ptr->width = width; 215 png_check_IHDR (png_ptr, info_ptr->width, info_ptr->height, 234 if (width > 238 - 7*8 /* rounding of width to multiple of 8 pixels */ 242 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, width); 374 png_error(png_ptr, "Invalid sCAL width"); 419 png_set_sCAL(png_structp png_ptr, png_infop info_ptr, int unit, double width, argument 425 if (width < 197 png_set_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type) argument 449 png_set_sCAL_fixed(png_structp png_ptr, png_infop info_ptr, int unit, png_fixed_point width, png_fixed_point height) argument [all...] |
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_jpeg.c | 144 splash->width = cinfo->output_width; 147 if (!SAFE_TO_ALLOC(splash->imageFormat.depthBytes, splash->width)) { 150 stride = splash->width * splash->imageFormat.depthBytes;
|
/openjdk7/jdk/test/javax/swing/JColorChooser/ |
H A D | Test6524757.java | 216 int width = (size.width + 1) / w - x; 218 list.add(new Dimension(width, height));
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/ |
H A D | PNGImageReader.java | 256 int width = stream.readInt(); 272 if (width == 0) { 273 throw new IIOException("Image width == 0!"); 306 metadata.IHDR_width = width; 868 private WritableRaster createRaster(int width, int height, int bands, argument 878 width, height, 884 width, height, 892 width, height, 1187 int width = metadata.IHDR_width; 1191 this.totalPixels = width*heigh [all...] |
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/ui/ |
H A D | CommonUI.java | 235 if(psize.width < size.width) 285 rect = new Rectangle(0, 0, d.width, d.height); 287 int x = rect.x + (rect.width - dim.width) / 2;
|