Searched refs:width (Results 201 - 225 of 1066) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/javax/swing/
H A DBoxLayout.java305 size.width = (int) Math.min((long) size.width + (long) insets.left + (long) insets.right, Integer.MAX_VALUE);
330 size.width = (int) Math.min((long) size.width + (long) insets.left + (long) insets.right, Integer.MAX_VALUE);
355 size.width = (int) Math.min((long) size.width + (long) insets.left + (long) insets.right, Integer.MAX_VALUE);
413 alloc.width -= in.left + in.right;
427 SizeRequirements.calculateTiledPositions(alloc.width, xTotal,
434 SizeRequirements.calculateAlignedPositions(alloc.width, xTotal,
485 xChildren[i] = new SizeRequirements(min.width, ty
[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 DCenterLayout.java47 return new Dimension(size.width + insets.left + insets.right,
72 int left = (containerWidth - pref.width) / 2 +
77 c.setBounds(left, right, pref.width, pref.height);
H A DBasicBorders.java243 int width, int height) {
257 BasicGraphicsUtils.drawBezel(g, x, y, width, height,
278 int width, int height) {
279 BasicGraphicsUtils.drawBezel(g, x, y, width, height,
299 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
306 BasicGraphicsUtils.drawLoweredBezel(g, x, y, width, height,
310 BasicGraphicsUtils.drawBezel(g, x, y, width, height,
316 BasicGraphicsUtils.drawBezel(g, x, y, width, height, false, false,
336 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
340 g.drawLine(0, height-2, width, heigh
242 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
277 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
394 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
430 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
512 paintBorder(Component c, Graphics g, int x, int y, int width, int height) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DFieldView.java95 int max = Math.max(hspan, bounds.width);
97 int extent = Math.min(max, bounds.width - 1);
103 if (hspan < bounds.width) {
105 int slop = bounds.width - 1 - hspan;
128 bounds.width -= slop;
132 bounds.width -= slop;
137 bounds.width = hspan;
187 g.clipRect(r.x, r.y, r.width, r.height);
213 int width;
217 width
[all...]
H A DIconView.java136 r.x += r.width;
138 r.width = 0;
157 if (x < alloc.x + (alloc.width / 2)) {
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifOptionPaneUI.java88 int width = getWidth();
90 g.drawLine(0, 0, width, 0);
92 g.drawLine(0, 1, width, 1);
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,
259 // The width of the border
301 int x, int y, int width, int height) {
302 Rectangle titleBarRect = new Rectangle(x, y, width, BORDER_SIZE);
307 int maxX = width
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/macosx/classes/com/apple/laf/
H A DAquaComboBoxButton.java96 int width = getWidth();
101 g.fillRect(0, 0, width, height);
116 painter.paint(g, this, left, top, width, height);
117 doRendererPaint(g, buttonModel, editable, getInsets(), left, top, width, height);
126 width -= insets.left + insets.right;
130 if (height <= 0 || width <= 0) {
152 painter.paint(g, comboBox, left + 2, top - 1, width - 4, height);
154 painter.paint(g, comboBox, left, top, width, height);
159 doRendererPaint(g, buttonModel, editable, insets, left, top, width, height);
163 protected void doRendererPaint(final Graphics g, final ButtonModel buttonModel, final boolean editable, final Insets insets, int left, int top, int width, in argument
[all...]
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);
65 width -= (internalInsets.left + internalInsets.right);
68 painter.paint(g, c, x, y, width, height);
70 // sg2d.drawRect(x, y, width, height);
H A DAquaTableHeaderUI.java220 private Dimension createHeaderSizeAqua(long width) { argument
222 if (width > Integer.MAX_VALUE) {
223 width = Integer.MAX_VALUE;
225 return new Dimension((int)width, getHeaderHeightAqua());
229 * Return the minimum size of the header. The minimum width is the sum of the minimum widths of each column (plus
233 long width = 0;
237 width = width + aColumn.getMinWidth();
239 return createHeaderSizeAqua(width);
244 * the components provided by the header renderers. The preferred width i
[all...]
/openjdk7/jdk/src/share/demo/jfc/Metalworks/
H A DMetalworksPrefs.java197 screenSize.width = screenSize.width / 2;
199 size.width = size.width / 2;
201 int x = screenSize.width - size.width;
232 child.setSize(compSize.width, compSize.height);
242 int width = 0 + insets.left + insets.right;
249 width = Math.max(width, compSiz
[all...]
/openjdk7/jdk/test/javax/swing/JScrollPane/
H A DTest6526631.java62 size.width += offset;
86 int extent = viewport.getExtentSize().width;
90 int size = viewport.getViewSize().width;
/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);
77 for (int j = 0; j < size.width; j++) {
/openjdk7/jdk/src/share/native/sun/java2d/pipe/
H A DBufferedMaskBlit.c58 jint width, jint height)
101 srcInfo.bounds.x2 = srcx + width;
133 width = srcInfo.bounds.x2 - srcInfo.bounds.x1;
137 maskscan -= width;
139 srcScanStride -= width * srcPixelStride;
144 srcInfo.bounds.x1, srcInfo.bounds.y1, width, height);
156 pBuf[3] = width;
167 jint w = width;
196 jint w = width;
221 jint w = width;
52 Java_sun_java2d_pipe_BufferedMaskBlit_enqueueTile(JNIEnv *env, jobject mb, jlong buf, jint bpos, jobject srcData, jlong pSrcOps, jint srcType, jbyteArray maskArray, jint masklen, jint maskoff, jint maskscan, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DByteBandedRaster.java62 /** A cached copy of minX + width for use in bounds checks. */
134 this.maxX = minX + width;
270 * @param width Width of the pixel rectangle.
323 * @param width Width of the pixel rectangle.
371 * @param width Width of the pixel rectangle.
444 int width = inRaster.getWidth();
447 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) {
452 setDataElements(dstOffX, dstOffY, width, height, inRaster);
463 * @param width The number of pixels to store horizontally
468 int width, in
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...]
H A DShortBandedRaster.java60 /** A cached copy of minX + width for use in bounds checks. */
132 this.maxX = minX + width;
265 * @param width Width of the pixel rectangle.
318 * @param width Width of the pixel rectangle.
366 * @param width Width of the pixel rectangle.
440 int width = inRaster.getWidth();
443 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) {
448 setDataElements(dstOffX, dstOffY, width, height, inRaster);
459 * @param width The number of pixels to store horizontally
464 int width, in
463 setDataElements(int dstX, int dstY, int width, int height, Raster inRaster) argument
644 createWritableChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument
700 createChild(int x, int y, int width, int height, int x0, int y0, int bandList[]) argument
[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
102 int32_t border_width; /* border width of the window */
115 int32_t width, height; /* w & h of visible rect of bottom window */ member in struct:__anon1019
116 int32_t border; /* border width of the window */
129 (s1)->x_vis + (s1)->width >= (s2)->x_vis + (s2)->width && \
232 GetMultiVisualRegions(disp,srcRootWinid, x, y, width, height,
239 uint32_t width; /* size of bounding box of grab */
261 bbox.width
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_IntArgb.c39 if (srcScan == width && dstScan == 4*width) {
40 width *= height;
56 for (i = i0; i <= (mlib_s32)width - 2; i += 2) {
60 for (; i < width; i++) {
78 if (srcScan == width && dstScan == 4*width) {
79 width *= height;
95 for (i = i0; i <= (mlib_s32)width - 2; i += 2) {
99 for (; i < width;
387 int width, height; local
[all...]
H A Dvis_GlyphList.c49 int width, height; \
58 width = glyphs[glyphCounter].width; \
60 rowBytes = width; \
61 right = left + width; \
80 width = right - left; \
114 dst_end = dst + width;
181 dst_end = dst + width;
242 dst_end = dst + width;
305 if (width > max_widt
[all...]
H A Dvis_GlyphListXor.c51 int width, height; \
60 width = glyphs[glyphCounter].width; \
62 rowBytes = width; \
63 right = left + width; \
82 width = right - left; \
116 dst_end = dst + width;
183 dst_end = dst + width;
244 dst_end = dst + width;
307 if (width > max_widt
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DProxyGraphics2D.java355 * @param width the width 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);
371 * @param width the width 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);
428 * @param width the width 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/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, heigh
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/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthToolBarUI.java309 bounds.x, bounds.y, bounds.width, bounds.height,
312 bounds.x, bounds.y, bounds.width, bounds.height,
362 dim.width = tb.isFloatable() ?
369 dim.width += compDim.width;
381 dim.width = Math.max(dim.width, compDim.width);
386 dim.width += insets.left + insets.right;
400 dim.width
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DLineBorder.java120 * @param width the width 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 82 milliseconds

1234567891011>>