/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/ |
H A D | jquant1.c | 473 JDIMENSION width = cinfo->output_width; local 479 for (col = width; col > 0; col--) { 503 JDIMENSION width = cinfo->output_width; local 508 for (col = width; col > 0; col--) { 533 JDIMENSION width = cinfo->output_width; local 538 (size_t) (width * SIZEOF(JSAMPLE))); 547 for (col = width; col > 0; col--) { 586 JDIMENSION width = cinfo->output_width; local 597 for (col = width; col > 0; col--) { 636 JDIMENSION width local [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLContext.c | 85 jint width = dstOps->width; local 90 width, height, 96 (GLsizei)width, (GLsizei)height); 99 j2d_glOrtho(0.0, (GLdouble)width, (GLdouble)height, 0.0, -1.0, 1.0); 228 jint width = x2 - x1; local 233 x1, y1, width, height); 239 if ((width < 0) || (height < 0)) { 241 width = 0; 254 width, heigh 516 OGLContext_CreateBlitTexture(GLenum internalFormat, GLenum pixelFormat, GLuint width, GLuint height) argument 654 jint width = 1, height = 1; local [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JMenu.java | 244 // public void repaint(long tm, int x, int y, int width, int height) { 246 // super.repaint(tm,x,y,width,height); 382 if (pmSize.width==0) { 409 screenBounds.width -= 425 x = s.width + xOffset; // Prefer placement to the right 426 if (position.x + x + pmSize.width >= screenBounds.width 429 screenBounds.width - s.width < 2*(position.x 432 x = 0 - xOffset - pmSize.width; [all...] |
H A D | RepaintManager.java | 519 dirty.width, dirty.height); 523 dirty.width, dirty.height); 527 dirty.width, dirty.height); 661 if(r.width == Integer.MAX_VALUE && 809 rect.x,rect.y,rect.width, rect.height); 817 g.setClip(rect.x, rect.y, rect.width, rect.height); 944 SwingUtilities.computeUnion(tmp.x,tmp.y,tmp.width,tmp.height,r); 1020 int width = proposedWidth < 1 ? 1 : 1021 (proposedWidth > maxSize.width? maxSize.width 1105 clearImages(int width, int height) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalRootPaneUI.java | 460 cpWidth = cpd.width; 467 mbWidth = mbd.width; 479 tpWidth = tpd.width; 512 cpWidth = cpd.width; 519 mbWidth = mbd.width; 530 tpWidth = tpd.width; 560 cpWidth = cpd.width; 568 mbWidth = mbd.width; 581 tpWidth = tpd.width; 614 int w = b.width 973 calculatePosition(int spot, int width) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | ByteInterleavedRaster.java | 73 /** A cached copy of minX + width for use in bounds checks. */ 192 this.maxX = minX + width; 354 * @param width Width of the pixel rectangle. 379 * @param width Width of the pixel rectangle. 440 * @param width Width of the pixel rectangle. 573 int width = inRaster.getWidth(); 576 (dstOffX + width > this.maxX) || (dstOffY + height > this.maxY)) { 582 width, height, inRaster); 597 * @param width The number of pixels to store horizontally 603 int width, in 601 setDataElements(int dstX, int dstY, int srcX, int srcY, int width, int height, Raster inRaster) argument 1205 createChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument 1234 createWritableChild(int x, int y, int width, int height, int x0, int y0, int[] bandList) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsIconFactory.java | 171 int width = getIconWidth(); 207 skin.paintSkin(g, 0, 0, width, height, state); 210 int x = width / 12 + 2; 213 int w = width * 3/4 -3; 215 int thickness = Math.max(width / 15, 1); 218 if (width > 47) lineWidth = 6; 219 else if (width > 37) lineWidth = 5; 220 else if (width > 26) lineWidth = 4; 221 else if (width > 16) lineWidth = 3; 222 else if (width > 1 [all...] |
H A D | WindowsProgressBarUI.java | 78 public int getBaseline(JComponent c, int width, int height) { argument 79 int baseline = super.getBaseline(c, width, height); 270 len += (rect.width+gap)*2; // add 2x for the trails 275 rect.width = progressBar.getWidth() - ins.left - ins.right; 324 int chunksize = box.width+gap; 328 return new Rectangle(box.x, box.y-chunksize*2, box.width, chunksize*3); 349 deltax = -box.width - gap; 379 skin.paintSkin(gfx, box.x, box.y, box.width, box.height, null); 382 skin.paintSkin(gfx, box.x, box.y, box.width, box.height, null); 385 skin.paintSkin(gfx, box.x, box.y, box.width, bo [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XComponentPeer.java | 148 reshape(r.x, r.y, r.width, r.height); 434 public void repaint(long tm, int x, int y, int width, int height) { argument 456 public void setBounds(int x, int y, int width, int height, int op) { argument 459 this.width = width; 461 xSetBounds(x,y,width,height); 466 public void reshape(int x, int y, int width, int height) { argument 467 setBounds(x, y, width, height, SET_BOUNDS); 480 r.x + ", y = " + r.y + ", width = " + r.width 665 drawMotif3DRect(Graphics g, int x, int y, int width, int height, boolean topShadow) argument 768 createImage(int width, int height) argument 772 createVolatileImage(int width, int height) argument 989 draw3DRect(Graphics g, Color colors[], int x, int y, int width, int height, boolean raised) argument 1022 draw3DRect(Graphics g, Color bg, int x, int y, int width, int height, boolean raised) argument [all...] |
H A D | XlibWrapper.java | 98 Window XCreateWindow(display, parent, x, y, width, height, 104 unsigned int width, height; 113 static native long XCreateWindow(long display, long parent, int x,int y, int width, int height, int border_width, int depth, long wclass, long visual, long valuemask, long attributes); argument 256 /* XMoveResizeWindow(display, w, x, y, width, height) 260 unsigned int width, height; 262 static native void XMoveResizeWindow(long display, long window, int x, int y, int width, int height); argument 263 static native void XResizeWindow(long display, long window, int width, int height); argument 374 Pixmap XCreateBitmapFromData(display, d, data, width, 379 unsigned int width, height; 382 static native long XCreateBitmapFromData(long display, long drawable, long data, int width, in argument 415 XQueryBestCursor(long display, long drawable, int width, int height, long width_return, long height_return) argument 447 XSetMinMaxHints(long display, long window, int x, int y, int width, int height, long flags) argument 470 XCreatePixmap(long display, long drawable, int width, int height, int depth) argument 471 XCreateImage(long display, long visual_ptr, int depth, int format, int offset, long data, int width, int height, int bitmap_pad, int bytes_per_line) argument 475 XPutImage(long display, long drawable, long gc, long image, int src_x, int src_y, int dest_x, int dest_y, int width, int height) argument 561 SetBitmapShape(long display, long window, int width, int height, int[] bitmap) argument [all...] |
H A D | XBaseWindow.java | 91 int width; field in class:XBaseWindow 289 bounds.width = Math.max(MIN_SIZE, bounds.width); 369 bounds.width, bounds.height, // size 482 public void setSizeHints(long flags, int x, int y, int width, int height) { argument 495 hints.set_width(width); 501 hints.set_min_width(width); 510 if (maxBounds.width != Integer.MAX_VALUE) { 511 hints.set_max_width(maxBounds.width); 521 hints.set_max_width(width); 702 xSetBounds(int x, int y, int width, int height) argument [all...] |
H A D | XDecoratedPeer.java | 131 int minWidth = minimumSize.width - insets.left - insets.right; 139 int nw = (bounds.width < minWidth) ? minWidth : bounds.width; 141 if (nw != bounds.width || nh != bounds.height) { 398 * computed width and height with wrong insets, we 477 updateSizeHints(rec.x, rec.y, rec.width, rec.height); 502 newBounds.width - insets.left - insets.right, 583 * @param x, y, width, heith - dimensions of the window with insets 585 private void reshape(int x, int y, int width, int height, int operation, argument 600 dims.setSize(width, heigh 629 setBounds(int x, int y, int width, int height, int op) argument [all...] |
H A D | XEmbedChildProxyPeer.java | 86 public void repaint(long tm, int x, int y, int width, int height) {} argument 88 public void setBounds(int x, int y, int width, int height, int op) { argument 92 XlibWrapper.XMoveResizeWindow(XToolkit.getDisplay(), handle, x, y, width, height); 255 public Image createImage(int width, int height) { return null; } argument 256 public VolatileImage createVolatileImage(int width, int height) { return null; } argument 315 public void reshape(int x, int y, int width, int height) { argument 316 setBounds(x, y, width, height, SET_BOUNDS);
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaSliderUI.java | 175 //g.drawRect(trackRect.x, trackRect.y, trackRect.width - 1, trackRect.height - 1); 176 trackPainter.paint(g, c, trackRect.x, trackRect.y, trackRect.width, trackRect.height); 188 //g.drawRect(thumbRect.x, thumbRect.y, thumbRect.width - 1, thumbRect.height - 1); 189 thumbPainter.paint(g, c, thumbRect.x, thumbRect.y, thumbRect.width, thumbRect.height); 285 tickRect.width = trackRect.width - (trackBuffer * 2); 287 tickRect.width = tickLength; 288 tickRect.x = trackRect.x + trackRect.width - (tickRect.width / 2); 410 if (r.x + r.width > [all...] |
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/ |
H A D | mlib_v_ImageZoom_NN_f.c | 85 width = GetElemSubStruct(current, width), \ 104 mlib_ImageCopy_na(dl - dst_stride, dl, width); 107 mlib_u8 *dp = dl, *dend = dl + width; 174 mlib_ImageCopy_na(dl - dst_stride, dl, 3*width); 177 mlib_u8 *dp = dl, *dend = dl + 3*width; 295 mlib_ImageCopy_na((void*)((mlib_u8*)dl - dst_stride), (void*)dl, 6*width); 298 mlib_s16 *dp = dl, *dend = dl + 3*width; 388 mlib_ImageCopy_na((void*)((mlib_u8*)dl - dst_stride), (void*)dl, 2*width); 391 mlib_u16 *dp = dl, *dend = dl + width; [all...] |
H A D | mlib_ImageZoom_NN.c | 135 width = GetElemSubStruct(current, width), \ 165 if (num0 > width) 166 num0 = width; 169 n_al = width - num0; 436 width8 = width / 8; 502 MLIB_COPY_FUNC((mlib_u8 *) dl - dst_stride, dl, width); 523 for (i = 0; i < (width / 8); i++) { 574 for (i = 0; i < (width / 8); i++) { 597 if (width [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Formatter.java | 90 * // locale-specific formatting of numbers. The precision and width can be 176 * %[argument_index$][flags][width][.precision]conversion 186 * <p> The optional <i>width</i> is a non-negative decimal integer indicating 201 * %[argument_index$][flags][width]conversion 204 * <p> The optional <i>argument_index</i>, <i>flags</i> and <i>width</i> are 217 * %[flags][width]conversion 220 * <p> The optional <i>flags</i> and <i>width</i> is defined as above. 611 * <p> The width is the minimum number of characters to be written to the 612 * output. For the line separator conversion, width is not applicable; if it 663 * <p> If the format specifier contains a width o 2572 private int width; field in class:Formatter.FormatSpecifier 2605 private int width(String s) { method in class:Formatter.FormatSpecifier 2619 int width() { method in class:Formatter.FormatSpecifier 3785 adjustWidth(int width, Flags f, boolean neg) argument 4057 localizedMagnitude(StringBuilder sb, long value, Flags f, int width, Locale l) argument 4065 localizedMagnitude(StringBuilder sb, char[] value, Flags f, int width, Locale l) argument [all...] |
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/ |
H A D | PainterGenerator.java | 191 float b = canvas.getSize().width - in.right; 194 float width = canvas.getSize().width; 226 float x1 = encode((float)rshape.getX1(), a, b, width); 228 float x2 = encode((float)rshape.getX2(), a, b, width); 238 " " + writeDecodeX(x2) + " - " + writeDecodeX(x1) + ", //width\n" + 247 " " + writeDecodeX(x2) + " - " + writeDecodeX(x1) + ", //width\n" + 253 float x1 = encode((float)eshape.getX1(), a, b, width); 255 float x2 = encode((float)eshape.getX2(), a, b, width); 261 " " + writeDecodeX(x2) + " - " + writeDecodeX(x1) + ", //width\ [all...] |
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | CTrayIcon.m | 41 NSRect imageRect = NSMakeRect(0.0, 0.0, imageSize.width, imageSize.height); 48 imageRect.size.width *= scaleFactor; 105 if (imageSize.width != scaledSize.width || 110 CGFloat itemLength = scaledSize.width + 2.0*kImageInset; 221 NSRect drawRect = {{ (bounds.size.width - imageSize.width) / 2.0,
|
/openjdk7/jdk/src/macosx/native/sun/awt/splashscreen/ |
H A D | splashscreen_sys.m | 58 splash->x = (screenFrame.size.width - splash->width) / 2; 206 pixelsWide: splash->width 214 bytesPerRow: splash->width * 4 218 initWithSize: NSMakeSize(splash->width, splash->height)]; 258 [splash->window setFrame: NSMakeRect(splash->x, splash->y, splash->width, splash->height) 345 initWithContentRect: NSMakeRect(splash->x, splash->y, splash->width, splash->height)
|
/openjdk7/jdk/src/windows/native/sun/awt/splashscreen/ |
H A D | splashscreen_sys.c | 105 if (!IS_SAFE_SIZE_MUL(splash->width / 2 + 1, splash->height)) { 109 sizeof(RECT), (splash->width / 2 + 1) * splash->height); 114 initRect(&maskRect, 0, 0, splash->width, splash->height, 1, 115 splash->width * splash->imageFormat.depthBytes, 124 pRgnHdr->rcBound.right = splash->width; 161 pBmi->bV4Width = splash->width; 203 StretchDIBits(hdc, 0, 0, splash->width, splash->height, 0, 0, 204 splash->width, splash->height, splash->screenData, 236 bmi.biWidth = splash->width; 258 size.cx = splash->width; [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/ |
H A D | Items.java | 265 /** Return the width of this item on stack as a number of words. 267 int width() { method in class:Items.Item 287 code.emitop0(width() == 2 ? dup2 : dup); 291 code.emitop0(width() == 2 ? pop2 : pop); 296 (width() == 2 ? dup_x2 : dup_x1) + 3 * (Code.width(toscode) - 1)); 299 int width() { method in class:Items.StackItem 300 return Code.width(typecode); 334 code.emitop0(dup_x2 + 3 * (Code.width(toscode) - 1)); 337 int width() { method in class:Items.IndexedItem 512 int width() { method in class:Items.MemberItem 683 int width() { method in class:Items.AssignItem 779 int width() { method in class:Items.CondItem [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicComboBoxUI.java | 190 * If square, then the width and height are equal, and are both set to 924 //calculate the width and height of the button 926 int buttonWidth = squareButton ? buttonHeight : arrowButton.getPreferredSize().width; 927 //adjust the size based on the button width 929 size.width += insets.left + insets.right + buttonWidth; 931 cachedMinimumSize.setSize( size.width, size.height ); 951 public int getBaseline(JComponent c, int width, int height) { argument 952 super.getBaseline(c, width, height); 985 baseline = component.getBaseline(width, height); 988 baseline = editor.getBaseline(width, heigh [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | MediaTracker.java | 154 * g.fillRect(0, 0, size().width, size().height); 217 * rendered at the indicated width and height. 221 * @param w the width at which the image is rendered 774 * width, height, and ID from this media tracker. 778 * @param width the width to remove (-1 for unscaled) 785 int width, int height) { 791 && ((ImageMediaEntry) cur).matches(image, width, height)) 883 int width; field in class:ImageMediaEntry 894 width 784 removeImage(Image image, int id, int width, int height) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | MaskTileManager.java | 93 public void addRect(int x, int y, int width, int height) { argument 94 mainTile.addRect(x, y, width, height); 191 int width = tileDirtyArea.x2 - tileDirtyArea.x; 193 width = Math.min(width, MASK_SIZE); 217 x, y, width, height); 224 width, height);
|