Searched refs:width (Results 426 - 450 of 1066) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/solaris/native/sun/awt/
H A DXrandr.h43 int width, height; member in struct:__anon963
63 int width; member in struct:__anon964
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DBlitLoops.h80 jint width, jint height);
86 jint width, jint height,
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageCheck.h91 #define MLIB_IMAGE_GET_ALL_PARAMS(image, type, nchan, width, height, stride, pdata) \
94 width = mlib_ImageGetWidth(image); \
H A Dawt_ImagingLib.c278 /* Kernel has even width */
519 /* Kernel has even width */
860 fprintf(stderr,"Width : %d\n",src->width);
868 fprintf(stderr,"Width : %d\n",dst->width);
1066 fprintf(stderr,"Width : %d\n",src->width);
1074 fprintf(stderr,"Width : %d\n",dst->width);
1180 if (src->width != dst->width || src->height != dst->height) {
1186 int npix = src->width;
1192 for (x=0; status && x < width;
1780 int width; local
2139 int width; local
2303 int width; local
2849 int width = rasterP->width; local
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DDefaultPreviewPanel.java85 int width = SwingUtilities2.stringWidth(host, fm, getSampleText());
88 int x = squareSize * 3 + squareGap*2 + swatchWidth + width + textGap*3;
130 int width = SwingUtilities2.stringWidth(host, fm, getSampleText());
143 width + (textGap),
156 width + (textGap),
164 return width + textGap*3;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTextAreaUI.java111 * The method is overridden to take into account caret width.
125 * The method is overridden to take into account caret width.
187 public int getBaseline(JComponent c, int width, int height) { argument
188 super.getBaseline(c, width, height);
198 rootView.getView(0), width - insets.left -
297 * @param width the width >= 0
300 public void setSize(float width, float height) { argument
301 if ((int) width != getWidth()) {
304 super.setSize(width, heigh
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DNimbusIcon.java41 private int width; field in class:NimbusIcon
47 this.width = w;
148 painter.paint(gfx, jc , width, height);
156 return width;
168 return scale(context, width);
189 return scale(context, width);
/openjdk7/jdk/src/share/classes/sun/awt/im/
H A DCompositionArea.java96 compositionWindow.setLocation(screenSize.width - windowSize.width-20,
117 // returns a 0-width rectangle
216 // If it's a passive client, set the width always to PASSIVE_WIDTH (480px)
268 if (caretRect.x + windowSize.width > screenSize.width) {
269 windowLocation.x = screenSize.width - windowSize.width;
/openjdk7/jdk/src/share/classes/sun/font/
H A DGraphicComponent.java165 float width = (float) bounds.getWidth() +
170 width,
293 public int getLineBreakIndex(int start, float width) { argument
295 int index = (int) (width / graphicAdvance);
312 float width = graphicAdvance * graphicCount;
315 return new Rectangle2D.Float(left, top, width, height);
/openjdk7/jdk/src/share/classes/java/awt/
H A DGridLayout.java309 * The preferred width of a grid layout is the largest preferred
310 * width of all of the components in the container times the number of
342 if (w < d.width) {
343 w = d.width;
358 * The minimum width of a grid layout is the largest minimum width
391 if (w < d.width) {
392 w = d.width;
443 int widthWOInsets = parent.width - (insets.left + insets.right);
461 for (int c = 0, x = (parent.width
[all...]
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DAWTSurfaceLayers.m81 CGRect newRect = CGRectMake(rect.origin.x, newY, rect.size.width, rect.size.height);
122 (JNIEnv *env, jclass clazz, jlong surfaceLayersPtr, jint x, jint y, jint width, jint height)
130 CGRect rect = CGRectMake(x, y, width, height);
/openjdk7/jdk/src/share/native/sun/awt/image/gif/
H A Dgifdecoder.c119 jint width, jint height,
187 int x = width;
238 width, passht,
400 * width of the frame is set to zero. If
401 * global width (i.e. width of the logical screen)
407 while ((width > 0) && (--len >= 0)) {
423 width, passht,
433 x = width;
116 Java_sun_awt_image_GifImageDecoder_parseImage(JNIEnv *env, jobject this, jint relx, jint rely, jint width, jint height, jint interlace, jint initCodeSize, jbyteArray blockh, jbyteArray raslineh, jobject cmh) argument
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DByteIndexed.c156 juint width, juint height,
172 memcpy(dstBase, srcBase, width);
181 width, height,
198 juint width, juint height,
218 x, width, height,
224 x, width, height,
H A DIndex12Gray.c151 juint width, juint height,
167 memcpy(dstBase, srcBase, width);
177 width, height,
186 juint width, juint height,
206 x, width, height,
214 x, width, height,
H A DIndex8Gray.c148 juint width, juint height,
164 memcpy(dstBase, srcBase, width);
174 width, height,
183 juint width, juint height,
203 x, width, height,
211 x, width, height,
H A DUshortIndexed.c146 juint width, juint height,
156 jint bytesToCopy = width * pDstInfo->pixelStride;
172 width, height,
189 juint width, juint height,
209 x, width, height,
215 x, width, height,
H A DAlphaMacros.h77 jint width, jint height, \
107 srcScan -= width * SRC ## PixelStride; \
108 dstScan -= width * DST ## PixelStride; \
109 maskScan -= width; \
116 jint w = width; \
223 jint width, jint height, \
240 srcScan -= width * SRC ## PixelStride; \
241 dstScan -= width * DST ## PixelStride; \
245 maskScan -= width; \
248 jint w = width; \
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DSheetDialog.java67 // limiting the width when using multi-line html messages.
111 iconR.x = iconR.y = iconR.width = iconR.height = 0;
112 textR.x = textR.y = textR.width = textR.height = 0;
117 viewR.width = viewR.height = Short.MAX_VALUE;
121 // Use pref width if less than 300, otherwise
122 // min width up to size of window.
124 Math.min(pref.width,
125 Math.max(min.width, 300)));
135 return new Dimension(textR.width + dx,
/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...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXButtonPeer.java225 g.fillRect(0,0, size.width , size.height);
228 size.width-(borderInsets.left+borderInsets.right),
240 viewRect.width = size.width - (contentAreaInsets.left+contentAreaInsets.right);
269 size.width-(focusInsets.left+focusInsets.right)-1,
294 size.width-(contentAreaInsets.left+contentAreaInsets.right),
H A DXPopupMenuPeer.java260 int width = fm.stringWidth(str);
262 Dimension textDimension = new Dimension(width, height);
282 int width = fm.stringWidth(str);
283 int textx = rect.x + (rect.width - width) / 2;
288 draw3DRect(g, rect.x, sepy, rect.width, 2, false);
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DRaster.java59 * minY, width, and height values. The minX and minY values define
94 * bounding rectangle of the same width and height but with a
143 /** The width of this Raster. */
144 protected int width; field in class:Raster
178 * specified data type, width, height, and number of bands.
192 * @param w the width in pixels of the image data
197 * width, height and number of bands.
218 * specified data type, width, height, scanline stride, pixel
234 * @param w the width in pixels of the image data
241 * width, heigh
1311 createChild(int parentX, int parentY, int width, int height, int childMinX, int childMinY, int bandList[]) argument
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaSpinnerUI.java167 public int getBaseline(JComponent c, int width, int height) { argument
168 super.getBaseline(c, width, height);
171 width = width - insets.left - insets.right;
173 if (width >= 0 && height >= 0) {
174 int baseline = editor.getBaseline(width, height);
508 painter.paint(g, spinner, 0, 0, bounds.width, bounds.height);
515 return new Dimension(kPreferredSize.width, kPreferredSize.height - 8);
571 final Dimension size = new Dimension(editorD.width, Math.max(painterD.height, editorD.height));
572 size.width
583 setBounds(final Component c, final int x, final int y, final int width, final int height) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWDataTransferer.java319 int width = 0;
325 width = ir.getWidth();
328 width = image.getWidth(null);
343 int mod = (width * 3) % 4;
353 Raster.createInterleavedRaster(DataBuffer.TYPE_BYTE, width, height,
354 width * 3 + pad, 3, bOffs, null);
375 return imageDataToPlatformImageBytes(imageData, width, height, format);
410 int width, int height,
441 int width = imageData[len];
445 WritableRaster raster = Raster.createPackedRaster(buffer, width,
409 imageDataToPlatformImageBytes(byte[] imageData, int width, int height, long format) argument
521 toPaddedString(int n, int width) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DSurfaceData.java164 private int width, height; field in class:D3DSurfaceData
190 private native void initOps(int screen, int width, int height); argument
214 int width, int height, Image image,
223 this.width = width;
230 initOps(graphicsDevice.getScreen(), width, height);
274 return new D3DSurfaceData(peer, gc, r.width, r.height,
307 int width, int height,
320 ret = new D3DSurfaceData(null, gc, width, height,
334 ret = new D3DSurfaceData(null, gc, width, heigh
213 D3DSurfaceData(WComponentPeer peer, D3DGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int numBackBuffers, int swapEffect, VSyncType vSyncType, int type) argument
306 createData(D3DGraphicsConfig gc, int width, int height, ColorModel cm, Image image, int type) argument
[all...]

Completed in 256 milliseconds

<<11121314151617181920>>