/openjdk10/jdk/test/java/awt/Choice/ChoiceHiDpi/ |
H A D | ChoiceTest.java | 40 Choice choice = new Choice(); 42 Stream.of(new String[]{"item 1", "item 2", "item 3"}).forEach(choice::add); 43 frame.add(choice); 47 Font font = choice.getFont(); 49 int height = choice.getBounds().height;
|
/openjdk10/jdk/test/java/awt/Choice/PopupPosTest/ |
H A D | PopupPosTest.java | 28 @author andrei.dmitriev area=awt.choice 55 Choice choice = new Choice(); field in class:TestFrame 62 choice.addItem("Item Item Item " + i); 64 choice.addItemListener(this); 66 choice.select(INITIAL_ITEM); 67 choice.setFont(new Font("Courier", Font.BOLD + Font.ITALIC, 100)); 69 add(choice, BorderLayout.CENTER); 78 // fix for 6175418. When we take "choice.getHeight()/2" 81 // smaller value choice.getHeight()/i. 4 is sufficient. 82 Point pt = choice [all...] |
/openjdk10/jdk/test/java/awt/Choice/ItemStateChangeTest/ |
H A D | ItemStateChangeTest.java | 29 @author Oleg Pekhovskiy: area=awt-choice 71 final Choice choice = new Choice(); 72 choice.add("A"); 73 choice.add("B"); 74 choice.addItemListener(new ItemListener() { 81 add(choice); 87 int y = chooseB(choice, robot, 16); 90 choice.select(0); 95 chooseB(choice, robot, y); 110 final int chooseB(Choice choice, Robo argument [all...] |
/openjdk10/jdk/test/java/awt/Choice/RemoveAllShrinkTest/ |
H A D | RemoveAllShrinkTest.java | 40 Choice choice = new Choice(); 43 choice.addItem("Item " + i); 46 f.add(choice, BorderLayout.NORTH); 55 choice.removeAll(); 65 Point pt = choice.getLocationOnScreen(); 66 robot.mouseMove(pt.x + choice.getWidth() - choice.getHeight() / 2, 67 pt.y + choice.getHeight() / 2);
|
/openjdk10/jdk/test/java/awt/Choice/GrabLockTest/ |
H A D | GrabLockTest.java | 43 Choice choice = new Choice(); 44 choice.addItem("Fist Item"); 45 choice.addItem("Second Item"); 46 add(choice,BorderLayout.NORTH); 62 Point pt = choice.getLocationOnScreen(); 63 robot.mouseMove(pt.x + choice.getWidth() - choice.getHeight()/2, 64 pt.y + choice.getHeight()/2); 67 robot.mouseMove(pt.x + choice.getWidth()/2, 68 pt.y + choice [all...] |
/openjdk10/jdk/test/java/awt/Choice/ChoiceMouseWheelTest/ |
H A D | ChoiceMouseWheelTest.java | 30 @author Oleg Pekhovskiy: area=awt-choice 54 Choice choice = new Choice(); 64 choice.add(i.toString()); 67 choice.addItemListener(new ItemListener() { 72 choice.addMouseWheelListener(new MouseWheelListener() { 85 add(choice); 95 Point pt = choice.getLocationOnScreen(); 96 Dimension size = choice.getSize(); 100 // Test mouse wheel over the choice 103 // mouse wheel doesn't work for the choice o [all...] |
/openjdk10/jdk/test/java/awt/Choice/ChoiceLocationTest/ |
H A D | ChoiceLocationTest.java | 28 * @summary The choice positioned in the top of applet when clicking the choice. 55 private static volatile Choice choice; field in class:ChoiceLocationTest 64 Util.clickOnComp(choice, r); 66 choice.addItemListener(event -> {throw new RuntimeException("Failed: the choice popup is in the wrong place");}); 68 // Test: click in several places on the top of the frame an ensure there' no choice there 89 choice = new Choice(); 90 Stream.of(choiceItems).forEach(choice::add); 91 frame.add(choice); [all...] |
/openjdk10/jdk/test/java/awt/Choice/NonFocusablePopupMenuTest/ |
H A D | NonFocusablePopupMenuTest.java | 27 @summary regression: Selection the item on the choice don't work properly in vista ultimate. 28 @author Dmitry Cherepanov area=awt.choice 40 Choice choice = new Choice(); 41 choice.add("111"); 42 choice.add("222"); 43 choice.add("333"); 44 choice.add("444"); 45 choice.setFocusable(false); 47 this.add(choice); 53 "1) The applet contains a non-focusable choice, ", [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/ |
H A D | EliminateRedundantInitializationPhaseTest.java | 61 public static void assignFieldsConditionally(boolean choice) { argument 63 if (choice) { 77 public static void assignFieldsConditionallySubclassDominates(boolean choice) { argument 79 if (choice) { 92 public static void assignFieldsConditionallySubclassPostdominates(boolean choice) { argument 94 if (choice) { 102 public static void assignFieldsConditionallyMixed(boolean choice) { argument 104 if (choice) { 119 public static void assignFieldsInBranches(boolean choice) { argument 120 if (choice) { 128 assignFieldsInBranchesMixed(boolean choice) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/micro/ |
H A D | BigParamsAlignment.java | 79 private static int testA(int choice, int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8) { argument 80 switch (choice) { 103 private static int testB(int choice, int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9) { argument 104 switch (choice) { 129 private static int testC(int choice, int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10) { argument 130 switch (choice) { 157 private static int testD(int choice, int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9, int p10, int p11) { argument 158 switch (choice) {
|
H A D | BigIntParams02.java | 34 public static int test(int choice, int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8) { argument 35 switch (choice) {
|
H A D | BigByteParams01.java | 67 private static int testA(int choice, byte p0, byte p1, byte p2, byte p3, byte p4, byte p5, byte p6, byte p7, byte p8) { argument 68 switch (choice) { 91 private static long testB(int choice, long p0, long p1, long p2, long p3, long p4, long p5, long p6, long p7, long p8) { argument 92 switch (choice) {
|
H A D | BigFloatParams01.java | 67 private static float testA(int choice, float p0, float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8) { argument 68 switch (choice) { 91 private static double testB(int choice, double p0, double p1, double p2, double p3, double p4, double p5, double p6, double p7, double p8) { argument 92 switch (choice) {
|
H A D | BigIntParams01.java | 67 private static int testA(int choice, int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8) { argument 68 switch (choice) { 91 private static long testB(int choice, long p0, long p1, long p2, long p3, long p4, long p5, long p6, long p7, long p8) { argument 92 switch (choice) {
|
H A D | BigShortParams01.java | 67 private static int testA(int choice, short p0, short p1, short p2, short p3, short p4, short p5, short p6, short p7, short p8) { argument 68 switch (choice) { 91 private static long testB(int choice, long p0, long p1, long p2, long p3, long p4, long p5, long p6, long p7, long p8) { argument 92 switch (choice) {
|
/openjdk10/jdk/test/java/awt/Choice/ChoicePopupLocation/ |
H A D | ChoicePopupLocation.java | 86 Choice choice = new Choice(); 88 choice.add("Long-long-long-long-long text in the item-" + i); 94 frame.add(choice); 100 openPopup(choice); 106 private static void openPopup(final Choice choice) throws Exception { argument 111 Point pt = choice.getLocationOnScreen(); 112 robot.mouseMove(pt.x + choice.getWidth() / 2, 113 pt.y + choice.getHeight() / 2); 116 int x = pt.x + choice.getWidth() / 2; 117 int y = pt.y + choice [all...] |
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/schemagen/xmlschema/ |
H A D | TypeDefParticle.java | 48 public ExplicitGroup choice(); method in interface:TypeDefParticle
|
H A D | ContentModelContainer.java | 52 ExplicitGroup choice(); method in interface:ContentModelContainer
|
H A D | NestedParticle.java | 51 public ExplicitGroup choice(); method in interface:NestedParticle
|
/openjdk10/jdk/test/java/awt/Frame/FramesGC/ |
H A D | FramesGC.java | 97 Choice choice=new Choice(); 98 choice.add("One"); 99 choice.add("Two"); 100 choice.add("Three"); 101 choice.add("Four"); 102 choice.add("Five"); 123 choice.setCursor(new Cursor(Cursor.WAIT_CURSOR)); 144 frame.add(choice);
|
/openjdk10/jdk/test/java/awt/Frame/DisposeParentGC/ |
H A D | DisposeParentGC.java | 105 Choice choice = new Choice(); 106 choice.add("One"); 107 choice.add("Two"); 108 choice.add("Three"); 109 choice.add("Four"); 110 choice.add("Five"); 131 choice.setCursor(new Cursor(Cursor.WAIT_CURSOR)); 152 child.add(choice);
|
/openjdk10/nashorn/samples/ |
H A D | autoimports.js | 88 var choice = parseInt(readLine()); 89 if (isNaN(choice) || choice < 1 || choice > val.size()) { 90 print("invalid choice: " + choice); 93 return val.get(choice - 1);
|
/openjdk10/jdk/src/java.base/share/classes/sun/util/locale/provider/ |
H A D | NumberFormatProviderImpl.java | 171 int choice) { 179 int entry = (choice == INTEGERSTYLE) ? NUMBERSTYLE : choice; 182 if (choice == INTEGERSTYLE) { 186 } else if (choice == CURRENCYSTYLE) { 170 getInstance(Locale locale, int choice) argument
|
/openjdk10/jdk/test/java/awt/List/MouseDraggedOutCauseScrollingTest/ |
H A D | MouseDraggedOutCauseScrollingTest.java | 37 Choice choice; field in class:MouseDraggedOutCauseScrollingTest 45 choice = new Choice(); 49 choice.add("Choice"); 51 choice.add(""+i); 62 this.add(choice); 77 "1.1) Click on the choice", 78 "1.2) Press the left button of the mouse and keep on any item of the choice, for example 5",
|
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/ |
H A D | LWChoicePeer.java | 64 final Choice choice = getTarget(); 67 final int count = choice.getItemCount(); 69 combo.addItem(choice.getItem(i)); 71 select(choice.getSelectedIndex());
|