Searched defs:width (Results 1 - 25 of 532) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/awt/Graphics2D/FlipDrawImage/
H A DFlipDrawImage.java40 private static final int width = 400; field in class:FlipDrawImage
48 VolatileImage vi = gc.createCompatibleVolatileImage(width, height);
49 final BufferedImage bi = new BufferedImage(width, height,
55 g2d.fillRect(0, 0, width, height);
57 g2d.fillRect(0, 0, width / 2, height / 2);
71 g.fillRect(0, 0, width, height);
72 // destination width and height are flipped and scale is used.
73 g.drawImage(vi, width / 2, height / 2, -width / 2, -height / 2,
85 for (int x = 0; x < width;
[all...]
/openjdk7/jdk/test/java/awt/image/DrawImage/
H A DIncorrectBounds.java42 private static final int width = 400; field in class:IncorrectBounds
50 VolatileImage vi = gc.createCompatibleVolatileImage(width / 4,
52 final BufferedImage bi = new BufferedImage(width, height,
58 g2d.fillRect(0, 0, width / 4, height / 4);
72 g.fillRect(0, 0, width, height);
74 g.drawImage(vi, 0, 0, width / 2, height / 2, 0, 0, width * 2,
86 for (int x = 0; x < width; ++x) {
88 if (x < width / 16 && y < height / 16) {
H A DIncorrectOffset.java40 private static final int width = 400; field in class:IncorrectOffset
48 VolatileImage vi = gc.createCompatibleVolatileImage(width, height);
49 BufferedImage bi = new BufferedImage(width / 4, height / 4,
55 g2d.fillRect(0, 0, width, height);
57 g2d.fillRect(width / 4, height / 4, width / 2, height / 2);
71 g.drawImage(vi, 0, 0, width / 4, height / 4, width / 4, height / 4,
72 width / 4 + width /
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DDimensionUIResource.java53 public DimensionUIResource(int width, int height) { argument
54 super(width, height);
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DPrinterSurfaceData.h34 jint width; member in struct:_PrintSDOps
/openjdk7/jdk/test/java/awt/image/
H A DGetDataElementsTest.java39 public static int width = 100; field in class:GetDataElementsTest
45 SampleModel sm = new ComponentSampleModel(dataType, width, height, 4, width * 4, new int[] { 0, 1, 2, 3 } );
/openjdk7/jdk/src/share/classes/javax/swing/
H A DPainter.java51 * public void paint(Graphics2D g, Component c, int width, int height) {
86 * <p>Finally, the <code>width</code> and <code>height</code> arguments specify the
87 * width and height that the <code>Painter</code> should paint into. More
88 * specifically, the specified width and height instruct the painter that it should
89 * paint fully within this width and height. Any specified clip on the
103 * @param width width of the area to paint.
106 public void paint(Graphics2D g, T object, int width, int height); argument
H A DDebugGraphicsObserver.java49 int width, int height) {
47 imageUpdate(Image img, int infoflags, int x, int y, int width, int height) argument
/openjdk7/jdk/src/share/classes/java/util/
H A DFormattable.java57 * public void formatTo(Formatter fmt, int f, int width, int precision) {
76 * // apply width and justification
78 * if (len < width)
79 * for (int i = 0; i < width - len; i++)
139 * @param width
142 * <tt>width</tt> then the output will be padded by
144 * equals width. The padding is at the beginning by default. If
146 * padding will be at the end. If <tt>width</tt> is <tt>-1</tt>
151 * The precision is applied before the width, thus the output will
153 * <tt>width</t
163 formatTo(Formatter formatter, int flags, int width, int precision) argument
[all...]
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLPreElement.java50 * Fixed width for content. See the width attribute definition in HTML
54 public void setWidth(int width); argument
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnD/
H A DImageGenerator.java36 public int width; field in class:ImageGenerator
41 width = _width;
44 width,
52 gr.fillRect(0, 0, width, height);
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDInOut/
H A DImageGenerator.java36 public int width; field in class:ImageGenerator
41 width = _width;
44 width,
52 gr.fillRect(0, 0, width, height);
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDNegative/
H A DImageGenerator.java36 public int width; field in class:ImageGenerator
41 width = _width;
44 width,
52 gr.fillRect(0, 0, width, height);
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DGlyphImageRef.h44 int width; member in struct:__anon914
/openjdk7/jdk/test/javax/swing/border/
H A DTest6625450.java42 // test width
53 private static void test(boolean expected, int width, int height) { argument
55 BORDER.getBaseline(COMPONENT, width, height);
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DBorder.java73 * @param width the width of the painted border
76 void paintBorder(Component c, Graphics g, int x, int y, int width, int height); argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DToolBarSeparatorPainter.java61 protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) { argument
67 for (int i=INSET; i<=width-INSET; i+=SPACE) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthBorder.java53 int width, int height) {
62 ui.paintBorder(context, g, x, y, width, height);
52 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
/openjdk7/jdk/src/share/classes/sun/awt/
H A DCustomCursor.java54 int width = cursor.getWidth(c);
62 if (tracker.isErrorAny() || width < 0 || height < 0) {
67 Dimension nativeSize = toolkit.getBestCursorSize(width, height);
68 if (nativeSize.width != width || nativeSize.height != height) {
69 cursor = cursor.getScaledInstance(nativeSize.width,
72 width = nativeSize.width;
77 if (hotSpot.x >= width || hotSpot.y >= height || hotSpot.x < 0 || hotSpot.y < 0) {
88 int[] pixels = new int[width * heigh
100 createNativeCursor(Image im, int[] pixels, int width, int height, int xHotSpot, int yHotSpot) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DDataBufferNative.java51 protected int width; field in class:DataBufferNative
58 public DataBufferNative(SurfaceData sData, int type, int width, int height) { argument
59 super(type, width*height);
60 this.width = width;
75 return getElem(i % width, i / width, surfaceData);
89 setElem(i % width, i / width, val, surfaceData);
H A DOffScreenImage.java100 private void initSurface(int width, int height) { argument
103 g2.clearRect(0, 0, width, height);
H A DWritableRasterNative.java67 int width,
72 int scanStride = width;
85 smHw = new PixelInterleavedSampleModel(dataType, width,
100 smHw = new SinglePixelPackedSampleModel(dataType, width,
112 smHw = new SinglePixelPackedSampleModel(dataType, width,
122 width, height);
65 createNativeRaster(ColorModel cm, SurfaceData sd, int width, int height) argument
/openjdk7/jdk/src/share/classes/java/awt/geom/
H A DDimension2D.java29 * The <code>Dimension2D</code> class is to encapsulate a width
56 * Returns the width of this <code>Dimension</code> in double
58 * @return the width of this <code>Dimension</code>.
73 * specified width and height.
77 * @param width the new width for the <code>Dimension</code>
83 public abstract void setSize(double width, double height); argument
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DKernel.java40 private int width; field in class:Kernel
54 * The first <code>width</code>*<code>height</code> elements of
57 * than width*height, an <code>IllegalArgumentException</code> is thrown.
58 * The X origin is (width-1)/2 and the Y origin is (height-1)/2.
59 * @param width width of the kernel
63 * is less than the product of <code>width</code> and
66 public Kernel(int width, int height, float data[]) { argument
67 this.width = width;
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsDesktopIconUI.java47 private int width; field in class:WindowsDesktopIconUI
55 width = UIManager.getInt("DesktopIcon.width");
90 * Windows desktop icons are restricted to a width of 160 pixels by
91 * default. This value is retrieved by the DesktopIcon.width property.
95 dim.width = width;

Completed in 43 milliseconds

1234567891011>>