/openjdk10/jdk/test/java/awt/datatransfer/DragUnicodeBetweenJVMTest/ |
H A D | AbsoluteComponentCenterCalculator.java | 29 return (int)component.getLocationOnScreen().getX()+(component.getWidth()/2); 32 return (int)component.getLocationOnScreen().getY()+(component.getHeight()/2);
|
/openjdk10/jdk/test/java/awt/datatransfer/MissedHtmlAndRtfBug/ |
H A D | AbsoluteComponentCenterCalculator.java | 31 return (int) component.getLocationOnScreen().getX() + (component.getWidth() / 2); 35 return (int) component.getLocationOnScreen().getY() + (component.getHeight() / 2);
|
/openjdk10/jdk/test/java/awt/Window/ChangeWindowResizabilty/ |
H A D | ChangeWindowResizabiltyTest.java | 53 Point frameLoc = dialog.getLocationOnScreen(); 54 Point contentLoc = panel.getLocationOnScreen(); 63 Point l = dialog.getLocationOnScreen(); 70 l = panel.getLocationOnScreen(); 77 if (panel.getLocationOnScreen().y < 78 dialog.getLocationOnScreen().y + dialog.getInsets().top) { 88 l = dialog.getLocationOnScreen(); 95 l = panel.getLocationOnScreen(); 101 if (panel.getLocationOnScreen().y < 102 dialog.getLocationOnScreen() [all...] |
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/drivers/scrolling/ |
H A D | JSplitPaneDriver.java | 91 currentPosition = (int) (divOper.getLocationOnScreen().getX() 92 - oper.getLocationOnScreen().getX()); 94 currentPosition = (int) (divOper.getLocationOnScreen().getY() 95 - oper.getLocationOnScreen().getY()); 103 ? (int) (divOper.getLocationOnScreen().getX() 104 - oper.getLocationOnScreen().getX()) 105 : (int) (divOper.getLocationOnScreen().getY() 106 - oper.getLocationOnScreen().getY()))) { 115 ? (int) (divOper.getLocationOnScreen().getX() 116 - oper.getLocationOnScreen() [all...] |
/openjdk10/jdk/test/javax/swing/reliability/ |
H A D | TaskZoomJFrameRepaint.java | 62 buttonOrigin = gui.jbutton.getLocationOnScreen(); 63 textareaOrigin = gui.jtextarea.getLocationOnScreen(); 99 newbuttonOrigin = gui.jbutton.getLocationOnScreen(); 100 newtextareaOrigin = gui.jtextarea.getLocationOnScreen(); 101 newbuttonCenter = gui.jbutton.getLocationOnScreen(); 103 newtextareaCenter = gui.jtextarea.getLocationOnScreen();
|
H A D | TaskUndJFrameProperties.java | 62 Point button1Origin = gui.jbutton1.getLocationOnScreen(); 63 Point button1Center = gui.jbutton1.getLocationOnScreen(); 65 Point button2Origin = gui.jbutton2.getLocationOnScreen(); 66 Point button2Center = gui.jbutton2.getLocationOnScreen();
|
/openjdk10/jdk/test/java/awt/Window/SetWindowLocationByPlatformTest/ |
H A D | SetWindowLocationByPlatformTest.java | 55 Point point1 = frame1.getLocationOnScreen(); 56 Point point2 = frame2.getLocationOnScreen();
|
/openjdk10/jdk/test/java/awt/event/MouseEvent/EventTimeInFuture/ |
H A D | EventTimeInFuture.java | 57 Point start = new Point(frame.getLocationOnScreen().x - frame.getWidth()/5, 58 frame.getLocationOnScreen().y - frame.getHeight()/5); 59 Point end = new Point(frame.getLocationOnScreen().x + frame.getWidth() * 6 / 5, 60 frame.getLocationOnScreen().y + frame.getHeight() * 6 / 5); 66 start = new Point(frame.getLocationOnScreen().x + frame.getWidth()/2, 67 frame.getLocationOnScreen().y + frame.getHeight()/2); 68 end = new Point(frame.getLocationOnScreen().x + frame.getWidth() * 6 / 5, 69 frame.getLocationOnScreen().y + frame.getHeight() * 6 / 5);
|
/openjdk10/jdk/src/java.desktop/unix/native/common/awt/ |
H A D | awt_Component.h | 43 jmethodID getLocationOnScreen; member in struct:ComponentIDs
|
/openjdk10/jdk/test/java/awt/List/ScrollOutside/ |
H A D | ScrollOut.java | 66 Point from = new Point(list.getLocationOnScreen().x + list.getWidth()/2, 67 list.getLocationOnScreen().y + list.getHeight()/2); 68 Point to = new Point(list.getLocationOnScreen().x - 30, 78 list.getLocationOnScreen().y - 50);
|
/openjdk10/jdk/test/javax/swing/dnd/7171812/ |
H A D | bug7171812.java | 59 robot.mouseMove(scrollPane.getLocationOnScreen().x + 5, scrollPane.getLocationOnScreen().y + 5); 62 robot.mouseMove(scrollPane.getLocationOnScreen().x+5, scrollPane.getLocationOnScreen().y+offset); 65 robot.mouseMove(scrollPane.getLocationOnScreen().x+offset, scrollPane.getLocationOnScreen().y+scrollPane.getHeight()-20);
|
/openjdk10/jdk/test/java/awt/event/MouseEvent/SpuriousExitEnter/ |
H A D | SpuriousExitEnter_3.java | 79 Point centerA = new Point(comp.getLocationOnScreen().x + comp.getWidth() / 2, 80 comp.getLocationOnScreen().y + comp.getHeight() / 2); 81 Point centerB = new Point(w.getLocationOnScreen().x + w.getWidth() / 2, 82 w.getLocationOnScreen().y + w.getHeight() / 2); 84 Point centerC_1 = new Point(w.getLocationOnScreen().x + w.getWidth() + 20, //go right off the border 85 comp.getLocationOnScreen().y + comp.getHeight() / 2); //don't cross the A area! 88 Point centerC_2 = new Point(w.getLocationOnScreen().x + w.getWidth() / 2, 89 w.getLocationOnScreen().y + w.getHeight() + 20); //go below the bottom border
|
/openjdk10/jdk/test/java/awt/dnd/DragInterceptorAppletTest/ |
H A D | SourceFrame.java | 58 return (int)getLocationOnScreen().getX()+(getWidth()/2); 62 return (int)getLocationOnScreen().getY()+ (getHeight()/2);
|
/openjdk10/jdk/test/javax/swing/JWindow/ShapedAndTranslucentWindows/ |
H A D | SetShapeAndClickSwing.java | 118 Point wls = window.getLocationOnScreen(); 121 ls = north.getLocationOnScreen(); 124 ls = center.getLocationOnScreen(); 127 ls = south.getLocationOnScreen(); 130 ls = center.getLocationOnScreen(); 133 ls = north.getLocationOnScreen(); 140 ls = center.getLocationOnScreen(); 147 ls = south.getLocationOnScreen();
|
H A D | TranslucentWindowClickSwing.java | 91 ls = north.getLocationOnScreen(); 94 ls = center.getLocationOnScreen(); 97 ls = center.getLocationOnScreen(); 100 ls = south.getLocationOnScreen();
|
/openjdk10/jdk/test/java/awt/Window/ShapedAndTranslucentWindows/ |
H A D | ShapedTranslucentWindowClick.java | 106 robot.mouseMove(background.getLocationOnScreen().x+50, background.getLocationOnScreen().y+50); 110 Point wls = window.getLocationOnScreen(); 116 ls = north.getLocationOnScreen(); 119 ls = center.getLocationOnScreen(); 122 ls = center.getLocationOnScreen(); 125 ls = south.getLocationOnScreen(); 128 ls = north.getLocationOnScreen(); 135 ls = center.getLocationOnScreen(); 142 ls = south.getLocationOnScreen(); [all...] |
H A D | TranslucentWindowClick.java | 113 ls = north.getLocationOnScreen(); 116 ls = center.getLocationOnScreen(); 119 ls = center.getLocationOnScreen(); 122 ls = south.getLocationOnScreen();
|
/openjdk10/jdk/test/java/awt/image/multiresolution/ |
H A D | MenuMultiresolutionIconTest.java | 145 Point p = getLocationOnScreen(); 150 p = popupItem.getLocationOnScreen(); 154 p = menu.getLocationOnScreen(); 158 p = menu.getItem(0).getLocationOnScreen(); 162 p = menu.getItem(1).getLocationOnScreen(); 166 p = menu.getItem(2).getLocationOnScreen();
|
/openjdk10/jdk/test/java/awt/MouseInfo/ |
H A D | ComponentMousePositionTest.java | 69 Point p = button.getLocationOnScreen(); 94 robot.mouseMove(panel.getLocationOnScreen().x 96 panel.getLocationOnScreen().y
|
/openjdk10/jdk/test/java/awt/event/MouseEvent/MouseWheelEventAbsoluteCoordsTest/ |
H A D | MouseWheelEventAbsoluteCoordsTest.java | 39 // getLocationOnScreen(), get(X|Y), getPoint(). 41 // getLocationOnScreen(), get(X|Y), getPoint() . 80 mousePositionOnScreen = new Point(frame.getLocationOnScreen().x + mousePosition.x, 81 frame.getLocationOnScreen().y + mousePosition.y); 126 !evt.getLocationOnScreen().equals( mousePositionOnScreen ) ){
|
/openjdk10/jdk/test/java/awt/event/MouseEvent/FrameMouseEventAbsoluteCoordsTest/ |
H A D | FrameMouseEventAbsoluteCoordsTest.java | 69 mousePositionAbsolute = new Point(button.getLocationOnScreen().x + button.getWidth()/2, 70 button.getLocationOnScreen().y + button.getHeight()/2); 102 !evt.getLocationOnScreen().equals( mousePositionAbsolute ) ){ 103 throw new RuntimeException("get(X|Y)OnScreen() or getLocationOnScreen() works incorrectly: expected"+ 110 throw new RuntimeException("get(X|Y)() or getLocationOnScreen() works incorrectly: expected"+
|
/openjdk10/jdk/test/javax/swing/plaf/synth/7158712/ |
H A D | bug7158712.java | 90 return comboBox.getLocationOnScreen(); 103 Point popupPoint = popup.getLocationOnScreen(); 104 Point comboBoxPoint = comboBox.getLocationOnScreen();
|
/openjdk10/jdk/src/java.desktop/windows/classes/sun/awt/windows/ |
H A D | WGlobalCursorManager.java | 60 protected native Point getLocationOnScreen(Component com); method in class:WGlobalCursorManager
|
/openjdk10/jdk/test/java/awt/Mouse/MouseModifiersUnitTest/ |
H A D | ExtraButtonDrag.java | 88 Point centerFrame = new Point(frame.getLocationOnScreen().x + frame.getWidth()/2, frame.getLocationOnScreen().y + frame.getHeight()/2); 89 Point outboundsFrame = new Point(frame.getLocationOnScreen().x + frame.getWidth()*3/2, frame.getLocationOnScreen().y + frame.getHeight()/2);
|
/openjdk10/jdk/test/java/awt/event/MouseEvent/MenuDragMouseEventAbsoluteCoordsTest/ |
H A D | MenuDragMouseEventAbsoluteCoordsTest.java | 42 // getLocationOnScreen(), get(X|Y), getPoint(). 44 // getLocationOnScreen(), get(X|Y), getPoint() . 79 mousePositionOnScreen = new Point(frame.getLocationOnScreen().x + mousePosition.x, 80 frame.getLocationOnScreen().y + mousePosition.y); 135 !evt.getLocationOnScreen().equals( mousePositionOnScreen ) ){ 136 System.out.println("evt.location = "+evt.getLocationOnScreen());
|