Searched refs:height (Results 151 - 175 of 998) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageCreate.h38 mlib_s32 height,
H A Dmlib_ImageCreate.c46 * mlib_s32 height,
53 * mlib_s32 height)
81 * height image height in pixels
87 * h height of the sub-image
130 mlib_s32 height,
143 image -> height = height;
156 if (width <= 0 || height <= 0 || channels < 1 || channels > 4) {
215 image -> flags |= ((height
126 mlib_ImageSet(mlib_image *image, mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height, mlib_s32 stride, const void *data) argument
230 mlib_ImageCreateStruct(mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height, mlib_s32 stride, const void *data) argument
256 mlib_ImageCreate(mlib_type type, mlib_s32 channels, mlib_s32 width, mlib_s32 height) argument
377 mlib_s32 height; /* for parent image */ local
[all...]
/openjdk7/jdk/src/share/demo/applets/SimpleGraph/
H A DGraphApplet.java49 return (Math.cos(x / 5) + Math.sin(x / 7) + 2) * getSize().height / 4;
/openjdk7/jdk/test/javax/swing/border/
H A DTest6461042.java47 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRRenderer.java90 int x, int y, int width, int height) {
91 draw(sg2d, new Rectangle2D.Float(x, y, width, height));
113 int x, int y, int width, int height) {
123 tileManager.addRect(x, y, width, height);
137 int x, int y, int width, int height,
139 draw(sg2d, new RoundRectangle2D.Float(x, y, width, height,
144 int width, int height,
146 fill(sg2d, new RoundRectangle2D.Float(x, y, width, height,
151 int x, int y, int width, int height) {
152 draw(sg2d, new Ellipse2D.Float(x, y, width, height));
89 drawRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument
112 fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) argument
136 drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument
143 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument
150 drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument
155 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument
160 drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument
167 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DBoxLayout.java90 * if not all the components are the same height,
306 size.height = (int) Math.min((long) size.height + (long) insets.top + (long) insets.bottom, Integer.MAX_VALUE);
331 size.height = (int) Math.min((long) size.height + (long) insets.top + (long) insets.bottom, Integer.MAX_VALUE);
356 size.height = (int) Math.min((long) size.height + (long) insets.top + (long) insets.bottom, Integer.MAX_VALUE);
414 alloc.height -= in.top + in.bottom;
430 SizeRequirements.calculateAlignedPositions(alloc.height, yTotal,
437 SizeRequirements.calculateTiledPositions(alloc.height, yTota
[all...]
H A DSpringLayout.java244 * Specifies the height of a component's bounding rectangle.
261 * <code>width</code>, and <code>height</code> properties.
322 private Spring height; field in class:SpringLayout.Constraints
345 * The <code>height</code> and <code>width</code> springs
360 * and <code>height</code> properties.
369 * @param height the spring value for the <code>height</code> property
371 public Constraints(Spring x, Spring y, Spring width, Spring height) { argument
375 setHeight(height);
381 * <code>height</cod
438 getBaselineFromHeight(int height) argument
629 setHeight(Spring height) argument
958 addInsets(int width, int height, Container p) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicPanelUI.java87 public int getBaseline(JComponent c, int width, int height) { argument
88 super.getBaseline(c, width, height);
91 return ((AbstractBorder)border).getBaseline(c, width, height);
H A DBasicTextFieldUI.java117 public int getBaseline(JComponent c, int width, int height) { argument
118 super.getBaseline(c, width, height);
122 height = height - insets.top - insets.bottom;
123 if (height > 0) {
127 if (height != vspan) {
128 int slop = height - vspan;
134 height);
213 if (bounds.height != vspan) {
214 int slop = bounds.height
[all...]
H A DCenterLayout.java48 size.height + insets.top + insets.bottom);
74 int right = (containerHeight - pref.height) / 2 +
77 c.setBounds(left, right, pref.width, pref.height);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsTextUI.java131 g.fillRect(r.x, r.y, r.width, r.height);
139 g.fillRect(p0.x, p0.y, p0ToMarginWidth, p0.height);
140 if ((p0.y + p0.height) != p1.y) {
141 g.fillRect(alloc.x, p0.y + p0.height, alloc.width,
142 p1.y - (p0.y + p0.height));
147 g.fillRect(alloc.x, p1.y, (p1.x - alloc.x), p1.height);
196 alloc.height);
200 alloc.height);
203 g.fillRect(alloc.x, alloc.y, alloc.width, alloc.height);
217 g.fillRect(r.x + 1, r.y, r.width - 1, r.height);
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaGroupBorder.java58 public void paintBorder(final Component c, final Graphics g, int x, int y, int width, int height) { argument
60 // sg2d.drawRect(x, y, width - 1, height - 1);
66 height -= (internalInsets.top + internalInsets.bottom);
68 painter.paint(g, c, x, y, width, height);
70 // sg2d.drawRect(x, y, width, height);
H A DAquaSplitPaneDividerUI.java93 if (size.height > maxSize) {
94 final int diff = size.height - maxSize;
96 size.height = maxSize;
98 if (size.height < 4) doPaint = false;
110 painter.paint(g, splitPane, x, y, size.width, size.height);
176 if (size.height > maxSize) {
177 final int diff = size.height - maxSize;
224 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument
230 g2d.setPaint(new GradientPaint(0, 0, startColor, 0, height, endColor));
231 g2d.fillRect(x, y, width, height);
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/
H A DWBMPImageReader.java65 /** The original image height. */
66 private int height; field in class:WBMPImageReader
108 return height;
148 // Read image height
149 height = ReaderUtil.readMultiByteInteger(iis);
150 metadata.height = height;
203 computeRegions(param, this.width, this.height,
218 destinationRegion.y + destinationRegion.height,
222 destinationRegion.equals(new Rectangle(0, 0, width, height))
[all...]
/openjdk7/jdk/test/javax/swing/text/html/
H A DTest4783068.java70 c.setBounds(0, 0, size.width, size.height);
72 BufferedImage image = new BufferedImage(size.width, size.height, BufferedImage.TYPE_INT_ARGB);
76 for (int i = 0; i < size.height; i++) {
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DIntegerComponentRaster.java91 /** A cached copy of minY + height for use in bounds checks. */
170 this.maxY = minY + height;
313 * @param height Height of the pixel rectangle.
397 int height = inRaster.getHeight();
399 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) {
403 setDataElements(dstOffX, dstOffY, width, height, inRaster);
415 * @param height The number of pixels to store vertically
419 int width, int height,
422 if (width <= 0 || height <= 0) {
456 for (int startY=0; startY < height; start
418 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument
544 createWritableChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument
598 createChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument
[all...]
H A DBufferedImageGraphicsConfig.java70 int width, height; field in class:BufferedImageGraphicsConfig
82 this.height = bufImg.getHeight();
101 public BufferedImage createCompatibleImage(int width, int height) { argument
102 WritableRaster wr = raster.createCompatibleWritableRaster(width, height);
171 return new Rectangle(0, 0, width, height);
H A DByteBandedRaster.java65 /** A cached copy of minY + height for use in bounds checks. */
135 this.maxY = minY + height;
271 * @param height Height of the pixel rectangle.
324 * @param height Height of the pixel rectangle.
372 * @param height Height of the pixel rectangle.
445 int height = inRaster.getHeight();
447 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) {
452 setDataElements(dstOffX, dstOffY, width, height, inRaster);
464 * @param height The number of pixels to store vertically
468 int width, int height,
467 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument
646 createWritableChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument
701 createChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument
[all...]
/openjdk7/jdk/src/macosx/native/sun/font/
H A DCGGlyphImages.m77 const size_t bytesPerPixel, const int width, const int height)
79 printf("| %s: (%d, %d)\n", msg, width, height);
81 if (width > 80 || height > 80) {
86 size_t i, j = 0, k, size = width * height;
105 for (y = 0; y < height; y++) {
129 const size_t height = image->height;
131 DUMP_PIXELS(msg, pixels, pixelSize, width, height);
141 clip.origin.x, clip.origin.y, clip.size.width, clip.size.height);
183 info->width, info->height, inf
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DmultiVis.c101 int32_t width, height; /* width and height of visible part */ member in struct:__anon1018
115 int32_t width, height; /* w & h of visible rect of bottom window */ member in struct:__anon1019
130 (s1)->y_vis + (s1)->height >= (s2)->y_vis + (s2)->height)
232 GetMultiVisualRegions(disp,srcRootWinid, x, y, width, height,
240 uint32_t height;
262 bbox.height = (unsigned short) height;
389 ReadRegionsInList(disp,fakeVis,depth,format,width,height,bbo
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DProxyGraphics2D.java356 * @param height the height of the rectangle to intersect the clip with
360 public void clipRect(int x, int y, int width, int height) { argument
361 mGraphics.clipRect(x, y, width, height);
372 * @param height the height of the new clip rectangle.
377 public void setClip(int x, int y, int width, int height) { argument
378 mGraphics.setClip(x, y, width, height);
429 * @param height the height o
434 copyArea(int x, int y, int width, int height, int dx, int dy) argument
474 fillRect(int x, int y, int width, int height) argument
498 clearRect(int x, int y, int width, int height) argument
519 drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument
541 fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) argument
564 drawOval(int x, int y, int width, int height) argument
580 fillOval(int x, int y, int width, int height) argument
614 drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
648 fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) argument
852 drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) argument
949 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifBorders.java201 int width, int height) {
207 drawBezel(g, x, y, width, height,
211 drawBezel(g, x, y, width, height,
216 drawBezel(g, x, y, width, height, false, false,
233 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
241 drawBezel(g,x,y,size.width,size.height,false,false,
301 int x, int y, int width, int height) {
335 int width, int height) {
337 new Rectangle(0, 0, getBorderInsets(c).left, height);
345 g.drawLine(x, startY, x, height
200 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
300 drawTopBorder(Component c, Graphics g, int x, int y, int width, int height) argument
334 drawLeftBorder(Component c, Graphics g, int x, int y, int width, int height) argument
359 drawRightBorder(Component c, Graphics g, int x, int y, int width, int height) argument
385 drawBottomBorder(Component c, Graphics g, int x, int y, int width, int height) argument
420 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
482 drawTopBorder(Component c, Graphics g, int x, int y, int width, int height) argument
501 drawLeftBorder(Component c, Graphics g, int x, int y, int width, int height) argument
520 drawRightBorder(Component c, Graphics g, int x, int y, int width, int height) argument
540 drawBottomBorder(Component c, Graphics g, int x, int y, int width, int height) argument
661 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DBlit.java111 int width, int height);
154 int width, int height)
161 Raster srcRas = srcData.getRaster(srcx, srcy, width, height);
163 (WritableRaster) dstData.getRaster(dstx, dsty, width, height);
166 clip = Region.getInstanceXYWH(dstx, dsty, width, height);
168 int span[] = {dstx, dsty, dstx+width, dsty+height};
202 int width, int height)
206 width, height,
247 int width, int height)
263 width, height, cachedSr
107 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height) argument
148 Blit(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height) argument
196 Blit(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height) argument
241 Blit(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height) argument
322 Blit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DAnnotation.java47 private int height; field in class:Annotation
105 /** Computes width and height for this Annotation. Retrieve the
107 because the width and height only need to be recomputed if the
111 height = 0;
117 height += (int) bounds.getHeight();
127 return height;
152 return new Rectangle(x, y, width, height);
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DLineBorder.java121 * @param height the height of the painted border
123 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
137 outer = new RoundRectangle2D.Float(x, y, width, height, arc, arc);
138 inner = new RoundRectangle2D.Float(x + offs, y + offs, width - size, height - size, arc, arc);
141 outer = new Rectangle2D.Float(x, y, width, height);
142 inner = new Rectangle2D.Float(x + offs, y + offs, width - size, height - size);

Completed in 433 milliseconds

1234567891011>>