Searched defs:width (Results 451 - 475 of 532) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Dialog.cpp158 jint width = env->GetIntField(target, AwtComponent::widthID); local
163 x, y, width, height,
H A Dawt_List.cpp43 jint width; member in struct:AddItemsStruct
130 jint width = env->GetIntField(target, AwtComponent::widthID); local
134 x, y, width, height,
337 // Every time something gets added to the list, we increase the max width
338 // of items that have ever been added. If it surpasses the width of the
343 // The border width is added to the horizontal extent to ensure that we
356 // This function goes through all strings in the list to find the width,
597 jint width = ais->width; local
634 l->CheckMaxWidth(width);
859 Java_sun_awt_windows_WListPeer_addItems(JNIEnv *env, jobject self, jobjectArray items, jint index, jint width) argument
[all...]
H A Dawt_MenuItem.cpp80 * This constant holds width of the default menu
491 // Add in shortcut width, if one exists.
565 #define BM_SIZE 26 /* height and width of check.bmp */
568 int width = rect.right - rect.left; local
569 int diff = max(rect.bottom - rect.top - width, 0) ;
H A Dawt_TextComponent.cpp156 jint width = env->GetIntField(target, AwtComponent::widthID); local
160 x, y, width, height,
1119 // the width of that char
H A Dawt_Win32GraphicsDevice.cpp1065 jobject CreateDisplayMode(JNIEnv* env, jint width, jint height, argument
1085 jobject displayMode = env->NewObject(displayModeClass, cid, width,
1163 jint width, jint height, jint bitDepth, jint refreshRate)
1171 dm.dmPelsWidth = width;
1210 void addDisplayMode(JNIEnv* env, jobject arrayList, jint width, argument
1215 jobject displayMode = CreateDisplayMode(env, width, height,
1161 Java_sun_awt_Win32GraphicsDevice_configDisplayMode(JNIEnv* env, jobject graphicsDevice, jint screen, jobject windowPeer, jint width, jint height, jint bitDepth, jint refreshRate) argument
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngget.c83 return info_ptr->width;
669 png_uint_32 *width, png_uint_32 *height, int *bit_depth,
676 if (png_ptr == NULL || info_ptr == NULL || width == NULL ||
680 *width = info_ptr->width;
699 png_check_IHDR (png_ptr, info_ptr->width, info_ptr->height,
757 int *unit, png_fixed_point *width, png_fixed_point *height)
764 *width = png_fixed(png_ptr, atof(info_ptr->scal_s_width), "sCAL width");
777 int *unit, double *width, doubl
668 png_get_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, int *interlace_type, int *compression_type, int *filter_type) argument
756 png_get_sCAL_fixed(png_structp png_ptr, png_const_infop info_ptr, int *unit, png_fixed_point *width, png_fixed_point *height) argument
776 png_get_sCAL(png_const_structp png_ptr, png_const_infop info_ptr, int *unit, double *width, double *height) argument
792 png_get_sCAL_s(png_const_structp png_ptr, png_const_infop info_ptr, int *unit, png_charpp width, png_charpp height) argument
[all...]
H A Dpngset.c198 png_uint_32 width, png_uint_32 height, int bit_depth,
207 info_ptr->width = width;
215 png_check_IHDR (png_ptr, info_ptr->width, info_ptr->height,
234 if (width >
238 - 7*8 /* rounding of width to multiple of 8 pixels */
242 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, width);
374 png_error(png_ptr, "Invalid sCAL width");
419 png_set_sCAL(png_structp png_ptr, png_infop info_ptr, int unit, double width, argument
425 if (width <
197 png_set_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type) argument
449 png_set_sCAL_fixed(png_structp png_ptr, png_infop info_ptr, int unit, png_fixed_point width, png_fixed_point height) argument
[all...]
H A Dpngstruct.h128 png_uint_32 width; /* width of image in pixels */ member in struct:png_struct_def
131 png_uint_32 usr_width; /* width of row at start of write */
133 png_uint_32 iwidth; /* width of current interlaced row in pixels */
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A DLCMS.c562 int width, height, i; local
575 width = (*env)->GetIntField (env, src, IL_width_fID);
618 cmsDoTransform(sTrans.xf, inputRow, outputRow, width);
659 IL_width_fID = (*env)->GetFieldID (env, IL, "width", "I");
/openjdk7/jdk/src/share/classes/sun/print/
H A DPathGraphics.java179 * <code>x</code> and <code>x&nbsp;+&nbsp;width</code>.
187 * @param width the width of the rectangle to be drawn.
192 public void drawRect(int x, int y, int width, int height) { argument
202 deviceFrameRect(x, y, width, height, (Color) paint);
213 * <code>x</code> and <code>x&nbsp;+&nbsp;width&nbsp;-&nbsp;1</code>.
217 * <code>width</code> pixels wide by
224 * @param width the width of the rectangle to be filled.
229 public void fillRect(int x, int y, int width, in argument
265 clearRect(int x, int y, int width, int height) argument
286 drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument
311 fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument
337 drawOval(int x, int y, int width, int height) argument
352 fillOval(int x, int y, int width, int height) argument
394 drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
438 fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
1112 deviceFrameRect(int x, int y, int width, int height, Color color) argument
1125 deviceFillRect(int x, int y, int width, int height, Color color) argument
1433 drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) argument
1538 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument
[all...]
H A DPeekGraphics.java419 * @param width the width of the rectangle to intersect the clip with
424 public void clipRect(int x, int y, int width, int height) { argument
425 mGraphics.clipRect(x, y, width, height);
435 * @param width the width of the new clip rectangle.
441 public void setClip(int x, int y, int width, int height) { argument
442 mGraphics.setClip(x, y, width, height);
492 * @param width the width o
498 copyArea(int x, int y, int width, int height, int dx, int dy) argument
540 fillRect(int x, int y, int width, int height) argument
567 clearRect(int x, int y, int width, int height) argument
590 drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument
614 fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument
639 drawOval(int x, int y, int width, int height) argument
656 fillOval(int x, int y, int width, int height) argument
694 drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
730 fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
1000 drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) argument
1104 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument
1774 addDrawingRect(float x, float y, float width, float height) argument
1822 imageUpdate(Image img, int infoFlags, int x, int y, int width, int height) argument
[all...]
H A DProxyGraphics2D.java355 * @param width the width of the rectangle to intersect the clip with
360 public void clipRect(int x, int y, int width, int height) { argument
361 mGraphics.clipRect(x, y, width, height);
371 * @param width the width of the new clip rectangle.
377 public void setClip(int x, int y, int width, int height) { argument
378 mGraphics.setClip(x, y, width, height);
428 * @param width the width o
434 copyArea(int x, int y, int width, int height, int dx, int dy) argument
474 fillRect(int x, int y, int width, int height) argument
498 clearRect(int x, int y, int width, int height) argument
519 drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument
541 fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument
564 drawOval(int x, int y, int width, int height) argument
580 fillOval(int x, int y, int width, int height) argument
614 drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
648 fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
852 drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) argument
949 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument
[all...]
H A DRasterPrinterJob.java324 * Returns the resolution in dots per inch across the width
395 * page. The width and height of the band is
399 int width, int height)
666 int x = bounds.x+bounds.width/3;
879 int x = bounds.x+bounds.width/3;
1514 /* full width/height is not likely to be imageable, but since we
1855 double width = paper.getImageableWidth();
1857 paper.setImageableArea(paper.getWidth()-left-width,
1859 width, height);
1900 throw new PrinterException("Paper's imageable width i
398 printBand(byte[] data, int x, int y, int width, int height) argument
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLRenderQueue.c352 jint width = NEXT_INT(b); local
354 jint masklen = width * height * sizeof(jint);
356 dstx, dsty, width, height, b);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXBaseWindow.java91 int width; field in class:XBaseWindow
289 bounds.width = Math.max(MIN_SIZE, bounds.width);
369 bounds.width, bounds.height, // size
482 public void setSizeHints(long flags, int x, int y, int width, int height) { argument
495 hints.set_width(width);
501 hints.set_min_width(width);
510 if (maxBounds.width != Integer.MAX_VALUE) {
511 hints.set_max_width(maxBounds.width);
521 hints.set_max_width(width);
702 xSetBounds(int x, int y, int width, int height) argument
[all...]
H A DXDecoratedPeer.java131 int minWidth = minimumSize.width - insets.left - insets.right;
139 int nw = (bounds.width < minWidth) ? minWidth : bounds.width;
141 if (nw != bounds.width || nh != bounds.height) {
398 * computed width and height with wrong insets, we
477 updateSizeHints(rec.x, rec.y, rec.width, rec.height);
502 newBounds.width - insets.left - insets.right,
583 * @param x, y, width, heith - dimensions of the window with insets
585 private void reshape(int x, int y, int width, int height, int operation, argument
600 dims.setSize(width, heigh
629 setBounds(int x, int y, int width, int height, int op) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/x11/
H A DX11SurfaceData.java76 protected native void initSurface(int depth, int width, int height, argument
425 int width, int height,
430 return new X11PixmapSurfaceData(gc, width, height, image,
754 int width; field in class:X11SurfaceData.X11PixmapSurfaceData
759 int width, int height,
765 this.width = width;
769 initSurface(depth, width, height, drawable);
790 return new Rectangle(width, height);
795 return (x < 0 || y < 0 || (x+w) > width || (
424 createData(X11GraphicsConfig gc, int width, int height, ColorModel cm, Image image, long drawable, int transparency) argument
758 X11PixmapSurfaceData(X11GraphicsConfig gc, int width, int height, Image image, SurfaceType sType, ColorModel cm, long drawable, int transparency) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRBackendNative.java61 int width, int height);
76 int srcx, int srcy, int width, int height,
87 int width, int height);
92 int x, int y, int width, int height);
145 int x, int y, int width, int height) {
148 x, y, width, height);
292 int width, int height, int maskOff,
295 width, height, maskOff, maskScan, ea, MASK_XIMG);
301 int width, int height,
60 createPixmap(int drawable, int depth, int width, int height) argument
75 copyArea(int src, int dst, long gc, int srcx, int srcy, int width, int height, int dstx, int dsty) argument
84 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
89 renderRectangle(int dst, byte op, short red, short green, short blue, short alpha, int x, int y, int width, int height) argument
144 renderRectangle(int dst, byte op, XRColor color, int x, int y, int width, int height) argument
290 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
298 putMaskNative(int drawable, long gc, byte[] imageData, int sx, int sy, int dx, int dy, int width, int height, int maskOff, int maskScan, float ea, long xImg) argument
/openjdk7/jdk/src/share/classes/javax/swing/
H A DGroupLayout.java70 * along the horizontal axis as well as setting the x and width of the
686 * a preferred width of 10 and 20, both components are given a width of 20.
709 * and the preferred width is 10 and 20, both components are given
710 * a width of 20.
912 int width = parent.getWidth() - insets.left - insets.right;
919 width);
924 horizontalGroup.setSize(HORIZONTAL, 0, width);
928 info.setBounds(insets, width, ltr);
1108 private Dimension adjustSize(int width, in argument
[all...]
H A DJList.java210 * // We don't want the JList implementation to compute the width
592 fixedCellWidth = d.width;
602 * fixed width and height for cells. This can be {@code null} if there
620 * {@code ListUI} to compute the width/height of each cell, and there is a
646 * description: The cell prototype value, used to compute cell width and height.
667 * @return the fixed cell width
675 * Sets a fixed value to be used for the width of every cell in the list.
676 * If {@code width} is -1, cell widths are computed in the {@code ListUI}
684 * @param width the width t
693 setFixedCellWidth(int width) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicListUI.java213 int cw = rowBounds.width;
220 int w = Math.min(cw, rendererComponent.getPreferredSize().width + 4);
283 paintBounds.width,
287 paintBounds.width,
313 g.setClip(rowBounds.x, rowBounds.y, rowBounds.width,
315 g.clipRect(paintBounds.x, paintBounds.y, paintBounds.width,
338 g.fillRect(rect.x, rect.y, rect.width, rect.height);
376 decr = Point2D.distance(prev.x + prev.width,
386 < Point2D.distance(me.x + me.width,
396 rect.x += rect.width;
474 getBaseline(JComponent c, int width, int height) argument
[all...]
H A DBasicSliderUI.java320 public int getBaseline(JComponent c, int width, int height) { argument
321 super.getBaseline(c, width, height);
408 int labelBaseline = label.getBaseline(pref.width,
473 d.width = insetCache.left + insetCache.right;
474 d.width += focusInsets.left + focusInsets.right;
475 d.width += trackRect.width + tickRect.width + labelRect.width;
493 d.width
[all...]
H A DBasicTableUI.java450 r.x += Math.max(delta.width, r.width);
452 r.x -= delta.width;
1655 public int getBaseline(JComponent c, int width, int height) { argument
1656 super.getBaseline(c, width, height);
1690 private Dimension createTableSize(long width) { argument
1699 long tmp = Math.abs(width);
1709 * The minimum width is the sum of the minimum widths of each column.
1712 long width = 0;
1716 width
[all...]
H A DBasicTextUI.java911 if ((d.width > (i.left + i.right)) && (d.height > (i.top + i.bottom))) {
912 rootView.setSize(d.width - i.left - i.right, d.height - i.top - i.bottom);
914 else if (d.width == 0 && d.height == 0) {
919 d.width = (int) Math.min((long) rootView.getPreferredSpan(View.X_AXIS) +
945 d.width = (int) rootView.getMinimumSpan(View.X_AXIS) + i.left + i.right;
969 d.width = (int) Math.min((long) rootView.getMaximumSpan(View.X_AXIS) +
996 if ((alloc.width > 0) && (alloc.height > 0)) {
1001 alloc.width -= insets.left + insets.right;
1046 rootView.setSize(alloc.width, alloc.height);
1100 rootView.setSize(alloc.width, allo
1405 preferenceChanged(View child, boolean width, boolean height) argument
1712 setSize(float width, float height) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DAccessibleHTML.java139 if ((alloc.width > 0) && (alloc.height > 0)) {
144 alloc.width -= insets.left + insets.right;
631 * The bounds specify this object's width, height, and location
644 * The bounds specify this object's width, height, and location
656 * height, and the width field of the Dimension object contains this
657 * object's width.
666 return new Dimension(r.width, r.height);
673 * Resizes this object so that it has width and height.
1232 private int width = -1; field in class:AccessibleHTML.IconElementInfo
1241 width
[all...]

Completed in 135 milliseconds

<<11121314151617181920>>