/openjdk9/jdk/test/javax/swing/ToolTipManager/7123767/ |
H A D | bug7123767.java | 148 Rectangle rect = config.getBounds(); 151 adjustInsets(rect, insets); 152 if (rect.contains(pt)) { return config; } 198 Rectangle rect = new Rectangle(); 206 rect.add(localRect); 209 setBounds(rect); 231 Rectangle rect = config.getBounds(); 233 adjustInsets(rect, insets); 236 glide(rect.x + rect 274 adjustInsets(Rectangle rect, final Insets insets) argument [all...] |
/openjdk9/jdk/src/java.desktop/macosx/native/libawt_lwawt/awt/ |
H A D | GeomUtilities.h | 29 jobject CGToJavaRect(JNIEnv *env, CGRect rect); 30 CGRect JavaToCGRect(JNIEnv *env, jobject rect); 32 jobject NSToJavaRect(JNIEnv *env, NSRect rect); 33 NSRect JavaToNSRect(JNIEnv *env, jobject rect); 42 NSRect ConvertNSScreenRect(JNIEnv *env, NSRect rect);
|
H A D | AWTSurfaceLayers.h | 47 - (void) setBounds: (CGRect)rect;
|
/openjdk9/jdk/src/java.desktop/share/classes/sun/awt/ |
H A D | RepaintArea.java | 142 Rectangle rect = paintRects[i]; 143 if (rect != null) { 144 if (rect.x < x) { 145 rect.width -= (x - rect.x); 146 rect.x = x; 148 if (rect.y < y) { 149 rect.height -= (y - rect.y); 150 rect 272 subtract(Rectangle rect, Rectangle subtr) argument [all...] |
/openjdk9/jdk/test/java/awt/print/PrinterJob/ |
H A D | PrintCrashTest.java | 52 Rectangle rect = shape.getBounds(); 55 .getDefaultConfiguration().createCompatibleImage(rect.width, rect.height, Transparency.BITMASK); 56 graphics.drawImage(image, rect.x, rect.y, rect.width, rect.height, null);
|
/openjdk9/jdk/test/java/awt/JAWT/ |
H A D | myfile.cpp | 85 RECT rect; local 86 rect.left = 5; 87 rect.top = 5; 88 rect.right = 95; 89 rect.bottom = 95; 90 ::FillRect(dsi_win->hdc, &rect, hbrush);
|
/openjdk9/jdk/test/java/awt/Window/8159168/ |
H A D | SetShapeTest.java | 51 Rectangle rect = window.getBounds(); 52 rect.x += rect.width - 10; 53 rect.y += rect.height - 10; 55 Color c = robot.getPixelColor(rect.x, rect.y);
|
/openjdk9/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/drivers/lists/ |
H A D | JTabMouseDriver.java | 60 Rectangle rect = ((JTabbedPaneOperator) oper). 66 (int) (rect.getX() + rect.getWidth() / 2), 67 (int) (rect.getY() + rect.getHeight() / 2),
|
H A D | JListMouseDriver.java | 90 Rectangle rect = oper.getCellBounds(index, index); 93 rect.x + rect.width / 2, 94 rect.y + rect.height / 2,
|
/openjdk9/jdk/src/java.desktop/macosx/classes/sun/java2d/ |
H A D | IntegerNIORaster.java | 72 public WritableRaster createCompatibleWritableRaster(Rectangle rect) { argument 73 if (rect == null) { 76 return createCompatibleWritableRaster(rect.x, rect.y, rect.width, rect.height);
|
/openjdk9/jdk/src/java.desktop/macosx/classes/com/apple/laf/ |
H A D | AquaTabbedPaneTabState.java | 239 final Rectangle rect = rects[i]; 240 rect.x = Short.MAX_VALUE; 241 rect.y = Short.MAX_VALUE; 273 for (final Rectangle rect : rects) { 274 rect.x = x; 275 x += rect.width; 279 final Rectangle rect = rects[i]; 280 rect.x = x; 281 x += rect.width; 295 for (final Rectangle rect [all...] |
/openjdk9/jdk/test/java/awt/Robot/HiDPIMouseClick/ |
H A D | HiDPIRobotMouseClick.java | 72 Rectangle rect = frame.getBounds(); 73 rect.setLocation(frame.getLocationOnScreen()); 75 int x = (int) rect.getCenterX(); 76 int y = (int) rect.getCenterY();
|
/openjdk9/jdk/test/java/awt/Frame/SetMaximizedBounds/ |
H A D | MaximizedMovedWindow.java | 111 static Rectangle getSmallerRectangle(Rectangle rect) { argument 113 rect.x + rect.width / 6, 114 rect.y + rect.height / 6, 115 rect.width / 3, 116 rect.height / 3);
|
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/tiff/ |
H A D | TIFFRenderedImage.java | 213 public Raster getData(Rectangle rect) { argument 214 return read(rect); 219 public synchronized WritableRaster read(Rectangle rect) { argument 221 new Rectangle(subsampleX*rect.x, 222 subsampleY*rect.y, 223 subsampleX*rect.width, 224 subsampleY*rect.height) : 225 rect); 232 rect.x, rect [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/font/ |
H A D | GlyphVector.java | 272 Rectangle2D rect = getVisualBounds(); 273 int l = (int)Math.floor(rect.getX() + x); 274 int t = (int)Math.floor(rect.getY() + y); 275 int r = (int)Math.ceil(rect.getMaxX() + x); 276 int b = (int)Math.ceil(rect.getMaxY() + y); 560 Rectangle2D rect = getGlyphVisualBounds(index).getBounds2D(); 561 int l = (int)Math.floor(rect.getX() + x); 562 int t = (int)Math.floor(rect.getY() + y); 563 int r = (int)Math.ceil(rect.getMaxX() + x); 564 int b = (int)Math.ceil(rect [all...] |
/openjdk9/jdk/test/javax/swing/JTable/7055065/ |
H A D | bug7055065.java | 86 Rectangle rect = table.getCellRect(row, column, false); 87 Point point = new Point(rect.x + rect.width / 2, rect.y 88 + rect.height / 2); 104 Rectangle rect = table.getCellRect(0, column, false); 106 Point point = new Point(rect.x + rect.width / 2, rect.y
|
/openjdk9/jdk/test/javax/swing/LookAndFeel/6897701/ |
H A D | JMenuItemsTest.java | 81 Rectangle rect = disabledMenu.getBounds(); 82 BufferedImage image = new BufferedImage(rect.width, rect.height, 100 Rectangle rect = disabledMenuItem.getBounds(); 101 BufferedImage image = new BufferedImage(rect.width, rect.height,
|
/openjdk9/jdk/src/java.desktop/windows/native/libawt/windows/ |
H A D | awt_Button.cpp | 175 RECT rect; local 176 ::GetClientRect(GetHWnd(), &rect); local 178 if (::PtInRect(&rect, p)) { 207 RECT rect = drawInfo.rcItem; local 216 ::FillRect(hDC, &rect, GetBackgroundBrush()); 218 ::DrawEdge(hDC, &rect, edgeType, BF_RECT | BF_SOFT); 230 int x = (rect.left + rect.right-size.cx) / 2 + adjust; 231 int y = (rect.top + rect [all...] |
H A D | awt_Checkbox.cpp | 156 RECT rect; local 157 ::GetClientRect(GetHWnd(), &rect); local 159 if (::PtInRect(&rect, p) && button == LEFT_BUTTON && m_fLButtonDowned) { 220 RECT rect = drawInfo.rcItem; local 244 VERIFY(::FillRect (hDC, &rect, GetBackgroundBrush())); 251 boxRect.left = (GetRTL()) ? rect.right - checkSize : rect.left; 252 boxRect.top = (rect.bottom - rect.top - checkSize)/2; 262 rect 478 RECT rect; local [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/ |
H A D | SynthTableUI.java | 382 Rectangle rect; 384 rect = getHDropLineRect(loc); 385 if (rect != null) { 386 int x = rect.x; 387 int w = rect.width; 389 extendRect(rect, true); 391 g.fillRect(rect.x, rect.y, rect.width, rect 475 extendRect(Rectangle rect, boolean horizontal) argument [all...] |
/openjdk9/jdk/test/javax/swing/text/CSSBorder/6796710/ |
H A D | bug6796710.java | 124 Rectangle rect = pnBottom.getBounds(); 126 Util.convertRectToScreen(rect, pnBottom.getParent()); 128 return robot.createScreenCapture(rect);
|
/openjdk9/jdk/test/java/awt/Window/WindowResizingOnDPIChanging/ |
H A D | WindowResizingOnSetLocationTest.java | 130 Rectangle rect = getCenterRect(screenBounds[screen2]); 131 frame = new TestFrame(gc, rect); 235 private static Rectangle getCenterRect(Rectangle rect) { argument 236 int w = rect.width / 2; 237 int h = rect.height / 2; 238 int x = rect.x + w / 2; 239 int y = rect.y + h / 2; 246 Rectangle rect = screenBounds[0]; 248 rect = rect 298 TestFrame(GraphicsConfiguration gc, Rectangle rect) argument [all...] |
/openjdk9/jdk/test/javax/swing/text/DefaultEditorKit/4278839/ |
H A D | bug4278839.java | 125 Rectangle rect = result[0]; 127 robo.mouseMove(rect.x + rect.width / 2, rect.y + rect.width / 2);
|
/openjdk9/jdk/test/javax/swing/JTree/8004298/ |
H A D | bug8004298.java | 72 Rectangle rect = tree.getRowBounds(2); 73 Point p = new Point(rect.x + rect.width / 2, rect.y + rect.height / 2);
|
/openjdk9/jdk/test/javax/swing/JSlider/6348946/ |
H A D | bug6348946.java | 84 Rectangle rect = getPanelRectangle(); 86 double clickX = rect.getX() + rect.getWidth() / 4; 87 double clickY = rect.getY() + rect.getHeight() / 2;
|