Searched refs:iconHeight (Results 1 - 14 of 14) sorted by relevance

/openjdk7/jdk/make/sun/awt/
H A DToBin.java38 int iconHeight = im.getHeight(null);
39 if (im != null && iconHeight != 0 && iconWidth != 0) {
40 bi = new BufferedImage(iconWidth, iconHeight, BufferedImage.TYPE_INT_ARGB);
43 g.drawImage(im, 0, 0, iconWidth, iconHeight, null);
51 System.out.println(iconHeight + ",");
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_Window.h39 jfieldID iconHeight; member in struct:MWindowPeerIDs
H A Dawt_p.h224 int iconHeight; member in struct:FrameData
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXIconWindow.java43 int iconHeight = 0; field in class:XIconWindow
225 if (img != null && iconWidth != 0 && iconHeight != 0) {
228 WritableRaster raster = model.createCompatibleWritableRaster(iconWidth, iconHeight);
235 g.fillRect(0, 0, iconWidth, iconHeight);
239 g.drawImage(img, 0, 0, iconWidth, iconHeight, null);
252 if (bi == null || iconWidth == 0 || iconHeight == 0) {
261 iconHeight,
301 iconHeight,
323 dst, 0, 0, 0, 0, iconWidth, iconHeight);
343 if (img != null && iconWidth != 0 && iconHeight !
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalComboBoxButton.java136 int iconHeight = comboIcon.getIconHeight();
141 iconTop = (getHeight() / 2) - (iconHeight / 2);
150 iconTop = (top + ((bottom - top) / 2)) - (iconHeight / 2);
H A DMetalInternalFrameTitlePane.java252 int iconHeight = 0;
255 iconHeight = Math.min(icon.getIconHeight(), 16);
257 iconHeight += 5;
258 height = Math.max(fontHeight, iconHeight);
H A DMetalBumps.java116 int iconHeight = getIconHeight();
118 int y2 = y + iconHeight;
H A DMetalTitlePane.java890 int iconHeight = 0;
892 iconHeight = IMAGE_HEIGHT;
895 int finalHeight = Math.max( fontHeight, iconHeight );
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicInternalFrameTitlePane.java499 int iconHeight = 0;
502 iconHeight = Math.min(icon.getIconHeight(), 16);
504 iconHeight += 2;
506 int height = Math.max( fontHeight, iconHeight );
529 int iconHeight = 0;
531 iconHeight = icon.getIconHeight();
534 menuBar.setBounds(x, (h - iconHeight) / 2, 16, 16);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsInternalFrameTitlePane.java283 int iconHeight;
286 (iconHeight = icon.getIconHeight()) > 0) {
290 if (iconWidth > iconHeight) {
292 y = (h - w*iconHeight/iconWidth) / 2;
296 x = (w - h*iconWidth/iconHeight) / 2;
297 drawScale = h / (double)iconHeight;
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifDesktopPaneUI.java89 int iconWidth, iconHeight; field in class:MotifDesktopPaneUI.MotifDesktopManager
189 iconHeight = iconSize.height;
209 int h = iconHeight;
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultTreeCellEditor.java739 int iconHeight = icon.getIconHeight();
742 int textY = iconHeight / 2 - textHeight / 2;
744 int totalHeight = Math.max(iconHeight, textY + textHeight) -
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/file/
H A DFileURLConnection.java185 int iconHeight;
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneUI.java616 final int iconHeight = mainIcon.getIconHeight();
617 if (iconHeight <= kMaxIconSize) return mainIcon;
618 final float ratio = (float)kMaxIconSize / (float)iconHeight;

Completed in 152 milliseconds