/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | RegionSpanIterator.java | 38 // Clipping bounds 65 int[] bounds = new int[4]; 67 r.getBounds(bounds); 68 lox = bounds[0]; 69 loy = bounds[1]; 70 hix = bounds[2]; 71 hiy = bounds[3]; 118 // If the Region is rectangular, we store our bounds (possibly 128 // Local cache of current span's bounds
|
H A D | TextRenderer.java | 57 int[] bounds = gl.getBounds(); 58 Rectangle r = new Rectangle(bounds[0], bounds[1], 59 bounds[2] - bounds[0], 60 bounds[3] - bounds[1]); 62 ctx = outpipe.startSequence(sg2d, s, r, bounds);
|
/openjdk7/jdk/src/share/native/sun/java2d/pipe/ |
H A D | BufferedMaskBlit.c | 99 srcInfo.bounds.x1 = srcx; 100 srcInfo.bounds.y1 = srcy; 101 srcInfo.bounds.x2 = srcx + width; 102 srcInfo.bounds.y2 = srcy + height; 110 if (srcInfo.bounds.x2 > srcInfo.bounds.x1 && 111 srcInfo.bounds.y2 > srcInfo.bounds.y1) 120 srcInfo.bounds.x1, srcInfo.pixelStride, 121 srcInfo.bounds [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 | XMenuWindow.java | 213 //We need maximum width of components before calculating item's bounds 234 //Calculate bounds 258 Rectangle bounds = new Rectangle(WINDOW_SPACING_LEFT, nextOffset, itemWidth, itemHeight); 262 item.map(bounds, textOrigin); 266 Rectangle bounds = new Rectangle(WINDOW_SPACING_LEFT, nextOffset, 0, 0); 268 item.map(bounds, textOrigin); 395 * @param bounds bounding rectangle of window 398 void show(Rectangle bounds) { argument 403 log.finer("showing menu window + " + getWindow() + " at " + bounds); 407 reshape(bounds [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/tree/ |
H A D | AbstractLayoutCache.java | 190 Rectangle bounds = getBounds(getPathForRow(rowCount - 1), 193 if(bounds != null) 194 return bounds.y + bounds.height; 202 * <code>(bounds.x, bounds.y)</code> and 203 * ends at <code>bounds.height + bounds.y</code>. 204 * If <code>bounds</code> is <code>null</code>, 209 * @param bounds th 212 getPreferredWidth(Rectangle bounds) argument 526 getNodeDimensions(Object value, int row, int depth, boolean expanded, Rectangle bounds) argument [all...] |
/openjdk7/jdk/test/java/awt/Frame/UnfocusableMaximizedFrameResizablity/ |
H A D | UnfocusableMaximizedFrameResizablity.java | 82 // The initial bounds of the frame 83 final Rectangle bounds = f.getBounds(); 84 System.out.println("Initial frame bounds: " + bounds); 87 robot.mouseMove(bounds.x + bounds.width - 2, bounds.y + bounds.height - 2); 92 robot.mouseMove(bounds.x + bounds [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicTextFieldUI.java | 210 Rectangle bounds = a.getBounds(); 213 if (bounds.height != vspan) { 214 int slop = bounds.height - vspan; 215 bounds.y += slop / 2; 216 bounds.height -= slop; 224 int max = Math.max(hspan, bounds.width); 226 int extent = Math.min(max, bounds.width - 1); 232 if (hspan < bounds.width) { 234 int slop = bounds.width - 1 - hspan; 256 bounds [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | FieldView.java | 81 Rectangle bounds = a.getBounds(); 84 if (bounds.height != vspan) { 85 int slop = bounds.height - vspan; 86 bounds.y += slop / 2; 87 bounds.height -= slop; 95 int max = Math.max(hspan, bounds.width); 97 int extent = Math.min(max, bounds.width - 1); 103 if (hspan < bounds.width) { 105 int slop = bounds.width - 1 - hspan; 127 bounds [all...] |
/openjdk7/jdk/src/share/classes/java/awt/peer/ |
H A D | FramePeer.java | 91 * Sets the bounds of the frame when it becomes maximized. 93 * @param bounds the maximized bounds of the frame 97 void setMaximizedBounds(Rectangle bounds); argument 120 * @return the bounds of an embedded frame
|
H A D | RobotPeer.java | 112 * @param bounds the screen area to capture the RGB values from 118 int[] getRGBPixels(Rectangle bounds); argument
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaHighlighter.java | 85 public void paint(final Graphics g, final int offs0, final int offs1, final Shape bounds, final JTextComponent c) { argument 87 super.paint(g, offs0, offs1, bounds, c); 90 public Shape paintLayer(final Graphics g, final int offs0, final int offs1, final Shape bounds, final JTextComponent c, final View view) { argument 92 return super.paintLayer(g, offs0, offs1, bounds, c, view);
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Win32GraphicsConfig.cpp | 91 jobject bounds = NULL; local 98 bounds = env->NewObject(clazz, mid, 104 // 4910760 - don't return a null bounds, return the bounds of the 106 bounds = env->NewObject(clazz, mid, 115 return bounds;
|
/openjdk7/jdk/src/share/native/sun/font/ |
H A D | glyphblitting.h | 42 extern jint RefineBounds(GlyphBlitVector *gbv, SurfaceDataBounds *bounds);
|
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLBlitLoops.c | 140 // Otherwise we need to convert the source bounds into the range [0,1] 196 // specify a raster position that is outside the surface bounds, the raster 199 // surface bounds while maintaining its status as valid. The following 471 srcInfo.bounds.x1 = sx1; 472 srcInfo.bounds.y1 = sy1; 473 srcInfo.bounds.x2 = sx2; 474 srcInfo.bounds.y2 = sy2; 476 SurfaceData_IntersectBoundsXYXY(&srcInfo.bounds, 479 if (srcInfo.bounds.x2 > srcInfo.bounds [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/classes/java/awt/font/ |
H A D | ShapeGraphicAttribute.java | 71 // cache shape bounds, since GeneralPath doesn't 103 * bounds of its <code>Shape</code>. 115 * bounds of its <code>Shape</code>. 127 * bounds of its <code>Shape</code>. 168 Rectangle2D.Float bounds = new Rectangle2D.Float(); 169 bounds.setRect(fShapeBounds); 172 ++bounds.width; 173 ++bounds.height; 176 return bounds; 184 * bounds returne [all...] |
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/share/classes/sun/reflect/generics/reflectiveObjects/ |
H A D | TypeVariableImpl.java | 44 // upper bounds - evaluated lazily 45 private Type[] bounds; field in class:TypeVariableImpl 47 // The ASTs for the bounds. We are required to evaluate the bounds 49 // for the bounds. This also neatly solves the 50 // problem with F-bounds - you can't reify them before the formal 65 // accessor for ASTs for bounds. Must not be called after 66 // bounds have been evaluated, because we might throw the ASTs 69 // check that bounds were not evaluated yet 70 assert(bounds [all...] |
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/ |
H A D | BoundedZoomAction.java | 97 Rectangle bounds = new Rectangle(scene.getBounds()); 116 bounds.width /= zoomMultiplier; 117 bounds.height /= zoomMultiplier; 128 bounds.width *= zoomMultiplier; 129 bounds.height *= zoomMultiplier; 144 bounds.width /= zoomMultiplier; 145 bounds.height /= zoomMultiplier; 156 bounds.width *= zoomMultiplier; 157 bounds.height *= zoomMultiplier;
|
H A D | ExtendedSatelliteComponent.java | 80 Rectangle bounds = scene.getBounds(); 83 double sx = bounds.width > 0 ? (double) size.width / bounds.width : 0.0; 84 double sy = bounds.width > 0 ? (double) size.height / bounds.height : 0.0; 87 int vw = (int) (scale * bounds.width); 88 int vh = (int) (scale * bounds.height); 154 Rectangle bounds = scene.getBounds(); 157 double sx = bounds.width > 0 ? (double) size.width / bounds [all...] |
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/ |
H A D | ExtendedSatelliteComponent.java | 79 Rectangle bounds = scene.getBounds(); 82 double sx = bounds.width > 0 ? (double) size.width / bounds.width : 0.0; 83 double sy = bounds.width > 0 ? (double) size.height / bounds.height : 0.0; 86 int vw = (int) (scale * bounds.width); 87 int vh = (int) (scale * bounds.height); 151 Rectangle bounds = scene.getBounds(); 154 double sx = bounds.width > 0 ? (double) size.width / bounds [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/ |
H A D | SurfaceData.c | 182 SurfaceData_IntersectBoundsXYXY(SurfaceDataBounds *bounds, argument 186 GETMAX(bounds->x1, x1); 187 GETMAX(bounds->y1, y1); 188 GETMIN(bounds->x2, x2); 189 GETMIN(bounds->y2, y2); 193 SurfaceData_IntersectBoundsXYWH(SurfaceDataBounds *bounds, argument 200 if (bounds->x1 < x) { 201 bounds->x1 = x; 203 if (bounds->x2 > w) { 204 bounds [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthSplitPaneDivider.java | 72 Rectangle bounds = getBounds(); 73 bounds.x = bounds.y = 0; 74 SynthLookAndFeel.updateSubregion(context, g, bounds); 76 g, 0, 0, bounds.width, bounds.height,
|
/openjdk7/hotspot/test/compiler/6663621/ |
H A D | IVTest.java | 79 int bounds = 1024; 83 paddedSize = j % bounds; 90 paddedSize = j % bounds; 97 paddedSize = j % bounds; 104 paddedSize = j % bounds; 111 paddedSize = j % bounds;
|