Searched refs:rect (Results 26 - 50 of 132) sorted by relevance

123456

/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTableUI.java1304 Rectangle rect = table.getCellRect(loc.getRow(), loc.getColumn(), false);
1305 if (rect != null) {
1306 table.repaint(rect);
1312 Rectangle rect = extendRect(getHDropLineRect(loc), true);
1313 if (rect != null) {
1314 table.repaint(rect);
1319 Rectangle rect = extendRect(getVDropLineRect(loc), false);
1320 if (rect != null) {
1321 table.repaint(rect);
1829 Rectangle rect;
1922 extendRect(Rectangle rect, boolean horizontal) argument
[all...]
/openjdk7/jdk/test/javax/swing/JSpinner/5012888/
H A Dbug5012888.java48 Rectangle rect = spinner2.getBounds();
50 robot.mouseMove(p.x+rect.width-5, p.y+5);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXPopupMenuPeer.java274 protected void paintCaption(Graphics g, Rectangle rect) { argument
283 int textx = rect.x + (rect.width - width) / 2;
284 int texty = rect.y + CAPTION_MARGIN_TOP + fm.getAscent();
285 int sepy = rect.y + rect.height - CAPTION_SEPARATOR_HEIGHT / 2;
288 draw3DRect(g, rect.x, sepy, rect.width, 2, false);
/openjdk7/jdk/src/share/classes/java/awt/
H A DSplashScreen.java321 Rectangle rect = image.getRaster().getBounds();
327 _update(splashPtr, data, rect.x, rect.y, rect.width, rect.height, scanlineStride);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTextFieldUI.java94 final Rectangle rect = super.getVisibleEditorRect();
95 if (rect == null) return null;
98 rect.y -= 3;
99 rect.height += 6;
102 return rect;
H A DAquaTabbedPaneUI.java519 * This routine adjusts the background fill rect so it just fits inside a tab, allowing for
553 protected void fillTabWithBackground(final Graphics g, final Rectangle rect, final int tabPlacement, final boolean first, final boolean last, final Color color) { argument
554 final Rectangle fillRect = new Rectangle(rect);
1076 * calculated width is stored as the rect height.
1134 final Rectangle rect = rects[i];
1137 calculateVerticalTabRunRect(rect, metrics, tabPlacement, returnAt, i, x, y);
1140 if (rect.y + rect.height > returnAt) {
1144 calculateHorizontalTabRunRect(rect, metrics, tabPlacement, returnAt, i, x, y);
1147 if (rect
1166 calculateHorizontalTabRunRect(final Rectangle rect, final FontMetrics metrics, final int tabPlacement, final int returnAt, final int i, final int x, final int y) argument
1184 calculateVerticalTabRunRect(final Rectangle rect, final FontMetrics metrics, final int tabPlacement, final int returnAt, final int i, final int x, final int y) argument
[all...]
/openjdk7/jdk/test/javax/swing/JTable/6263446/
H A Dbug6263446.java208 Rectangle rect = table.getCellRect(0, 0, false);
209 Point point = new Point(rect.x + rect.width / 5,
210 rect.y + rect.height / 2);
/openjdk7/jdk/src/share/classes/sun/print/
H A DPeekGraphics.java568 Rectangle2D.Float rect = new Rectangle2D.Float(x, y, width, height);
569 addDrawingRect(rect);
616 Rectangle2D.Float rect = new Rectangle2D.Float(x, y,width, height);
617 addDrawingRect(rect);
657 Rectangle2D.Float rect = new Rectangle2D.Float(x, y, width, height);
658 addDrawingRect(rect);
732 Rectangle2D.Float rect = new Rectangle2D.Float(x, y,width, height);
733 addDrawingRect(rect);
1523 * @param rect The area in device space to check for a hit.
1536 public boolean hit(Rectangle rect, argument
1744 hitsDrawingArea(Rectangle rect) argument
1765 addDrawingRect(Rectangle2D rect, float x, float y) argument
1784 addDrawingRect(Rectangle2D rect) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCAccessibleText.java299 final Rectangle rect = jc.getVisibleRect();
300 final Point topLeft = new Point(rect.x, rect.y);
301 final Point topRight = new Point(rect.x + rect.width, rect.y);
302 final Point bottomLeft = new Point(rect.x, rect.y + rect.height);
303 final Point bottomRight = new Point(rect
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsProgressBarUI.java242 Rectangle rect = super.getBox(r);
267 rect.y = rect.y + ins.top;
268 rect.height = progressBar.getHeight() - ins.top - ins.bottom;
270 len += (rect.width+gap)*2; // add 2x for the trails
272 rect.x = (int)(delta * currentFrame) + ins.left;
274 rect.x = rect.x + ins.left;
275 rect.width = progressBar.getWidth() - ins.left - ins.right;
277 len += (rect
[all...]
/openjdk7/jdk/src/macosx/native/com/apple/laf/
H A DScreenMenu.m132 - (void)handleJavaMenuItemTargetedAtIndex:(NSUInteger)menuIndex rect:(NSRect)rect
146 NSMinY(rect), NSMinX(rect), NSMaxY(rect), NSMaxX(rect)); // AWT_THREADING Safe (AWTRunLoopMode)
/openjdk7/jdk/test/java/awt/print/PaintSetEnabledDeadlock/
H A DPaintSetEnabledDeadlock.java120 Rectangle rect = getBounds();
122 image = createImage(rect.width, rect.height);
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DAWTView.h36 // Handler for the tracking rect needed for Enter/Exit events management.
62 - (id) initWithRect:(NSRect) rect platformView:(jobject)cPlatformView windowLayer:(CALayer*)windowLayer;
H A DAWTWindow.h82 frameRect:(NSRect)rect
89 frameRect:(NSRect)rect
/openjdk7/jdk/test/javax/swing/JTree/4330357/
H A Dbug4330357.java101 Rectangle rect = tree.getRowBounds(row);
102 Point p = new Point(rect.x + rect.width / 2, rect.y + 2);
/openjdk7/jdk/test/javax/swing/JTree/6263446/
H A Dbug6263446.java134 Rectangle rect = tree.getRowBounds(0);
136 Point p = new Point(rect.x + rect.width / 2, rect.y + 2);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DPainterImpl.template46 private Rectangle2D rect = new Rectangle2D.Float(0, 0, 0, 0);
/openjdk7/jdk/src/macosx/classes/apple/laf/
H A DJRSUIUtils.java99 public static void getPartBounds(final double[] rect, final JRSUIControl control, final double x, final double y, final double w, final double h, final ScrollBarPart part) { argument
100 control.getPartBounds(rect, x, y, w, h, part.ordinal);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalInternalFrameUI.java211 Rectangle rect = null;
219 rect = new Rectangle(xOffset, iconY,
222 return rect;
228 Rectangle rect = getIconBounds();
229 if ((rect != null) && rect.contains(e.getX(), e.getY())) {
H A DMetalInternalFrameTitlePane.java436 Rectangle rect = new Rectangle(0, 0, 0, 0);
437 if (frame.isIconifiable()) { rect = iconButton.getBounds(); }
438 else if (frame.isMaximizable()) { rect = maxButton.getBounds(); }
439 else if (frame.isClosable()) { rect = closeButton.getBounds(); }
443 if (rect.x == 0) {
444 rect.x = frame.getWidth()-frame.getInsets().right-2;
446 titleW = rect.x - xOffset - 4;
449 titleW = xOffset - rect.x - rect.width - 4;
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DmultiVis.c115 int32_t width, height; /* w & h of visible rect of bottom window */
259 bbox.x = (short) x; /* init X rect for bounding box */
437 int32_t rect; local
440 for (rect = 0;
441 rect < vis_reg->numRects;
442 rect++)
445 Intersect bbox with visible part of region giving src rect & output
447 Similar for height. Offset src rect so x,y are relative to
448 origin of win, not the root-relative visible rect of win.
450 srcRect_width = MIN( vis_reg->rects[rect]
900 XRectangle rect; local
925 XRectangle rect; local
[all...]
/openjdk7/jdk/src/windows/native/sun/font/
H A Dlcdglyph.c178 RECT rect; local
340 rect.left = 0;
341 rect.top = 0;
342 rect.right = bmWidth;
343 rect.bottom = bmHeight;
344 FillRect(hMemoryDC, (LPRECT)&rect, GetStockObject(BLACK_BRUSH));
357 (LPRECT)&rect, (LPCWSTR)&glyphCode, 1, NULL);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DTablePrintable.java406 * @param rect the bounding rectangle for this text,
413 Rectangle2D rect,
420 if (rect.getWidth() < imgWidth) {
421 tx = (int)((imgWidth - rect.getWidth()) / 2);
430 tx = -(int)(Math.ceil(rect.getWidth()) - imgWidth);
433 int ty = (int)Math.ceil(Math.abs(rect.getY()));
411 printText(Graphics2D g2d, String text, Rectangle2D rect, Font font, int imgWidth) argument
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DImageUtil.java260 Rectangle rect) {
266 int rectX = rect.x;
267 int rectY = rect.y;
268 int rectWidth = rect.width;
269 int rectHeight = rect.height;
445 Rectangle rect) {
451 int rectX = rect.x;
452 int rectY = rect.y;
453 int rectWidth = rect.width;
454 int rectHeight = rect
259 getPackedBinaryData(Raster raster, Rectangle rect) argument
444 getUnpackedBinaryData(Raster raster, Rectangle rect) argument
526 setPackedBinaryData(byte[] binaryDataArray, WritableRaster raster, Rectangle rect) argument
776 setUnpackedBinaryData(byte[] bdata, WritableRaster raster, Rectangle rect) argument
[all...]
/openjdk7/jdk/src/macosx/native/jobjc/src/tests/java/com/apple/jobjc/
H A DGUIDemo.java64 NSRect rect;
74 rect = objc.Foundation().NSMakeRect(100, 100, 2*buttonSize.width(), 2*buttonSize.height());
77 rect, styleMask, objc.AppKit().NSBackingStoreBuffered(), false);

Completed in 106 milliseconds

123456