/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/ |
H A D | WBMPImageReader.java | 62 /** The original image width. */ 63 private int width; field in class:WBMPImageReader 102 return width; 144 // Read image width 145 width = ReaderUtil.readMultiByteInteger(iis); 146 metadata.width = width; 203 computeRegions(param, this.width, this.height, 217 bi = new BufferedImage(destinationRegion.x + destinationRegion.width, 222 destinationRegion.equals(new Rectangle(0, 0, width, heigh [all...] |
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/ |
H A D | vis_FourByteAbgrPre.c | 41 if (width > BUFF_SIZE) pbuff = mlib_malloc(width*sizeof(mlib_s32)); \ 44 ADD_SUFF(TYPE##ToIntArgbPre##OPER)(srcBase, pbuff, width, 1, \ 48 ADD_SUFF(IntArgbToFourByteAbgrConvert)(pbuff, dstBase, width, 1, \ 71 if (width > BUFF_SIZE) pbuff = mlib_malloc(width*sizeof(mlib_s32)); \ 74 ADD_SUFF(TYPE##ToIntArgbPre##OPER)(srcBase, pbuff, width, 1, \ 80 ADD_SUFF(IntArgbToFourByteAbgrConvert)(pbuff, dstBase, width, 1, \ 190 int width, height; local 199 width [all...] |
H A D | vis_SrcMaskFill.c | 55 mlib_s32 width, 85 for (i = i0; i <= width - 2; i += 2) { 108 if (i < width) { 129 jint width, 156 0, 0, width, height, 175 if (rasScan == 4*width && maskScan == width) { 176 width *= height; 183 IntArgbSrcMaskFill_line(rasBase, pMask, width, fgARGB, cnstARGB0, 197 jint width, 53 IntArgbSrcMaskFill_line(mlib_f32 *dst_ptr, mlib_u8 *pMask, mlib_s32 width, mlib_d64 fgARGB, mlib_f32 cnstARGB0, mlib_u8 *mul8_cnstA, mlib_u8 *mul8_tbl) argument 125 IntArgbSrcMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument 193 FourByteAbgrSrcMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument 308 IntRgbSrcMaskFill_line(mlib_f32 *dst_ptr, mlib_u8 *pMask, mlib_s32 width, mlib_d64 fgARGB, mlib_f32 cnstARGB0, mlib_u8 *mul8_cnstA, mlib_u8 *mul8_tbl) argument 371 IntRgbSrcMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument 437 IntBgrSrcMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument 507 ThreeByteBgrSrcMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument [all...] |
H A D | vis_SrcOverMaskFill.c | 57 mlib_s32 width, 84 for (i = i0; i <= width - 2; i += 2) { 103 if (i < width) { 134 mlib_s32 width, 160 for (i = i0; i <= width - 2; i += 2) { 176 if (i < width) { 193 jint width, 225 if (rasScan == 4*width && maskScan == width) { 226 width * 55 IntArgbSrcOverMaskFill_line(mlib_f32 *dst_ptr, mlib_u8 *pMask, mlib_s32 width, mlib_f32 cnstARGB0, mlib_u8 *mul8_cnstA, mlib_u8 *mul8_tbl) argument 132 IntArgbSrcOverMaskFill_A1_line(mlib_f32 *dst_ptr, mlib_u8 *pMask, mlib_s32 width, mlib_d64 cnstARGB, mlib_s32 cnstA, mlib_u8 *mul8_cnstA, mlib_u8 *mul8_tbl) argument 189 IntArgbSrcOverMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument 263 FourByteAbgrSrcOverMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument 389 IntRgbSrcOverMaskFill_line(mlib_f32 *dst_ptr, mlib_u8 *pMask, mlib_s32 width, mlib_f32 cnstARGB0, mlib_u8 *mul8_cnstA, mlib_u8 *mul8_tbl) argument 455 IntRgbSrcOverMaskFill_A1_line(mlib_f32 *dst_ptr, mlib_u8 *pMask, mlib_s32 width, mlib_d64 cnstARGB, mlib_s32 cnstA, mlib_u8 *mul8_tbl) argument 498 IntRgbSrcOverMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument 571 IntBgrSrcOverMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument 644 ThreeByteBgrSrcOverMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | MenuItemLayoutHelper.java | 171 iconSize.origWidth = iconSize.width; 172 textSize.origWidth = textSize.width; 173 accSize.origWidth = accSize.width; 174 checkSize.origWidth = checkSize.width; 175 arrowSize.origWidth = arrowSize.width; 253 iconSize.width = icon.getIconWidth(); 259 accSize.width = SwingUtilities2.stringWidth(mi, accFm, accText); 269 textSize.width = 275 textSize.width = SwingUtilities2.stringWidth(mi, fm, text); 283 checkSize.width 855 addWidth(int width, int gap, Dimension result) argument 1271 private int width; field in class:MenuItemLayoutHelper.RectSize 1279 RectSize(int width, int height, int origWidth, int maxWidth) argument 1302 setWidth(int width) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | Map.java | 111 * <code>x</code>, <code>y</code>. <code>width</code>, <code>height</code> 115 public AttributeSet getArea(int x, int y, int width, int height) { argument 131 if (rc != null && rc.contains(x, y, width, height)) { 238 * <code>width</code>, <code>height</code> is the size of 241 public boolean contains(int x, int y, int width, int height); argument 251 * (order is x, y, width, height). */ 253 /** Last value of width passed in. */ 293 public boolean contains(int x, int y, int width, int height) { argument 297 if (lastWidth != width || lastHeight != height) { 298 lastWidth = width; 384 contains(int x, int y, int width, int height) argument 458 contains(int x, int y, int width, int height) argument 499 contains(int x, int y, int width, int height) argument [all...] |
H A D | HRuleView.java | 119 int width = alloc.width - (int)(leftMargin + rightMargin); 121 width = (int)widthValue.getValue((float)width); 131 x = alloc.x + (alloc.width / 2) - (width / 2); 134 x = alloc.x + alloc.width - width - (int)rightMargin; 145 g.fillRect(x, y, width, height); 159 g.drawLine(x + width [all...] |
H A D | LineView.java | 116 * @param width the width to lay out against >= 0. This is 117 * the width inside of the inset area. 122 protected void layout(int width, int height) { argument 173 int width = getCharactersPerTab() * fm.charWidth('W'); 175 return (float)((((int)x - tb) / width + 1) * width + tb);
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XFramePeer.java | 162 int width = dimensions.getClientSize().width; 164 menubarPeer.reshape(0, 0, width, height); 219 if (b.width != Integer.MAX_VALUE) { 220 hints.set_max_width(b.width); 442 g.drawLine(0, 0, fsize.width, 0); 443 g.drawLine(0, 1, fsize.width - 1, 1); 458 fsize.width - CROSSHAIR_INSET, 463 g.drawLine(fsize.width - CROSSHAIR_INSET, CROSSHAIR_INSET + 1, 464 fsize.width 637 setBoundsPrivate(int x, int y, int width, int height) argument [all...] |
H A D | XAbstractMenuItem.java | 35 void paint(Graphics g, int top, int bottom, int width, int shortcutOffset, boolean selected); argument
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | DebugGraphicsObserver.java | 49 int width, int height) { 47 imageUpdate(Image img, int infoflags, int x, int y, int width, int height) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | Border.java | 73 * @param width the width of the painted border 76 void paintBorder(Component c, Graphics g, int x, int y, int width, int height); argument
|
H A D | MatteBorder.java | 107 * the tile icon's width. 117 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 129 g.fillRect(0, 0, width - insets.right, insets.top); 131 g.fillRect(insets.left, height - insets.bottom, width - insets.left, insets.bottom); 132 g.fillRect(width - insets.right, 0, insets.right, height - insets.bottom); 137 paintEdge(c, g, 0, 0, width - insets.right, insets.top, tileW, tileH); 139 paintEdge(c, g, insets.left, height - insets.bottom, width - insets.left, insets.bottom, tileW, tileH); 140 paintEdge(c, g, width - insets.right, 0, insets.right, height - insets.bottom, tileW, tileH); 147 private void paintEdge(Component c, Graphics g, int x, int y, int width, int height, int tileW, int tileH) { argument 148 g = g.create(x, y, width, heigh [all...] |
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | Dimension2D.java | 29 * The <code>Dimension2D</code> class is to encapsulate a width 56 * Returns the width of this <code>Dimension</code> in double 58 * @return the width of this <code>Dimension</code>. 73 * specified width and height. 77 * @param width the new width for the <code>Dimension</code> 83 public abstract void setSize(double width, double height); argument
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | ImageObserver.java | 54 * of the x, y, width, and height arguments depends on the contents 71 * @param width the width. 89 int x, int y, int width, int height); 93 * the width of the base image is now available and can be taken 94 * from the width argument to the imageUpdate callback method. 121 * from the x, y, width, and height arguments to the imageUpdate 131 * drawn is now available to be drawn again. The x, y, width, and height 141 * be drawn again in its final form. The x, y, width, and height 88 imageUpdate(Image img, int infoflags, int x, int y, int width, int height) argument
|
/openjdk7/jdk/src/share/classes/java/awt/peer/ |
H A D | FramePeer.java | 106 * @param width the width of the frame 113 void setBoundsPrivate(int x, int y, int width, int height); argument
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsDesktopIconUI.java | 47 private int width; field in class:WindowsDesktopIconUI 55 width = UIManager.getInt("DesktopIcon.width"); 90 * Windows desktop icons are restricted to a width of 160 pixels by 91 * default. This value is retrieved by the DesktopIcon.width property. 95 dim.width = width;
|
H A D | WindowsTextUI.java | 122 if (r.width > 0) { 125 r.width--; 128 r.width--; 131 g.fillRect(r.x, r.y, r.width, r.height); 134 int p0ToMarginWidth = alloc.x + alloc.width - p0.x; 141 g.fillRect(alloc.x, p0.y + p0.height, alloc.width, 194 if (firstIsDot && alloc.width > 0) { 195 g.fillRect(alloc.x + 1, alloc.y, alloc.width - 1, 198 else if (secondIsDot && alloc.width > 0) { 199 g.fillRect(alloc.x, alloc.y, alloc.width [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaIcon.java | 46 static UIResource getIconFor(final JRSUIControlSpec spec, final int width, final int height) { argument 47 return new CachableJRSUIIcon(width, height) { 112 int width; field in class:AquaIcon.CachingScalingIcon 116 public CachingScalingIcon(final int width, final int height) { argument 117 this.width = width; 121 void setSize(final int width, final int height) { argument 122 this.width = width; 183 return width; 193 CachableJRSUIIcon(final int width, final int height) argument 215 FileIcon(final File file, final int width, final int height) argument 288 SystemIcon(final String iconSelector, final int width, final int height) argument [all...] |
H A D | AquaOptionPaneUI.java | 104 * The widths of each component will be set to the largest preferred size width. 130 maxSize.width = Math.max(maxSize.width, sizes.width); 135 int xLocation = container.getSize().width - (maxSize.width * numChildren + (numChildren - 1) * padding); 136 final int xOffset = maxSize.width + padding; 140 children[i].setBounds(xLocation, yLocation, maxSize.width, maxSize.height);
|
/openjdk7/jaxp/src/org/w3c/dom/html/ |
H A D | HTMLHRElement.java | 72 * The width of the rule. See the width attribute definition in HTML 76 public void setWidth(String width); argument
|
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/ |
H A D | mlib_v_ImageCopy_f.h | 41 mlib_s32 width,
|
/openjdk7/jdk/src/share/classes/sun/tools/asm/ |
H A D | ConstantPoolData.java | 59 int width() { method in class:ConstantPoolData
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | ValidatePipe.java | 67 int x, int y, int width, int height) { 69 sg.drawpipe.drawRect(sg, x, y, width, height); 74 int x, int y, int width, int height) { 76 sg.fillpipe.fillRect(sg, x, y, width, height); 81 int x, int y, int width, int height, 84 sg.drawpipe.drawRoundRect(sg, x, y, width, height, 90 int x, int y, int width, int height, 93 sg.fillpipe.fillRoundRect(sg, x, y, width, height, 99 int x, int y, int width, int height) { 101 sg.drawpipe.drawOval(sg, x, y, width, heigh 66 drawRect(SunGraphics2D sg, int x, int y, int width, int height) argument 73 fillRect(SunGraphics2D sg, int x, int y, int width, int height) argument 80 drawRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 89 fillRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 98 drawOval(SunGraphics2D sg, int x, int y, int width, int height) argument 105 fillOval(SunGraphics2D sg, int x, int y, int width, int height) argument 112 drawArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle) argument 120 fillArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/hw/ |
H A D | AccelGraphicsConfig.java | 39 * Returns a VolatileImage with specified width, height, transparency 50 * @param width the width of the returned {@code VolatileImage} 62 public VolatileImage createCompatibleVolatileImage(int width, int height, argument
|