Searched refs:checkClick (Results 1 - 8 of 8) sorted by relevance

/openjdk9/jdk/test/javax/swing/JWindow/ShapedAndTranslucentWindows/
H A DTranslucentWindowClickSwing.java92 checkClick(ls.x + north.getWidth() / 3, ls.y + north.getHeight() / 2, 0);
95 checkClick(ls.x + center.getWidth() / 4, ls.y + center.getHeight() / 4, 1);
98 checkClick(ls.x + center.getWidth() * 3 / 4, ls.y + center.getHeight() * 3 / 4, 1);
101 checkClick(ls.x + south.getWidth() * 2 / 3, ls.y + south.getHeight() / 2, 2);
H A DSetShapeAndClickSwing.java122 checkClick(ls.x + north.getWidth() / 3, ls.y + north.getHeight() / 2, 1);
125 checkClick(ls.x + center.getWidth() * 3 / 4, ls.y + center.getHeight() * 3 / 4, 2);
128 checkClick(ls.x + south.getWidth() * 2 / 3, ls.y + south.getHeight() / 2, 3);
131 checkClick(ls.x + center.getWidth() / 4, ls.y + center.getHeight() / 4, 2);
135 checkClick(wls.x + 200 - (y - wls.y), y, 0);
142 checkClick(wls.x + 200 - (y - wls.y), y, 0);
149 checkClick(wls.x + 200 - (y - wls.y), y, 0);
H A DCommon.java400 void checkClick(int x, int y, int flag) throws Exception { method in class:Common
/openjdk9/jdk/test/java/awt/Window/ShapedAndTranslucentWindows/
H A DTranslucentWindowClick.java114 checkClick(ls.x + north.getWidth() / 3, ls.y + north.getHeight() / 2, 0);
117 checkClick(ls.x + center.getWidth() / 4, ls.y + center.getHeight() / 4, 1);
120 checkClick(ls.x + center.getWidth() * 3 / 4, ls.y + center.getHeight() * 3 / 4, 1);
123 checkClick(ls.x + south.getWidth() * 2 / 3, ls.y + south.getHeight() / 2, 2);
136 void checkClick(int x, int y, int flag) throws Exception { method in class:TranslucentWindowClick
H A DFocusAWTTest.java210 checkClick(xb, yb, "backgroundWindowGotFocus");
211 checkClick(xw, yw, "foregroundWindowGotFocus");
212 checkClick(xb, yb, "foregroundWindowLostFocus");
213 checkClick(xw, yw, "backgroundWindowLostFocus");
216 checkClick(xb, yb, "backgroundWindowActivated");
217 checkClick(xw, yw, "foregroundWindowActivated");
218 checkClick(xb, yb, "foregroundWindowDeactivated");
219 checkClick(xw, yw, "backgroundWindowDeactivated");
224 private void checkClick(int x, int y, String flag) throws Exception { method in class:FocusAWTTest
H A DSetShapeAndClick.java148 checkClick(ls.x + north.getWidth() / 3, ls.y + north.getHeight() / 2, 1);
151 checkClick(ls.x + center.getWidth() * 3 / 4, ls.y + center.getHeight() * 3 / 4, 2);
154 checkClick(ls.x + south.getWidth() * 2 / 3, ls.y + south.getHeight() / 2, 3);
157 checkClick(ls.x + center.getWidth() / 4, ls.y + center.getHeight() / 4, 2);
161 checkClick(wls.x + 200 - (y - wls.y), y, 0);
168 checkClick(wls.x + 200 - (y - wls.y), y, 0);
175 checkClick(wls.x + 200 - (y - wls.y), y, 0);
200 void checkClick(int x, int y, int flag) throws Exception { method in class:SetShapeAndClick
H A DSetShapeDynamicallyAndClick.java146 checkClick(ls.x + north.getWidth() / 3, ls.y + north.getHeight() / 2, 1);
149 checkClick(ls.x + center.getWidth() * 3 / 4, ls.y + center.getHeight() * 3 / 4, 2);
152 checkClick(ls.x + south.getWidth() * 2 / 3, ls.y + south.getHeight() / 2, 3);
155 checkClick(ls.x + center.getWidth() / 4, ls.y + center.getHeight() / 4, 2);
159 checkClick(wls.x + 200 - (y - wls.y), y, 0);
166 checkClick(wls.x + 200 - (y - wls.y), y, 0);
173 checkClick(wls.x + 200 - (y - wls.y), y, 0);
198 void checkClick(int x, int y, int flag) throws Exception { method in class:SetShapeDynamicallyAndClick
H A DTranslucentChoice.java128 checkClick(ls.x + window.getWidth() / 2, ls.y - 5, 0);
139 checkClick(ls.x + south.getWidth() / 2, ls.y + south.getHeight() / 2, 1);
170 void checkClick(int x, int y, int flag) throws Exception { method in class:TranslucentChoice

Completed in 92 milliseconds