/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | CardLayout.java | 282 if (d.width > w) { 283 w = d.width; 312 if (d.width > w) { 313 w = d.width; 385 parent.width - (hgap*2 + insets.left + insets.right),
|
/openjdk7/jdk/src/share/classes/java/awt/dnd/ |
H A D | DropTarget.java | 685 if (size.width != outer.width || size.height != outer.height) 686 outer.reshape(0, 0, size.width, size.height); 691 int newWidth = size.width - (i.left + i.right); 694 if (newWidth != inner.width || newHeight != inner.height)
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CTrayIcon.java | 268 int textWidth = screenSize.width / 8; 354 if (dialogX + messageDialog.getWidth() > screenSize.width) { 355 dialogX = screenSize.width - messageDialog.getWidth(); 445 private static JTextArea createTextArea(String text, int width, argument 466 textArea.setSize(width, 1);
|
H A D | CPlatformWindow.java | 501 setBounds(toBounds.x, toBounds.y, toBounds.width, toBounds.height); 517 setBounds(toBounds.x, toBounds.y, toBounds.width, toBounds.height); 686 setBounds(bounds.x, bounds.y, bounds.width, bounds.height); 778 responder.handleReshapeEvent(screenBounds.x, screenBounds.y, screenBounds.width, 871 int width = image.getWidth(null); 874 if (w > width) { 876 width = w; 940 protected void deliverMoveResizeEvent(int x, int y, int width, int height, argument 951 nativeBounds = new Rectangle(x, y, width, height); 955 peer.notifyReshape(x, y, width, heigh [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | DefaultCaret.java | 245 component.repaint(x, y, width, height); 254 * caret bounds (x, y, width, and height). 264 width = 9 + damageWidth; 623 if ((r == null) || ((r.width == 0) && (r.height == 0))) { 626 if (width > 0 && height > 0 && 627 !this._contains(r.x, r.y, r.width, r.height)) { 711 Integer width = (Integer) c.getClientProperty("caretWidth"); 712 if (width != null) { 713 caretWidth = width.intValue(); 1453 int w = this.width; [all...] |
H A D | FlowView.java | 178 * @param width the width to lay out against >= 0. This is 179 * the width inside of the inset area. 183 protected void layout(int width, int height) { argument 187 newSpan = width; 220 super.layout(width, height); 377 host.repaint(alloc.x, alloc.y, alloc.width, alloc.height); 397 host.repaint(alloc.x, alloc.y, alloc.width, alloc.height); 419 host.repaint(alloc.x, alloc.y, alloc.width, alloc.height);
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/ |
H A D | JPEGImageReader.java | 134 private int width; field in class:JPEGImageReader 633 private void setImageData(int width, argument 639 this.width = width; 713 return width; 1066 image = getDestination(param, imageTypes, width, height); 1102 computeRegions(param, width, height, image, srcROI, destROI); 1136 int lineSize = destROI.width*numRasterBands; 1143 destROI.width, 1, 1153 destROI.width, [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Choice.cpp | 49 jint width, height; member in struct:ReshapeStruct 151 jint width = env->GetIntField(target, AwtComponent::widthID); local 159 if (dimension != NULL && width == 0) { 160 width = env->GetIntField(dimension, AwtDimension::widthID); 163 x, y, width, height, 530 jint width = rs->width; local 541 c->Reshape(x, y, width, height); 788 jint width, jint height) 796 rs->width 786 Java_sun_awt_windows_WChoicePeer_reshape(JNIEnv *env, jobject self, jint x, jint y, jint width, jint height) argument [all...] |
H A D | awt_Button.cpp | 80 jint x, y, height, width; local 102 width = env->GetIntField(target, AwtComponent::widthID); 120 c->CreateHWnd(env, labelStr, style, exStyle, x, y, width, height,
|
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLTextRenderer.c | 163 * coordinate space. The width/height of these bounds will not exceed the 263 glyph->width, glyph->height, 677 x2 = x1 + ginfo->width; 763 // estimate the width based on our current position in the glyph 772 } else if (remainingWidth < ginfo->width) { 774 // than the actual width of the glyph; if so, adjust our 776 remainingWidth = ginfo->width; 783 remainingWidth = ginfo->width; 881 dx2 = dx1 + ginfo->width; 921 jint w = ginfo->width; [all...] |
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | AWTWindow.m | 246 if (contentRect.size.width <= 0.0) { 247 contentRect.size.width = 1.0; 286 growBoxWindow = [[JavaResizeGrowBoxOverlayWindow alloc] initWithContentRect:NSMakeRect(0, 0, [growBoxImage size].width, [growBoxImage size].height) styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]; 475 parentRect.origin.x += (parentRect.size.width - [self.growBoxWindow frame].size.width); 501 (jint)frame.size.width, 730 float right = frame.size.width - (contentRect.size.width + left); 745 size->width = MAX(size->width, minWidt [all...] |
H A D | CPrinterJob.m | 84 [defaultPrintInfo setRightMargin: [defaultPrintInfo paperSize].width-imageableRect.origin.x-imageableRect.size.width]; 100 CGFloat fullRightM = paperSize.width - (imageable.origin.x + imageable.size.width); 147 jPaperW = paperSize.width; 153 jPaperH = paperSize.width; 157 jPaperW = paperSize.width;
|
/openjdk7/jdk/src/solaris/native/sun/xawt/ |
H A D | XlibWrapper.c | 641 (JNIEnv *env, jclass clazz, jlong display, jlong window, jint x , jint y , jint width, jint height) { 644 XMoveResizeWindow( (Display *) jlong_to_ptr(display), (Window) window, x, y, width, height); 655 (JNIEnv *env, jclass clazz, jlong display, jlong window, jint width, jint height) 658 XResizeWindow( (Display *) jlong_to_ptr(display),(Window) window,width,height); 668 (JNIEnv *env, jclass clazz, jlong display, jlong window, jint width, jint height) 671 XMoveWindow( (Display *) jlong_to_ptr(display),(Window) window,width,height); 929 (JNIEnv *env, jclass clazz, jlong display, jlong drawable, jint width, jint height, jlong width_return, jlong height_return) { 934 status = XQueryBestCursor((Display *) jlong_to_ptr(display), (Drawable) drawable, width,height, 1496 (JNIEnv *env, jclass clazz, jlong display, jlong window, jint x, jint y, jint width, jint height, jlong flags) { 1501 hints->width 640 Java_sun_awt_X11_XlibWrapper_XMoveResizeWindow(JNIEnv *env, jclass clazz, jlong display, jlong window, jint x , jint y , jint width, jint height) argument 654 Java_sun_awt_X11_XlibWrapper_XResizeWindow(JNIEnv *env, jclass clazz, jlong display, jlong window, jint width, jint height) argument 667 Java_sun_awt_X11_XlibWrapper_XMoveWindow(JNIEnv *env, jclass clazz, jlong display, jlong window, jint width, jint height) argument 928 Java_sun_awt_X11_XlibWrapper_XQueryBestCursor(JNIEnv *env, jclass clazz, jlong display, jlong drawable, jint width, jint height, jlong width_return, jlong height_return) argument 1495 Java_sun_awt_X11_XlibWrapper_XSetMinMaxHints(JNIEnv *env, jclass clazz, jlong display, jlong window, jint x, jint y, jint width, jint height, jlong flags) argument 1567 Java_sun_awt_X11_XlibWrapper_XCreateBitmapFromData(JNIEnv *env, jclass clazz, jlong display, jlong drawable, jlong data, jint width, jint height) argument 1685 Java_sun_awt_X11_XlibWrapper_XCreatePixmap(JNIEnv *env, jclass clazz, jlong display, jlong drawable, jint width, jint height, jint depth) argument 1691 Java_sun_awt_X11_XlibWrapper_XCreateImage(JNIEnv *env, jclass clazz, jlong display, jlong visual_ptr, jint depth, jint format, jint offset, jlong data, jint width, jint height, jint bitmap_pad, jint bytes_per_line) argument 1725 Java_sun_awt_X11_XlibWrapper_XPutImage(JNIEnv *env, jclass clazz, jlong display, jlong drawable, jlong gc, jlong image, jint src_x, jint src_y, jint dest_x, jint dest_y, jint width, jint height) argument 2221 Java_sun_awt_X11_XlibWrapper_SetBitmapShape(JNIEnv *env, jclass clazz, jlong display, jlong window, jint width, jint height, jintArray bitmap) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTextUI.java | 911 if ((d.width > (i.left + i.right)) && (d.height > (i.top + i.bottom))) { 912 rootView.setSize(d.width - i.left - i.right, d.height - i.top - i.bottom); 914 else if (d.width == 0 && d.height == 0) { 919 d.width = (int) Math.min((long) rootView.getPreferredSpan(View.X_AXIS) + 945 d.width = (int) rootView.getMinimumSpan(View.X_AXIS) + i.left + i.right; 969 d.width = (int) Math.min((long) rootView.getMaximumSpan(View.X_AXIS) + 996 if ((alloc.width > 0) && (alloc.height > 0)) { 1001 alloc.width -= insets.left + insets.right; 1046 rootView.setSize(alloc.width, alloc.height); 1100 rootView.setSize(alloc.width, allo 1405 preferenceChanged(View child, boolean width, boolean height) argument 1712 setSize(float width, float height) argument [all...] |
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | DrawGlyphList.c | 107 gbv->glyphs[g].width = ginfo->width; 120 gbv->glyphs[g].width = ginfo->width; 150 dx2 = dx1 + glyphImage.width; 527 /* rowBytes==width tests if its a B&W or LCD glyph */ 528 if (ginfo->width == ginfo->rowBytes) { 558 gbv->glyphs[g].width = ginfo->width; 584 * The test for width [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | default.css | 214 border-width: 0; 222 border-width: 0; 233 border-width: 0;
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsInternalFrameTitlePane.java | 79 // Assume for now that height is correct and derive width using the 83 if (d != null && d.width != 0 && d.height != 0) { 84 buttonWidth = (int) ((float) buttonWidth * d.width / d.height); 166 int minTitleX = lastIconBounds.x + lastIconBounds.width + gap; 351 dim.width += border.getBorderInsets(frame).left + 358 getX() - dim.width, 362 getX() - dim.width,
|
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pngwutil.c | 679 png_write_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height, argument 806 png_ptr->width = width; 810 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, width); 812 png_ptr->usr_width = png_ptr->width; 817 png_save_uint_32(buf, width); 994 png_ptr->height < 16384 && png_ptr->width < 16384) 1005 ((png_ptr->width * 1948 png_write_sCAL_s(png_structp png_ptr, int unit, png_const_charp width, argument 1957 wlen = png_strlen(width); [all...] |
/openjdk7/jdk/src/share/classes/sun/swing/text/ |
H A D | TextComponentPrintable.java | 406 //want to occupy the whole width and height by text 618 * Sets width and FontRenderContext. 628 * @param width width to layout the text for 630 private void layout(final int width) { argument 634 layoutOnEDT(width); 664 layoutOnEDT(width); 675 private void layoutOnEDT(final int width) { argument 683 //need to use JViewport since text is layouted to the viewPort width 684 //otherwise it will be layouted to the maximum text width [all...] |
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | PSPathGraphics.java | 272 * @param srcWidth The width of the portion of the image to 611 (float)Math.rint(scaledBounds.width+0.5), 722 scaledBounds.width, 747 protected void deviceFrameRect(int x, int y, int width, int height, argument 750 draw(new Rectangle2D.Float(x, y, width, height)); 766 protected void deviceFillRect(int x, int y, int width, int height, argument 768 fill(new Rectangle2D.Float(x, y, width, height));
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XIconWindow.java | 166 if (wdiff >= hdiff) { /* need to scale width more */ 291 log.finest("Image format doesn't fit to icon width"); 411 int widthDiff = Math.abs(dim.width - image.getWidth(null)); 434 int width; 439 width = ir.getWidth(); 443 width = img.getWidth(null); 446 Dimension iconSize = getIconSize(width, height); 449 iconWidth = iconSize.width;
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifDesktopPaneUI.java | 100 f.getParent().repaint(r.x, r.y, r.width, r.height); 108 dragPane.getParent().repaint(r.x, r.y, r.width, r.height); 188 iconWidth = iconSize.width;
|
H A D | MotifInternalFrameTitlePane.java | 57 // The width and height of a title pane button 253 int maxX = d.width - 1; 258 g.fillRect(1, 1, d.width, d.height); 369 0, 0, d.width, d.height,
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/ |
H A D | ControlFlowScene.java | 228 if (rectangle.width < 0) { 229 rectangle.x += rectangle.width; 230 rectangle.width *= -1;
|
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | SwingUtilities2.java | 264 * @param fm FontMetrics used to measure the String width 284 * @param fm FontMetrics used to measure the String width 373 * Returns the width of the passed in String. 377 * @param fm FontMetrics used to measure the String width 378 * @param string String to get the width of 406 * @param fm FontMetrics used to measure the String width 430 * @param fm FontMetrics used to measure the String width 451 int width = 0; 453 width += fm.charWidth(charsBuffer[nChars]); 454 if (width > availTextWidt [all...] |