/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Button.cpp | 80 jint x, y, height, width; local 102 width = env->GetIntField(target, AwtComponent::widthID); 120 c->CreateHWnd(env, labelStr, style, exStyle, x, y, width, height,
|
H A D | awt_Canvas.cpp | 88 jint width = env->GetIntField(target, AwtComponent::widthID); local 93 x, y, width, height,
|
H A D | awt_Label.cpp | 98 jint width = env->GetIntField(target, AwtComponent::widthID); local 101 x, y, width, height,
|
/openjdk7/jdk/src/share/native/sun/awt/image/gif/ |
H A D | gifdecoder.c | 119 jint width, jint height, 187 int x = width; 238 width, passht, 400 * width of the frame is set to zero. If 401 * global width (i.e. width of the logical screen) 407 while ((width > 0) && (--len >= 0)) { 423 width, passht, 433 x = width; 116 Java_sun_awt_image_GifImageDecoder_parseImage(JNIEnv *env, jobject this, jint relx, jint rely, jint width, jint height, jint interlace, jint initCodeSize, jbyteArray blockh, jbyteArray raslineh, jobject cmh) argument
|
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | pnginfo.h | 87 png_uint_32 width; /* width of image in pixels (from IHDR) */ member in struct:png_info_def 280 * values. The values are width and height corresponsing to one pixel 286 png_charp scal_s_height; /* string containing width */
|
/openjdk7/jdk/src/share/native/sun/awt/medialib/ |
H A D | mlib_c_ImageCopy.c | 92 mlib_s32 width; /* width in bytes of src and dst */ local 105 width = mlib_ImageGetWidth(dst) * mlib_ImageGetChannels(dst); /* size in bits */ 111 size = height * (width >> 3); 128 mlib_ImageCopy_bit_al(sa, da, width, s_offset); 135 mlib_ImageCopy_bit_na(sa, da, width, s_offset, d_offset);
|
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_impl.h | 63 int width; /* in pixels */ member in struct:Splash
|
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | fontscalerdefs.h | 102 UInt16 width; member in struct:GlyphInfo
|
/openjdk7/jdk/src/share/classes/sun/swing/text/ |
H A D | TextComponentPrintable.java | 406 //want to occupy the whole width and height by text 618 * Sets width and FontRenderContext. 628 * @param width width to layout the text for 630 private void layout(final int width) { argument 634 layoutOnEDT(width); 664 layoutOnEDT(width); 675 private void layoutOnEDT(final int width) { argument 683 //need to use JViewport since text is layouted to the viewPort width 684 //otherwise it will be layouted to the maximum text width [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | BorderedComponent.java | 79 return textLabel.getBaseline(dim.width, dim.height) + textLabel.getY(); 179 d.width += i.left + i.right; 202 p.width, 209 d.width - i.left - i.right, 328 * @param width the width of the painted border 331 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 337 border.paintBorder(c, g, x, y, width, height); 343 width - (EDGE_SPACING * 2), 347 int baseline = label.getBaseline(labelDim.width, labelDi 537 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument [all...] |
/openjdk7/jdk/test/javax/swing/JComponent/4337267/ |
H A D | bug4337267.java | 159 i1 = new TestBufferedImage(size.width, size.height, 161 i2 = new TestBufferedImage(size.width, size.height, 178 TestBufferedImage(int width, int height, int imageType) { argument 179 super(width, height, imageType); 188 int width = getWidth(); 190 if ((image2.getWidth() != width) || (image2.getHeight() != height)) { 194 for (int x = 0; x < width; x++) { 212 return new TestBufferedImage(d.width, d.height,
|
/openjdk7/jdk/src/share/classes/sun/java2d/cmm/lcms/ |
H A D | LCMSImageLayout.java | 96 int width; field in class:LCMSImageLayout 109 width = np; 116 private LCMSImageLayout(int width, int height, int pixelType, argument 121 this.width = width; 124 nextRowOffset = safeMult(pixelSize, width); 209 width = image.getWidth(); 292 int lastPixelOffset = safeMult(nextPixelOffset, (width -1 ));
|
/openjdk7/jdk/src/share/classes/sun/java2d/loops/ |
H A D | Blit.java | 111 int width, int height); 154 int width, int height) 161 Raster srcRas = srcData.getRaster(srcx, srcy, width, height); 163 (WritableRaster) dstData.getRaster(dstx, dsty, width, height); 166 clip = Region.getInstanceXYWH(dstx, dsty, width, height); 168 int span[] = {dstx, dsty, dstx+width, dsty+height}; 202 int width, int height) 206 width, height, 247 int width, int height) 263 width, heigh 107 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height) argument 148 Blit(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height) argument 196 Blit(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height) argument 241 Blit(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height) argument 322 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height) argument [all...] |
H A D | MaskBlit.java | 108 int width, int height, 173 int width, int height, 190 width, height, cachedSrc); 210 width, height, cachedDst); 220 sx, sy, dx, dy, width, height, 226 dstx, dsty, width, height); 255 int width, int height, 260 srcx, srcy, dstx, dsty, width, height, 104 MaskBlit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height, byte[] mask, int maskoff, int maskscan) argument 167 MaskBlit(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height, byte mask[], int offset, int scan) argument 252 MaskBlit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height, byte[] mask, int maskoff, int maskscan) argument
|
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | DrawImage.java | 96 int width, int height, 105 if ((width > 0) && (height > 0) && isSimpleTranslate(sg)) { 108 double dx2 = dx1 + width; 119 if ((x | y) != 0 || width != imgw || height != imgh) { 122 atfm.scale(((double)width)/imgw, ((double)height)/imgh); 285 // First check if width and height are very close to img w&h. 322 final int width = sx2 - sx1; 324 final BufferedImage bimg = new BufferedImage(width, height, type); 329 g2d.fillRect(0, 0, width, height); 332 g2d.copyImage(img, 0, 0, sx1, sy1, width, heigh 95 scaleImage(SunGraphics2D sg, Image img, int x, int y, int width, int height, Color bgColor) argument 1040 scaleImage(SunGraphics2D sg, Image img, int x, int y, int width, int height, Color bgColor, ImageObserver observer) argument [all...] |
H A D | LoopPipe.java | 68 int x, int y, int width, int height) 73 width, height); 77 int x, int y, int width, int height, 81 new RoundRectangle2D.Float(x, y, width, height, 86 int x, int y, int width, int height) 88 sg2d.shapepipe.draw(sg2d, new Ellipse2D.Float(x, y, width, height)); 92 int x, int y, int width, int height, 95 sg2d.shapepipe.draw(sg2d, new Arc2D.Float(x, y, width, height, 125 int x, int y, int width, int height) 130 width, heigh 67 drawRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 76 drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 85 drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 91 drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument 124 fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument 133 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 142 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument 148 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument [all...] |
H A D | NullPipe.java | 54 int x, int y, int width, int height) { 58 int x, int y, int width, int height) { 62 int x, int y, int width, int height, 67 int x, int y, int width, int height, 72 int x, int y, int width, int height) { 76 int x, int y, int width, int height) { 80 int x, int y, int width, int height, 85 int x, int y, int width, int height, 53 drawRect(SunGraphics2D sg, int x, int y, int width, int height) argument 57 fillRect(SunGraphics2D sg, int x, int y, int width, int height) argument 61 drawRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 66 fillRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight) argument 71 drawOval(SunGraphics2D sg, int x, int y, int width, int height) argument 75 fillOval(SunGraphics2D sg, int x, int y, int width, int height) argument 79 drawArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle) argument 84 fillArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle) argument
|
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/ |
H A D | PiscesRenderingEngine.java | 50 * @param width the width of the widened path as per {@code BasicStroke} 60 float width, 71 width, 243 float width, 259 // However, if a path's width is constant after a transformation, 280 // them into 2D shapes by giving them width. 298 // the scaled width. This condition is satisfied if 310 width = (float)(scale * width); 59 createStrokedShape(Shape src, float width, int caps, int join, float miterlimit, float dashes[], float dashphase) argument 241 strokeTo(Shape src, AffineTransform at, float width, NormMode normalize, int caps, int join, float miterlimit, float dashes[], float dashphase, PathConsumer2D pc2d) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/print/ |
H A D | PSPathGraphics.java | 272 * @param srcWidth The width of the portion of the image to 611 (float)Math.rint(scaledBounds.width+0.5), 722 scaledBounds.width, 747 protected void deviceFrameRect(int x, int y, int width, int height, argument 750 draw(new Rectangle2D.Float(x, y, width, height)); 766 protected void deviceFillRect(int x, int y, int width, int height, argument 768 fill(new Rectangle2D.Float(x, y, width, height));
|
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLSurfaceData.c | 102 OGLSD_IsPowerOfTwo(jint width, jint height) argument 104 return (((width & (width-1)) | (height & (height-1))) == 0); 116 * dimensions, and therefore width==textureWidth and height==textureHeight. 126 * must be specified in the range [0,width] and [0,height] rather than 131 * power-of-two greater than (or equal to) the requested width and height. 137 jint width, jint height) 148 width, height, isOpaque, texNonPow2); 159 texWidth = (width <= texMax) ? width 134 OGLSD_InitTextureObject(OGLSDOps *oglsdo, jboolean isOpaque, jboolean texNonPow2, jboolean texRect, jint width, jint height) argument 242 Java_sun_java2d_opengl_OGLSurfaceData_initTexture(JNIEnv *env, jobject oglsd, jlong pData, jboolean isOpaque, jboolean texNonPow2, jboolean texRect, jint width, jint height) argument 393 Java_sun_java2d_opengl_OGLSurfaceData_initFBObject(JNIEnv *env, jobject oglsd, jlong pData, jboolean isOpaque, jboolean texNonPow2, jboolean texRect, jint width, jint height) argument 535 OGLSD_SetNativeDimensions(JNIEnv *env, OGLSDOps *oglsdo, jint width, jint height) argument [all...] |
H A D | OGLSurfaceData.h | 120 * jint width/height; 137 * The texture image that we care about has dimensions specified by the width 171 jint width; member in struct:_OGLSDOps
|
H A D | OGLVertexCache.c | 217 jint width, jint height, 246 texx, texy, width, height, 261 tx2 = tx1 + (((jfloat)width) / OGLVC_MASK_CACHE_WIDTH_IN_TEXELS); 266 dx2 = dx1 + width; 214 OGLVertexCache_AddMaskQuad(OGLContext *oglc, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height, jint maskscan, void *mask) argument
|
/openjdk7/jdk/src/solaris/classes/sun/awt/ |
H A D | UNIXToolkit.java | 225 public void loadIconCallback(byte[] data, int width, int height, argument 235 width, height, rowStride, channels,
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XEmbeddedFramePeer.java | 159 width = xe.get_width(); 162 dimensions.setClientSize(width, height); 202 return new Rectangle(x, y, width, height); 205 public void setBoundsPrivate(int x, int y, int width, int height) { argument 206 setBounds(x, y, width, height, SET_BOUNDS | NO_EMBEDDED_CHECK); 292 return width; 299 return new Dimension(width, height);
|
H A D | XMenuBarPeer.java | 265 int itemWidth = BAR_ITEM_MARGIN_LEFT + dim.width + BAR_ITEM_MARGIN_RIGHT; 269 if ((nextOffset + itemWidth > this.width) && (i > 0)) { 275 nextOffset = Math.max(nextOffset, this.width - itemWidth - BAR_SPACING_RIGHT); 382 public void reshape(int x, int y, int width, int height) { argument 383 if ((width != this.width) || (height != this.height)) { 386 super.reshape(x, y, width, height); 407 int width = getWidth(); 413 g.fillRect(1, 1, width - 2, height - 2); 415 draw3DRect(g, 0, 0, width, heigh [all...] |