Searched refs:width (Results 526 - 550 of 1066) sorted by relevance

<<21222324252627282930>>

/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DCompoundBorder.java103 * @param width the width of the painted border
106 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
112 pw = width;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthSplitPaneDivider.java76 g, 0, 0, bounds.width, bounds.height,
90 childBounds.width, childBounds.height);
H A DSynthTableUI.java334 Point lowerRight = new Point(clip.x + clip.width - 1,
392 int w = rect.width;
396 g.fillRect(rect.x, rect.y, rect.width, rect.height);
411 g.fillRect(rect.x, rect.y, rect.width, rect.height);
415 g.fillRect(rect.x, y, rect.width, h);
463 rect.x = rect.x + rect.width;
466 rect.x = rect.x + rect.width;
475 rect.width = 3;
487 rect.width = table.getWidth();
520 int tableWidth = damagedArea.x + damagedArea.width;
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DBoxView.java254 alloc.width -= majorOffsets[index];
259 c.repaint(alloc.x, alloc.y, alloc.width, alloc.height);
272 * @param width true if the width preference should change
275 public void preferenceChanged(View child, boolean width, boolean height) { argument
276 boolean majorChanged = (majorAxis == X_AXIS) ? width : height;
277 boolean minorChanged = (majorAxis == X_AXIS) ? height : width;
286 super.preferenceChanged(child, width, height);
393 * @param width the width >
396 setSize(float width, float height) argument
707 layout(int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCommentView.java124 int width, int height) {
126 width - commentPaddingD, height);
123 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifButtonUI.java120 SwingUtilities.computeIntersection(r.x, r.y, r.width, r.height,
146 size.width - (insets.left-margin.left) - (insets.right - margin.right),
H A DMotifTabbedPaneUI.java106 if (selRect.x + selRect.width < x + w - 2) {
107 g.drawLine(selRect.x + selRect.width, y,
129 if (selRect.x + selRect.width < x + w - 2) {
130 g.drawLine(selRect.x + selRect.width, y+h-1, x+w-2, y+h-1);
246 w = tabRect.width - 6;
252 w = tabRect.width - 6;
258 w = tabRect.width - 7;
265 w = tabRect.width - 7;
H A DMotifTextUI.java110 width = r.width + (2 * IBeamOverhang) + 3;
/openjdk7/jdk/src/share/classes/java/awt/
H A DWindow.java788 * and layouts of its subcomponents. The resulting width and
811 setClientSize(newSize.width, newSize.height);
829 * are called afterwards with a width or height less than
855 if (size.width < minimumSize.width || size.height < minimumSize.height) {
856 int nw = Math.max(width, minimumSize.width);
870 * The {@code d.width} and {@code d.height} values
892 * The {@code width} and {@code height} values
907 public void setSize(int width, in argument
942 reshape(int x, int y, int width, int height) argument
3465 setBounds(int x, int y, int width, int height) argument
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaComboBoxRenderer.java77 public int getBaseline(int width, int height) { argument
78 return super.getBaseline(width, height) - 1;
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCDragSourceContextPeer.java244 selectionEndBounds.x - selectionStartBounds.x + selectionEndBounds.width,
348 int width = (int)outline.getWidth();
353 final int area = width * height;
358 width /= scale;
363 if (width <=0) width = 1;
383 BufferedImage dragImage = config.createCompatibleImage(width, height, Transparency.TRANSLUCENT);
392 g2.drawRect(halfLineWidth, halfLineWidth, width - 2 * halfLineWidth - 1, height - 2 * halfLineWidth - 1);
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/
H A DWBMPMetadata.java49 public int width; field in class:WBMPMetadata
79 addChildNode(root, "Width", new Integer(width));
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DXRBackendNative.c307 jint width, jint height) {
309 width, height, depth);
359 jint srcx, jint srcy, jint width, jint height, jint dstx, jint dsty) {
361 (GC) jlong_to_ptr(gc), srcx, srcy, width, height, dstx, dsty); local
368 jint dstX, jint dstY, jint width, jint height) {
371 srcX, srcY, maskX, maskY, dstX, dstY, width, height);
378 jint x, jint y, jint width, jint height) {
385 x, y, width, height);
424 xRects[i].width = rects[i*4 + 2];
637 jint sx, jint sy, jint dx, jint dy, jint width, jin
305 Java_sun_java2d_xr_XRBackendNative_createPixmap(JNIEnv *env, jobject this, jint drawable, jint depth, jint width, jint height) argument
357 Java_sun_java2d_xr_XRBackendNative_copyArea(JNIEnv *env, jobject this, jint src, jint dst, jlong gc, jint srcx, jint srcy, jint width, jint height, jint dstx, jint dsty) argument
365 Java_sun_java2d_xr_XRBackendNative_renderComposite(JNIEnv *env, jobject this, jbyte op, jint src, jint mask, jint dst, jint srcX, jint srcY, jint maskX, jint maskY, jint dstX, jint dstY, jint width, jint height) argument
375 Java_sun_java2d_xr_XRBackendNative_renderRectangle(JNIEnv *env, jobject this, jint dst, jbyte op, jshort red, jshort green, jshort blue, jshort alpha, jint x, jint y, jint width, jint height) argument
635 Java_sun_java2d_xr_XRBackendNative_putMaskNative(JNIEnv *env, jclass cls, jint drawable, jlong gc, jbyteArray imageData, jint sx, jint sy, jint dx, jint dy, jint width, jint height, jint maskOff, jint maskScan, jfloat ea, jlong imgPtr) argument
692 img, 0, 0, 0, 0, width, height); local
[all...]
H A DXRSurfaceData.c101 jint width, jint height,
114 XShared_initSurface(env, xsdo, depth, width, height, drawable);
99 Java_sun_java2d_xr_XRSurfaceData_XRInitSurface(JNIEnv *env, jclass xsd, jint depth, jint width, jint height, jlong drawable, jint pictFormat) argument
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPrintDialogPeer.java125 public void reshape(int x, int y, int width, int height) {} argument
148 void invalidate(int x, int y, int width, int height) {} argument
/openjdk7/jdk/src/windows/classes/sun/security/krb5/internal/tools/
H A DKtab.java331 int[] width = new int[column];
334 if (output[i][j].length() > width[j]) {
335 width[j] = output[i][j].length();
338 if (j != 0) width[j] = -width[j];
341 System.out.printf("%" + width[j] + "s ", output[0][j]);
345 for (int k=0; k<Math.abs(width[j]); k++) System.out.print("-");
351 System.out.printf("%" + width[j] + "s ", output[i+1][j]);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_DataTransferer.cpp350 LONG width = 0; local
390 width = pSrcBmih->biWidth;
452 width = p.x;
467 if (width * height > INT_MAX) {
473 numPixels = width * height;
494 pDstBmih->biWidth = width;
502 pDstBmih->biSizeImage = width * height * (BITS_PER_PIXEL >> 3);
528 0, 0, width, height,
529 0, 0, width, height,
535 RECT rect = { 0, 0, width, heigh
[all...]
/openjdk7/jdk/test/java/awt/Mouse/TitleBarDoubleClick/
H A DTitleBarDoubleClick.java66 robot.mouseMove(BOUNDS.x + (BOUNDS.width / 2),
86 robot.mouseMove(BOUNDS.x + (BOUNDS.width / 2),
/openjdk7/jdk/test/java/awt/TextArea/UsingWithMouse/
H A DSelectionAutoscrollTest.java141 robot.mouseMove( (int)(l.x+d.width*.5), (int)(l.y+d.height*.5) );
147 int x = (int)(l.x+d.width*.5);
/openjdk7/jdk/test/java/awt/print/PaintSetEnabledDeadlock/
H A DPaintSetEnabledDeadlock.java122 image = createImage(rect.width, rect.height);
167 localGraphics.fillRect(0, 0, size.width, size.height);
/openjdk7/jdk/test/javax/swing/text/DefaultEditorKit/4278839/
H A Dbug4278839.java128 robo.mouseMove(rect.x + rect.width / 2, rect.y + rect.width / 2);
/openjdk7/jdk/test/javax/swing/text/View/8014863/
H A Dbug8014863.java140 // It is necessary to calculate the width to meet the expected number of lines.
141 int width = SwingUtilities.computeStringWidth(editorPane.getFontMetrics(editorPane.getFont()),
144 frame.setSize(width, 200);
/openjdk7/jdk/src/share/classes/sun/print/
H A DCustomMediaSizeName.java60 float width, float length) {
66 mediaName = MediaSize.findMedia(width, length,
59 CustomMediaSizeName(String name, String choice, float width, float length) argument
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DInfoWindow.java83 if (corner.x < scrSize.width/2 && corner.y < scrSize.height/2) { // 1st square
86 } else if (corner.x >= scrSize.width/2 && corner.y < scrSize.height/2) { // 2nd square
87 setLocation(corner.x - indent - size.width, corner.y + indent);
89 } else if (corner.x < scrSize.width/2 && corner.y >= scrSize.height/2) { // 3rd square
92 } else if (corner.x >= scrSize.width/2 && corner.y >= scrSize.height/2) { // 4th square
93 setLocation(corner.x - indent - size.width, corner.y - indent - size.height);
237 return !(p.x < trayRect.x || p.x > (trayRect.x + trayRect.width) ||
401 show(new Point(parLoc.x + parSize.width/2, parLoc.y + parSize.height/2),
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicListUI.java213 int cw = rowBounds.width;
220 int w = Math.min(cw, rendererComponent.getPreferredSize().width + 4);
283 paintBounds.width,
287 paintBounds.width,
313 g.setClip(rowBounds.x, rowBounds.y, rowBounds.width,
315 g.clipRect(paintBounds.x, paintBounds.y, paintBounds.width,
338 g.fillRect(rect.x, rect.y, rect.width, rect.height);
376 decr = Point2D.distance(prev.x + prev.width,
386 < Point2D.distance(me.x + me.width,
396 rect.x += rect.width;
474 getBaseline(JComponent c, int width, int height) argument
[all...]

Completed in 78 milliseconds

<<21222324252627282930>>