Searched defs:height (Results 101 - 125 of 483) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DBlitBg.c40 jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height)
71 srcInfo.bounds.y2 = srcy + height;
75 dstInfo.bounds.y2 = dsty + height;
36 Java_sun_java2d_loops_BlitBg_BlitBg(JNIEnv *env, jobject self, jobject srcData, jobject dstData, jobject comp, jobject clip, jint bgColor, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height) argument
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/iio/
H A DIIOTests.java136 int height,
141 image = new BufferedImage(width, height, hasAlpha ?
146 for (int y = 0; y < height; y++) {
163 g.fillRect(0, 0, width, height);
166 g.fillOval(2, 2, width-4, height-4);
168 g.fillOval(4, 4, width-8, height-8);
170 g.fillRect(8, 8, width-16, height-16);
172 g.drawLine(0, 0, width, height);
173 g.drawLine(0, height, width, 0);
189 g.drawImage(photo, 0, 0, width, height, nul
135 createBufferedImage(int width, int height, String type, boolean hasAlpha) argument
[all...]
/openjdk7/jdk/test/javax/imageio/plugins/shared/
H A DBitDepth.java49 int height = 10;
52 BufferedImage bi = new BufferedImage(width, height,
56 g.fillRect(0, 0, width, height);
60 if (bi2.getWidth() != width || bi2.getHeight() != height) {
65 for (int y = 0; y < height; y++) {
118 private int height = 80; field in class:BitDepth
159 BufferedImage bi = new BufferedImage(width, height, type);
168 g.fillRect(0, 0, width, height);
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DPixelDrawPipe.java47 int x, int y, int width, int height);
50 int x, int y, int width, int height,
54 int x, int y, int width, int height);
57 int x, int y, int width, int height,
46 drawRect(SunGraphics2D sg, int x, int y, int width, int height) argument
49 drawRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight) argument
53 drawOval(SunGraphics2D sg, int x, int y, int width, int height) argument
56 drawArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle) argument
H A DPixelFillPipe.java44 int x, int y, int width, int height);
48 int x, int y, int width, int height,
52 int x, int y, int width, int height);
55 int x, int y, int width, int height,
43 fillRect(SunGraphics2D sg, int x, int y, int width, int height) argument
47 fillRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight) argument
51 fillOval(SunGraphics2D sg, int x, int y, int width, int height) argument
54 fillArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle) argument
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DMaskTile.java44 public void addRect(int x, int y, int width, int height) { argument
49 rects.setHeight(index, height);
H A DXRMaskBlit.java70 int height, byte[] mask, int maskoff, int maskscan) {
71 if (width <= 0 || height <= 0) {
86 uploadMask(width, height, maskscan, maskoff, mask);
88 srcx, srcy, 0, 0, dstx, dsty, width, height);
89 maskBuffer.getMaskBuffer().clearUploadMask(maskPict, width, height);
68 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
H A DXRMaskImage.java66 int height) {
69 int maskHeight = Math.max(height / MASK_SCALE_FACTOR, 1);
70 maskTX.scale(((double) width) / maskWidth, ((double) height) / maskHeight);
100 private void initBlitMask(int parentDrawable, int width, int height) { argument
101 int newPM = con.createPixmap(parentDrawable, 8, width, height);
113 con.renderRectangle(blitMaskPicture, XRUtils.PictOpClear, XRColor.NO_ALPHA, 0, 0, width, height);
116 blitMaskDimensions.height = height;
123 if (minSizeX > blitMaskDimensions.width || minSizeY > blitMaskDimensions.height) {
125 int newHeight = Math.max(minSizeY, blitMaskDimensions.height);
65 prepareBlitMask(XRSurfaceData dst, AffineTransform maskTX, int width, int height) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DAnnotation.java47 private int height; field in class:Annotation
105 /** Computes width and height for this Annotation. Retrieve the
107 because the width and height only need to be recomputed if the
111 height = 0;
117 height += (int) bounds.getHeight();
127 return height;
152 return new Rectangle(x, y, width, height);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultListCellRenderer.java238 public void repaint(long tm, int x, int y, int width, int height) {} argument
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DBevelBorder.java110 * @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
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicBorders.java243 int width, int height) {
257 BasicGraphicsUtils.drawBezel(g, x, y, width, height,
278 int width, int height) {
279 BasicGraphicsUtils.drawBezel(g, x, y, width, height,
299 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
306 BasicGraphicsUtils.drawLoweredBezel(g, x, y, width, height,
310 BasicGraphicsUtils.drawBezel(g, x, y, width, height,
316 BasicGraphicsUtils.drawBezel(g, x, y, width, height, false, false,
336 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
340 g.drawLine(0, height
242 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
277 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
394 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
430 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
512 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
[all...]
H A DBasicGraphicsUtils.java250 public static void drawDashedRect(Graphics g,int x,int y,int width,int height) { argument
256 g.fillRect(vx, y + height-1, 1, 1);
260 for (vy = y; vy < (y + height); vy+=2) {
297 r.height += insets.top + insets.bottom;
H A DBasicIconFactory.java119 int height = 16; field in class:BasicIconFactory.EmptyFrameIcon
124 public int getIconHeight() { return height; }
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalBumps.java61 public MetalBumps( int width, int height, argument
63 setBumpArea( width, height );
86 setBumpArea( bumpArea.width, bumpArea.height );
89 public void setBumpArea( int width, int height ) {
91 yBumps = height / 2;
H A DMetalComboBoxUI.java84 bounds.height -= (buttonInsets.top + buttonInsets.bottom);
88 bounds.height -= 4;
112 g.drawRect(bounds.x, bounds.y, bounds.width, bounds.height - 1);
115 bounds.height - 3);
125 g.fillRect(bounds.x + 2, bounds.y + bounds.height -
145 public int getBaseline(JComponent c, int width, int height) { argument
147 if (MetalLookAndFeel.usingOcean() && height >= 4) {
148 height -= 4;
149 baseline = super.getBaseline(c, width, height);
155 baseline = super.getBaseline(c, width, height);
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DEffectUtils.java69 int height = src.getHeight();
70 if (dst == null || dst.getWidth() != width || dst.getHeight() != height || src.getType() != dst.getType()) {
75 int[] srcPixels = new int[width * height];
76 int[] dstPixels = new int[width * height];
77 getPixels(src, 0, 0, width, height, srcPixels);
79 blur(srcPixels, dstPixels, width, height, kernel, radius);
82 blur(dstPixels, srcPixels, height, width, kernel, radius);
84 setPixels(dst, 0, 0, width, height, srcPixels);
86 byte[] srcPixels = new byte[width * height];
87 byte[] dstPixels = new byte[width * height];
116 blur(int[] srcPixels, int[] dstPixels, int width, int height, float[] kernel, int radius) argument
178 blur(byte[] srcPixels, byte[] dstPixels, int width, int height, float[] kernel, int radius) argument
408 createCompatibleTranslucentImage(int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthLabelUI.java111 public int getBaseline(JComponent c, int width, int height) { argument
115 if (width < 0 || height < 0) {
117 "Width and height must be >= 0");
131 viewRect.height = height - (i.bottom + viewRect.y);
146 textRect.height);
/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DDefaultTableCellRenderer.java317 public void repaint(long tm, int x, int y, int width, int height) {} argument
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DMap.java111 * <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). */
255 /** Last value of height passed in. */
293 public boolean contains(int x, int y, int width, int height) { argument
297 if (lastWidth != width || lastHeight != height) {
299 lastHeight = height;
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...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DIntegerInterleavedRaster.java58 /** A cached copy of minY + height for use in bounds checks. */
130 this.maxY = minY + height;
253 * @param height Height of the pixel rectangle.
327 int height = inRaster.getHeight();
329 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) {
334 setDataElements(dstOffX, dstOffY, width, height, inRaster);
346 * @param height The number of pixels to store vertically
350 int width, int height,
353 if (width <= 0 || height <= 0) {
378 for (int startY=0; startY < height; start
349 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument
456 createWritableChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument
510 createChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument
[all...]
H A DShortInterleavedRaster.java60 /** A cached copy of minY + height for use in bounds checks. */
133 this.maxY = minY + height;
275 * @param height Height of the pixel rectangle.
328 * @param height Height of the sample rectangle.
391 * @param height Height of the pixel rectangle.
463 int height = inRaster.getHeight();
465 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) {
470 setDataElements(dstOffX, dstOffY, width, height, inRaster);
482 * @param height The number of pixels to store vertically
486 int width, int height,
485 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument
676 createChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument
705 createWritableChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument
[all...]
H A DSunVolatileImage.java48 * methods (width, height, etc.) but delegates all surface management
62 private int width, height; field in class:SunVolatileImage
67 int width, int height, Object context,
74 this.height = height;
95 int width, int height, Object context,
99 width, height, context, Transparency.OPAQUE, caps, UNDEFINED);
102 public SunVolatileImage(Component comp, int width, int height) { argument
103 this(comp, width, height, null);
107 int width, int height, Objec
65 SunVolatileImage(Component comp, GraphicsConfiguration graphicsConfig, int width, int height, Object context, int transparency, ImageCapabilities caps, int accType) argument
93 SunVolatileImage(Component comp, GraphicsConfiguration graphicsConfig, int width, int height, Object context, ImageCapabilities caps) argument
106 SunVolatileImage(Component comp, int width, int height, Object context) argument
113 SunVolatileImage(GraphicsConfiguration graphicsConfig, int width, int height, int transparency, ImageCapabilities caps) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DAreaAveragingScaleFilter.java72 * its source Image as specified by the width and height parameters.
74 * @param height the target height to scale the image
76 public AreaAveragingScaleFilter(int width, int height) { argument
77 super(width, height);
H A DImageConsumer.java45 * @param height the height of the source image
47 void setDimensions(int width, int height); argument
151 * @param h the height of the area of pixels
177 * @param h the height of the area of pixels

Completed in 935 milliseconds

1234567891011>>