Searched refs:width (Results 351 - 375 of 1066) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/macosx/classes/sun/java2d/
H A DOSXSurfaceData.java69 this.fBounds = new Rectangle(bounds.x, bounds.y, bounds.width, bounds.y + bounds.height);
119 return new Rectangle(fBounds.x, fBounds.y, fBounds.width, fBounds.height - fBounds.y);
369 void setUserBounds(SunGraphics2D sg2d, int x, int y, int width, int height) { argument
370 if ((lastUserX != x) || (lastUserY != y) || (lastUserW != width) || (lastUserH != height)) {
373 lastUserW = width;
378 this.fGraphicsStatesInt.put(kBoundsWidthIndex, width);
381 userBounds.setBounds(x, y, width, height);
590 WritableRaster raster = (WritableRaster) (context.getRaster(userBounds.x, userBounds.y, userBounds.width, userBounds.height));
751 setupGraphicsState(sg2d, primitiveType, sg2d.font, 0, 0, fBounds.width, fBounds.height); // deviceBounds into userBounds
907 setupGraphicsState(sg2d, kLine, sg2d.font, 0, 0, fBounds.width, fBound
911 doRect(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, boolean isfill) argument
921 doRoundRect(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, float arcW, float arcH, boolean isfill) argument
931 doOval(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, boolean isfill) argument
941 doArc(CRenderer renderer, SunGraphics2D sg2d, float x, float y, float width, float height, float startAngle, float arcAngle, int type, boolean isfill) argument
[all...]
H A DCompositeCRenderer.java59 public synchronized void drawRect(SunGraphics2D sg2d, int x, int y, int width, int height) { argument
61 rectangle.setRect(x, y, width, height);
66 public synchronized void drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) { argument
68 roundrectangle.setRoundRect(x, y, width, height, arcWidth, arcHeight);
73 public synchronized void drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) { argument
75 ellipse.setFrame(x, y, width, height);
80 public synchronized void drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) { argument
82 arc.setArc(x, y, width, height, startAngle, arcAngle, Arc2D.OPEN);
95 public synchronized void fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) { argument
97 rectangle.setRect(x, y, width, heigh
102 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument
109 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument
116 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_ByteGray_FromRgb.c106 if (dstScan == width && srcScan == 4*width) {
107 width *= height;
115 dst_end = dst + width;
165 if (dstScan == width && srcScan == 3*width) {
166 width *= height;
174 dst_end = dst + width;
229 dst_end = dst + width;
290 dst_end = dst + width;
[all...]
H A Dvis_UshortGray_FromRgb.c95 if (srcScan == 4*width && dstScan == 2*width) {
96 width *= height;
105 dst_end = dst + width;
152 if (srcScan == 3*width && dstScan == 2*width) {
153 width *= height;
161 dst_end = dst + width;
214 dst_end = dst + width;
271 dst_end = dst + width;
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXMenuWindow.java213 //We need maximum width of components before calculating item's bounds
215 int maxWidth = (captionSize != null) ? captionSize.width : 0;
230 maxWidth = Math.max(maxWidth, dim.width);
242 int width = WINDOW_SPACING_LEFT + itemWidth + WINDOW_SPACING_RIGHT;
272 MappingData mappingData = new MappingData(itemVector, captionRect, new Dimension(width, height), maxLeftIndent, shortcutOrigin, rightMarkOrigin);
312 reshape(x, y, dim.width, dim.height);
407 reshape(bounds.x, bounds.y, bounds.width, bounds.height);
438 int width = getWidth();
444 g.fillRect(1, 1, width - 2, height - 2);
445 draw3DRect(g, 0, 0, width, heigh
[all...]
H A DXEmbeddedFramePeer.java159 width = xe.get_width();
162 dimensions.setClientSize(width, height);
202 return new Rectangle(x, y, width, height);
205 public void setBoundsPrivate(int x, int y, int width, int height) { argument
206 setBounds(x, y, width, height, SET_BOUNDS | NO_EMBEDDED_CHECK);
292 return width;
299 return new Dimension(width, height);
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageChannelExtract_f.c44 mlib_s32 width, mlib_s32 height)
51 mlib_u8 *dend = dl + width;
92 mlib_s32 width, mlib_s32 height,
104 mlib_u8 *dend = dl + 2*width;
210 mlib_s32 width, mlib_s32 height,
222 mlib_u8 *dend = dl + 2*width;
295 mlib_s32 width, mlib_s32 height)
305 for (i = 0; i < width; i++) {
313 for (i = 0; i < width; i++) {
329 mlib_s32 width, mlib_s3
42 mlib_v_ImageChannelExtract_U8_2_1(mlib_u8 *sl, mlib_s32 slb, mlib_u8 *dl, mlib_s32 dlb, mlib_s32 width, mlib_s32 height) argument
90 mlib_v_ImageChannelExtract_U8_3_2(mlib_u8 *sl, mlib_s32 slb, mlib_u8 *dl, mlib_s32 dlb, mlib_s32 width, mlib_s32 height, mlib_s32 count1) argument
208 mlib_v_ImageChannelExtract_U8_4_2(mlib_u8 *sl, mlib_s32 slb, mlib_u8 *dl, mlib_s32 dlb, mlib_s32 width, mlib_s32 height, mlib_s32 count1) argument
293 mlib_v_ImageChannelExtract_32_2_1(mlib_f32 *sp, mlib_s32 slb, mlib_f32 *dp, mlib_s32 dlb, mlib_s32 width, mlib_s32 height) argument
327 mlib_v_ImageChannelExtract_32_3_1(mlib_f32 *sl, mlib_s32 slb, mlib_f32 *dl, mlib_s32 dlb, mlib_s32 width, mlib_s32 height) argument
369 mlib_v_ImageChannelExtract_32_3_2(mlib_f32 *sl, mlib_s32 slb, mlib_f32 *dl, mlib_s32 dlb, mlib_s32 width, mlib_s32 height, mlib_s32 count1) argument
422 mlib_v_ImageChannelExtract_32_4_1(mlib_f32 *sp, mlib_s32 slb, mlib_f32 *dp, mlib_s32 dlb, mlib_s32 width, mlib_s32 height) argument
456 mlib_v_ImageChannelExtract_32_4_2(mlib_f32 *sl, mlib_s32 slb, mlib_f32 *dl, mlib_s32 dlb, mlib_s32 width, mlib_s32 height, mlib_s32 count1) argument
514 mlib_v_ImageChannelExtract_32_4_3(mlib_f32 *sl, mlib_s32 slb, mlib_f32 *dl, mlib_s32 dlb, mlib_s32 width, mlib_s32 height, mlib_s32 count1) argument
578 mlib_v_ImageChannelExtract_U8(mlib_u8 *src, mlib_s32 slb, mlib_u8 *dst, mlib_s32 dlb, mlib_s32 channels, mlib_s32 channeld, mlib_s32 width, mlib_s32 height, mlib_s32 cmask) argument
632 mlib_v_ImageChannelExtract_S16(mlib_u16 *src, mlib_s32 slb, mlib_u16 *dst, mlib_s32 dlb, mlib_s32 channels, mlib_s32 channeld, mlib_s32 width, mlib_s32 height, mlib_s32 cmask) argument
705 mlib_v_ImageChannelExtract_D64(mlib_d64 *src, mlib_s32 slb, mlib_d64 *dst, mlib_s32 dlb, mlib_s32 channels, mlib_s32 channeld, mlib_s32 width, mlib_s32 height, mlib_s32 cmask) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTabbedPaneUI.java621 public int getBaseline(JComponent c, int width, int height) { argument
622 super.getBaseline(c, width, height);
690 return c.getBaseline(pref.width, pref.height) +
856 tabRect.width, tabRect.height, isSelected);
860 tabRect.width, tabRect.height, isSelected);
879 clippedTitle = SwingUtilities2.clipStringIfNecessary(null, metrics, title, textRect.width);
911 * subtracting xCropLen[i] from (tab.x + tab.width) and adding yCroplen[i]
930 rlen = tabRect.width;
932 end = tabRect.x + tabRect.width;
941 ostart = tabRect.x + tabRect.width;
2339 preferredTabAreaHeight(int tabPlacement, int width) argument
2888 preferredTabAreaHeight(int tabPlacement, int width) argument
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTabbedPaneCopyFromBasicUI.java592 public int getBaseline(final JComponent c, final int width, final int height) { argument
593 super.getBaseline(c, width, height);
659 return c.getBaseline(pref.width, pref.height) + (cellHeight - pref.height) / 2 + tabInsets.top;
813 paintTabBackground(g, tabPlacement, tabIndex, tabRect.x, tabRect.y, tabRect.width, tabRect.height, isSelected);
816 paintTabBorder(g, tabPlacement, tabIndex, tabRect.x, tabRect.y, tabRect.width, tabRect.height, isSelected);
860 * subtracting xCropLen[i] from (tab.x + tab.width) and adding yCroplen[i]
879 rlen = tabRect.width;
881 end = tabRect.x + tabRect.width;
890 ostart = tabRect.x + tabRect.width;
939 while (xx <= x + rects[tabIndex].width) {
2182 preferredTabAreaHeight(final int tabPlacement, final int width) argument
2717 preferredTabAreaHeight(final int tabPlacement, final int width) argument
[all...]
H A DAquaPainter.java127 slices.paint(g, boundsRect.x, boundsRect.y, boundsRect.width, boundsRect.height);
146 if (bounds.width <= 0 || bounds.height <= 0) {
156 final int imgW = bounds.width * scale;
167 imgW, imgH, 0, 0, bounds.width, bounds.height);
171 g.drawImage(img, bounds.x, bounds.y, bounds.width, bounds.height, null);
188 protected Image createTemplateImage(int width, int height) { argument
209 g.fillRect(boundsRect.x, boundsRect.y, boundsRect.width, boundsRect.height);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsScrollBarUI.java151 thumbGrid.paint(g, trackBounds.x, trackBounds.y, trackBounds.width,
191 (!v && (thumbBounds.width - gripperInsets.left -
194 thumbBounds.x + (thumbBounds.width - skin.getWidth()) / 2,
246 x = thumbR.x + thumbR.width;
415 int maxX = Math.min(clipRect.x + clipRect.width, x + w);
425 int width = Math.min(BUFFER_SIZE - xOffset,
434 xCounter + width, yCounter + height,
436 xOffset + width, yOffset + height, null);
455 g.fillRect(clipRect.x, clipRect.y, clipRect.width,
459 int width
[all...]
H A DWindowsInternalFrameUI.java99 * @param width the width of the painted border
102 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
107 width, bottomSkin.getHeight(),
114 rightSkin.paintSkin(g, width-rightSkin.getWidth(), topBorderHeight-1,
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DComponentView.java117 c.setBounds(alloc.x, alloc.y, alloc.width, alloc.height);
141 return size.width;
169 return size.width;
197 return size.width;
335 r.x += r.width;
337 r.width = 0;
356 if (x < alloc.x + (alloc.width / 2)) {
H A DGlyphPainter1.java62 int width = Utilities.getTabbedTextWidth(v, text, metrics, (int) x, e, p0,
65 return width;
106 int width = Utilities.getTabbedTextWidth(v, text, metrics, x, expander, p,
108 x += width;
137 return new Rectangle(alloc.x + alloc.width, alloc.y, 0,
144 int width = Utilities.getTabbedTextWidth(v, text, metrics, alloc.x, expander, p0,
147 return new Rectangle(alloc.x + width, alloc.y, 0, metrics.getHeight());
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifSplitPaneDivider.java120 g.fillRect(0, 0, size.width, size.height);
124 int center = size.width/2;
152 int x = size.width - vThumbOffset;
157 g.drawLine(0, center-1, size.width, center-1);
160 g.drawLine(0, center, size.width, center);
236 int center = size.width/2;
244 thumbX = size.width - vThumbOffset;
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIBlitLoops.cpp56 jint width, jint height,
69 srcInfo.bounds.x2 = srcx + width;
86 SurfaceDataBounds dstBounds = {dstx, dsty, dstx + width, dsty + height};
96 width = srcInfo.bounds.x2 - srcInfo.bounds.x1;
99 if (width > 0 && height > 0)
193 SetDIBitsToDevice(hDC, dstx, dsty, width, height,
201 SetDIBitsToDevice(hDC, dstx, dsty+i, width, 1,
50 Java_sun_java2d_windows_GDIBlitLoops_nativeBlit(JNIEnv *env, jobject joSelf, jobject srcData, jobject dstData, jobject clip, jint srcx, jint srcy, jint dstx, jint dsty, jint width, jint height, jint rmask, jint gmask, jint bmask, jboolean needLut) argument
/openjdk7/jdk/test/javax/swing/ToolTipManager/7123767/
H A Dbug7123767.java176 glide(rect.x + rect.width / 2, rect.y + rect.height / 2,
181 glide(rect.x + rect.width / 2, rect.y + rect.height / 2,
186 glide(rect.x + rect.width / 2, rect.y + rect.height / 2,
187 rect.x + rect.width - MARGIN, rect.y + MARGIN);
191 glide(rect.x + rect.width / 2, rect.y + rect.height / 2,
192 rect.x + rect.width - MARGIN, rect.y + rect.height - MARGIN);
217 rect.width -= (insets.left + insets.right);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthSpinnerUI.java393 Dimension size = new Dimension(editorD.width, editorD.height);
394 size.width += Math.max(nextD.width, previousD.width);
396 size.width += insets.left + insets.right;
405 private void setBounds(Component c, int x, int y, int width, int height) { argument
407 c.setBounds(x, y, width, height);
419 int buttonsWidth = Math.max(nextD.width, previousD.width);
H A DSynthArrowButton.java127 (int)(dim.width * 1.15),
131 (int)(dim.width * 0.857),
135 (int)(dim.width * 0.714),
H A DSynthTabbedPaneUI.java61 * <p>When tabOverlap is specified, it both changes the x position and width
69 * tab's width is also extended by 1 pixel to make up the difference.</p>
453 int width = tabPane.getWidth() - insets.left - insets.right;
458 width = calculateTabAreaWidth(tabPlacement, runCount,
464 x = x + width - size;
465 width = size;
479 tabAreaBounds.setBounds(x, y, width, height);
497 int width = tabPane.getWidth() - insets.left - insets.right;
501 new Rectangle(x, y, width, height));
526 tabAreaBounds.x, tabAreaBounds.y, tabAreaBounds.width,
[all...]
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DGraphicsDevice.java261 fp.reshape(r.x, r.y, r.width, r.height);
294 if (ownerOrigBounds.width == 0) ownerOrigBounds.width = 1;
297 ownerOrigBounds.width, ownerOrigBounds.height);
335 int width, int height,
340 final int width, final int height,
345 super.configDisplayMode(screen, w, width, height, bitDepth,
359 wpeer.reshape(screenBounds.x, screenBounds.y, width, height);
374 configDisplayModeNative(screen, hwnd, width, height,
334 configDisplayModeNative(int screen, long hwnd, int width, int height, int bitDepth, int refreshRate) argument
339 configDisplayMode(final int screen, final WindowPeer w, final int width, final int height, final int bitDepth, final int refreshRate) argument
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRBackendNative.java61 int width, int height);
76 int srcx, int srcy, int width, int height,
87 int width, int height);
92 int x, int y, int width, int height);
145 int x, int y, int width, int height) {
148 x, y, width, height);
292 int width, int height, int maskOff,
295 width, height, maskOff, maskScan, ea, MASK_XIMG);
301 int width, int height,
60 createPixmap(int drawable, int depth, int width, int height) argument
75 copyArea(int src, int dst, long gc, int srcx, int srcy, int width, int height, int dstx, int dsty) argument
84 renderComposite(byte op, int src, int mask, int dst, int srcX, int srcY, int maskX, int maskY, int dstX, int dstY, int width, int height) argument
89 renderRectangle(int dst, byte op, short red, short green, short blue, short alpha, int x, int y, int width, int height) argument
144 renderRectangle(int dst, byte op, XRColor color, int x, int y, int width, int height) argument
290 putMaskImage(int drawable, long gc, byte[] imageData, int sx, int sy, int dx, int dy, int width, int height, int maskOff, int maskScan, float ea) argument
298 putMaskNative(int drawable, long gc, byte[] imageData, int sx, int sy, int dx, int dy, int width, int height, int maskOff, int maskScan, float ea, long xImg) argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalDesktopIconUI.java49 private int width; field in class:MetalDesktopIconUI
61 width = UIManager.getInt("DesktopIcon.width");
122 // the width consistent according to the jlf spec.
123 return new Dimension(width,
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultTreeCellEditor.java451 * <code>x</code> is <= the width of the icon and icon gap displayed
466 offset < (bounds.width - 5)) {
470 ( x >= (bounds.x+bounds.width-offset+5) ||
472 offset < (bounds.width - 5) ) {
688 int width = getWidth();
699 this, g, width - editingIcon.getIconWidth(),
708 g.drawRect(0, 0, width - 1, height - 1);
720 int width = getWidth();
724 offset, 0, width - offset, height);
727 0, 0, width
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/
H A DIIOParam.java155 * as the destination offsets, width, and height at the time of
171 * <code>sourceRegion.width</code> or
174 * this region will have a subsampled width or height of zero.
193 if (sourceRegion.width <= 0) {
194 throw new IllegalArgumentException("sourceRegion.width <= 0!");
201 if (sourceRegion.width <= subsamplingXOffset) {
203 ("sourceRegion.width <= subsamplingXOffset!");
251 * <code>truncate[(width - subsamplingXOffset + sourceXSubsampling - 1)
254 * If the region is such that this width is zero, an
262 * where the tile width an
[all...]

Completed in 221 milliseconds

<<11121314151617181920>>