Searched defs:width (Results 151 - 175 of 532) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaButtonLabeledUI.java113 g.fillRect(0, 0, size.width, size.height);
120 ((AquaButtonBorder)border).paintButton(c, g, viewRect.x, viewRect.y, viewRect.width, viewRect.height);
126 viewRect.width = b.getWidth() - (i.right + viewRect.x);
140 widgetBorder.paintButton(c, g, iconRect.x, iconRect.y, iconRect.width, iconRect.height);
212 final int x2 = Math.max(prefIconRect.x + prefIconRect.width, prefTextRect.x + prefTextRect.width);
215 int width = x2 - x1;
219 width += prefInsets.left + prefInsets.right;
221 return new Dimension(width, height);
241 protected void doButtonPaint(final AbstractButton b, final ButtonModel model, final Graphics g, final int x, final int y, final int width, fina argument
[all...]
H A DAquaComboBoxRenderer.java77 public int getBaseline(int width, int height) { argument
78 return super.getBaseline(width, height) - 1;
H A DAquaPainter.java127 slices.paint(g, boundsRect.x, boundsRect.y, boundsRect.width, boundsRect.height);
146 if (bounds.width <= 0 || bounds.height <= 0) {
156 final int imgW = bounds.width * scale;
167 imgW, imgH, 0, 0, bounds.width, bounds.height);
171 g.drawImage(img, bounds.x, bounds.y, bounds.width, bounds.height, null);
188 protected Image createTemplateImage(int width, int height) { argument
209 g.fillRect(boundsRect.x, boundsRect.y, boundsRect.width, boundsRect.height);
H A DAquaSplitPaneDividerUI.java100 if (size.width > maxSize) {
101 final int diff = size.width - maxSize;
103 size.width = maxSize;
105 if (size.width < 4) doPaint = false;
110 painter.paint(g, splitPane, x, y, size.width, size.height);
188 if (size.width > maxSize) {
189 final int diff = size.width - maxSize;
224 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument
231 g2d.fillRect(x, y, width, height);
233 g2d.drawLine(x, y, x + width,
[all...]
H A DAquaTableHeaderBorder.java65 * @param width the width of the painted border
69 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument
79 getAlternateBorder().paintBorder(jc, g, x, y, width, height);
104 final int newWidth = width;
H A DAquaTableHeaderUI.java220 private Dimension createHeaderSizeAqua(long width) { argument
222 if (width > Integer.MAX_VALUE) {
223 width = Integer.MAX_VALUE;
225 return new Dimension((int)width, getHeaderHeightAqua());
229 * Return the minimum size of the header. The minimum width is the sum of the minimum widths of each column (plus
233 long width = 0;
237 width = width + aColumn.getMinWidth();
239 return createHeaderSizeAqua(width);
244 * the components provided by the header renderers. The preferred width i
[all...]
H A DAquaTextPasswordFieldUI.java84 getCapsLockPainter().paintBorder(component, g, bounds.x, bounds.y, bounds.width, bounds.height);
142 public void paintBorder(final Component c, Graphics g, final int x, final int y, final int width, final int height) { argument
143 g = g.create(width - 23, height / 2 - 8, 18, 18);
/openjdk7/jdk/src/macosx/classes/sun/awt/
H A DCGraphicsConfig.java45 public BufferedImage createCompatibleImage(int width, int height) { argument
113 * Creates a new hidden-acceleration image of the given width and height
117 int width, int height)
116 createAcceleratedImage(Component target, int width, int height) argument
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCPrinterSurfaceData.java49 initOps(context, this.fGraphicsStates, this.fGraphicsStatesObject, gc.getBounds().width, gc.getBounds().height);
56 private native void initOps(long context, ByteBuffer byteParameters, Object[] objectParameters, int width, int height); argument
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/
H A DWBMPImageReader.java62 /** The original image width. */
63 private int width; field in class:WBMPImageReader
102 return width;
144 // Read image width
145 width = ReaderUtil.readMultiByteInteger(iis);
146 metadata.width = width;
203 computeRegions(param, this.width, this.height,
217 bi = new BufferedImage(destinationRegion.x + destinationRegion.width,
222 destinationRegion.equals(new Rectangle(0, 0, width, heigh
[all...]
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLAppletElement.java125 * Override width. See the width attribute definition in HTML 4.0. This
129 public void setWidth(String width); argument
H A DHTMLIFrameElement.java87 * Frame margin width, in pixels. See the marginwidth attribute
115 * Frame width. See the width attribute definition in HTML 4.0.
118 public void setWidth(String width); argument
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageChannelExtract.c48 * The src and dst must have the same width, height and data type.
69 mlib_s32 width, mlib_s32 height,
75 mlib_s32 width, mlib_s32 height,
81 mlib_s32 width, mlib_s32 height,
87 mlib_s32 width, mlib_s32 height,
94 mlib_s32 width, mlib_s32 height);
98 mlib_s32 width, mlib_s32 height,
103 mlib_s32 width, mlib_s32 height,
108 mlib_s32 width, mlib_s32 height);
112 mlib_s32 width, mlib_s3
353 mlib_s32 width, height; /* for src and dst */ local
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/opengl/
H A DGLXSurfaceData.c362 oglsdo->width = attr.width;
377 oglsdo->width = widget->core.width;
389 oglsdo->width, oglsdo->height);
399 jint width, jint height)
414 width, height, isOpaque);
435 attrlist[1] = width;
454 oglsdo->width = width;
395 Java_sun_java2d_opengl_GLXSurfaceData_initPbuffer(JNIEnv *env, jobject glxsd, jlong pData, jlong pConfigInfo, jboolean isOpaque, jint width, jint height) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWChoicePeer.java75 public synchronized native void reshape(int x, int y, int width, int height); argument
/openjdk7/jdk/src/windows/classes/sun/java2d/opengl/
H A DWGLSurfaceData.java48 int width, int height);
103 return new WGLOffScreenSurfaceData(peer, gc, r.width, r.height,
107 return new WGLVSyncOffScreenSurfaceData(peer, gc, r.width, r.height,
118 int width, int height,
122 return new WGLOffScreenSurfaceData(null, gc, width, height,
181 int width, int height,
185 super(peer, gc, width, height, image, cm, type);
204 private int width, height; field in class:WGLSurfaceData.WGLOffScreenSurfaceData
208 int width, int height,
214 this.width
46 initPbuffer(long pData, long pConfigInfo, boolean isOpaque, int width, int height) argument
117 createData(WGLGraphicsConfig gc, int width, int height, ColorModel cm, Image image, int type) argument
179 WGLVSyncOffScreenSurfaceData(WComponentPeer peer, WGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument
206 WGLOffScreenSurfaceData(WComponentPeer peer, WGLGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int type) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DMaskCache.cpp99 int width, int height,
131 width, height,
147 tx2 = tx1 + (((float)width) / D3D_MASK_CACHE_WIDTH_IN_TEXELS);
152 dx2 = dx1 + width;
97 AddMaskQuad(int srcx, int srcy, int dstx, int dsty, int width, int height, int maskscan, void *mask) argument
H A DD3DSurfaceData.h45 jint width, height; member in struct:_D3DSDOps
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIBlitLoops.cpp56 jint width, jint height,
69 srcInfo.bounds.x2 = srcx + width;
86 SurfaceDataBounds dstBounds = {dstx, dsty, dstx + width, dsty + height};
96 width = srcInfo.bounds.x2 - srcInfo.bounds.x1;
99 if (width > 0 && height > 0)
193 SetDIBitsToDevice(hDC, dstx, dsty, width, height,
201 SetDIBitsToDevice(hDC, dstx, dsty+i, width, 1,
50 Java_sun_java2d_windows_GDIBlitLoops_nativeBlit(JNIEnv *env, jobject joSelf, jobject srcData, jobject dstData, jobject clip, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height, jint rmask, jint gmask, jint bmask, jboolean needLut) argument
/openjdk7/jdk/src/share/javavm/export/
H A Djawt.h143 jint width; member in struct:jawt_Rectangle
/openjdk7/jdk/src/share/native/sun/awt/image/
H A DBufImgSurfaceData.c107 jint width, jint height,
139 bisdo->rasbounds.x2 = width;
104 Java_sun_awt_image_BufImgSurfaceData_initRaster(JNIEnv *env, jobject bisd, jobject array, jint offset, jint bitoffset, jint width, jint height, jint pixStr, jint scanStr, jobject icm) argument
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageCreate.c45 * mlib_s32 width,
52 * mlib_s32 width,
80 * width image width in pixels
86 * w width of the sub-image
129 mlib_s32 width,
134 mlib_s32 wb; /* width in bytes */
142 image -> width = width;
156 if (width <
126 mlib_ImageSet(mlib_image *image, mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height, mlib_s32 stride, const void *data) argument
230 mlib_ImageCreateStruct(mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height, mlib_s32 stride, const void *data) argument
256 mlib_ImageCreate(mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height) argument
376 mlib_s32 width; /* for parent image */ local
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DMaskBlit.c40 jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height,
70 srcInfo.bounds.x2 = srcx + width;
74 dstInfo.bounds.x2 = dstx + width;
37 Java_sun_java2d_loops_MaskBlit_MaskBlit(JNIEnv *env, jobject self, jobject srcData, jobject dstData, jobject comp, jobject clip, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height, jbyteArray maskArray, jint maskoff, jint maskscan) argument
/openjdk7/jdk/src/share/classes/sun/swing/table/
H A DDefaultTableCellHeaderRenderer.java151 emptyIcon.width = sortArrow.getIconWidth();
170 viewR.width = getWidth() - (i.left + i.right);
191 int width = 0; field in class:DefaultTableCellHeaderRenderer.EmptyIcon
194 public int getIconWidth() { return width; }
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DUtility.java229 * Convert a integer to size width hex uppercase digits.
232 * If width is too small to fit, nothing will be appended to output.
234 public static StringBuffer hex(int ch, int width, StringBuffer output) { argument
235 return appendNumber(output, ch, 16, width);
239 * Convert a integer to size width (minimum) hex uppercase digits.
241 * than width digits, more will be used.
243 public static String hex(int ch, int width) { argument
245 return appendNumber(buf, ch, 16, width).toString();

Completed in 40 milliseconds

1234567891011>>