Searched defs:height (Results 1 - 25 of 483) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/awt/Graphics2D/FlipDrawImage/
H A DFlipDrawImage.java41 private static final int height = 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,
86 for (int y = 0; y < height;
[all...]
/openjdk7/jdk/test/java/awt/image/DrawImage/
H A DIncorrectBounds.java43 private static final int height = 400; field in class:IncorrectBounds
51 height / 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,
75 height * 2, null);
87 for (int y = 0; y < height; ++y) {
88 if (x < width / 16 && y < height / 16) {
H A DIncorrectOffset.java41 private static final int height = 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 / 2, height / 4 + height /
[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.h35 jint height; member in struct:_PrintSDOps
/openjdk7/jdk/test/java/awt/image/
H A DGetDataElementsTest.java40 public static int height = 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
104 * @param height height 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/test/java/awt/dnd/ImageDecoratedDnD/
H A DImageGenerator.java37 public int height; field in class:ImageGenerator
42 height = _height;
45 height,
52 gr.fillRect(0, 0, width, height);
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDInOut/
H A DImageGenerator.java37 public int height; field in class:ImageGenerator
42 height = _height;
45 height,
52 gr.fillRect(0, 0, width, height);
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDNegative/
H A DImageGenerator.java37 public int height; field in class:ImageGenerator
42 height = _height;
45 height,
52 gr.fillRect(0, 0, width, height);
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DGlyphImageRef.h45 int height; member in struct:__anon914
/openjdk7/jdk/test/javax/swing/border/
H A DTest6625450.java37 // test height
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.java74 * @param height the height 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
66 int y = height / 2;
/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.java55 int height = cursor.getHeight(c);
62 if (tracker.isErrorAny() || width < 0 || height < 0) {
67 Dimension nativeSize = toolkit.getBestCursorSize(width, height);
68 if (nativeSize.width != width || nativeSize.height != height) {
70 nativeSize.height,
73 height = nativeSize.height;
77 if (hotSpot.x >= width || hotSpot.y >= height || hotSpot.x < 0 || hotSpot.y < 0) {
88 int[] pixels = new int[width * height];
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.java58 public DataBufferNative(SurfaceData sData, int type, int width, int height) { argument
59 super(type, width*height);
H A DOffScreenImage.java100 private void initSurface(int width, int height) { argument
103 g2.clearRect(0, 0, width, height);
H A DWritableRasterNative.java68 int height)
86 height,
101 height, scanStride,
113 height, scanStride,
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.java30 * and a height dimension.
64 * Returns the height of this <code>Dimension</code> in double
66 * @return the height of this <code>Dimension</code>.
73 * specified width and height.
79 * @param height the new height 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.java41 private int height; 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.
60 * @param height height of the kernel
64 * <code>height</code>
66 public Kernel(int width, int height, float data[]) { argument
68 this.height = height;
[all...]
/openjdk7/jdk/src/share/classes/java/applet/
H A DAppletStub.java83 * &lt;applet code="Clock" width=50 height=50&gt;
108 * @param height the new requested height for the applet.
110 void appletResize(int width, int height); argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DDimension.java33 * height of a component (in integer precision) in a single object.
41 * and <code>height</code> are non-negative integers.
44 * If the value of <code>width</code> or <code>height</code> is
67 * The height dimension; negative values can be used.
74 public int height; field in class:Dimension
96 * of zero and a height of zero.
104 * and height are the same as for the specified dimension.
108 * <code>height</code> values
111 this(d.width, d.height);
116 * it to the specified width and specified height
121 Dimension(int width, int height) argument
153 setSize(double width, double height) argument
199 setSize(int width, int height) argument
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaMenuBarBorder.java45 * @param height the height of the painted border
47 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument
50 //paintButton(c, g, x, y, width, height);
52 g.drawLine(x, y + height - 1, x + width, y + height - 1);

Completed in 105 milliseconds

1234567891011>>