Searched refs:newWidth (Results 1 - 16 of 16) sorted by relevance

/openjdk10/langtools/test/tools/javac/flow/tests/
H A DTestCaseLocalInInnerBlock.java27 @AliveRange(varName="newWidth", bytecodeStart=2, bytecodeLength=33)
30 int newWidth = 0;
36 newWidth += fm.length();
39 return newWidth;
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DDesktopManager.java160 * @param newWidth the new width
163 void resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight); argument
179 * @param newWidth the new width
182 void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight); argument
H A DDefaultDesktopManager.java413 * @param newWidth the new width
416 public void resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight) { argument
419 setBoundsForFrame(f, newX, newY, newWidth, newHeight);
429 g.drawRect( newX, newY, newWidth-1, newHeight-1);
435 currentBounds = new Rectangle (newX, newY, newWidth, newHeight);
455 public void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight) { argument
456 f.setBounds(newX, newY, newWidth, newHeight);
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifDesktopPaneUI.java95 int newWidth, int newHeight) {
98 didResize = (f.getWidth() != newWidth || f.getHeight() != newHeight);
100 f.setBounds(newX, newY, newWidth, newHeight);
101 SwingUtilities.computeUnion(newX, newY, newWidth, newHeight, r);
108 dragPane.setBounds(newX, newY, newWidth, newHeight);
109 SwingUtilities.computeUnion(newX, newY, newWidth, newHeight, r);
160 int newWidth, int newHeight) {
161 setBoundsForFrame(f, newX, newY, newWidth, newHeight);
94 setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight) argument
159 resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight) argument
/openjdk10/jdk/src/java.desktop/share/classes/sun/font/
H A DFontFamily.java169 int newWidth = font.getWidth();
172 familyWidth = newWidth;
176 if (newWidth == familyWidth) {
180 if (Math.abs(Font2D.FWIDTH_NORMAL - newWidth) <
185 "Found more preferred width. New width = " + newWidth +
190 familyWidth = newWidth;
196 " of less preferred width " + newWidth);
/openjdk10/jdk/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaTableHeaderBorder.java105 final int newWidth = width;
108 painter.paint(g, c, newX - 1, newY - 1, newWidth + 1, newHeight);
111 g.clipRect(newX, y, newWidth, height);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/html/
H A DImageView.java734 int newWidth = 0;
746 newWidth = getIntAttr(HTML.Attribute.WIDTH, -1);
747 if (newWidth > 0) {
755 if (newWidth <= 0) {
756 newWidth = newImage.getWidth(imageObserver);
757 if (newWidth <= 0) {
758 newWidth = DEFAULT_WIDTH;
771 Toolkit.getDefaultToolkit().prepareImage(newImage, newWidth,
787 width = newWidth;
797 width = newWidth;
882 imageUpdate(Image img, int flags, int x, int y, int newWidth, int newHeight ) argument
[all...]
/openjdk10/jdk/test/javax/swing/plaf/synth/8081411/
H A Dbug8081411.java75 int newWidth = width * 17;
78 newWidth, newHeight);
79 paintAndCheckIcon(centeredIcon, synthContext, newWidth, newHeight);
/openjdk10/jdk/src/java.desktop/unix/classes/sun/java2d/xr/
H A DXRMaskImage.java127 int newWidth = Math.max(minSizeX, blitMaskDimensions.width);
129 initBlitMask(blitMaskPixmap, newWidth, newHeight);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicTableHeaderUI.java221 int newWidth;
223 newWidth = mouseX - mouseXOffset;
225 newWidth = mouseXOffset - mouseX;
228 oldWidth, newWidth);
563 int oldWidth, int newWidth) {
564 resizingColumn.setWidth(newWidth);
580 int diff = newWidth - oldWidth;
974 int newWidth = oldWidth;
977 newWidth = newWidth
561 changeColumnWidth(TableColumn resizingColumn, JTableHeader th, int oldWidth, int newWidth) argument
[all...]
H A DBasicDesktopIconUI.java339 * @param newWidth a new width
343 int newWidth, int newHeight) {
345 f.setBounds(newX, newY, newWidth, newHeight);
346 SwingUtilities.computeUnion(newX, newY, newWidth, newHeight, r);
342 moveAndRepaint(JComponent f, int newX, int newY, int newWidth, int newHeight) argument
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/im/
H A DCompositionArea.java218 int newWidth = (req==null) ? PASSIVE_WIDTH : (int)bounds.getWidth() + WIDTH_MARGIN;
219 int newFrameWidth = newWidth + compositionWindow.getInsets().left
221 setPreferredSize(new Dimension(newWidth, newHeight));
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/dnd/
H A DDropTarget.java701 int newWidth = size.width - (i.left + i.right);
704 if (newWidth != inner.width || newHeight != inner.height)
705 inner.setSize(newWidth, newHeight);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/
H A DSynthDesktopPaneUI.java417 public void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight) { argument
418 super.setBoundsForFrame(f, newX, newY, newWidth, newHeight);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DDefaultCaret.java1907 Integer newWidth = (Integer) evt.getNewValue();
1908 if (newWidth != null) {
1909 caretWidth = newWidth.intValue();
/openjdk10/jdk/src/java.desktop/windows/native/libawt/windows/
H A Dawt_Window.cpp1842 int newWidth = w + m_insets.left + m_insets.right; local
1845 (env)->SetIntField(target, AwtComponent::widthID, ScaleDownX(newWidth));
1849 (env)->SetIntField(peer, AwtWindow::sysWID, ScaleDownX(newWidth));

Completed in 410 milliseconds