Searched refs:width (Results 626 - 650 of 1066) sorted by relevance

<<21222324252627282930>>

/openjdk7/jdk/src/share/classes/sun/font/
H A DAttributeValues.java66 private float width = 1f; field in class:AttributeValues
101 public float getWidth() { return width; }
102 public void setWidth(float f) { this.width = f; update(EWIDTH); }
461 && width == rhs.width
517 case EWIDTH: b.append(width); break;
575 case EWIDTH: width = src.width; break;
604 case EWIDTH: return width == src.width;
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/
H A DImageReader.java552 * Returns the width in pixels of the given image within the input
556 * this method returns the default width.
560 * @return the width of the image, as an <code>int</code>.
565 * @exception IOException if an error occurs reading the width
633 * Returns the aspect ratio of the given image (that is, its width
636 * determine the appropriate width given a deired height, or vice
637 * versa. For non-resizable images, the true width and height
995 * have a width or height less than 1.
1058 * would have a width or height less than 1.
1150 * have a width o
2241 processImageUpdate(BufferedImage theImage, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument
2345 processThumbnailUpdate(BufferedImage theThumbnail, int minX, int minY, int width, int height, int periodX, int periodY, int[] bands) argument
2832 getDestination(ImageReadParam param, Iterator<ImageTypeSpecifier> imageTypes, int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/
H A DGIFImageReader.java106 int width = -1, height = -1; field in class:GIFImageReader
379 int width = Math.min(sourceRegion.width,
380 destinationRegion.width*sourceXSubsampling);
384 theTile.setDataElements(destX, destY, width, 1, rowBuf);
386 for (int x = 0; x < width; x += sourceXSubsampling, destX++) {
398 width, 1, 1, updateYStep,
424 if (streamX == width) {
794 destinationRegion.width - 1,
801 destinationRegion.width,
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_PrintJob.cpp142 // public void setSize(double width, double height)
146 // protected void setImageableArea(double x, double y, double width,
249 jdouble width; member in struct:__anon1093
266 jint x, jint y, jint width, jint height);
268 long width, long height);
299 static jbyte *findNonWhite(jbyte *image, long sy, long width, long height,
301 static jbyte *findWhite(jbyte *image, long sy, long width, long height,
661 int width = ::GetDeviceCaps(hdc, PHYSICALWIDTH); local
666 double w = (double)width/resx;
791 // width
1545 Java_sun_awt_windows_WPrinterJob_printBand(JNIEnv *env, jobject self, jbyteArray imageArray, jint x, jint y, jint width, jint height) argument
1753 Java_sun_awt_windows_WPrinterJob_frameRect(JNIEnv *env, jobject self, jlong printDC, jfloat x, jfloat y, jfloat width, jfloat height) argument
1782 Java_sun_awt_windows_WPrinterJob_fillRect(JNIEnv *env, jobject self, jlong printDC, jfloat x, jfloat y, jfloat width, jfloat height, jint red, jint green, jint blue) argument
1811 Java_sun_awt_windows_WPrinterJob_selectPen(JNIEnv *env, jobject self, jlong printDC, jfloat width, jint red, jint green, jint blue) argument
1837 Java_sun_awt_windows_WPrinterJob_selectStylePen(JNIEnv *env, jobject self, jlong printDC, jlong cap, jlong join, jfloat width, jint red, jint green, jint blue) argument
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/opengl/J2D_GL/
H A Dgl.h802 GLAPI void GLAPIENTRY glLineWidth( GLfloat width );
818 GLAPI void GLAPIENTRY glScissor( GLint x, GLint y, GLsizei width, GLsizei height);
909 GLsizei width, GLsizei height );
1242 GLAPI void GLAPIENTRY glBitmap( GLsizei width, GLsizei height,
1248 GLsizei width, GLsizei height,
1252 GLAPI void GLAPIENTRY glDrawPixels( GLsizei width, GLsizei height,
1257 GLsizei width, GLsizei height,
1322 GLsizei width, GLint border,
1328 GLsizei width, GLsizei height,
1358 GLsizei width, GLenu
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJComponent.java847 boolean hitClip = g.hitClip(cr.x, cr.y, cr.width,
854 int width = cr.width;
858 clipBounds.width, clipBounds.height, cr);
860 if(getObscuredState(i, cr.x, cr.y, cr.width,
866 cr.width = width;
869 Graphics cg = sg.create(cr.x, cr.y, cr.width,
1016 clipW = clipRect.width;
1090 rm.paint(this, this, g, clip.x, clip.y, clip.width, cli
2556 getBaseline(int width, int height) argument
4386 rectangleIsObscured(int x,int y,int width,int height) argument
4792 repaint(long tm, int x, int y, int width, int height) argument
5243 getObscuredState(int compIndex, int x, int y, int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DView.java282 * @param width true if the width preference has changed
286 public void preferenceChanged(View child, boolean width, boolean height) { argument
289 parent.preferenceChanged(this, width, height);
631 s1 = new Rectangle(alloc.x + alloc.width - 1, alloc.y,
642 // If it spans lines, force it to be the width of the view.
646 r0.width = alloc.width;
989 * @param width the width >
992 setSize(float width, float height) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DRescaleOp.java353 int width = src.getWidth();
361 if (width != dst.getWidth()) {
363 IllegalArgumentException("Src width ("+width+
364 ") not equal to dst width ("+
465 int width = src.getWidth();
475 else if (height != dst.getHeight() || width != dst.getWidth()) {
556 for (int x = 0; x < width; x++, sX++, dX++) {
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/
H A DRangeSlider.java123 int width = getWidth();
124 return (width / (size + 1));
141 int width = getWidth();
145 g2.fillRect(0, 0, width, height);
186 if (bounds.width < endX - startX && bounds.height < barStartY) {
188 g.drawString(curS, startX + (endX - startX) / 2 - bounds.width / 2, barStartY / 2 + bounds.height / 2);
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLGraphicsConfig.java197 public BufferedImage createCompatibleImage(int width, int height) { argument
200 raster = model.createCompatibleWritableRaster(width, height);
294 * Creates a new hidden-acceleration image of the given width and height
299 int width, int height)
303 model.createCompatibleWritableRaster(width, height);
444 createCompatibleVolatileImage(int width, int height, argument
464 SunVolatileImage vi = new AccelTypedVolatileImage(this, width, height,
520 int width;
523 if (totalDisplayBounds.width == 0) {
526 width
298 createAcceleratedImage(Component target, int width, int height) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/
H A DD3DGraphicsDevice.cpp34 extern jobject CreateDisplayMode(JNIEnv* env, jint width, jint height,
36 extern void addDisplayMode(JNIEnv* env, jobject arrayList, jint width,
253 jint width, jint height, jint bitDepth, jint refreshRate)
274 newParams.BackBufferWidth = width;
302 if (mode.Width == width && mode.Height == height &&
338 ::SendMessage(newParams.hDeviceWindow, WM_SIZE, width, height);
251 Java_sun_java2d_d3d_D3DGraphicsDevice_configDisplayModeNative(JNIEnv *env, jclass gdc, jint gdiScreen, jlong window, jint width, jint height, jint bitDepth, jint refreshRate) argument
/openjdk7/jdk/src/share/demo/applets/WireFrame/
H A DThreeD.java402 resize(getSize().width <= 20 ? 400 : getSize().width,
433 float f1 = getSize().width / xw;
489 float xtheta = (prevy - y) * 360.0f / getSize().width;
515 md.mat.scale(xfac, -xfac, 16 * xfac / getSize().width);
516 md.mat.translate(getSize().width / 2, getSize().height / 2, 8);
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DPiscesRenderingEngine.java50 * @param width the width of the widened path as per {@code BasicStroke}
60 float width,
71 width,
243 float width,
259 // However, if a path's width is constant after a transformation,
280 // them into 2D shapes by giving them width.
298 // the scaled width. This condition is satisfied if
310 width = (float)(scale * width);
59 createStrokedShape(Shape src, float width, int caps, int join, float miterlimit, float dashes[], float dashphase) argument
241 strokeTo(Shape src, AffineTransform at, float width, NormMode normalize, int caps, int join, float miterlimit, float dashes[], float dashphase, PathConsumer2D pc2d) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalTabbedPaneUI.java300 int lastTabRight = lastTabBounds.x + lastTabBounds.width - 1;
309 int currentTabRight = tabBounds.x + tabBounds.width - 1;
335 int tabRight = (tabBounds.x + tabBounds.width) - 1;
825 size.width - insets.left - insets.right,
830 g.fillRect( size.width - insets.right - totalTabWidth,
837 size.width - insets.right - insets.left,
860 int right = tabRect.width - 1;
975 if (selRect.x + selRect.width < right - 1) {
977 g.drawLine(selRect.x + selRect.width, y, right - 1, y);
979 g.drawLine(selRect.x + selRect.width
[all...]
H A DMetalButtonUI.java157 g.fillRect(0, 0, size.width, size.height);
184 focusRect.width+1, focusRect.height+1);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/
H A DOldHierarchicalLayoutManager.java82 private int width; field in class:OldHierarchicalLayoutManager.NodeData
91 width = node.getSize().width;
93 width = node.getSize().height;
103 width = DUMMY_WIDTH;
105 width = DUMMY_HEIGHT;
158 return width;
167 int yCoord = node.getSize().height + width - node.getSize().width;
177 width
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPrinterJob.java294 private int mPrintWidth; // width in pixels of printable area
298 private int mPageWidth; // width in pixels of entire page
995 protected void frameRect(float x, float y, float width, float height) { argument
996 frameRect(getPrintDC(), x, y, width, height);
999 protected void fillRect(float x, float y, float width, float height, argument
1003 fillRect(getPrintDC(), x, y, width, height,
1010 protected void selectPen(float width, Color color) { argument
1014 selectPen(getPrintDC(), width,
1021 protected boolean selectStylePen(int cap, int join, float width, argument
1043 return (selectStylePen(getPrintDC(), endCap, lineJoin, width,
1358 printBand(byte[] data, int x, int y, int width, int height) argument
1442 frameRect(long printDC, float x, float y, float width, float height) argument
1449 fillRect(long printDC, float x, float y, float width, float height, int red, int green, int blue) argument
1457 selectPen(long printDC, float width, int red, int green, int blue) argument
1464 selectStylePen(long printDC, long cap, long join, float width, int red, int green, int blue) argument
1745 setWin32MediaAttrib(int dmIndex, int width, int length) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicOptionPaneUI.java253 return new Dimension(minimumSize.width,
274 (Math.max(lmSize.width, ourMin.width),
693 newComponent.getMinimumSize().width);
831 * width.
912 * component will be set to the largest preferred size width.
1009 maxWidth = Math.max(maxWidth, pref.width);
1011 totalButtonWidth += pref.width;
1055 children[index].setBounds(x, insets.top, pref.width,
1086 maxWidth = Math.max(maxWidth, aSize.width);
[all...]
H A DBasicIconFactory.java120 int width = 14; field in class:BasicIconFactory.EmptyFrameIcon
123 public int getIconWidth() { return width; }
H A DBasicInternalFrameTitlePane.java467 // Calculate width.
468 int width = 22;
471 width += 19;
474 width += 19;
477 width += 19;
490 width += (title_w < subtitle_w) ? title_w : subtitle_w;
492 width += title_w;
508 Dimension dim = new Dimension(width, height);
514 dim.width += insets.left + insets.right;
/openjdk7/jdk/src/solaris/native/sun/awt/splashscreen/
H A Dsplashscreen_sys.c118 initRect(&maskRect, 0, 0, splash->width, splash->height, 1,
119 splash->width * splash->imageFormat.depthBytes,
121 if (!IS_SAFE_SIZE_MUL(splash->width / 2 + 1, splash->height)) {
125 sizeof(XRectangle), (splash->width / 2 + 1) * splash->height);
225 splash->x = prop[0] - splash->width/2;
234 splash->x = (XWidthOfScreen(splash->screen) - splash->width) / 2;
243 sizeHints.width = sizeHints.base_width = sizeHints.min_width = sizeHints.max_width = splash->width;
266 splash->x, splash->y, splash->width, splash->height, 0, CopyFromParent,
336 splash->width, splas
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DCode.java258 /** The width in bytes of objects of the type.
260 public static int width(int typecode) { method in class:Code
268 public static int width(Type type) { method in class:Code
269 return type == null ? 1 : width(typecode(type));
272 /** The total width taken up by a vector of objects.
274 public static int width(List<Type> types) { method in class:Code
277 w = w + width(l.head);
412 int argsize = width(mtype.getParameterTypes());
425 int argsize = width(mtype.getParameterTypes());
440 int argsize = width(mtyp
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXListPeer.java49 public final static int SCROLLBAR_WIDTH = 13; // Actual width of the
291 * Calculates the width of item's label
299 * return the on-screen width of the given string "str"
344 return new Rectangle(width - (SCROLLBAR_WIDTH), 0, SCROLLBAR_WIDTH+1, height);
348 return new Rectangle(0, height - SCROLLBAR_WIDTH, width, SCROLLBAR_WIDTH);
481 // recalculate horizontal scrollbar width - then we're done...
494 hsb.setBlockIncrement(width - ((2 * SPACE) + (2 * MARGIN) + (vsbVis ? SCROLLBAR_AREA : 0)));
498 return width - ((2 * MARGIN) + (vsbVis ? SCROLLBAR_AREA : 0));
530 // width is always only based on presence of vert sb
532 focusRect.width
1900 paintScrollBar(XScrollbar scr, Graphics g, int x, int y, int width, int height, boolean paintAll) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngrutil.c557 png_uint_32 width, height; local
575 width = png_get_uint_31(png_ptr, buf);
584 png_ptr->width = width;
619 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, png_ptr->width);
623 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth,
2023 /* Need unit type, width, \0, height: minimum 4 bytes */
2071 png_warning(png_ptr, "Invalid sCAL chunk ignored: bad width format");
2074 png_warning(png_ptr, "Invalid sCAL chunk ignored: non-positive width");
2720 PNG_ROWBYTES(png_ptr->row_info.pixel_depth, png_ptr->width))
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DBorderUIResource.java112 int width, int height) {
113 delegate.paintBorder(c, g, x, y, width, height);
111 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument

Completed in 290 milliseconds

<<21222324252627282930>>