Searched defs:width (Results 376 - 400 of 532) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/share/classes/sun/awt/
H A DNullComponentPeer.java114 public void repaint(long tm, int x, int y, int width, int height) { argument
120 public void setBounds(int x, int y, int width, int height, int op) { argument
123 public void reshape(int x, int y, int width, int height) { argument
193 public Image createImage(int width, int height) { argument
239 public VolatileImage createVolatileImage(int width, int height) { argument
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DImageRepresentation.java58 int width = -1; field in class:ImageRepresentation
88 * width and height are unknown at this point. The color
149 if (width != w || height != h) {
154 width = w;
161 return width;
253 biRaster = cmodel.createCompatibleWritableRaster(width, height);
259 biRaster = cmodel.createCompatibleWritableRaster(width, height);
724 newInfo(image, info, 0, 0, width, height);
/openjdk7/jdk/src/share/classes/sun/font/
H A DExtendedTextSourceLabel.java235 * Whitespace is anything that has a zero visual width, regardless of its advance.
479 public int getLineBreakIndex(int start, float width) { argument
483 while (width >= 0 && ++start < length) {
489 width -= adv;
572 * - no carets can appear between a zero width character and its preceeding character, where 'preceeding' is
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DBufferedImage.java301 * @param width width of the created image
319 public BufferedImage(int width, argument
331 raster = colorModel.createCompatibleWritableRaster(width,
340 raster = colorModel.createCompatibleWritableRaster(width,
359 raster = colorModel.createCompatibleWritableRaster(width,
371 raster = colorModel.createCompatibleWritableRaster(width,
385 width, height,
386 width*3, 3,
400 width, heigh
539 BufferedImage(int width, int height, int imageType, IndexColorModel cm) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/
H A DImageWriter.java470 * element of a pair contains an (inclusive) minimum width and
472 * width and height. Together, each pair defines a valid range of
473 * sizes. To specify a fixed size, the same width and height will
1138 * @param width the width of the image.
1163 * @exception IllegalArgumentException if width or height are less
1169 int width, int height,
1295 * @param width the width of the image.
1323 * @exception IllegalArgumentException if width o
1167 prepareWriteEmpty(IIOMetadata streamMetadata, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List<? extends BufferedImage> thumbnails, ImageWriteParam param) argument
1327 prepareInsertEmpty(int imageIndex, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List<? extends BufferedImage> thumbnails, ImageWriteParam param) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DXPStyle.java203 return new Point(d.width, d.height);
345 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument
359 super.paintBorder(c, g, x, y, width, height);
371 int x, int y, int width, int height) {
372 skin.paintSkin(g, x, y, width, height, null);
517 return size.width;
569 paintSkin(g, r.x, r.y, r.width, r.height, state);
578 * @param dw the width of the area to fill, may cause
603 * @param dw the width of the area to fill, may cause
618 * @param dw the width o
370 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 DAquaImageFactory.java82 static Image getThisApplicationsIcon(final int width, final int height) { argument
97 return AquaUtils.getCImageCreator().createImageOfFile(path, height, width);
438 protected abstract Image createTemplateImage(final int width, final int height); argument
H A DAquaMenuPainter.java142 public void paintMenuBarBackground(final Graphics g, final int width, final int height, final JComponent c) { argument
144 g.fillRect(0, 0, width, height);
145 menuBarPainter.get().paintBorder(null, g, 0, 0, width, height);
148 public void paintSelectedMenuTitleBackground(final Graphics g, final int width, final int height) { argument
149 selectedMenuBarItemPainter.get().paintBorder(null, g, -1, 0, width + 2, height);
152 public void paintSelectedMenuItemBackground(final Graphics g, final int width, final int height) { argument
153 selectedMenuItemPainter.get().paintBorder(null, g, 0, 0, width, height);
169 viewRect.width -= (i.right + viewRect.x);
261 // The keyStrings should all line up, so always adjust the width by the same amount
269 SwingUtilities2.drawString(c, g, keyString, acceleratorRect.x + acceleratorRect.width
[all...]
H A DAquaSpinnerUI.java167 public int getBaseline(JComponent c, int width, int height) { argument
168 super.getBaseline(c, width, height);
171 width = width - insets.left - insets.right;
173 if (width >= 0 && height >= 0) {
174 int baseline = editor.getBaseline(width, height);
508 painter.paint(g, spinner, 0, 0, bounds.width, bounds.height);
515 return new Dimension(kPreferredSize.width, kPreferredSize.height - 8);
571 final Dimension size = new Dimension(editorD.width, Math.max(painterD.height, editorD.height));
572 size.width
583 setBounds(final Component c, final int x, final int y, final int width, final int height) argument
[all...]
H A DAquaUtils.java286 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument
287 final BufferedImage img = new BufferedImage(width + blur * 2, height + blur * 2, BufferedImage.TYPE_INT_ARGB_PRE);
288 paintToImage(img, x, y, width, height);
293 protected void paintToImage(final BufferedImage img, final int x, final int y, final int width, final int height) { argument
298 imgG.fillRect(0, 0, width + blur * 2, height + blur * 2);
302 final int adjW = (int)(width - (insets.left + insets.right) * distance);
334 public void paintBorder(final Component c, final Graphics g, final int x, final int y, final int width, final int height) { argument
335 slices.paint(g, x, y, width, height);
/openjdk7/jdk/src/macosx/classes/sun/java2d/
H A DCRenderer.java73 native void doRect(SurfaceData sData, float x, float y, float width, float height, boolean isfill); argument
75 public void drawRect(SunGraphics2D sg2d, int x, int y, int width, int height) { argument
76 drawRect(sg2d, (float) x, (float) y, (float) width, (float) height);
81 public void drawRect(SunGraphics2D sg2d, float x, float y, float width, float height) { argument
82 if ((width < 0) || (height < 0)) return;
86 surfaceData.doRect(this, sg2d, x, y, width, height, false);
96 rectToShape.setRect(x, y, width, height);
102 public void fillRect(SunGraphics2D sg2d, int x, int y, int width, int height) { argument
103 fillRect(sg2d, (float) x, (float) y, (float) width, (float) height);
106 public void fillRect(SunGraphics2D sg2d, float x, float y, float width, floa argument
113 doRoundRect(SurfaceData sData, float x, float y, float width, float height, float arcW, float arcH, boolean isfill) argument
115 drawRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument
121 drawRoundRect(SunGraphics2D sg2d, float x, float y, float width, float height, float arcWidth, float arcHeight) argument
142 fillRoundRect(SunGraphics2D sg2d, int x, int y, int width, int height, int arcWidth, int arcHeight) argument
146 fillRoundRect(SunGraphics2D sg2d, float x, float y, float width, float height, float arcWidth, float arcHeight) argument
152 doOval(SurfaceData sData, float x, float y, float width, float height, boolean isfill) argument
154 drawOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument
160 drawOval(SunGraphics2D sg2d, float x, float y, float width, float height) argument
181 fillOval(SunGraphics2D sg2d, int x, int y, int width, int height) argument
185 fillOval(SunGraphics2D sg2d, float x, float y, float width, float height) argument
191 doArc(SurfaceData sData, float x, float y, float width, float height, float angleStart, float angleExtent, int type, boolean isfill) argument
193 drawArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument
199 drawArc(SunGraphics2D sg2d, float x, float y, float width, float height, float startAngle, float arcAngle, int type) argument
220 fillArc(SunGraphics2D sg2d, int x, int y, int width, int height, int startAngle, int arcAngle) argument
224 fillArc(SunGraphics2D sg2d, float x, float y, float width, float height, float startAngle, float arcAngle, int type) argument
393 scaleImage(SunGraphics2D sg2d, Image img, int x, int y, int width, int height, Color bgColor) argument
478 copyImage(SunGraphics2D sg2d, Image img, int dx, int dy, int sx, int sy, int width, int height, Color bgColor) argument
542 copyImage(SunGraphics2D sg2d, Image img, int dx, int dy, int sx, int sy, int width, int height, Color bgColor, ImageObserver observer) argument
554 scaleImage(SunGraphics2D sg2d, Image img, int x, int y, int width, int height, Color bgColor, ImageObserver observer) argument
611 doRect(SurfaceData sData, float x, float y, float width, float height, boolean isfill) argument
616 doRoundRect(SurfaceData sData, float x, float y, float width, float height, float arcW, float arcH, boolean isfill) argument
621 doOval(SurfaceData sData, float x, float y, float width, float height, boolean isfill) argument
626 doArc(SurfaceData sData, float x, float y, float width, float height, float angleStart, float angleExtent, int type, boolean isfill) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCDataTransferer.java341 private static String toPaddedString(int n, int width) { argument
344 if (n >= 0 && len < width) {
345 char[] array = new char[width - len];
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/
H A DGIFImageReader.java106 int width = -1, height = -1; field in class:GIFImageReader
379 int width = Math.min(sourceRegion.width,
380 destinationRegion.width*sourceXSubsampling);
384 theTile.setDataElements(destX, destY, width, 1, rowBuf);
386 for (int x = 0; x < width; x += sourceXSubsampling, destX++) {
398 width, 1, 1, updateYStep,
424 if (streamX == width) {
794 destinationRegion.width - 1,
801 destinationRegion.width,
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/
H A DJFIFMarkerSegment.java365 * width and height into account. If necessary, the thumbnail
845 int width,
851 thumbWidth = width;
953 System.out.print(name + " width: ");
967 JFIFThumbRGB(JPEGBuffer buffer, int width, int height) argument
970 super(buffer, width, height, width*height*3, "JFIFthumbRGB");
1019 super.write(ios, writer); // width and height
1032 JFIFThumbPalette(JPEGBuffer buffer, int width, int height) argument
1035 width,
844 JFIFThumbUncompressed(JPEGBuffer buffer, int width, int height, int skip, String name) argument
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A Dostream.hpp44 int _width; // width of the page
58 outputStream(int width = 80);
59 outputStream(int width, bool has_time_stamps);
73 int width() const { return _width; } function in class:outputStream
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_ByteGray_Mask.c117 mlib_s32 width,
128 maskScan -= width;
139 dst_end = dst + width;
199 mlib_s32 width,
208 maskScan -= width;
216 dst_end = dst + width;
271 mlib_s32 width,
286 dst_end = dst + width;
327 jint width,
350 AnyByteSetRect(pRasInfo, 0, 0, width, heigh
113 vis_ByteGrayBlendMask(mlib_u8 *rasBase, mlib_u8 *pMask, mlib_s32 rasScan, mlib_s32 maskScan, mlib_s32 width, mlib_s32 height, mlib_s32 *a0_S32, mlib_s32 srcG) argument
195 vis_ByteGrayBlendMask2(mlib_u8 *rasBase, mlib_u8 *pMask, mlib_s32 rasScan, mlib_s32 maskScan, mlib_s32 width, mlib_s32 height, mlib_s32 *a0_S32, mlib_s16 *d1_S16) argument
269 vis_ByteGrayBlend(mlib_u8 *rasBase, mlib_s32 rasScan, mlib_s32 width, mlib_s32 height, mlib_f32 a0, mlib_d64 d1) argument
323 ByteGraySrcMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument
404 ByteGraySrcOverMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument
493 ByteGrayAlphaMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument
648 int width, height; local
[all...]
H A Dvis_IntArgbPre.c53 if (dstScan == 4*width && srcScan == 4*width) {
54 width *= height;
74 for (i = i0; i <= (mlib_s32)width - 2; i += 2) {
87 if (i < width) {
110 if (width < 16) {
118 for (i = 0; i < width; i++) {
162 for (i = i0; i <= (mlib_s32)width - 2; i += 2) {
180 if (i < width) {
211 if (dstScan == 4*width
1108 int width, height; local
[all...]
H A Dvis_IntArgbPre_Mask.c55 mlib_s32 width,
65 mlib_s32 width,
97 for (i = i0; i <= width - 2; i += 2) {
113 if (i < width) {
144 mlib_s32 width,
152 mlib_s32 width,
181 for (i = i0; i <= width - 2; i += 2) {
194 if (i < width) {
210 jint width,
263 if (rasScan == 4*width
63 IntArgbPreAlphaMaskFill_line(mlib_f32 *dst_ptr, mlib_u8 *pMask, mlib_s32 width, mlib_f32 cnstARGB0, mlib_s32 *log_val, mlib_u8 *mul8_cnstF, mlib_u8 *mul8_tbl) argument
151 IntArgPrebAlphaMaskFill_A1_line(mlib_f32 *dst_ptr, mlib_s32 width, mlib_f32 cnstARGB0, mlib_s32 *log_val, mlib_s32 cnstF) argument
206 IntArgbPreAlphaMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument
293 FourByteAbgrPreAlphaMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument
424 IntArgbPreSrcMaskFill_line(mlib_f32 *dst_ptr, mlib_u8 *pMask, mlib_s32 width, mlib_d64 fgARGB, mlib_f32 cnstARGB0) argument
484 IntArgbPreSrcMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument
556 FourByteAbgrPreSrcMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument
660 IntArgbPreSrcOverMaskFill_line(mlib_f32 *dst_ptr, mlib_u8 *pMask, mlib_s32 width, mlib_f32 cnstARGB0, mlib_u8 *mul8_cnstA) argument
728 IntArgbPreSrcOverMaskFill_A1_line(mlib_f32 *dst_ptr, mlib_s32 width, mlib_d64 cnstARGB, mlib_s32 cnstA) argument
769 IntArgbPreSrcOverMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument
840 FourByteAbgrPreSrcOverMaskFill(void *rasBase, jubyte *pMask, jint maskOff, jint maskScan, jint width, jint height, jint fgColor, SurfaceDataRasInfo *pRasInfo, NativePrimitive *pPrim, CompositeInfo *pCompInfo) argument
960 IntArgbToIntArgbPreSrcOverMaskBlit_line(mlib_f32 *dst_ptr, mlib_f32 *src_ptr, mlib_u8 *pMask, mlib_s32 width, mlib_u8 *mul8_extra, mlib_u8 *mul8_tbl) argument
1047 IntArgbToIntArgbPreSrcOverMaskBlit_A1_line(mlib_f32 *dst_ptr, mlib_f32 *src_ptr, mlib_s32 width, mlib_u8 *mul8_extra) argument
1251 IntArgbToIntArgbPreAlphaMaskBlit_line(mlib_f32 *dst_ptr, mlib_f32 *src_ptr, mlib_u8 *pMask, mlib_s32 width, mlib_s32 *log_val, mlib_u8 *mul8_extra, mlib_u8 *mul8_tbl) argument
1323 IntArgbToIntArgbPreAlphaMaskBlit_A1_line(mlib_f32 *dst_ptr, mlib_f32 *src_ptr, mlib_s32 width, mlib_s32 *log_val, mlib_u8 *mul8_extra, mlib_u8 *mul8_tbl) argument
1555 IntRgbToIntArgbPreAlphaMaskBlit_line(mlib_f32 *dst_ptr, mlib_f32 *src_ptr, mlib_u8 *pMask, mlib_s32 width, mlib_s32 *log_val, mlib_s32 extraA, mlib_s32 dstF_0, mlib_u8 *mul8_tbl) argument
1623 IntRgbToIntArgbPreAlphaMaskBlit_A1_line(mlib_f32 *dst_ptr, mlib_f32 *src_ptr, mlib_s32 width, mlib_s32 *log_val, mlib_s32 extraA, mlib_s32 dstF_0, mlib_u8 *mul8_tbl) argument
[all...]
H A Dvis_IntRgbx.c49 if (dstScan == 4*width && srcScan == 4*width) {
50 width *= height;
69 for (i = i0; i <= (mlib_s32)width - 2; i += 2) {
75 if (i < width) {
99 mlib_u32 *dst_end = dst + width;
137 if (dstScan == 4*width && srcScan == 4*width) {
138 width *= height;
157 for (i = i0; i <= (mlib_s32)width
983 int width, height; local
[all...]
/openjdk7/jdk/src/solaris/native/sun/xawt/
H A DXWindow.c1174 *right = topAttr.width - ((winAttr.width) + *left);
1191 (Window window, int *x, int *y, int *width, int *height) {
1197 *width = winAttr.width;
1202 (JNIEnv *env, jclass clazz, jlong window, jlong x, jlong y, jlong width, jlong height) {
1204 (int*) jlong_to_ptr(width), (int*) jlong_to_ptr(height));
1208 (JNIEnv *env, jclass clazz, jlong window, jlong x, jlong y, jlong width, jlong height) {
1213 size_hints->width = (int)width;
1190 getWindowBounds(Window window, int *x, int *y, int *width, int *height) argument
1201 Java_sun_awt_X11_XWindow_getWindowBounds(JNIEnv *env, jclass clazz, jlong window, jlong x, jlong y, jlong width, jlong height) argument
1207 Java_sun_awt_X11_XWindow_setSizeHints(JNIEnv *env, jclass clazz, jlong window, jlong x, jlong y, jlong width, jlong height) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWDataTransferer.java319 int width = 0;
325 width = ir.getWidth();
328 width = image.getWidth(null);
343 int mod = (width * 3) % 4;
353 Raster.createInterleavedRaster(DataBuffer.TYPE_BYTE, width, height,
354 width * 3 + pad, 3, bOffs, null);
375 return imageDataToPlatformImageBytes(imageData, width, height, format);
410 int width, int height,
441 int width = imageData[len];
445 WritableRaster raster = Raster.createPackedRaster(buffer, width,
409 imageDataToPlatformImageBytes(byte[] imageData, int width, int height, long format) argument
521 toPaddedString(int n, int width) argument
[all...]
H A DWFileDialogPeer.java248 public void reshape(int x, int y, int width, int height) {} argument
270 void invalidate(int x, int y, int width, int height) {} argument
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DSurfaceData.java164 private int width, height; field in class:D3DSurfaceData
190 private native void initOps(int screen, int width, int height); argument
214 int width, int height, Image image,
223 this.width = width;
230 initOps(graphicsDevice.getScreen(), width, height);
274 return new D3DSurfaceData(peer, gc, r.width, r.height,
307 int width, int height,
320 ret = new D3DSurfaceData(null, gc, width, height,
334 ret = new D3DSurfaceData(null, gc, width, heigh
213 D3DSurfaceData(WComponentPeer peer, D3DGraphicsConfig gc, int width, int height, Image image, ColorModel cm, int numBackBuffers, int swapEffect, VSyncType vSyncType, int type) argument
306 createData(D3DGraphicsConfig gc, int width, int height, ColorModel cm, Image image, int type) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/java2d/windows/
H A DGDIRenderer.cpp874 jint width, jint height)
880 J2dTraceLn2(J2D_TRACE_VERBOSE, " w=%-4d h=%-4d", width, height);
896 ::SetRect(&r, srcx, srcy, srcx + width, srcy + height);
869 Java_sun_java2d_windows_GDIRenderer_devCopyArea(JNIEnv *env, jobject wr, jobject wsd, jint srcx, jint srcy, jint dx, jint dy, jint width, jint height) argument
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_ScrollPane.cpp128 jint width = env->GetIntField(target, AwtComponent::widthID); local
131 x, y, width, height,
220 /* Determine border width without scrollbars. */
245 * Since the vertical scrollbar may have reduced the parent width

Completed in 3453 milliseconds

<<11121314151617181920>>