Searched refs:gcBounds (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/test/java/awt/Toolkit/ScreenInsetsTest/
H A DScreenInsetsTest.java56 Rectangle gcBounds = gc.getBounds();
61 f.setBounds(gcBounds.x + 100, gcBounds.y + 100, 320, 240);
70 if (fBounds.x < gcBounds.x)
72 fBounds.width -= (gcBounds.x - fBounds.x) * 2; // width is decreased
73 fBounds.x = gcBounds.x;
75 if (fBounds.y < gcBounds.y)
77 fBounds.height -= (gcBounds.y - fBounds.y) * 2; // height is decreased
78 fBounds.y = gcBounds.y;
80 Insets expected = new Insets(fBounds.y - gcBounds
[all...]
/openjdk7/jdk/test/java/awt/Multiscreen/LocationRelativeToTest/
H A DLocationRelativeToTest.java72 Rectangle gcBounds = gc.getBounds();
74 f2.setBounds(gcBounds.x + 100, gcBounds.y + 100,
80 checkLocation(f, new Point(gcBounds.x + gcBounds.width / 2,
81 gcBounds.y + gcBounds.height / 2));
/openjdk7/jdk/src/share/classes/javax/print/
H A DServiceUI.java193 Rectangle gcBounds = (gc == null) ? GraphicsEnvironment.
200 x + gcBounds.x,
201 y + gcBounds.y,
207 x + gcBounds.x,
208 y + gcBounds.y,
219 gcBounds =
220 gcBounds.union(gs[j].getDefaultConfiguration().getBounds());
224 if (!gcBounds.contains(dlgBounds)) {
/openjdk7/jdk/test/javax/swing/JFrame/4962534/
H A Dbug4962534.java44 Rectangle gcBounds; field in class:bug4962534
102 gcBounds =
110 int multier = gcBounds.height / 2 - 10; //we will not go out the borders
112 robot.mouseMove(gcBounds.width / 2 - (int) (r.nextDouble() * multier), gcBounds.height / 2 - (int) (r.nextDouble() * multier));
201 if (newFrameLocation.x > gcBounds.width || newFrameLocation.x < 0
202 || newFrameLocation.y > gcBounds.height || newFrameLocation.y
/openjdk7/jdk/test/java/awt/Mouse/MaximizedFrameTest/
H A DMaximizedFrameTest.java44 Rectangle gcBounds; field in class:MaximizedFrameTest
91 gcBounds =
/openjdk7/jdk/src/share/classes/java/awt/
H A DWindow.java3212 Rectangle gcBounds = gc.getBounds();
3221 gcBounds = gc.getBounds();
3227 gcBounds = gc.getBounds();
3228 dx = gcBounds.x + (gcBounds.width - windowSize.width) / 2;
3229 dy = gcBounds.y + (gcBounds.height - windowSize.height) / 2;
3232 gcBounds = gc.getBounds();
3239 if (dy + windowSize.height > gcBounds.y + gcBounds
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaComboBoxPopup.java211 final Rectangle gcBounds = element0.getBounds();
212 if (gcBounds.contains(p)) return gcBounds;
221 final Rectangle gcBounds = element0.getBounds();
222 if (gcBounds.intersects(comboBoxBounds)) return gcBounds;

Completed in 73 milliseconds