/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ShortBandedRaster.java | 63 /** A cached copy of minY + height for use in bounds checks. */ 133 this.maxY = minY + height; 266 * @param height Height of the pixel rectangle. 319 * @param height Height of the pixel rectangle. 367 * @param height Height of the pixel rectangle. 441 int height = inRaster.getHeight(); 443 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) { 448 setDataElements(dstOffX, dstOffY, width, height, inRaster); 460 * @param height The number of pixels to store vertically 464 int width, int height, 463 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument 644 createWritableChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument 700 createChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument [all...] |
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | BandedSampleModel.java | 78 * @param h The height (in pixels) of the region of image 98 * @param h The height (in pixels) of the region of 117 * width and height. The new BandedSampleModel will have the same 123 * @param h the height of the resulting <code>BandedSampleModel</code> 125 * width and height. 173 return new BandedSampleModel(this.dataType, width, height, 188 int size = scanlineStride * height; 257 if ((x < 0) || (y < 0) || (x >= width) || (y >= height)) { 374 if ((x < 0) || (y < 0) || (x >= width) || (y >= height)) { 403 * @param h The height o [all...] |
H A D | SinglePixelPackedSampleModel.java | 100 * @param h The height (in pixels) of the region of the 129 * @param h The height (in pixels) of the region of 202 long size = scanlineStride * (height-1) + width; 208 * width and height. The new SinglePixelPackedSampleModel will have the 212 * @param h the height of the resulting <code>SampleModel</code> 214 * specified width and height. 318 return new SinglePixelPackedSampleModel(this.dataType, width, height, 363 if ((x < 0) || (y < 0) || (x >= width) || (y >= height)) { 430 if ((x < 0) || (y < 0) || (x >= width) || (y >= height)) { 456 * @param h The height o [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsInternalFrameUI.java | 100 * @param height the height of the painted border 102 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 104 int topBorderHeight = (titlePane != null) ? titlePane.getSize().height : 0; 106 bottomSkin.paintSkin(g, 0, height-bottomSkin.getHeight(), 111 leftSkin.getWidth(), height-topBorderHeight-bottomSkin.getHeight()+2, 115 rightSkin.getWidth(), height-topBorderHeight-bottomSkin.getHeight()+2,
|
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/ |
H A D | java2d_Mlib.c | 44 xsize *= height; \ 45 height = 1; \ 48 for (i = 0; i < height; i++) { \ 79 mlib_s32 height = hiy - loy; \ 96 width, height, dstScan, dstBase); \ 121 mlib_s32 height = hiy - loy; \ 142 width, height, dstScan, dstBase); \ 162 juint height, \ 185 width, height, srcScan, srcBase); \ 187 width, height, dstSca [all...] |
/openjdk7/jdk/src/windows/native/sun/java2d/opengl/ |
H A D | WGLSurfaceData.c | 51 extern HBITMAP BitmapUtil_CreateBitmapFromARGBPre(int width, int height, 393 oglsdo->height = wbounds.bottom - wbounds.top; 397 oglsdo->width, oglsdo->height); 407 jint width, jint height) 427 width, height, isOpaque); 473 width, height, maxWidth, maxHeight); 478 height == 0 || height > maxHeight) 488 width, height, pbAttrList); 516 if (width != actualWidth || height ! 403 Java_sun_java2d_opengl_WGLSurfaceData_initPbuffer(JNIEnv *env, jobject wglsd, jlong pData, jlong pConfigInfo, jboolean isOpaque, jint width, jint height) argument 589 jint srcx, srcy, dstx, dsty, width, height; local [all...] |
/openjdk7/jdk/test/java/awt/Component/isLightweightCrash/ |
H A D | StubPeerCrash.java | 87 public void repaint(long tm, int x, int y, int width, int height){}; argument 89 public void setBounds(int x, int y, int width, int height, int op){}; argument 113 public Image createImage(int width, int height){return null;}; argument 114 public VolatileImage createVolatileImage(int width, int height){return null;}; argument 187 public void reshape(int x, int y, int width, int height){}; argument
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | XRBackend.java | 48 public int createPixmap(int drawable, int depth, int width, int height); argument 57 int width, int height, int dstx, int dsty); 61 int width, int height, int maskOff, 81 int x, int y, int width, int height); 88 int dstX, int dstY, int width, int height); 56 copyArea(int src, int dst, long gc, int srcx, int srcy, int width, int height, int dstx, int dsty) argument 59 putMaskImage(int drawable, long gc, byte[] imageData, int sx, int sy, int dx, int dy, int width, int height, int maskOff, int maskScan, float ea) argument 80 renderRectangle(int dst, byte op, XRColor color, int x, int y, int width, int height) argument 86 renderComposite(byte op, int src, int mask, int dst, int srcX, int srcY, int maskX, int maskY, int dstX, int dstY, int width, int height) argument
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/ |
H A D | ExtendedSatelliteComponent.java | 83 double sy = bounds.width > 0 ? (double) size.height / bounds.height : 0.0; 87 int vh = (int) (scale * bounds.height); 89 int vy = (size.height - vh) / 2; 112 (int) ((double) viewRectangle.height * scale / zoomFactor)); 117 gr.drawRect(window.x, window.y, window.width - 1, window.height - 1); 155 double sy = bounds.width > 0 ? (double) size.height / bounds.height : 0.0; 159 int vh = (int) (scale * bounds.height); 161 int vy = (size.height [all...] |
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/ |
H A D | ExtendedSatelliteComponent.java | 84 double sy = bounds.width > 0 ? (double) size.height / bounds.height : 0.0; 88 int vh = (int) (scale * bounds.height); 90 int vy = (size.height - vh) / 2; 115 (int) ((double) viewRectangle.height * scale / zoomFactor)); 120 gr.drawRect(window.x, window.y, window.width - 1, window.height - 1); 158 double sy = bounds.width > 0 ? (double) size.height / bounds.height : 0.0; 162 int vh = (int) (scale * bounds.height); 164 int vy = (size.height [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | BevelBorder.java | 110 * @param height the height of the painted border 112 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 114 paintRaisedBevel(c, g, x, y, width, height); 117 paintLoweredBevel(c, g, x, y, width, height); 240 int width, int height) { 242 int h = height; 269 int width, int height) { 271 int h = height; 239 paintRaisedBevel(Component c, Graphics g, int x, int y, int width, int height) argument 268 paintLoweredBevel(Component c, Graphics g, int x, int y, int width, int height) argument
|
H A D | TitledBorder.java | 234 * @param height the height of the painted border 236 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 248 int borderH = height - edge - edge; 251 int labelH = size.height; 274 labelY += height - labelH - insets.bottom - edge; 277 labelY += height - labelH; 289 labelY += height - labelH; 338 border.paintBorder(c, g, x, y, width, height); 359 insets.top += size.height 564 getBaseline(Component c, int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalComboBoxButton.java | 119 int height = getHeight() - (insets.top + insets.bottom); 121 if ( height <= 0 || width <= 0 ) { 128 int bottom = top + (height - 1); 159 g.drawRect( left - 1, top - 1, width + 3, height + 1 ); 208 left, top, cWidth, height, shouldValidate ); 212 left + iconWidth, top, cWidth, height, shouldValidate ); 221 ret.height = insets.bottom + getComboIcon().getIconHeight() + insets.top;
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/ |
H A D | LoweredBorder.java | 69 * and had a width of <code>width</code> and a height of 70 * <code>height</code>. For performance reasons, you may want to read the 82 * @param height The height of the region to paint. Note that in the case of 86 protected void doPaint(Graphics2D g, JComponent c, int width, int height, argument 116 if (width != IMG_SIZE || height != IMG_SIZE){ 117 ImageScalingHelper.paint(g,0,0,width,height,img2, INSETS, INSETS, 174 * @param height the height of the painted border 177 int height) { 176 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaTextFieldUI.java | 99 rect.height += 6; 113 final int height = c.getHeight(); 117 delegate.paint(c, g, 0, 0, width, height); 128 g.fillRect(0, 0, width, height); 135 g.fillRect(0, 0, width, height); 151 final int shrinkage = AquaTextFieldBorder.getShrinkageFor(c, height); 152 g.fillRect(insets.left - 2, insets.top - shrinkage - 1, width - insets.right - insets.left + 4, height - insets.bottom - insets.top + shrinkage * 2 + 2);
|
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/ |
H A D | mlib_v_ImageCopy.c | 78 mlib_s32 height; /* height in lines of src and dst */ local 93 height = mlib_ImageGetHeight(dst); 102 size = height * (width >> 3); 128 for (j = 0; j < height; j++) { 134 for (j = 0; j < height; j++) { 160 size = height * width; 184 for (j = 0; j < height; j++) {
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifComboBoxUI.java | 79 size.height += insets.top + insets.bottom; 83 cachedMinimumSize.setSize( size.width, size.height ); 168 r.height = comboBox.getBounds().height - in.bottom - in.top; 170 g.fillRect(r.x,r.y,r.width,r.height); 173 g.fillRect(r.x,r.y,r.width,r.height); 193 bounds.width,d.height); 209 b.height -= (in.top + in.bottom); 217 b.y = b.y + (b.height - arrowIcon.getIconHeight()) / 2; 219 b.height [all...] |
/openjdk7/jdk/src/share/classes/java/awt/geom/ |
H A D | Rectangle2D.java | 100 * The height of this <code>Rectangle2D</code>. 104 public float height; field in class:Rectangle2D.Float 124 * @param h the height of the newly constructed 161 return (double) height; 169 return (width <= 0.0f) || (height <= 0.0f); 181 * @param h the height of this <code>Rectangle2D</code> 188 this.height = h; 199 this.height = (float) h; 210 this.height = (float) r.getHeight(); 236 if (this.height < 337 public double height; field in class:Rectangle2D.Double [all...] |
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/ |
H A D | BMPImageReader.java | 132 /** The original image height. */ 133 private int height; field in class:BMPImageReader 199 return height; 240 height = iis.readShort(); 243 height = iis.readInt(); 247 metadata.height = height; 485 if (height > 0) { 491 height = Math.abs(height); [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthToolBarUI.java | 309 bounds.x, bounds.y, bounds.width, bounds.height, 312 bounds.x, bounds.y, bounds.width, bounds.height, 370 dim.height = Math.max(dim.height, compDim.height); 374 dim.height = tb.isFloatable() ? 382 dim.height += compDim.height; 387 dim.height += insets.top + insets.bottom; 408 dim.height [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XScrollbar.java | 74 int width, height; // Dimensions of the visible part of the parent window field in class:XScrollbar 76 // equal to (width, height) for vertical, 120 public void setSize(int width, int height) { argument 121 if (log.isLoggable(PlatformLogger.FINER)) log.finer("Setting scroll bar " + this + " size to " + width + "x" + height); 123 this.height = height; 142 int y = height / 2 - getArrowWidth()/2; 163 * @param height the height of the scrollbar 178 buffer = graphicsConfig.createCompatibleImage(width, height); [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicSliderUI.java | 320 public int getBaseline(JComponent c, int width, int height) { argument 321 super.getBaseline(c, width, height); 328 int contentHeight = height - insets.top - insets.bottom - 330 int thumbHeight = thumbSize.height; 353 int thumbHeight = thumbSize.height; 358 int trackHeight = height - focusInsets.top - 409 pref.height); 479 d.height = insetCache.top + insetCache.bottom; 480 d.height += focusInsets.top + focusInsets.bottom; 481 d.height [all...] |
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | CImage.m | 36 (jint *srcPixels, jint *dstPixels, int width, int height) 40 for (y = 0; y < height; y++) { 55 (NSImage *srcImage, jint *dstPixels, int width, int height) 58 CGContextRef cgRef = CGBitmapContextCreate(dstPixels, width, height, 8, width * 4, colorspace, kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host); 64 NSRect rect = NSMakeRect(0, 0, width, height); 79 (JNIEnv *env, jclass klass, jintArray buffer, jint width, jint height) 87 pixelsHigh:height 103 CImage_CopyArrayIntoNSImageRep(src, imgData, width, height); 107 NSImage *nsImage = [[NSImage alloc] initWithSize:NSMakeSize(width, height)];
|
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11PMBlitLoops.c | 39 jint width, jint height) 47 if (width <= 0 || height <= 0) { 78 srcBounds.y2 = srcy + height; 84 span.y2 = dsty + height; 133 jint width, jint height) 141 if (width <= 0 || height <= 0) { 174 srcBounds.y2 = srcy + height; 180 dstBounds.y2 = dsty + height; 190 height = srcBounds.y2 - srcBounds.y1; 195 srcx, srcy, width, height, dst 33 Java_sun_java2d_x11_X11PMBlitLoops_nativeBlit(JNIEnv *env, jobject joSelf, jlong srcData, jlong dstData, jlong gc, jobject clip, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height) argument 127 Java_sun_java2d_x11_X11PMBlitBgLoops_nativeBlitBg(JNIEnv *env, jobject joSelf, jlong srcData, jlong dstData, jlong xgc, jint pixel, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height) argument 219 int height; local [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | TablePrintable.java | 48 * the page. (Note that width and height are scaled equally, ensuring that the 179 // the header clip height can be set once since it's unchanging 180 hclip.height = header.getHeight(); 301 // in findNextClip, just pass a width and height that have already 304 int scaledHeight = (int)((availableSpace - hclip.height) / sf); 344 tempRect.height = availableSpace; 378 g2d.translate(0, hclip.height); 392 g2d.drawRect(0, 0, clip.width, hclip.height + clip.height); 448 * @param ph the height o [all...] |