Searched refs:width (Results 251 - 275 of 1066) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_ThreeByteBgr.c75 if (width < 16) {
80 for (i = 0; i < width; i++) {
90 if (srcScan == 3*width && dstScan == 4*width) {
91 width *= height;
112 for (i = i0; i <= (mlib_s32)width - 8; i += 8) {
129 for (; i < width; i++) {
147 if (width < 16) {
151 mlib_s32 *dst_end = dst + width;
175 mlib_f32 *dst_end = dst + width;
[all...]
H A Dvis_FourByteAbgr.c79 mlib_s32 width)
81 mlib_s32 *dst_end = dstBase + width;
132 if (width < 16) {
137 for (i = 0; i < width; i++) {
149 if (dstScan == 4*width && srcScan == dstScan) {
150 width *= height;
153 count = width >> 1;
154 left = width & 1;
266 if (width < 16) {
271 for (i = 0; i < width;
77 IntArgbToIntAbgrConvert_line(mlib_s32 *srcBase, mlib_s32 *dstBase, mlib_s32 width) argument
1888 int width, height; local
[all...]
H A Dvis_IntArgbPre.c53 if (dstScan == 4*width && srcScan == 4*width) {
54 width *= height;
74 for (i = i0; i <= (mlib_s32)width - 2; i += 2) {
87 if (i < width) {
110 if (width < 16) {
118 for (i = 0; i < width; i++) {
162 for (i = i0; i <= (mlib_s32)width - 2; i += 2) {
180 if (i < width) {
211 if (dstScan == 4*width
1108 int width, height; local
[all...]
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DRoundRectangle2D.java33 * dimension {@code (w x h)}, and the width and height of an arc
69 * The width of this <code>RoundRectangle2D</code>.
73 public float width; field in class:RoundRectangle2D.Float
83 * The width of the arc that rounds off the corners.
113 * @param w the width to which to set the newly
117 * @param arcw the width of the arc to use to round off the
152 return (double) width;
184 return (width <= 0.0f) || (height <= 0.0f);
196 * @param w the width to which to set this
200 * @param arcw the width t
286 public double width; field in class:RoundRectangle2D.Double
[all...]
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DSampleModel.java87 protected int width; field in class:SampleModel
111 * @param w The width (in pixels) of the region of image data.
130 throw new IllegalArgumentException("Dimensions (width="+w+
147 this.width = w;
152 /** Returns the width in pixels.
153 * @return the width in pixels of the region of image data
157 return width;
338 * @param w The width of the pixel rectangle.
364 if (x < 0 || x >= width || w > width || x
[all...]
H A DBufferedImage.java301 * @param width width of the created image
319 public BufferedImage(int width, argument
331 raster = colorModel.createCompatibleWritableRaster(width,
340 raster = colorModel.createCompatibleWritableRaster(width,
359 raster = colorModel.createCompatibleWritableRaster(width,
371 raster = colorModel.createCompatibleWritableRaster(width,
385 width, height,
386 width*3, 3,
400 width, heigh
539 BufferedImage(int width, int height, int imageType, IndexColorModel cm) argument
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DMaskFill.c78 jint width = rasInfo.bounds.x2 - rasInfo.bounds.x1; local
91 width, height,
123 jint width = cx2 - cx1; local
146 for (x = 0; x < width; x++) {
153 pMask[width-1] = DblToMask(y1 * x2);
157 width, 1,
209 for (x = 0; x < width; x++) {
216 pMask[width-1] = DblToMask(y2 * x2);
220 width, 1,
552 jint width local
731 jint width = ix2 - ix1; local
790 jint width = cx2 - cx1; local
1023 jint width = ix2 - ix1; local
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DShortInterleavedRaster.java57 /** A cached copy of minX + width for use in bounds checks. */
132 this.maxX = minX + width;
274 * @param width Width of the pixel rectangle.
327 * @param width Width of the sample rectangle.
390 * @param width Width of the pixel rectangle.
462 int width = inRaster.getWidth();
465 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) {
470 setDataElements(dstOffX, dstOffY, width, height, inRaster);
481 * @param width The number of pixels to store horizontally
486 int width, in
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...]
/openjdk7/jdk/src/share/classes/java/awt/image/renderable/
H A DRenderableImageProducer.java177 int width = raster.getWidth();
186 ic.setDimensions(width,height);
195 int pix[] = new int[width];
200 for(i = 0; i < width; i++) {
208 ic.setPixels(0, j, width, 1, colorModel, pix, 0, width);
/openjdk7/jdk/src/share/classes/java/applet/
H A DApplet.java176 * &lt;applet code="Clock" width=50 height=50&gt;
210 * @param width the new requested width for the applet.
213 public void resize(int width, int height) { argument
215 if ((d.width != width) || (d.height != height)) {
216 super.resize(width, height);
218 stub.appletResize(width, height);
226 * @param d an object giving the new width and height.
229 resize(d.width,
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTextFieldBorder.java64 public void paintBorder(final Component c, final Graphics g, int x, int y, int width, int height) { argument
66 // g.drawRect(x, y, width - 1, height - 1);
71 painter.paint(g, c, x, y, width, height);
81 painter.paint(g, c, x, y, width, height);
89 width -= (subInsets.left + subInsets.right);
95 clipBounds.width -= shrinkage * 2;
99 painter.paint(g, c, x, y, width, height);
101 // g.drawRect(x, y, width - 1, height - 1);
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DBorderedComponent.java79 return textLabel.getBaseline(dim.width, dim.height) + textLabel.getY();
179 d.width += i.left + i.right;
202 p.width,
209 d.width - i.left - i.right,
328 * @param width the width of the painted border
331 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
337 border.paintBorder(c, g, x, y, width, height);
343 width - (EDGE_SPACING * 2),
347 int baseline = label.getBaseline(labelDim.width, labelDi
537 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/font/
H A DXRGlyphCacheEntry.java132 int width = getWidth();
140 if(x < width) {
151 int rowBytesWidth = width * 3;
184 int width = getWidth();
185 return isGrayscale(listContainsLCDGlyphs) ? (int) Math.ceil(width / 4.0) * 4 : width;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicProgressBarUI.java251 public int getBaseline(JComponent c, int width, int height) { argument
252 super.getBaseline(c, width, height);
337 * Returns the width (if HORIZONTAL) or height (if VERTICAL)
388 protected int getAmountFull(Insets b, int width, int height) { argument
394 amountFull = (int)Math.round(width *
488 length = getBoxLength(componentInnards.width,
490 maxPosition = componentInnards.x + componentInnards.width
495 componentInnards.width);
513 r.width = getBoxLength(componentInnards.width,
707 paintString(Graphics g, int x, int y, int width, int height, int amountFull, Insets b) argument
751 paintString(Graphics g, int x, int y, int width, int height, int fillStart, int amountFull, Insets b) argument
797 getStringPlacement(Graphics g, String progressString, int x,int y,int width,int height) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthScrollBarUI.java306 trackBounds.y, trackBounds.width, trackBounds.height,
309 trackBounds.y, trackBounds.width, trackBounds.height,
325 thumbBounds.y, thumbBounds.width, thumbBounds.height,
328 thumbBounds.y, thumbBounds.width, thumbBounds.height,
333 * A vertical scrollbar's preferred width is the maximum of
336 * and the minimum width of the thumb. The preferred height is the
363 minimumThumbSize.width = scrollBarWidth;
366 minimumThumbSize.width = 7;
382 int width = getWidth();
389 //adjust the width b
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DListView.java80 if ((clip.x + clip.width) < (alloc.x + getLeftInset())) {
91 childRect.width, childRect.height,
112 listPainter.paint(g, alloc.x, alloc.y, alloc.width, alloc.height, this, index);
/openjdk7/jdk/src/share/classes/sun/font/
H A DFontDesignMetrics.java419 // Uses advCache to get character width
461 float width = 0;
470 width = new TextLayout(str, font, frc).getAdvance();
476 width += getLatinCharWidth(ch);
478 width = new TextLayout(str, font, frc).getAdvance();
481 width += handleCharWidth(ch);
486 return (int) (0.5 + width);
491 float width = 0;
497 width = new TextLayout(str, font, frc).getAdvance();
507 width
[all...]
/openjdk7/jdk/src/share/classes/java/awt/peer/
H A DComponentPeer.java197 * @param width the width of the component
206 void setBounds(int x, int y, int width, int height, int op); argument
379 * Creates an empty image with the specified width and height. This is
383 * @param width the width of the image
392 Image createImage(int width, int height); argument
395 * Creates an empty volatile image with the specified width and height.
399 * @param width the width o
407 createVolatileImage(int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsPopupMenuSeparatorUI.java73 skin.paintSkin(g, x, y, s.width - x - 1, skinHeight, State.NORMAL);
77 g.drawLine(1, y - 1, s.width - 2, y - 1);
80 g.drawLine(1, y, s.width - 2, y);
H A DWindowsRadioButtonUI.java115 BasicGraphicsUtils.drawDashedRect(g, textRect.x, textRect.y, textRect.width, textRect.height);
124 /* Ensure that the width and height of the button is odd,
129 if(d.width % 2 == 0) { d.width += 1; }
/openjdk7/jdk/src/share/classes/java/awt/
H A DImage.java65 * Determines the width of the image. If the width is not yet known,
69 * @return the width of this image, or <code>-1</code>
70 * if the width is not yet known.
141 * the image at the specified <code>width</code> and
148 * If either <code>width</code>
151 * dimensions. If both <code>width</code> and <code>height</code>
154 * @param width the width to which to scale the image.
159 * @exception IllegalArgumentException if <code>width</cod
168 getScaledInstance(int width, int height, int hints) argument
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/
H A DBlockWidget.java66 r.width--;
68 if (this.getBounds().width > 0 && this.getBounds().height > 0) {
70 g.drawRect(r.x, r.y, r.width, r.height);
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
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/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageChannelExtract.h283 mlib_s32 width,
290 mlib_s32 width,
298 mlib_s32 width,
306 mlib_s32 width,
313 mlib_s32 width,
320 mlib_s32 width,
328 mlib_s32 width,
335 mlib_s32 width,
343 mlib_s32 width,
353 mlib_s32 width,
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWDialogPeer.java121 public void reshape(int x, int y, int width, int height) { argument
123 super.reshape(x, y, width, height);
125 reshapeFrame(x, y, width, height);

Completed in 96 milliseconds

<<11121314151617181920>>