/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CViewEmbeddedFrame.java | 90 public void validateWithBounds(final int x, final int y, final int width, final int height) { argument 95 ((LWWindowPeer) getPeer()).setBoundsPrivate(0, 0, width, height);
|
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11TextRenderer_md.c | 110 int y, left, top, right, bottom, width, height; local 127 rowBytes = glyphs[glyphCounter].width; 130 width = glyphs[glyphCounter].width; 134 right = left + width; 153 width = right - left; 175 } while (++x < width); 196 } while (++x < width);
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WCanvasPeer.java | 68 g.clearRect(0, 0, d.width, d.height); 72 g.fillRect(0, 0, d.width, d.height);
|
/openjdk7/jdk/test/java/awt/GridBagLayout/GridBagLayoutIpadXYTest/ |
H A D | GridBagLayoutIpadXYTest.java | 77 if ( minSize.width + customIpadx != jtf.getSize().width || 84 throw new RuntimeException("Test Failed. TextField has incorrect width. ");
|
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | AccelGlyphCache.h | 44 jint width; member in struct:__anon796 74 AccelGlyphCache_Init(jint width, jint height,
|
/openjdk7/jdk/test/javax/swing/JComponent/4337267/ |
H A D | bug4337267.java | 159 i1 = new TestBufferedImage(size.width, size.height, 161 i2 = new TestBufferedImage(size.width, size.height, 178 TestBufferedImage(int width, int height, int imageType) { argument 179 super(width, height, imageType); 188 int width = getWidth(); 190 if ((image2.getWidth() != width) || (image2.getHeight() != height)) { 194 for (int x = 0; x < width; x++) { 212 return new TestBufferedImage(d.width, d.height,
|
/openjdk7/jdk/test/javax/swing/border/ |
H A D | Test6981576.java | 54 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { argument 55 getBorder().paintBorder(c, g, x, y, width, height);
|
/openjdk7/jdk/src/share/classes/sun/java2d/cmm/lcms/ |
H A D | LCMSImageLayout.java | 96 int width; field in class:LCMSImageLayout 109 width = np; 116 private LCMSImageLayout(int width, int height, int pixelType, argument 121 this.width = width; 124 nextRowOffset = safeMult(pixelSize, width); 209 width = image.getWidth(); 292 int lastPixelOffset = safeMult(nextPixelOffset, (width -1 ));
|
/openjdk7/jdk/src/share/classes/sun/java2d/loops/ |
H A D | BlitBg.java | 115 int width, int height); 153 int width, int height) 161 dstModel.createCompatibleWritableRaster(width, height); 177 fillop.FillRect(sg2d, tmpData, 0, 0, width, height); 179 srcx, srcy, 0, 0, width, height); 181 0, 0, dstx, dsty, width, height); 210 int width, int height) 214 srcx, srcy, dstx, dsty, width, height); 110 BlitBg(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int bgColor, int srcx, int srcy, int dstx, int dsty, int width, int height) argument 146 BlitBg(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, int bgArgb, int srcx, int srcy, int dstx, int dsty, int width, int height) argument 206 BlitBg(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int bgColor, int srcx, int srcy, int dstx, int dsty, int width, int height) argument
|
H A D | MaskBlit.java | 108 int width, int height, 173 int width, int height, 190 width, height, cachedSrc); 210 width, height, cachedDst); 220 sx, sy, dx, dy, width, height, 226 dstx, dsty, width, height); 255 int width, int height, 260 srcx, srcy, dstx, dsty, width, height, 104 MaskBlit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height, byte[] mask, int maskoff, int maskscan) argument 167 MaskBlit(SurfaceData srcData, SurfaceData dstData, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height, byte mask[], int offset, int scan) argument 252 MaskBlit(SurfaceData src, SurfaceData dst, Composite comp, Region clip, int srcx, int srcy, int dstx, int dsty, int width, int height, byte[] mask, int maskoff, int maskscan) argument
|
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLBlitLoops.h | 62 jint width, jint height); 67 jint width, jint height,
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaComboBoxPopup.java | 103 popupSize.width = Math.max(prefSize.width, popupSize.width); 106 popupSize.width += 10; 138 list.setSize(newBounds.width, newBounds.height); 168 final Rectangle popupBounds = computePopupBounds(0, comboBox.getBounds().height, popupSize.width, popupSize.height); 202 if ((p.x + comboBoxBounds.width < 0) || (p.y + comboBoxBounds.height < 0) || (p.x > scrSize.width) || (p.y > scrSize.height)) { 205 return new Rectangle(0, 22, scrSize.width, scrSize.height - 22); 266 final int minWidth = comboBoxBounds.width [all...] |
H A D | AquaCaret.java | 150 * caret bounds (x, y, width, and height). 160 width = 10; 165 final Rectangle caretRect = new Rectangle(x, y, width, height); 173 alloc.width -= borderInsets.left + borderInsets.right; 179 width = Math.max(caretRect.width, 1);
|
H A D | AquaTextFieldUI.java | 112 final int width = c.getWidth(); 117 delegate.paint(c, g, 0, 0, width, height); 128 g.fillRect(0, 0, width, height); 135 g.fillRect(0, 0, width, height); 152 g.fillRect(insets.left - 2, insets.top - shrinkage - 1, width - insets.right - insets.left + 4, height - insets.bottom - insets.top + shrinkage * 2 + 2);
|
H A D | AquaInternalFrameDockIconUI.java | 182 int width = fFrame.getWidth(); 186 if (width <= 0 || height <= 0) { 187 width = 128; 191 final Image fImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB_PRE); 196 final float scale = (float)fDesktopIcon.getWidth() / (float)Math.max(width, height) * 0.89f; 197 // Sending in -1 for width xor height causes it to maintain aspect ratio 198 final ImageIcon icon = new ImageIcon(fImage.getScaledInstance((int)(width * scale), -1, Image.SCALE_SMOOTH)); 245 final int width = getWidth(); 256 final int halfway = width / 2; 267 g.fillRoundRect(0, 0, width, roundHeigh [all...] |
H A D | AquaTabbedPaneUI.java | 179 // g2.fillRect(r.x, r.y, r.width, r.height); 216 temp = r.width; 217 r.width = r.height; 232 nudge = tabRect.width % 2; 271 g.clipRect(fContentRect.x, fContentRect.y, fContentRect.width, fContentRect.height); 363 int xDiff = 0; // (tabRect.x+tabRect.width) - (textRect.x+textRect.width); 365 int xIconDiff = 0; // (tabRect.x+tabRect.width) - (iconRect.x + iconRect.width); 381 g2d.translate(0, -tabRect.width 1032 preferredTabAreaHeight(final int tabPlacement, final int width) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicDesktopPaneUI.java | 404 loc.x + size.width - MOVE_RESIZE_INCREMENT < 406 -size.width + minOnScreenInsets.right : 411 c.setSize(size.width + MOVE_RESIZE_INCREMENT, 423 c.setSize(size.width + MOVE_RESIZE_INCREMENT, 436 c.setSize(size.width, 447 c.setSize(size.width, 452 if (minSize.width < (size.width - MOVE_RESIZE_INCREMENT)) { 455 delta = size.width - minSize.width; [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | NullComponentPeer.java | 114 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/test/java/awt/image/MemoryLeakTest/ |
H A D | MemoryLeakTest.java | 150 osImage = createImage(getSize().width, getSize().height); 153 g.drawImage(oldimage, 0, 0, getSize().width, getSize().height, this); 157 g.drawLine(0, 0, getSize().width, getSize().height); 166 osImage = createImage(getSize().width, getSize().height); 169 g.drawLine(0, 0, getSize().width, getSize().height);
|
/openjdk7/jdk/src/share/demo/applets/SortDemo/ |
H A D | SortItem.java | 93 double f = initialSize.width / (double) a.length; 184 int currentWidth = currentSize.width; 197 deltaX = (currentWidth - initialSize.width) / 2; 225 g.drawLine(deltaX, y, deltaX + initialSize.width, y); 230 g.drawLine(deltaX, y, deltaX + initialSize.width, y);
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | MultiPixelPackedSampleModel.java | 91 * specified data type, width, height and number of bits per pixel. 93 * @param w the width, in pixels, of the region of 122 * specified data type, width, height, number of bits per pixel, 125 * @param w the width, in pixels, of the region of 171 * specified width and height. The new 175 * @param w the specified width 177 * @return a {@link SampleModel} with the specified width and height 335 SampleModel sm = createCompatibleSampleModel(width, height); 357 if ((x < 0) || (y < 0) || (x >= width) || (y >= height) || 387 if ((x < 0) || (y < 0) || (x >= width) || ( [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | GridBagLayout.java | 102 * vertically, but don't change its width), and 109 * The width of the component will be at least its minimum width 423 * width. If this field is non-<code>null</code> the values are 584 dim[0] = new int[layoutInfo.width]; 587 System.arraycopy(layoutInfo.minWidth, 0, dim[0], 0, layoutInfo.width); 610 weights[0] = new double[layoutInfo.width]; 613 System.arraycopy(layoutInfo.weightX, 0, weights[0], 0, layoutInfo.width); 655 for (i=0; i<layoutInfo.width; i++) { 661 for (i=layoutInfo.width [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_Robot.c | 207 jint width, 218 DTRACE_PRINTLN6("RobotPeer: getRGBPixelsImpl(%lx, %d, %d, %d, %d, %x)", xgc, x, y, width, height, pixelArray); 223 if ((width * height) == 0) { 227 DASSERT(width * height > 0); /* only allow positive size */ 233 image = getWindowImage(awt_display, rootWindow, x, y, width, height); 236 if (!IS_SAFE_SIZE_MUL(width, height) || 237 !(ary = (jint *) SAFE_SIZE_ARRAY_ALLOC(malloc, width * height, sizeof (jint)))) 246 for (x = 0; x < width; x++) { 254 ary[(y * width) + x] = pixel; 257 (*env)->SetIntArrayRegion(env, pixelArray, 0, height * width, ar 202 Java_sun_awt_X11_XRobotPeer_getRGBPixelsImpl( JNIEnv *env, jclass cls, jobject xgc, jint x, jint y, jint width, jint height, jintArray pixelArray) argument [all...] |
/openjdk7/jdk/src/macosx/native/sun/java2d/opengl/ |
H A D | CGLSurfaceData.m | 45 GLsizei width, GLsizei height, GLenum format, GLenum type, 347 oglsdo->width = surfaceBounds.size.width; 351 J2dTraceLn2(J2D_TRACE_VERBOSE, " created window: w=%d h=%d", oglsdo->width, oglsdo->height); 466 jint width, jint height) 468 J2dTraceLn3(J2D_TRACE_INFO, "CGLSurfaceData_initPbuffer: w=%d h=%d opq=%d", width, height, isOpaque); 498 pbWidth = (width <= pbMax) ? width : 0; 502 pbWidth = OGLSD_NextPowerOfTwo(width, pbMax); 546 oglsdo->width [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XChoicePeer.java | 111 // The choice's popup width and location should be adjust to appear 169 public void setBounds(int x, int y, int width, int height, int op) { argument 172 int oldWidth = this.width; 174 super.setBounds(x, y, width, height, op); 175 if (unfurled && (oldX != this.x || oldY != this.y || oldWidth != this.width || oldHeight != this.height) ) { 535 //textRect.width = fm.stringWidth(text); 536 textRect.width = fm.stringWidth(text == null ? "" : text); 537 textRect.x = Math.max(minTextX, size.width / 2 - textRect.width / 2); 542 focusRect.width [all...] |