/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalTitlePane.java | 739 Rectangle rect = new Rectangle(0, 0, 0, 0); 741 rect = iconifyButton.getBounds(); 746 if (rect.x == 0) { 747 rect.x = window.getWidth() - window.getInsets().right-2; 749 titleW = rect.x - xOffset - 4; 753 titleW = xOffset - rect.x - rect.width - 4;
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthGraphicsUtils.java | 478 static void applyInsets(Rectangle rect, Insets insets, boolean leftToRight) { argument 480 rect.x += (leftToRight ? insets.left : insets.right); 481 rect.y += insets.top; 482 rect.width -= (leftToRight ? insets.right : insets.left) + rect.x; 483 rect.height -= (insets.bottom + rect.y);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | MemoryPanel.java | 426 Rectangle rect = new Rectangle(); 427 getBounds(rect); 429 if (p.y < rect.y) { 545 Rectangle rect = new Rectangle(); 546 getBounds(rect); 548 numVisibleRows = (rect.height + (h - 1)) / h;
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | Raster.java | 1191 * and size (width, height) specified by rect, a 1193 * @param rect a <code>Rectangle</code> that specifies the size and 1197 * @throws RasterFormatException if <code>rect</code> has width 1199 * <code>rect.x + rect.width</code> or 1200 * <code>rect.y + rect.height</code> results in integer 1202 * @throws NullPointerException if <code>rect</code> is null 1204 public WritableRaster createCompatibleWritableRaster(Rectangle rect) { argument 1205 if (rect [all...] |
H A D | BufferedImage.java | 1438 * @param rect the region of the <code>BufferedImage</code> to be 1444 public Raster getData(Rectangle rect) { argument 1446 SampleModel nsm = sm.createCompatibleSampleModel(rect.width, 1447 rect.height); 1449 rect.getLocation()); 1450 int width = rect.width; 1451 int height = rect.height; 1452 int startX = rect.x; 1453 int startY = rect.y;
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaScrollBarUI.java | 599 double[] rect = new double[4]; 600 JRSUIUtils.ScrollBar.getPartBounds(rect, painter.getControl(), 0, 0, fScrollBar.getWidth(), fScrollBar.getHeight(), ScrollBarPart.THUMB); 601 final Rectangle r = new Rectangle((int)rect[0], (int)rect[1], (int)rect[2], (int)rect[3]);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicScrollBarUI.java | 397 Rectangle rect = getThumbBounds(); 399 setThumbRollover(rect.contains(x, y)); 1272 Rectangle rect = list.getCellBounds(index, index); 1273 if (rect != null) { 1274 adjustedValue = rect.y; 1281 Rectangle rect = list.getCellBounds(index, index); 1282 if (rect != null) { 1283 adjustedValue = rect.x; 1291 Rectangle rect = list.getCellBounds(index, index); 1292 if (rect ! [all...] |
H A D | BasicMenuItemUI.java | 624 private void applyInsets(Rectangle rect, Insets insets) { argument 626 rect.x += insets.left; 627 rect.y += insets.top; 628 rect.width -= (insets.right + rect.x); 629 rect.height -= (insets.bottom + rect.y);
|
H A D | BasicComboPopup.java | 1235 Rectangle rect = new Rectangle(px,py,pw,ph); 1238 rect.y = -rect.height; 1240 return rect;
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/ |
H A D | MultiConnectionWidget.java | 162 Rectangle rect = new Rectangle(x, y, width, height); 164 clientArea = rect; 166 clientArea = clientArea.union(rect);
|
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | SwingUtilities2.java | 633 Rectangle rect = shape.getBounds(); 634 underlineRectX = x + rect.x; 635 underlineRectWidth = rect.width; 1712 * @param rect the rectangle 1724 * @throws NullPointerException if {@code rect} or {@code p} are 1727 private static Section liesIn(Rectangle rect, Point p, boolean horizontal, argument 1743 p0 = rect.x; 1745 length = rect.width; 1748 p0 = rect.y; 1750 length = rect 1794 liesInHorizontal(Rectangle rect, Point p, boolean ltr, boolean three) argument 1817 liesInVertical(Rectangle rect, Point p, boolean three) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | View.java | 1034 Rectangle rect = (allocation instanceof Rectangle) ? 1036 if (rect.contains(x, y)) { 1060 Rectangle rect = (childAllocation instanceof Rectangle) ? 1063 if (rect.contains(x, y)) {
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Toolkit.cpp | 1716 BOOL AwtToolkit::GetScreenInsets(int screenNum, RECT * rect) argument 1722 rect->top = rRW.top; 1723 rect->left = rRW.left; 1724 rect->bottom = ::GetSystemMetrics(SM_CYSCREEN) - rRW.bottom; 1725 rect->right = ::GetSystemMetrics(SM_CXSCREEN) - rRW.right; 1734 rect->top = miInfo->rcWork.top - miInfo->rcMonitor.top; 1735 rect->left = miInfo->rcWork.left - miInfo->rcMonitor.left; 1736 rect->bottom = miInfo->rcMonitor.bottom - miInfo->rcWork.bottom; 1737 rect->right = miInfo->rcMonitor.right - miInfo->rcWork.right; 2367 RECT rect; local [all...] |
H A D | awt_Window.h | 103 virtual void GetInsets(RECT* rect) { argument 104 VERIFY(::CopyRect(rect, &m_insets)); 324 void CalculateWarningWindowBounds(JNIEnv *env, LPRECT rect);
|
H A D | awt_MenuItem.h | 147 void DrawCheck(HDC hDC, RECT rect);
|
H A D | awt_TextComponent.h | 97 void SetCompositionWindow(RECT& rect);
|
/openjdk7/jdk/src/share/classes/sun/java2d/ |
H A D | SunGraphics2D.java | 840 * @param rect The area in device space to check for a hit. 853 public boolean hit(Rectangle rect, Shape s, boolean onStroke) { argument 860 rect = new Rectangle(rect); 861 rect.translate(constrainX, constrainY); 864 return s.intersects(rect); 1944 Rectangle2D rect = (Rectangle2D) s; 1945 return new Rectangle2D.Double(rect.getX() + tx, 1946 rect.getY() + ty, 1947 rect 2836 transformBounds(Rectangle rect, AffineTransform tx) argument [all...] |
/openjdk7/jdk/test/sun/java2d/SunGraphics2D/ |
H A D | SimplePrimQuality.java | 58 Rectangle rect = 60 capture = robot.createScreenCapture(rect);
|
/openjdk7/jdk/src/macosx/native/apple/applescript/ |
H A D | AS_NS_ConversionUtils.m | 617 NSRect rect = [self rectValue]; 619 [NSNumber numberWithFloat:rect.origin.x], 620 [NSNumber numberWithFloat:rect.origin.y], 621 [NSNumber numberWithFloat:rect.origin.x + rect.size.width], 622 [NSNumber numberWithFloat:rect.origin.y + rect.size.height], nil] aeDescriptorValue];
|
/openjdk7/jdk/src/share/classes/sun/swing/text/ |
H A D | TextComponentPrintable.java | 751 Rectangle rect; 755 rect = printShell.modelToView(i); 756 if (rect != null) { 757 int y = (int) rect.getY(); 758 int height = (int) rect.getHeight();
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | RepaintManager.java | 593 // just union the rect and bail. 798 Rectangle rect = tmpDirtyComponents.get(dirtyComponent); 806 rect); 809 rect.x,rect.y,rect.width, rect.height); 817 g.setClip(rect.x, rect.y, rect [all...] |
H A D | JList.java | 1268 Rectangle rect = null; 1272 rect = getCellBounds(index, index); 1279 (rect != null && rect.contains(p)) ? index : -1, 1292 if (SwingUtilities2.liesInHorizontal(rect, p, ltr, false) == TRAILING) { 1295 } else if (index == getModel().getSize() - 1 && p.y >= rect.y + rect.height) { 1299 if (SwingUtilities2.liesInVertical(rect, p, false) == TRAILING) { 1318 Section section = SwingUtilities2.liesInHorizontal(rect, p, ltr, true); 1323 } else if (index == getModel().getSize() - 1 && p.y >= rect [all...] |
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | AWTWindow.m | 239 frameRect:(NSRect)rect 245 NSRect contentRect = rect; //[NSWindow contentRectForFrameRect:rect styleMask:styleMask]; 329 CGRect rect; 330 CGRectMakeWithDictionaryRepresentation((CFDictionaryRef)[window objectForKey:(id)kCGWindowBounds], &rect); 331 if (CGRectContainsPoint(rect, cgMouseLocation)) { 931 NSRect rect = ConvertNSScreenRect(NULL, jrect); 932 [window constrainSize:&rect.size]; 934 [nsWindow setFrame:rect display:YES]; 939 [nsWindow setAcceptsMouseMovedEvents:NSPointInRect(mLocation, rect)]; [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Graphics2D.java | 805 * @param rect the area in device space to check for a hit 821 public abstract boolean hit(Rectangle rect, argument
|
/openjdk7/jdk/src/windows/native/sun/awt/splashscreen/ |
H A D | splashscreen_sys.c | 224 RECT rect; local 253 GetWindowRect(splash->hWnd, &rect); 255 ptDst.x = rect.left; 256 ptDst.y = rect.top;
|