/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | RepaintManager.java | 519 dirty.width, dirty.height); 523 dirty.width, dirty.height); 527 dirty.width, dirty.height); 661 if(r.width == Integer.MAX_VALUE && 809 rect.x,rect.y,rect.width, rect.height); 817 g.setClip(rect.x, rect.y, rect.width, rect.height); 944 SwingUtilities.computeUnion(tmp.x,tmp.y,tmp.width,tmp.height,r); 1020 int width = proposedWidth < 1 ? 1 : 1021 (proposedWidth > maxSize.width? maxSize.width 1105 clearImages(int width, int height) argument [all...] |
H A D | SwingUtilities.java | 111 return b.x >= a.x && (b.x + b.width) <= (a.x + a.width) && 116 * Return the rectangle (0,0,bounds.width,bounds.height) for the component <code>aComponent</code> 220 return new Rectangle(point.x,point.y,aRectangle.width,aRectangle.height); 478 * and has zero width and height. 482 * @param width the width of the first rectangle 488 public static Rectangle computeIntersection(int x,int y,int width,int height,Rectangle dest) { argument 490 int x2 = ((x+width) < (dest.x + dest.width)) 519 computeUnion(int x,int y,int width,int height,Rectangle dest) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicComboBoxUI.java | 190 * If square, then the width and height are equal, and are both set to 924 //calculate the width and height of the button 926 int buttonWidth = squareButton ? buttonHeight : arrowButton.getPreferredSize().width; 927 //adjust the size based on the button width 929 size.width += insets.left + insets.right + buttonWidth; 931 cachedMinimumSize.setSize( size.width, size.height ); 951 public int getBaseline(JComponent c, int width, int height) { argument 952 super.getBaseline(c, width, height); 985 baseline = component.getBaseline(width, height); 988 baseline = editor.getBaseline(width, heigh [all...] |
H A D | BasicScrollBarUI.java | 97 * Hint as to what width (when vertical) or height (when horizontal) 189 scrollBarWidth = UIManager.getInt("ScrollBar.width"); 435 * A vertical scrollbar's preferred width is the maximum of 438 * and the minimum width of the thumb. The preferred height is the 506 x = thumbR.x + thumbR.width; 507 w = trackRect.x + trackRect.width - x; 536 x = thumbR.x + thumbR.width; 537 w = trackRect.x + trackRect.width - x; 552 g.fillRect(trackBounds.x, trackBounds.y, trackBounds.width, trackBounds.height); 569 int w = thumbBounds.width; 878 setThumbBounds(int x, int y, int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | AsyncBoxView.java | 491 * @param width true if the width preference has changed 495 public synchronized void preferenceChanged(View child, boolean width, boolean height) { argument 497 getParent().preferenceChanged(this, width, height); 504 changing.preferenceChanged(width, height); 511 cs.preferenceChanged(width, height); 528 * @param width the width >= 0 531 public void setSize(float width, float height) { argument 532 setSpanOnAxis(X_AXIS, width); 1368 preferenceChanged(boolean width, boolean height) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | TableView.java | 82 * Fetches the span (width) of the given column. 539 * CSS width or height attribute is specified and applicable to 776 setSize(a.width, a.height); 789 painter.paint(g, a.x, a.y, a.width, a.height, this); 902 c.repaint(alloc.x, alloc.y, alloc.width, alloc.height); 1376 * @param width true if the width preference should change 1379 public void preferenceChanged(View child, boolean width, boolean height) { argument 1380 super.preferenceChanged(child, width, height); 1464 painter.paint(g, a.x, a.y, a.width, [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | PNGImageDecoder.java | 63 private int width; field in class:PNGImageDecoder 148 ||(width = getInt(st))==0 157 if(target!=null) target.setDimensions(width,height); 256 int pixSize = width; 267 if(interlaceMethod!=0) {pixSize *= height;rowStride=width;} 320 setDimensions(width, height); 349 int rowPixelWidth = (width-sCol+(colInc-1))/colInc; 352 int pixelBufferInc = interlaceMethod==0 ? rowInc*width : 0; 374 while (col < width) { 461 min (bWidth, width [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | AttributeValues.java | 66 private float width = 1f; field in class:AttributeValues 101 public float getWidth() { return width; } 102 public void setWidth(float f) { this.width = f; update(EWIDTH); } 461 && width == rhs.width 517 case EWIDTH: b.append(width); break; 575 case EWIDTH: width = src.width; break; 604 case EWIDTH: return width == src.width; [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/ |
H A D | ImageReader.java | 552 * Returns the width in pixels of the given image within the input 556 * this method returns the default width. 560 * @return the width of the image, as an <code>int</code>. 565 * @exception IOException if an error occurs reading the width 633 * Returns the aspect ratio of the given image (that is, its width 636 * determine the appropriate width given a deired height, or vice 637 * versa. For non-resizable images, the true width and height 995 * have a width or height less than 1. 1058 * would have a width or height less than 1. 1150 * have a width o 2241 processImageUpdate(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument 2345 processThumbnailUpdate(BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument 2832 getDestination(ImageReadParam param, Iterator<ImageTypeSpecifier> imageTypes, int width, int height) argument [all...] |
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/ |
H A D | HierarchicalLayoutManager.java | 97 public int width; field in class:HierarchicalLayoutManager.LayoutNode 289 if (points.size() > 1 && points.get(points.size() - 1).x == cur.x + cur.width / 2 && points.get(points.size() - 2).x == cur.x + cur.width / 2) { 292 points.add(new Point(cur.x + cur.width / 2, cur.y + cur.height)); 293 if (points.size() > 1 && points.get(points.size() - 1).x == cur.x + cur.width / 2 && points.get(points.size() - 2).x == cur.x + cur.width / 2) { 296 points.add(new Point(cur.x + cur.width / 2, cur.y)); 373 if (points.size() > 1 && points.get(points.size() - 1).x == cur.x + cur.width / 2 && points.get(points.size() - 2).x == cur.x + cur.width / 2) { 376 points.add(new Point(cur.x + cur.width / [all...] |
H A D | OldHierarchicalLayoutManager.java | 82 private int width; field in class:OldHierarchicalLayoutManager.NodeData 91 width = node.getSize().width; 93 width = node.getSize().height; 103 width = DUMMY_WIDTH; 105 width = DUMMY_HEIGHT; 158 return width; 167 int yCoord = node.getSize().height + width - node.getSize().width; 177 width [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaTabbedPaneUI.java | 179 // g2.fillRect(r.x, r.y, r.width, r.height); 216 temp = r.width; 217 r.width = r.height; 232 nudge = tabRect.width % 2; 271 g.clipRect(fContentRect.x, fContentRect.y, fContentRect.width, fContentRect.height); 363 int xDiff = 0; // (tabRect.x+tabRect.width) - (textRect.x+textRect.width); 365 int xIconDiff = 0; // (tabRect.x+tabRect.width) - (iconRect.x + iconRect.width); 381 g2d.translate(0, -tabRect.width 1032 preferredTabAreaHeight(final int tabPlacement, final int width) argument [all...] |
/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/jdk/src/share/classes/com/sun/imageio/plugins/bmp/ |
H A D | BMPImageReader.java | 129 /** The original image width. */ 130 private int width; field in class:BMPImageReader 193 return width; 239 width = iis.readShort(); 242 width = iis.readInt(); 246 metadata.width = width; 542 width, height, 544 numBands * width, 550 width, heigh [all...] |
/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/src/share/vm/utilities/ |
H A D | ostream.cpp | 48 outputStream::outputStream(int width) { argument 49 _width = width; 56 outputStream::outputStream(int width, bool has_time_stamps) { argument 57 _width = width;
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_xembed_server.c | 96 static jobject createRectangle(JNIEnv* env, int x, int y, int width, int height); 97 static jobject createDimension(JNIEnv* env, int width, int height); 399 res = createDimension(env, hints->width, hints->height); 450 res = createRectangle(env, attrs.x, attrs.y, attrs.width, attrs.height); 604 createRectangle(JNIEnv* env, int x, int y, int width, int height) { argument 617 rect = (*env)->NewObject(env, clazz, mid, x, y, width, height); 626 createDimension(JNIEnv* env, int width, int height) { argument 639 dim = (*env)->NewObject(env, clazz, mid, width, height);
|
H A D | multiVis.c | 101 int32_t width, height; /* width and height of visible part */ member in struct:__anon1018 102 int32_t border_width; /* border width of the window */ 115 int32_t width, height; /* w & h of visible rect of bottom window */ member in struct:__anon1019 116 int32_t border; /* border width of the window */ 129 (s1)->x_vis + (s1)->width >= (s2)->x_vis + (s2)->width && \ 232 GetMultiVisualRegions(disp,srcRootWinid, x, y, width, height, 239 uint32_t width; /* size of bounding box of grab */ 261 bbox.width [all...] |
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/ |
H A D | vis_FourByteAbgr.c | 79 mlib_s32 width) 81 mlib_s32 *dst_end = dstBase + width; 132 if (width < 16) { 137 for (i = 0; i < width; i++) { 149 if (dstScan == 4*width && srcScan == dstScan) { 150 width *= height; 153 count = width >> 1; 154 left = width & 1; 266 if (width < 16) { 271 for (i = 0; i < width; 77 IntArgbToIntAbgrConvert_line(mlib_s32 *srcBase, mlib_s32 *dstBase, mlib_s32 width) argument 1888 int width, height; local [all...] |
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11Renderer.c | 968 jint width, jint height) 985 srcx, srcy, width, height, dstx, dsty); 963 Java_sun_java2d_x11_X11Renderer_devCopyArea(JNIEnv *env, jobject xr, jlong xsd, jlong gc, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height) argument
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WWindowPeer.java | 271 synchronized native void reshapeFrame(int x, int y, int width, int height); argument 338 int w = (minimumSize.width >= msw) ? minimumSize.width : msw; 368 native void setMinSize(int width, int height); argument 556 public void setBounds(int x, int y, int width, int height, int op) { argument 559 sysW = width; 562 super.setBounds(x, y, width, height, op); 707 public native void updateWindowImpl(int[] data, int width, int height); argument
|
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/ |
H A D | D3DBlitLoops.cpp | 361 dstOps->width, dstOps->height); 536 srcOps->width, srcOps->height, 723 0, 0, srcOps->width, srcOps->height); 900 jint width, jint height) 909 if (width <= 0 || height <= 0) { 923 srcInfo.bounds.x2 = srcx + width; 927 dstInfo.bounds.x2 = dstx + width; 937 0, 0, srcOps->width, srcOps->height); 957 width = srcInfo.bounds.x2 - srcInfo.bounds.x1; 961 srcx, srcy, width, heigh 897 D3DBlitLoops_SurfaceToSwBlit(JNIEnv *env, D3DContext *d3dc, jlong pSrcOps, jlong pDstOps, jint dsttype, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height) argument 1018 D3DBlitLoops_CopyArea(JNIEnv *env, D3DContext *d3dc, D3DSDOps *dstOps, jint x, jint y, jint width, jint height, jint dx, jint dy) argument [all...] |
H A D | D3DRenderQueue.cpp | 122 if (x2 > d3dsdo->width) x2 = d3dsdo->width; 490 jint width = NEXT_INT(b); local 492 jint masklen = width * height * sizeof(jint); 494 dstx, dsty, width, height, b);
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | WPrinterJob.cpp | 279 int width = GetDeviceCaps(pdc, HORZRES); local 296 iPrintables[2] = (float)width/resx;
|
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...] |