Searched refs:bounds (Results 101 - 125 of 230) sorted by relevance

12345678910

/openjdk7/jdk/src/share/demo/applets/GraphicsTest/
H A DGraphicsTest.java437 Rectangle bounds = getBounds();
443 for (color = Color.red, cx = bounds.x, cy = bounds.y,
444 cw = bounds.width / 2, ch = bounds.height;
452 for (cx = bounds.x + bounds.width / 2, cy = bounds.y,
453 cw = bounds.width / 2, ch = bounds
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthTreeUI.java337 Rectangle bounds;
356 bounds = getPathBounds(tree, path);
357 rowBounds.y = bounds.y;
358 rowBounds.height = bounds.height;
360 paintBounds, insets, bounds, rowBounds, path,
362 if ((bounds.y + bounds.height) >= endY) {
395 bounds = getPathBounds(tree, path);
405 paintBounds, insets, bounds,
411 paintBounds, insets, bounds,
478 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
523 paintRow(TreeCellRenderer renderer, DefaultTreeCellRenderer dtcr, SynthContext treeContext, SynthContext cellContext, Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, Rectangle rowBounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
592 paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
[all...]
H A DSynthComboBoxUI.java375 public void paintCurrentValue(Graphics g,Rectangle bounds,boolean hasFocus) { argument
397 int x = bounds.x, y = bounds.y, w = bounds.width, h = bounds.height;
399 x = bounds.x + padding.left;
400 y = bounds.y + padding.top;
401 w = bounds.width - (padding.left + padding.right);
402 h = bounds.height - (padding.top + padding.bottom);
H A DSynthProgressBarUI.java335 Rectangle bounds = progressBar.getBounds();
346 (bounds.width+fm.getAscent()-fm.getDescent())/2,
347 (bounds.height+strLength)/2);
351 (bounds.width-fm.getAscent()+fm.getDescent())/2,
352 (bounds.height-strLength)/2);
367 // Calculate the bounds for the text.
369 (bounds.width / 2) - (strLength / 2),
370 (bounds.height -
H A DSynthToolBarUI.java303 * @param bounds bounding box for the toolbar
306 Rectangle bounds) {
307 SynthLookAndFeel.updateSubregion(context, g, bounds);
309 bounds.x, bounds.y, bounds.width, bounds.height,
312 bounds.x, bounds.y, bounds
305 paintContent(SynthContext context, Graphics g, Rectangle bounds) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DToolTipManager.java528 Rectangle bounds = insideComponent.getTopLevelAncestor().getBounds();
529 location.x += bounds.x;
530 location.y += bounds.y;
534 bounds.x = loc.x;
535 bounds.y = loc.y;
536 bounds.width = tip.getWidth();
537 bounds.height = tip.getHeight();
539 if (location.x >= bounds.x && location.x < (bounds.x + bounds
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultTreeCellEditor.java461 Rectangle bounds = tree.getRowBounds(lastRow);
465 if (bounds != null && x <= (bounds.x + offset) &&
466 offset < (bounds.width - 5)) {
469 } else if ( bounds != null &&
470 ( x >= (bounds.x+bounds.width-offset+5) ||
471 x <= (bounds.x + 5) ) &&
472 offset < (bounds.width - 5) ) {
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_DrawingSurface.cpp59 bounds.x = env->GetIntField(target, AwtComponent::xID);
60 bounds.y = env->GetIntField(target, AwtComponent::yID);
61 bounds.width = env->GetIntField(target, AwtComponent::widthID);
62 bounds.height = env->GetIntField(target, AwtComponent::heightID);
72 clip = &bounds;
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXBaseWindow.java42 BOUNDS = "bounds", // bounds of the window, Rectangle
111 protected final void init(long parentWindow, Rectangle bounds) {} argument
245 XBaseWindow(long parentWindow, Rectangle bounds) { argument
247 BOUNDS, bounds,
254 XBaseWindow(Rectangle bounds) { argument
256 BOUNDS, bounds
288 Rectangle bounds = (Rectangle)params.get(BOUNDS);
289 bounds.width = Math.max(MIN_SIZE, bounds
698 xSetBounds(Rectangle bounds) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DDefaultHighlighter.java400 * @param bounds the bounding box for the highlight
403 public void paint(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c) { argument
404 Rectangle alloc = bounds.getBounds();
446 * @param bounds the bounding box of the view, which is not
453 Shape bounds, JTextComponent c, View view) {
467 // Contained in view, can just use bounds.
468 if (bounds instanceof Rectangle) {
469 r = (Rectangle) bounds;
472 r = bounds.getBounds();
481 bounds);
452 paintLayer(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c, View view) argument
532 union(Shape bounds) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCCustomCursor.java35 final Rectangle bounds = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().getBounds();
36 return sMaxCursorSize = new Dimension(bounds.width / 2, bounds.height / 2);
81 // Verify that the hotspot is within cursor bounds.
H A DCWarningWindow.java56 private Rectangle bounds = new Rectangle(); field in class:CWarningWindow
208 return bounds.getBounds();
282 isResize = (bounds.width != width || bounds.height != height);
283 bounds = new Rectangle(x, y, width, height);
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCTrayIcon.m127 localPoint.y = [view bounds].size.height - localPoint.y;
218 NSRect bounds = [self bounds];
221 NSRect drawRect = {{ (bounds.size.width - imageSize.width) / 2.0,
222 (bounds.size.height - imageSize.height) / 2.0 }, imageSize};
230 [trayIcon.theItem drawStatusBarBackgroundInRect:bounds
H A DQuartzSurfaceData.m277 CGRect bounds = CGContextGetClipBoundingBox(cgRef);
292 //fprintf(stderr, "BOUNDING BOX x1=%f, y1=%f x2=%f, y2=%f\n", bounds.origin.x, bounds.origin.y, bounds.origin.x+bounds.size.width, bounds.origin.y+bounds.size.height);
303 y1 = bounds.origin.y;
304 y2 = y1 + bounds.size.height;
308 x1 = bounds
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWFramePeer.java89 * The incoming bounds describe the maximized size and position of the
91 * expects that the bounds are based on the size and position of the
96 * The method translates the incoming bounds to the values acceptable
126 Rectangle bounds = AWTAccessor.getFrameAccessor().
128 if (bounds != null) {
129 setMaximizedBounds(bounds);
/openjdk7/jdk/src/share/native/sun/java2d/
H A DSurfaceData.h45 * be inside these bounds.
60 * SurfaceDataBounds bounds;
62 * The 2 dimensional bounds of the raster array that is needed. Valid
65 * for each x, y pair such that (bounds.x1 <= x < bounds.x2) and
66 * (bounds.y1 <= y < bounds.y2).
72 * allocated memory for the requested bounds and it may even point
74 * the coordinates indicated by the requested bounds are guaranteed
154 SurfaceDataBounds bounds; /* bound member in struct:__anon812
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/dynamicany/
H A DDynAnyComplexImpl.java169 } catch (Bounds bounds) { // impossible
181 } catch (Bounds bounds) { // impossible
243 } catch (Bounds bounds) { // impossible
256 } catch (Bounds bounds) { // impossible
346 } catch (Bounds bounds) { // impossible
388 } catch (Bounds bounds) { // impossible
/openjdk7/jdk/src/share/classes/sun/reflect/generics/factory/
H A DCoreReflectionFactory.java93 FieldTypeSignature[] bounds){
94 return TypeVariableImpl.make(getDecl(), name, bounds, this);
92 makeTypeVariable(String name, FieldTypeSignature[] bounds) argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTreeUI.java122 // WARNING: Be careful with the bounds held by treeState. They are
527 Rectangle bounds) {
528 bounds = treeState.getBounds(path, bounds);
529 if (bounds != null) {
531 bounds.x += insets.left;
533 bounds.x = tree.getWidth() - (bounds.x + bounds.width) -
536 bounds
526 getPathBounds(TreePath path, Insets insets, Rectangle bounds) argument
1346 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
1477 paintExpandControl(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
1516 paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
2459 getRepaintPathBounds(Rectangle bounds) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRPMBlitLoops.java236 * xform.createTransformedShape(rect); Rectangle bounds = shp.getBounds();
277 Rectangle bounds = getCompositeBounds(xform, dstx, dsty, width, height);
279 AffineTransform trx = AffineTransform.getTranslateInstance((-bounds.x), (-bounds.y));
300 0, 0, 0, 0, bounds.x, bounds.y, bounds.width, bounds.height);
305 x11sdDst.maskBuffer.compositeBlit(x11sdSrc, x11sdDst, 0, 0, bounds.x, bounds
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/links/
H A DLinkFactory.java94 Type[] bounds = type.asTypeVariable().bounds();
97 for (int i = 0; i < bounds.length; i++) {
100 setBoundsLinkInfo(linkInfo, bounds[i]);
/openjdk7/jdk/src/share/javavm/export/
H A Djawt.h165 JAWT_Rectangle bounds; member in struct:jawt_DrawingSurfaceInfo
204 * JAWT_LOCK_BOUNDS_CHANGED - When the bounds of the surface have changed.
/openjdk7/jdk/test/javax/swing/text/DefaultHighlighter/6771184/
H A Dbug6771184.java45 public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c) {
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_DrawingSurface.c68 * JAWT_LOCK_BOUNDS_CHANGED - When the bounds of the surface have changed.
284 p->bounds.x = (*env)->GetIntField(env, target, componentIDs.x);
285 p->bounds.y = (*env)->GetIntField(env, target, componentIDs.y);
286 p->bounds.width = (*env)->GetIntField(env, target, componentIDs.width);
287 p->bounds.height = (*env)->GetIntField(env, target, componentIDs.height);
289 p->clip = &(p->bounds);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalRootPaneUI.java801 private void adjust(Rectangle bounds, Dimension min, int deltaX, argument
803 bounds.x += deltaX;
804 bounds.y += deltaY;
805 bounds.width += deltaWidth;
806 bounds.height += deltaHeight;
808 if (bounds.width < min.width) {
809 int correction = min.width - bounds.width;
811 bounds.x -= correction;
813 bounds.width = min.width;
815 if (bounds
[all...]

Completed in 97 milliseconds

12345678910