Searched refs:bounds (Results 76 - 100 of 230) sorted by relevance

12345678910

/openjdk7/jdk/src/share/classes/sun/reflect/generics/reflectiveObjects/
H A DWildcardTypeImpl.java42 // upper bounds - evaluated lazily
44 // lower bounds - evaluated lazily
46 // The ASTs for the bounds. We are required to evaluate the bounds
48 // for the bounds. This also neatly solves the
49 // problem with F-bounds - you can't reify them before the formal
65 * @param ubs - an array of ASTs representing the upper bounds for the type
67 * @param lbs - an array of ASTs representing the lower bounds for the type
70 * objects that represent the bounds of this wildcard type
71 * @return a wild card type with the requested bounds an
[all...]
/openjdk7/langtools/test/tools/javadoc/generics/tparamCycle/
H A DMain.java49 Type bound = E.bounds()[0];
/openjdk7/jdk/test/java/awt/Frame/DynamicLayout/
H A DDynamicLayout.java109 Rectangle bounds = frame.getBounds();
111 robot.mouseMove(bounds.x + bounds.width - 1, bounds.y + bounds.height - 1);
115 robot.mouseMove(bounds.x + bounds.width + 20, bounds.y + bounds.height + 15);
/openjdk7/jdk/test/java/awt/event/HierarchyEvent/AncestorResized/
H A DAncestorResized.java109 Rectangle bounds = frame.getBounds();
111 robot.mouseMove(bounds.x + bounds.width - 1, bounds.y + bounds.height - 1);
122 robot.mouseMove(bounds.x + bounds.width + 20, bounds.y + bounds.height + 15);
/openjdk7/jdk/test/java/beans/Introspector/
H A DTestTypeResolver.java135 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/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 DDrawParallelogram.c145 GrPrim_Sg2dGetClip(env, sg2d, &rasInfo.bounds);
146 SurfaceData_IntersectBoundsXYXY(&rasInfo.bounds, ix1, iy1, ix2, iy2);
147 if (rasInfo.bounds.y2 <= rasInfo.bounds.y1 ||
148 rasInfo.bounds.x2 <= rasInfo.bounds.x1)
157 ix1 = rasInfo.bounds.x1;
158 iy1 = rasInfo.bounds.y1;
159 ix2 = rasInfo.bounds.x2;
160 iy2 = rasInfo.bounds
[all...]
H A DTransformHelper.c99 * such a linearly tiny image could have bounds that cover a large
107 * transformed values of every corner of the destination bounds
168 * on each scanline, clipped to the bounds parameter.
169 * The number of scanlines to calculate is implied by the bounds parameter.
171 * source coordinate that falls within the (0, 0, sw, sh) bounds of the
358 srcInfo.bounds.x1 = sx1;
359 srcInfo.bounds.y1 = sy1;
360 srcInfo.bounds.x2 = sx2;
361 srcInfo.bounds.y2 = sy2;
362 dstInfo.bounds
[all...]
H A DGraphicsPrimitiveMgr.c144 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/test/java/awt/font/TextLayout/
H A DUnderlinePositionTest.java57 Rectangle2D bounds = outline.getBounds();
63 /* By getting the outline, then its bounds, then filling
69 g2d.fill(bounds);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTextPasswordFieldUI.java83 final Rectangle bounds = component.getBounds();
84 getCapsLockPainter().paintBorder(component, g, bounds.x, bounds.y, bounds.width, bounds.height);
H A DAquaTreeUI.java165 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/src/macosx/classes/sun/java2d/
H A DCompositeCRenderer.java158 // 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/test/java/awt/Multiscreen/WPanelPeerPerf/
H A DWPanelPeerPerf.java129 Rectangle bounds = devs[i].getDefaultConfiguration().getBounds();
130 points[i] = new Point(bounds.x + (bounds.width / 2),
131 bounds.y + (bounds.height / 2));
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXContentWindow.java71 private XContentWindow(XDecoratedPeer parentFrame, Rectangle bounds) { argument
72 super((Component)parentFrame.getTarget(), parentFrame.getShell(), bounds);
111 // Bounds of content window are of the same size as bounds of Java window and with
118 if (insLog.isLoggable(PlatformLogger.FINE)) insLog.fine("Setting content bounds {0}, old bounds {1}",
137 public void handleResize(Rectangle bounds) { argument
138 AWTAccessor.getComponentAccessor().setSize((Component)target, bounds.width, bounds.height);
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;
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11SurfaceData.c75 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/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsTextUI.java92 * @param bounds the bounding box for the highlight
95 public void paint(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c) { argument
96 Rectangle alloc = bounds.getBounds();
161 * @param bounds the bounding box of the view, which is not
168 Shape bounds, JTextComponent c, View view) {
186 // Contained in view, can just use bounds.
188 if (bounds instanceof Rectangle) {
189 alloc = (Rectangle)bounds;
192 alloc = bounds.getBounds();
213 bounds);
167 paintLayer(Graphics g, int offs0, int offs1, Shape bounds, JTextComponent c, View view) 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/native/sun/font/
H A DDrawGlyphList.c137 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/test/java/awt/xembed/server/
H A DTestXEmbedServerJava.java77 public Process startClient(Rectangle[] bounds, long window) { argument
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Djava_awt_SplashScreen.c105 jobject bounds = NULL; local
121 bounds = (*env)->NewObject(env, clazz, mid, splash->x, splash->y,
124 bounds = NULL;
130 return bounds;
/openjdk7/jdk/src/share/classes/sun/reflect/generics/factory/
H A DGenericsFactory.java51 * may be empty (but not <tt>null</tt>). If <tt>bounds</tt> is
54 * @param bounds An array of abstract syntax trees representing
58 * or any of the elements of <tt>bounds</tt> are <tt>null</tt>.
61 FieldTypeSignature[] bounds);
78 * bounds on the corresponding formal.
60 makeTypeVariable(String name, FieldTypeSignature[] bounds) argument
/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);
/openjdk7/jdk/src/share/classes/com/sun/beans/
H A DTypeResolver.java242 Type[] bounds = tv.getBounds();
243 return (0 < bounds.length)
244 ? erase(bounds[0])
249 Type[] bounds = wt.getUpperBounds();
250 return (0 < bounds.length)
251 ? erase(bounds[0])

Completed in 192 milliseconds

12345678910