Searched refs:imageSize (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCTrayIcon.m40 static NSSize ScaledImageSizeForStatusBar(NSSize imageSize) {
41 NSRect imageRect = NSMakeRect(0.0, 0.0, imageSize.width, imageSize.height);
46 CGFloat scaleFactor = MIN(1.0, desiredHeight/imageSize.height);
103 NSSize imageSize = [imagePtr size];
104 NSSize scaledSize = ScaledImageSizeForStatusBar(imageSize);
105 if (imageSize.width != scaledSize.width ||
106 imageSize.height != scaledSize.height) {
219 NSSize imageSize = [image size];
221 NSRect drawRect = {{ (bounds.size.width - imageSize
[all...]
H A DCDragSource.m424 NSSize imageSize = [fDragImage size];
427 pixelsWide:imageSize.width pixelsHigh:imageSize.height bitsPerSample:8 samplesPerPixel:4
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11FontScaler_md.c273 unsigned int imageSize; local
282 imageSize = width*height;
284 glyphInfo = (GlyphInfo*)malloc(sizeof(GlyphInfo)+imageSize);
293 if (imageSize == 0) {
/openjdk7/jdk/src/windows/native/sun/font/
H A Dlcdglyph.c179 int bytesWidth, dibBytesWidth, extra, imageSize, dibImageSize; local
416 imageSize = bytesWidth*height;
432 memset(glyphInfo->image, 0, imageSize);
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/
H A DBMPImageWriter.java484 int imageSize = 0;
501 imageSize = (destScanlineBytes + padding) * h;
502 fileSize = imageSize + offset;
527 // imageSize
528 stream.writeInt(imageSize);
582 imageSize = embedded_stream.size();
585 fileSize = (int)(offset + imageSize);
589 writeSize(imageSize, 34);
744 imageSize = compImageSize;
750 writeSize(imageSize, 3
[all...]
H A DBMPMetadata.java52 public int imageSize; field in class:BMPMetadata
137 addChildNode(root, "ImageSize", new Integer(imageSize));
H A DBMPImageReader.java112 private long imageSize; field in class:BMPImageReader
283 imageSize = iis.readUnsignedInt();
1363 // If imageSize field is not provided, calculate it.
1364 int imSize = (int)imageSize;
1484 // If imageSize field is not specified, calculate it.
1485 int imSize = (int)imageSize;
1659 byte[] buff = new byte[(int)imageSize];
/openjdk7/jdk/src/share/native/sun/font/
H A DfreetypeScaler.c706 int error, imageSize; local
779 imageSize = width*height;
780 glyphInfo = (GlyphInfo*) malloc(sizeof(GlyphInfo) + imageSize);
820 if (imageSize == 0) {
837 memcpy(glyphInfo->image, ftglyph->bitmap.buffer, imageSize);
/openjdk7/jdk/src/share/native/sun/java2d/opengl/J2D_GL/
H A Dgl.h1893 GLAPI void GLAPIENTRY glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data );
1895 GLAPI void GLAPIENTRY glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data );
1897 GLAPI void GLAPIENTRY glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data );
1899 GLAPI void GLAPIENTRY glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data );
1901 GLAPI void GLAPIENTRY glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data );
1903 GLAPI void GLAPIENTRY glCompressedTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data );
2021 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
2022 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
2023 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
2024 typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, cons
[all...]
H A Dglext.h3267 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
3268 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
3269 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
3270 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
3271 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
3272 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
3723 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
3724 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
3725 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
3726 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, cons
[all...]

Completed in 102 milliseconds