/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthGraphicsUtils.java | 137 * @param iconR Rectangle to place icon bounds in 314 * @param bounds Bounds of the text to be drawn. 318 Rectangle bounds, int mnemonicIndex) { 319 paintText(ss, g, text, bounds.x, bounds.y, mnemonicIndex); 317 paintText(SynthContext ss, Graphics g, String text, Rectangle bounds, int mnemonicIndex) argument
|
H A D | SynthComboBoxUI.java | 375 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 D | SynthLookAndFeel.java | 344 Rectangle bounds) { 345 paintRegion(state, g, bounds); 349 Rectangle bounds) { 354 if (bounds == null) { 361 x = bounds.x; 362 y = bounds.y; 363 width = bounds.width; 364 height = bounds.height; 343 updateSubregion(SynthContext state, Graphics g, Rectangle bounds) argument 348 paintRegion(SynthContext state, Graphics g, Rectangle bounds) argument
|
H A D | SynthTreeUI.java | 337 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...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Frame.java | 76 * area could span multiple physical screen devices, the bounds of all 98 * <code>GraphicsConfiguration</code>. If the bounds of the 107 * Rectangle bounds = gc.getBounds(); 108 * f.setLocation(10 + bounds.x, 10 + bounds.y); 283 * Maximized bounds for this frame. 841 * Sets the maximized bounds for this frame. 844 * defaults bounds. This method allows some or all of those 847 * If <code>bounds</code> is <code>null</code>, accept bounds 863 setMaximizedBounds(Rectangle bounds) argument [all...] |
/openjdk7/jdk/src/macosx/classes/sun/java2d/ |
H A D | CompositeCRenderer.java | 158 // get final destination compositing bounds (after all transformations if needed) 161 // constrain the bounds to be within surface bounds 212 // get final destination compositing bounds (after all transformations if needed) 215 // constrain the bounds to be within surface bounds 248 // get final destination compositing bounds (after all transformations if needed) 270 // constrain the bounds to be within surface bounds 317 Rectangle2D bounds 329 clipBounds(SunGraphics2D sg2d, Rectangle2D bounds) argument [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CWarningWindow.java | 56 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/windows/native/sun/java2d/windows/ |
H A D | GDIWindowSurfaceData.h | 207 RECT bounds; member in struct:__anon1083
|
H A D | GDIWindowSurfaceData.cpp | 144 ::GetClientRect(wsdo->window, &info->bounds); 146 ::OffsetRect(&info->bounds, wsdo->insets.left, wsdo->insets.top); 250 SurfaceDataBounds *bounds, 266 RECT rView ={bounds->x1, bounds->y1, bounds->x2, bounds->y2}; 499 "GDIWindowSurfaceData: bounds changed"); 537 SurfaceDataBounds *bounds, 577 bounds 249 GDIWinSD_CheckMonitorArea(GDIWinSDOps *wsdo, SurfaceDataBounds *bounds, HDC hDC) argument 536 GDIWinSD_SimpleClip(JNIEnv *env, GDIWinSDOps *wsdo, SurfaceDataBounds *bounds, HDC hDC) argument 704 SurfaceDataBounds *bounds = &pRasInfo->bounds; local [all...] |
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | DrawGlyphList.c | 137 jint RefineBounds(GlyphBlitVector *gbv, SurfaceDataBounds *bounds) { argument 158 SurfaceData_IntersectBounds(bounds, &glyphs); 159 return (bounds->x1 < bounds->x2 && bounds->y1 < bounds->y2); 190 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds); 191 if (rasInfo.bounds.y2 <= rasInfo.bounds.y1 || 192 rasInfo.bounds [all...] |
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaTreeUI.java | 165 protected void paintHorizontalPartOfLeg(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) { argument 167 super.paintHorizontalPartOfLeg(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf); 185 protected void paintExpandControl(final Graphics g, final Rectangle clipBounds, final Insets insets, final Rectangle bounds, final TreePath path, final int row, final boolean isExpanded, final boolean hasBeenExpanded, final boolean isLeaf) { argument 199 super.paintExpandControl(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf); 206 super.paintExpandControl(g, clipBounds, insets, bounds, path, row, isExpanded, hasBeenExpanded, isLeaf); 215 middleXOfKnob = bounds.x - (getRightChildIndent() - 1); 221 final int middleYOfKnob = bounds.y + (bounds.height / 2); 225 final int height = icon.getIconHeight(); // use the icon height so we don't get drift we modify the bounds (by changing row height) 469 * see isLocationInExpandControl for bounds cal [all...] |
/openjdk7/jdk/test/java/beans/Introspector/ |
H A D | TestTypeResolver.java | 135 private final Type[] bounds; field in class:TestTypeResolver.TypeVariableImpl 137 TypeVariableImpl(String name, D gd, Type... bounds) { argument 140 if (bounds.length == 0) 141 bounds = new Type[] {Object.class}; 142 this.bounds = bounds.clone(); 146 return bounds.clone(); 167 Arrays.equals(bounds, tv.getBounds()); 171 return hash(name) ^ hash(gd) ^ Arrays.hashCode(bounds); 176 ClassTypeVariable(String name, Class<?> gd, Type... bounds) { argument 182 MethodTypeVariable(String name, Method gd, Type... bounds) argument 234 appendBounds(StringBuilder sb, Type[] bounds) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | ListHelper.java | 341 // the vsb does bounds checking 355 // the vsb does bounds checking 372 public boolean isInVertSB(Rectangle bounds, int x, int y) { argument 375 int sbHeight = hsbVis ? bounds.height - SCROLLBAR_WIDTH : bounds.height; 376 return (x <= bounds.width) && 377 (x >= bounds.width - SCROLLBAR_WIDTH) && 384 public boolean isInHorizSB(Rectangle bounds, int x, int y) { argument 388 int sbWidth = vsbVis ? bounds.width - SCROLLBAR_WIDTH : bounds 397 handleVSBEvent(MouseEvent e, Rectangle bounds, int x, int y) argument 486 paintItems(Graphics g, Color[] colors, Rectangle bounds) argument 495 paintAllItems(Graphics g, Color[] colors, Rectangle bounds) argument 501 paintItems(Graphics g, Color[] colors, Rectangle bounds, int first, int last) argument 591 paintVSB(Graphics g, Color colors[], Rectangle bounds) argument 607 paintHSB(Graphics g, Color colors[], Rectangle bounds) argument [all...] |
H A D | XBaseWindow.java | 42 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/plaf/basic/ |
H A D | BasicComboBoxUI.java | 1206 public void paintCurrentValue(Graphics g,Rectangle bounds,boolean hasFocus) { argument 1249 int x = bounds.x, y = bounds.y, w = bounds.width, h = bounds.height; 1251 x = bounds.x + padding.left; 1252 y = bounds.y + padding.top; 1253 w = bounds.width - (padding.left + padding.right); 1254 h = bounds.height - (padding.top + padding.bottom); 1263 public void paintCurrentValueBackground(Graphics g,Rectangle bounds,boolea argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/tree/ |
H A D | VariableHeightLayoutCache.java | 209 * @param placeIn the bounds of the enclosing rectangle 210 * @return the bounds of the enclosing rectangle or <code>null</code> 267 * Instructs the <code>LayoutCache</code> that the bounds for 302 * @param bounds the region being queried 304 public int getPreferredWidth(Rectangle bounds) { argument 316 * returned object is exactly at x, y you should get the bounds for 711 * Retursn the bounds for row, <code>row</code> by reference in 1359 Rectangle bounds = getNodeDimensions(this.getUserObject(), 1364 if(bounds == null) { 1369 else if(bounds [all...] |
/openjdk7/jdk/src/share/classes/java/awt/font/ |
H A D | TextLayout.java | 153 * Rectangle2D bounds = layout.getBounds(); 154 * bounds.setRect(bounds.getX()+loc.getX(), 155 * bounds.getY()+loc.getY(), 156 * bounds.getWidth(), 157 * bounds.getHeight()); 158 * g.draw(bounds); 282 * Natural bounds is used internally. It is built on demand in 723 * The 'natural bounds' encloses all the carets the layout can draw. 959 * Returns the bounds o 1116 getCaretInfo(int caret, Rectangle2D bounds, float[] info) argument 1209 getCaretInfo(TextHitInfo hit, Rectangle2D bounds) argument 1223 getCaretInfoTestInternal(TextHitInfo hit, Rectangle2D bounds) argument 1623 getCaretPath(TextHitInfo hit, Rectangle2D bounds) argument 1637 getCaretPath(int caret, Rectangle2D bounds, boolean clipToBounds) argument 1777 getCaretShape(TextHitInfo hit, Rectangle2D bounds) argument 1863 getCaretShapes(int offset, Rectangle2D bounds, CaretPolicy policy) argument 1923 getCaretShapes(int offset, Rectangle2D bounds) argument 1994 caretBoundingShape(int caret0, int caret1, Rectangle2D bounds) argument 2013 leftShape(Rectangle2D bounds) argument 2035 rightShape(Rectangle2D bounds) argument 2169 getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint, Rectangle2D bounds) argument 2265 getLogicalHighlightShape(int firstEndpoint, int secondEndpoint, Rectangle2D bounds) argument 2456 hitTestChar(float x, float y, Rectangle2D bounds) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/ |
H A D | D3DBlitLoops.cpp | 74 SurfaceData_IntersectBoundsXYXY(SurfaceDataBounds *bounds, argument 78 GETMAX(bounds->x1, x1); 79 GETMAX(bounds->y1, y1); 80 GETMIN(bounds->x2, x2); 81 GETMIN(bounds->y2, y2); 85 SurfaceData_IntersectBoundsXYWH(SurfaceDataBounds *bounds, argument 92 if (bounds->x1 < x) { 93 bounds->x1 = x; 95 if (bounds->x2 > w) { 96 bounds [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/loops/ |
H A D | GraphicsPrimitiveMgr.c | 144 void GrPrim_RefineBounds(SurfaceDataBounds *bounds, jint transX, jint transY, argument 161 if (bounds->x1 < xmin) bounds->x1 = xmin; 162 if (bounds->y1 < ymin) bounds->y1 = ymin; 163 if (bounds->x2 > xmax) bounds->x2 = xmax; 164 if (bounds->y2 > ymax) bounds->y2 = ymax; 166 bounds 477 GrPrim_Sg2dGetClip(JNIEnv *env, jobject sg2d, SurfaceDataBounds *bounds) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | HTMLEditorKit.java | 765 Rectangle bounds; 772 bounds = lBounds.getBounds(); 773 bounds.add((rBounds instanceof Rectangle) ? 776 bounds = null; 778 if (bounds != null) { 779 AttributeSet area = m.getArea(x - bounds.x, 780 y - bounds.y, 781 bounds.width, 782 bounds.height); 2033 * @param bounds th 2039 paintLayer(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c, View view) argument [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/ |
H A D | LWComponentPeer.java | 76 // peer's fields (e.g. bounds, background, font, etc.) 106 private final Rectangle bounds = new Rectangle(); field in class:LWComponentPeer 523 oldBounds = new Rectangle(bounds); 525 bounds.x = x; 526 bounds.y = y; 529 bounds.width = w; 530 bounds.height = h; 565 return bounds.getBounds(); 572 return new Rectangle(bounds.width, bounds [all...] |
H A D | LWWindowPeer.java | 59 // Window bounds reported by the native system (as opposed to 60 // regular bounds inherited from LWComponentPeer which are 144 // bounds when the window is shown, see 4868278 405 // Get updated bounds, so we don't have to handle 'op' here manually 598 public void setMaximizedBounds(Rectangle bounds) { argument 691 // First, update peer's bounds 874 // check if we receive mouseEvent from outside the window's bounds
|
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11SurfaceData.c | 75 static int X11SD_FindClip(SurfaceDataBounds *b, SurfaceDataBounds *bounds, 77 static int X11SD_ClipToRoot(SurfaceDataBounds *b, SurfaceDataBounds *bounds, 81 SurfaceDataBounds *bounds, 781 * so drawables are not read out of bounds. 821 SurfaceData_ThrowInvalidPipeException(env, "bounds changed"); 863 pRasInfo->bounds.x1, 864 pRasInfo->bounds.y1, 865 pRasInfo->bounds.x2, 866 pRasInfo->bounds.y2); 870 pRasInfo->bounds 1094 X11SD_ClipToRoot(SurfaceDataBounds *b, SurfaceDataBounds *bounds, X11SDOps *xsdo) argument 1168 X11SD_FindClip(SurfaceDataBounds *b, SurfaceDataBounds *bounds, X11SDOps *xsdo) argument 1322 X11SD_GetImage(JNIEnv *env, X11SDOps *xsdo, SurfaceDataBounds *bounds, jint lockFlags) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/ |
H A D | Types.java | 112 * and lower bounds. 142 * and lower bounds. 634 //check that type var symbols and bounds are indeed the same 778 // undetvar's lower bounds. 789 // undetvar's lower bounds. 830 * <p>Because of F-bounds, this relation can lead to infinite 834 * bounds, we know: 1254 * Returns the lower bounds of the formals of a method. 1692 * @param bounds the types from which the compound type is formed 1693 * @param supertype is objectType if all bounds ar 1696 makeCompoundType(List<Type> bounds, Type supertype) argument 1731 makeCompoundType(List<Type> bounds) argument 1917 setBounds(TypeVar t, List<Type> bounds, Type supertype) argument 1934 setBounds(TypeVar t, List<Type> bounds) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/ |
H A D | TreeMaker.java | 444 public JCTypeParameter TypeParameter(Name name, List<JCExpression> bounds) { argument 445 JCTypeParameter tree = new JCTypeParameter(name, bounds);
|