Searched defs:bounds (Results 26 - 50 of 82) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalComboBoxUI.java70 * @param bounds Region to paint current value to
75 public void paintCurrentValue(Graphics g, Rectangle bounds, argument
79 bounds.x += 2;
80 bounds.width -= 3;
83 bounds.y += buttonInsets.top;
84 bounds.height -= (buttonInsets.top + buttonInsets.bottom);
87 bounds.y += 2;
88 bounds.height -= 4;
90 super.paintCurrentValue(g, bounds, hasFocus);
92 else if (g == null || bounds
107 paintCurrentValueBackground(Graphics g, Rectangle bounds, boolean hasFocus) argument
[all...]
H A DMetalTreeUI.java216 Insets insets, Rectangle bounds,
222 super.paintHorizontalPartOfLeg(g, clipBounds, insets, bounds,
215 paintHorizontalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) argument
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...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/
H A DInputBlock.java43 private Rectangle bounds; field in class:InputBlock
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaPainter.java145 final Rectangle bounds) {
146 if (bounds.width <= 0 || bounds.height <= 0) {
156 final int imgW = bounds.width * scale;
157 final int imgH = bounds.height * scale;
167 imgW, imgH, 0, 0, bounds.width, bounds.height);
171 g.drawImage(img, bounds.x, bounds.y, bounds
143 paintFromSingleCachedImage(final Graphics2D g, final JRSUIControl control, final JRSUIState controlState, final Rectangle bounds) argument
[all...]
/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/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/solaris/classes/sun/awt/X11/
H A DWindowDimensions.java36 * If isClient is true, the bounds represent the client window area.
44 * If isClient is true, the bounds represent the client window area.
49 throw new IllegalArgumentException("Client bounds can't be null");
58 * If isClient is true, the bounds represent the client window area.
66 * If isClient is true, the bounds represent the client window area.
69 public WindowDimensions(Rectangle bounds, boolean isClient) { argument
70 this(bounds, null, isClient);
84 // Calculate client bounds
164 return "[" + loc + ", " + size + "(" +(isClientSizeSet?"client":"bounds") + ")+" + insets + "]";
H A DXRobotPeer.java84 public int [] getRGBPixels(Rectangle bounds) { argument
85 int pixelArray[] = new int[bounds.width*bounds.height];
86 getRGBPixelsImpl(xgc, bounds.x, bounds.y, bounds.width, bounds.height, pixelArray);
H A DXMenuItemPeer.java67 private Rectangle bounds; field in class:XMenuItemPeer
438 * @param bounds bounds of item in container's coordinates
442 void map(Rectangle bounds, Point textOrigin) { argument
443 this.bounds = bounds;
448 * returns bounds of item that were previously set by map() function
451 return bounds;
H A DXMenuWindow.java213 //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/plaf/synth/
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/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/share/classes/javax/swing/tree/
H A DAbstractLayoutCache.java190 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/src/share/classes/sun/font/
H A DGlyphList.java301 * to return the bounds. So a caller must copy the data out of the
448 private void fillBounds(int[] bounds) { argument
458 bounds[0] = bounds[1] = bounds[2] = bounds[3] = 0;
495 bounds[0] = (int)Math.floor(bx0);
496 bounds[1] = (int)Math.floor(by0);
497 bounds[2] = (int)Math.floor(bx1);
498 bounds[
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifComboBoxUI.java177 public void paintCurrentValue(Graphics g,Rectangle bounds,boolean hasFocus) { argument
192 currentValuePane.paintComponent(g,c,comboBox,bounds.x,bounds.y,
193 bounds.width,d.height);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsComboBoxUI.java250 * @param bounds Region to paint current value to
255 public void paintCurrentValue(Graphics g, Rectangle bounds, argument
259 bounds.x += 2;
260 bounds.y += 2;
261 bounds.width -= 4;
262 bounds.height -= 4;
264 bounds.x += 1;
265 bounds.y += 1;
266 bounds.width -= 2;
267 bounds
319 paintCurrentValueBackground(Graphics g, Rectangle bounds, boolean hasFocus) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DPolygon.java102 * The bounds of this {@code Polygon}.
110 protected Rectangle bounds; field in class:Polygon
185 bounds = null;
201 bounds = null;
217 if (bounds != null) {
218 bounds.translate(deltaX, deltaY);
224 * Sets <code>bounds</code> to the result.
243 bounds = new Rectangle(boundsMinX, boundsMinY,
253 if (x < bounds.x) {
254 bounds
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCRobot.java154 * @param bounds the rect to capture in screen coordinates
158 public int [] getRGBPixels(final Rectangle bounds) { argument
159 int c[] = new int[bounds.width * bounds.height];
160 getScreenPixels(bounds, c);
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11TextRenderer_md.c209 SurfaceDataBounds *bounds, ImageRef *glyphs, jint totalGlyphs)
243 xgcv.ts_x_origin = bounds->x1;
244 xgcv.ts_y_origin = bounds->y1;
249 cy1 = bounds->y1;
250 while (cy1 < bounds->y2) {
252 if (cy2 > bounds->y2) cy2 = bounds->y2;
254 cx1 = bounds->x1;
255 while (cx1 < bounds->x2) {
257 if (cx2 > bounds
207 AWTDrawGlyphList(JNIEnv *env, jobject xtr, jlong dstData, jlong gc, SurfaceDataBounds *bounds, ImageRef *glyphs, jint totalGlyphs) argument
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/
H A DSurfaceData.c182 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...]
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/jdk/src/share/native/sun/java2d/loops/
H A DDrawLine.c38 RefineBounds(SurfaceDataBounds *bounds, jint x1, jint y1, jint x2, jint y2) argument
53 if (bounds->x1 < min) bounds->x1 = min;
54 if (bounds->x2 > max) bounds->x2 = max;
67 if (bounds->y1 < min) bounds->y1 = min;
68 if (bounds->y2 > max) bounds->y2 = max;
411 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
[all...]
H A DDrawPolygons.c34 RefineBounds(SurfaceDataBounds *bounds, jint transX, jint transY, argument
51 if (bounds->x1 < xmin) bounds->x1 = xmin;
52 if (bounds->y1 < ymin) bounds->y1 = ymin;
53 if (bounds->x2 > xmax) bounds->x2 = xmax;
54 if (bounds->y2 > ymax) bounds->y2 = ymax;
56 bounds
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicHTML.java124 private static int getBaseline(View view, Shape bounds) { argument
138 bounds = view.getChildAllocation(index, bounds);
139 if (bounds == null) {
145 if (bounds instanceof Rectangle) {
146 rect = (Rectangle)bounds;
149 rect = bounds.getBounds();
154 return getBaseline(child, bounds);

Completed in 70 milliseconds

1234