Searched refs:WIDTH (Results 1 - 25 of 56) sorted by relevance

123

/openjdk10/jdk/test/javax/swing/plaf/nimbus/
H A DTest6741426.java39 static final int WIDTH = 160; field in class:Test6741426
47 new BufferedImage(WIDTH, HEIGHT, BufferedImage.TYPE_INT_ARGB);
48 tf.setSize(WIDTH, HEIGHT);
/openjdk10/nashorn/test/script/jfx/
H A Dflyingimage.js34 var WIDTH = 800; variable
36 var canvas = new Canvas(WIDTH, HEIGHT);
47 gc.fillRect(0, 0, WIDTH, HEIGHT);
50 gc.strokeRect(5, 5, WIDTH - 10, HEIGHT - 10);
57 gc.translate((0.5 + Math.sin(t * sp0 + h * 0.1) / 3) * WIDTH, 25 + (HEIGHT * 3 / 4 - 40) * (yh * yh));
H A Dspread.js34 var WIDTH = 800; variable
36 var canvas = new Canvas(WIDTH, HEIGHT);
52 var min_width = 1; // minimum WIDTH for branch, after which they are discontinued
122 if (prefs.wrap) wrap_branch(branch, WIDTH, HEIGHT);
132 paper.fillRect(0, 0, WIDTH, HEIGHT);
140 create_tree(branches, start_width, get_new_tree_center(WIDTH, HEIGHT), branch_count);
161 function wrap_branch(branch, WIDTH, HEIGHT) {
162 branch.x = positive_mod(branch.x, WIDTH);
198 paper.fillRect(0, 0, WIDTH, HEIGHT);
H A Dkaleidoscope.js34 var WIDTH = 800; variable
36 var canvas = new Canvas(WIDTH, HEIGHT);
65 radius=Math.round((WIDTH+HEIGHT)/8);
67 p_x=Math.round(WIDTH/2);
/openjdk10/jdk/test/com/sun/java/swing/plaf/gtk/
H A DTest6635110.java39 static final int WIDTH = 160; field in class:Test6635110
42 new BufferedImage(WIDTH, HEIGHT, BufferedImage.TYPE_INT_ARGB);
56 c.setSize(WIDTH, HEIGHT);
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/image/
H A DImageObserver.java59 * <b>OR</b> of the following flags: {@code WIDTH},
66 * flags: {@code WIDTH}, {@code HEIGHT},
77 * @see #WIDTH
99 public static final int WIDTH = 1; field in interface:ImageObserver
/openjdk10/jdk/test/java/awt/Dialog/ChildProperties/
H A DChildDialogProperties.java48 private static final int WIDTH = 200; field in class:ChildDialogProperties
54 parentDialog.setSize(WIDTH, HEIGHT);
67 dialogChild.setSize(WIDTH, HEIGHT);
68 dialogChild.setLocation(WIDTH + 200, 100);
97 parentFrame.setSize(WIDTH, HEIGHT);
108 frameChildDialog.setSize(WIDTH, HEIGHT);
109 frameChildDialog.setLocation(WIDTH + 200, 400);
/openjdk10/jdk/test/java/awt/Window/ChildProperties/
H A DChildWindowProperties.java50 private static final int WIDTH = 200; field in class:ChildWindowProperties
56 parentDialog.setSize(WIDTH, HEIGHT);
68 windowChild.setSize(WIDTH, HEIGHT);
69 windowChild.setLocation(WIDTH + 200, 100);
94 parentFrame.setSize(WIDTH, HEIGHT);
105 frameChildWindow.setSize(WIDTH, HEIGHT);
106 frameChildWindow.setLocation(WIDTH + 200, 400);
/openjdk10/jdk/test/sun/java2d/cmm/ColorConvertOp/
H A DImageFactory.java41 public static int WIDTH = 256; field in class:ImageFactory
77 SampleModel sm = ccm.createCompatibleSampleModel(WIDTH, HEIGHT);
78 WritableRaster raster = ccm.createCompatibleWritableRaster(WIDTH,
87 BufferedImage image = new BufferedImage(WIDTH, HEIGHT,
123 SampleModel sm = dcm.createCompatibleSampleModel(WIDTH, HEIGHT);
124 WritableRaster raster = dcm.createCompatibleWritableRaster(WIDTH,
147 for (int i = 0; i < WIDTH; i++) {
164 for (int i = 0; i < WIDTH; i++) {
174 for (int i = 0; i < WIDTH; i++) {
184 for (int i = 0; i < WIDTH;
[all...]
/openjdk10/jdk/test/java/text/AttributedString/
H A DgetRunStartLimitTest.java59 as.addAttribute(TextAttribute.WIDTH,
63 as.addAttribute(TextAttribute.WIDTH,
87 value = aci.getAttribute(TextAttribute.WIDTH);
109 value = aci.getAttribute(TextAttribute.WIDTH);
/openjdk10/jdk/test/javax/imageio/plugins/tiff/
H A DReadWithoutBaselineTagSet.java50 private static final int WIDTH = 47; field in class:ReadWithoutBaselineTagSet
72 BufferedImage image = new BufferedImage(WIDTH, HEIGHT, imageType);
105 if (resultFalse.getWidth() != WIDTH
108 WIDTH, HEIGHT);
119 if (resultTrue.getWidth() != WIDTH
122 WIDTH, HEIGHT);
H A DWriteToSequenceAfterAbort.java61 private static final int WIDTH = 100; field in class:WriteToSequenceAfterAbort
207 new BufferedImage(WIDTH, HEIGHT, TYPE_BYTE_BINARY);
210 g.fillRect(0, 0, WIDTH/2, HEIGHT/2);
213 new BufferedImage(WIDTH, HEIGHT, TYPE_BYTE_BINARY);
216 g.fillRect(WIDTH/2, HEIGHT/2, WIDTH/2, HEIGHT/2);
289 for (int x = 0; x < WIDTH; ++x) {
/openjdk10/jdk/test/javax/swing/JTable/8133919/
H A DDrawGridLinesTest.java40 private static final int WIDTH = 300; field in class:DrawGridLinesTest
72 table.setSize(WIDTH, HEIGHT);
85 int w = SCALE * WIDTH;
/openjdk10/jdk/test/javax/swing/JInternalFrame/
H A DTest6325652.java43 private static final int WIDTH = 300; field in class:Test6325652
101 internal.setBounds(10 * index, 10 * index, WIDTH, HEIGHT);
H A DTest6505027.java58 private static final int WIDTH = 450; field in class:Test6505027
76 frame.setBounds(OFFSET, OFFSET, WIDTH, HEIGHT);
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/image/
H A DToolkitImage.java94 if ((availinfo & ImageObserver.WIDTH) == 0) {
95 reconstruct(ImageObserver.WIDTH);
109 if ((availinfo & ImageObserver.WIDTH) == 0) {
111 if ((availinfo & ImageObserver.WIDTH) == 0) {
193 ((~availinfo) & (ImageObserver.WIDTH |
254 addInfo(ImageObserver.WIDTH | ImageObserver.HEIGHT);
267 ((~availinfo) & (ImageObserver.WIDTH |
/openjdk10/jdk/test/java/util/Arrays/
H A DSortingNearlySortedPrimitive.java50 static final int WIDTH = 4; field in class:SortingNearlySortedPrimitive
55 // Create all combinations for the BASE value and double the WIDTH
59 return IntStream.range(0, (int) Math.pow(BASE, 2 * WIDTH)).
66 int[] a = new int[WIDTH + PAD + WIDTH];
69 for (int j = 0; j < WIDTH; j++) {
74 for (int j = 0; j < WIDTH; j++) {
75 a[WIDTH + PAD + j] = (v % BASE) - (BASE / 2);
101 int[] l = Arrays.copyOfRange(a, 0, WIDTH + 2);
102 int[] r = Arrays.copyOfRange(a, a.length - (WIDTH
[all...]
/openjdk10/jdk/test/java/awt/Focus/TranserFocusToWindow/
H A DTranserFocusToWindow.java48 private static final int WIDTH = 300; field in class:TranserFocusToWindow
54 owner_frame.setBounds(0, 0, WIDTH, HEIGHT);
70 another_frame.setLocation(WIDTH + 100, 0);
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/
H A DHtmlAttr.java66 WIDTH; enum constant in enum:HtmlAttr
/openjdk10/jdk/test/javax/imageio/plugins/shared/
H A DWriteAfterAbort.java56 private static final int WIDTH = 100; field in class:WriteAfterAbort
65 new BufferedImage(WIDTH, HEIGHT, TYPE_BYTE_BINARY);
68 g.fillRect(0, 0, WIDTH, HEIGHT);
122 for (int x = 0; x < WIDTH; ++x) {
/openjdk10/jdk/test/java/awt/print/PageFormat/
H A DValidateCustom.java39 private static double WIDTH = 17.0; //width of paper in inches field in class:ValidateCustom
54 double width = WIDTH*PIXELS_PER_INCH;
/openjdk10/jdk/test/javax/swing/JDialog/Transparency/
H A DTransparencyTest.java45 private static final int WIDTH = 250; field in class:TransparencyTest
52 frame.setSize(WIDTH, HEIGHT);
/openjdk10/jdk/test/javax/swing/
H A DSwingTest.java50 private static final int WIDTH = 640; field in class:SwingTest
89 this.frame.setSize(WIDTH, HEIGHT);
/openjdk10/jdk/src/java.desktop/share/classes/sun/font/
H A DEAttribute.java47 EWIDTH(WIDTH),
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DSpringLayout.java242 public static final String WIDTH = "Width"; field in class:SpringLayout
251 private static String[] ALL_HORIZONTAL = {WEST, WIDTH, EAST, HORIZONTAL_CENTER};
277 * EAST = WEST + WIDTH
279 * HORIZONTAL_CENTER = WEST + WIDTH/2
284 * For example, if you have specified the WIDTH and WEST (X) location
285 * the EAST is calculated as WEST + WIDTH. If you instead specified
286 * the WIDTH and EAST locations the WEST (X) location is then calculated
287 * as EAST - WIDTH.
311 * For example, if the <code>WEST</code>, <code>WIDTH</code> and
529 if (defined(horizontalHistory, EAST, WIDTH)) {
[all...]

Completed in 281 milliseconds

123