Searched defs:height (Results 201 - 225 of 483) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/java/awt/image/
H A DSampleModel.java92 protected int height; field in class:SampleModel
112 * @param h The height (in pixels) of the region of image data.
126 throw new IllegalArgumentException("Width ("+w+") and height ("+
131 " height="+h+") are too large");
148 this.height = h;
160 /** Returns the height in pixels.
161 * @return the height in pixels of the region of image data
165 return height;
339 * @param h The height of the pixel rectangle.
365 y < 0 || y >= height ||
[all...]
/openjdk7/jdk/src/share/classes/java/beans/
H A DBeans.java627 public void appletResize(int width, int height) { argument
/openjdk7/jdk/src/share/classes/javax/imageio/
H A DImageTypeSpecifier.java1008 * encapsulated within this object. The width and height of the
1019 * encapsulated within this object. The width and height of the
1023 * @param height the desired height of the returned
1029 * <code>height</code> are negative or zero.
1031 * <code>width</code> and <code>height</code> is greater than
1034 public SampleModel getSampleModel(int width, int height) { argument
1035 if ((long)width*height > Integer.MAX_VALUE) {
1037 ("width*height > Integer.MAX_VALUE!");
1039 return sampleModel.createCompatibleSampleModel(width, height);
1070 createBufferedImage(int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifGraphicsUtils.java86 * (<b>x</b>, <b>y</b>, <b>width</b>, <b>height</b>).
95 int width, int height, int justification) {
96 drawStringInRect(null, g, aString, x, y, width, height, justification);
100 int x, int y, int width, int height,
131 delta = (height - fontMetrics.getAscent() - fontMetrics.getDescent()) / 2;
136 startY = y + height - delta - fontMetrics.getDescent();
163 viewRect.height -= (i.bottom + viewRect.y);
184 g.fillRect(0,0, size.width, size.height);
381 acceleratorR.width = acceleratorR.height = 0;
387 acceleratorR.height
94 drawStringInRect(Graphics g, String aString, int x, int y, int width, int height, int justification) argument
99 drawStringInRect(JComponent c, Graphics g, String aString, int x, int y, int width, int height, int justification) argument
451 drawMenuBezel(Graphics g, Color background, int x, int y, int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsTableHeaderUI.java204 skin.paintSkin(g, 0, 0, size.width-1, size.height-1, state);
239 int width, int height) {
238 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DFlowLayout.java415 dim.height = Math.max(dim.height, d.height);
423 int baseline = m.getBaseline(d.width, d.height);
426 maxDescent = Math.max(maxDescent, d.height - baseline);
432 dim.height = Math.max(maxAscent + maxDescent, dim.height);
436 dim.height += insets.top + insets.bottom + vgap*2;
464 dim.height = Math.max(dim.height,
514 moveComponents(Container target, int x, int y, int width, int height, int rowStart, int rowEnd, boolean ltr, boolean useBaseline, int[] ascent, int[] descent) argument
[all...]
H A DGraphics2D.java433 * by <code>height&nbsp;+&nbsp;1</code> pixels tall. This method
439 * @param height the height of the rectangle to be drawn.
445 public void draw3DRect(int x, int y, int width, int height, argument
453 //drawLine(x, y, x, y + height);
454 fillRect(x, y, 1, height + 1);
458 //drawLine(x + 1, y + height, x + width, y + height);
459 fillRect(x + 1, y + height, width, 1);
460 //drawLine(x + width, y, x + width, y + height
482 fill3DRect(int x, int y, int width, int height, boolean raised) argument
[all...]
H A DMediaTracker.java154 * g.fillRect(0, 0, size().width, size().height);
217 * rendered at the indicated width and height.
222 * @param h the height at which the image is rendered
774 * width, height, and ID from this media tracker.
779 * @param height the height to remove (-1 for unscaled)
785 int width, int height) {
791 && ((ImageMediaEntry) cur).matches(image, width, height))
884 int height; field in class:ImageMediaEntry
895 height
784 removeImage(Image image, int id, int width, int height) argument
[all...]
H A DRectangle.java35 * in the coordinate space, its width, and its height.
38 * <code>height</code> are <code>public</code> fields. The constructors
40 * one, do not prevent setting a negative value for width or height.
43 * A {@code Rectangle} whose width or height is exactly zero has location
54 * A {@code Rectangle} whose width or height is negative has neither
76 * negative width and height or it should use the first point in the set
102 * The values stored into the {@link #width} and {@link #height} dimension
153 * The height of the <code>Rectangle</code>.
160 public int height; field in class:Rectangle
183 * height ar
211 Rectangle(int x, int y, int width, int height) argument
225 Rectangle(int width, int height) argument
358 setBounds(int x, int y, int width, int height) argument
377 setRect(double x, double y, double width, double height) argument
436 reshape(int x, int y, int width, int height) argument
625 setSize(int width, int height) argument
639 resize(int width, int height) argument
[all...]
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/
H A DSynthModel.java179 @XmlAttribute int height; field in class:Dimension
183 return String.format("new Dimension%s(%d, %d)", uiSuffix, width, height);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaButtonBorder.java72 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument
75 //paintButton(c, g, x, y, width, height);
78 public void paintButton(final Component c, final Graphics g, int x, int y, int width, int height) { argument
88 // g.drawRect(x, y, width - 1, height - 1);
94 height -= (subInsets.top + subInsets.bottom);
98 // g.drawRect(x, y, width - 1, height - 1);
100 doButtonPaint(b, model, g, x, y, width, height);
103 protected void doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, final int height) { argument
104 painter.paint(g, b, x, y, width, height);
166 if (sizeVariant.h > 0 && sizeVariant.h > d.height)
211 getContentInsets(final AbstractButton b, final int width, final int height) argument
228 doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, int x, int y, int width, int height) argument
244 getStyleForSize(final AbstractButton b, final Size size, final int width, final int height) argument
274 doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, final int height) argument
297 doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, final int height) argument
[all...]
H A DAquaTextFieldSearch.java311 // apparently without adjusting for odd height pixels, the search field "wobbles" relative to it's contents
312 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument
314 super.paintBorder(c, g, x, y - (height % 2), width, height);
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLSurfaceData.java45 protected final int height; field in class:CGLSurfaceData
49 native void validate(int xoff, int yoff, int width, int height, boolean isOpaque); argument
55 boolean isOpaque, int width, int height);
58 int width, int height) {
63 this.height = height * scale;
67 ColorModel cm, int type,int width, int height)
69 this(gc, cm, type, width, height);
84 ColorModel cm, int type,int width, int height)
86 this(gc, cm, type, width, height);
54 initPbuffer(long pData, long pConfigInfo, boolean isOpaque, int width, int height) argument
57 CGLSurfaceData(CGLGraphicsConfig gc, ColorModel cm, int type, int width, int height) argument
66 CGLSurfaceData(CPlatformView pView, CGLGraphicsConfig gc, ColorModel cm, int type,int width, int height) argument
83 CGLSurfaceData(CGLLayer layer, CGLGraphicsConfig gc, ColorModel cm, int type,int width, int height) argument
144 createData(CGLGraphicsConfig gc, int width, int height, ColorModel cm, Image image, int type) argument
262 CGLLayerSurfaceData(CGLLayer layer, CGLGraphicsConfig gc, int width, int height) argument
314 CGLVSyncOffScreenSurfaceData(CPlatformView pView, CGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument
336 CGLOffScreenSurfaceData(CPlatformView pView, CGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCImage.java61 // the width and height passed in as a parameter could differ than the width and the height of the NSImage (image), in that case, the image will be scaled
62 BufferedImage createBufferedImage(long image, double width, double height) { argument
64 return createImageWithSize(image, width, height);
67 public BufferedImage createImageWithSize(final long image, final double width, final double height) { argument
69 img.resize(width, height);
74 public BufferedImage createImageOfFile(final String file, final int width, final int height) { argument
75 return createBufferedImage(nativeCreateNSImageOfFileFromLaunchServices(file), width, height);
78 public BufferedImage createImageFromFile(final String file, final double width, final double height) { argument
80 nativeSetNSImageSize(image, width, height);
84 createSystemImageFromSelector(final String iconSelector, final int width, final int height) argument
88 createImageFromName(final String name, final int width, final int height) argument
[all...]
H A DCPlatformView.java43 private native long nativeCreateView(int x, int y, int width, int height, long windowLayerPtr); argument
84 public void setBounds(int x, int y, int width, int height) { argument
85 CWrapper.NSView.setFrame(ptr, x, y, width, height);
127 im = getGraphicsConfiguration().createCompatibleImage(r.width, r.height, transparency);
218 int y = getBounds().height - event.getY();
240 responder.handleWindowDidExposeEvent(new Rectangle(r.width, r.height));
H A DCPrinterDialogPeer.java71 public void setBounds(int x, int y, int width, int height) {} argument
80 void invalidate(int x, int y, int width, int height) {} argument
H A DCRobot.java159 int c[] = new int[bounds.width * bounds.height];
172 nativeGetScreenPixels(r.x, r.y, r.width, r.height, pixels);
174 private native void nativeGetScreenPixels(int x, int y, int width, int height, int[] pixels); argument
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DImageSurfaceData.h79 jint height; member in struct:_ImageSDOps
H A DQuartzSurfaceData.h75 jint height; member in struct:_statePatternInfo
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/
H A DBMPMetadata.java49 public int height; field in class:BMPMetadata
134 addChildNode(root, "Height", new Integer(height));
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLImageElement.java84 * Override height. See the height attribute definition in HTML 4.0.
87 public void setHeight(String height); argument
H A DHTMLObjectElement.java119 * Override height. See the height attribute definition in HTML 4.0.
122 public void setHeight(String height); argument
H A DHTMLTableCellElement.java113 * Cell height. See the height attribute definition in HTML 4.0. This
117 public void setHeight(String height); argument
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_Robot.c208 jint height,
218 DTRACE_PRINTLN6("RobotPeer: getRGBPixelsImpl(%lx, %d, %d, %d, %d, %x)", xgc, x, y, width, height, pixelArray);
223 if ((width * height) == 0) {
227 DASSERT(width * height > 0); /* only allow positive size */
233 image = getWindowImage(awt_display, rootWindow, x, y, width, height);
236 if (!IS_SAFE_SIZE_MUL(width, height) ||
237 !(ary = (jint *) SAFE_SIZE_ARRAY_ALLOC(malloc, width * height, sizeof (jint))))
245 for (y = 0; y < height; y++) {
257 (*env)->SetIntArrayRegion(env, pixelArray, 0, height * width, ary);
202 Java_sun_awt_X11_XRobotPeer_getRGBPixelsImpl( JNIEnv *env, jclass cls, jobject xgc, jint x, jint y, jint width, jint height, jintArray pixelArray) argument
H A Dawt_UNIXToolkit.c108 int height = (*fp_gdk_pixbuf_get_height)(pixbuf); local
114 jbyteArray data = (*env)->NewByteArray(env, (row_stride * height));
115 (*env)->SetByteArrayRegion(env, data, 0, (row_stride * height),
123 width, height, row_stride, bps, channels, alpha);

Completed in 68 milliseconds

1234567891011>>