Searched refs:point (Results 1 - 25 of 101) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/sun/dc/
H A DDuctusRenderingEngine.java184 float point[] = new float[6];
190 int type = pi.currentSegment(point);
194 // Force current point back to last moveto point
218 float ox = point[index];
219 float oy = point[index+1];
222 point[index] = newax;
223 point[index+1] = neway;
228 point[0] += ax;
229 point[
[all...]
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DLayoutPath.java45 * Convert a point in user space to a location relative to the
47 * from the point to the path (e.g., the magnitude of the offset
50 * @param point the point to convert. If it is not the same
51 * object as location, point will remain unmodified by this call.
53 * It can be the same object as point.
54 * @return true if the point is associated with the portion of the
58 * @throws NullPointerException if point or location is null
61 public abstract boolean pointToPath(Point2D point, Point2D location); argument
64 * Convert a location relative to the path to a point i
82 pathToPoint(Point2D location, boolean preceding, Point2D point) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWMouseInfoPeer.java39 public int fillPointWithCoords(Point point) { argument
43 point.x = cursorPos.x;
44 point.y = cursorPos.y;
/openjdk7/jdk/src/share/classes/java/awt/peer/
H A DMouseInfoPeer.java44 * This method does two things: it fills the point fields with
59 int fillPointWithCoords(Point point); argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DMouseInfo.java82 Point point = new Point(0, 0);
83 int deviceNum = Toolkit.getDefaultToolkit().getMouseInfoPeer().fillPointWithCoords(point);
88 retval = new PointerInfo(gds[deviceNum], point);
93 if (bounds.contains(point)) {
94 retval = new PointerInfo(gds[i], point);
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest6827032.java43 private static volatile Point point; field in class:Test6827032
65 point = previewPanel.getLocationOnScreen();
69 point.translate(5, 5);
71 robot.mouseMove(point.x, point.y);
/openjdk7/jdk/test/javax/swing/JTable/6777378/
H A Dbug6777378.java82 Point point = header.getLocationOnScreen();
83 robot.mouseMove(point.x + 20, point.y + 50);
84 robot.mouseMove(point.x + 30, point.y + 50);
/openjdk7/hotspot/src/share/vm/memory/
H A Dwatermark.hpp45 HeapWord* point() const { return _point; } function in class:VALUE_OBJ_CLASS_SPEC
54 return (x.point() == y.point()) && (x.space() == y.space());
/openjdk7/jdk/src/share/classes/com/sun/awt/
H A DSecurityWarning.java98 * The {@code point} argument specifies the location of the security
100 * {@code y} coordinates of the point are equal to zero, the warning will
104 * corner of the window), then the {@code point} argument represents the
125 * <li>{@code point = (2, 0)}
131 * @param point the position of the security warning in the specified
135 * @throws NullPointerException if the point argument is null
141 public static void setPosition(Window window, Point2D point, argument
152 if (point == null) {
154 "The point argument must not be null");
166 point, alignment
[all...]
/openjdk7/jdk/test/javax/swing/JTable/7055065/
H A Dbug7055065.java84 Point point = Util.invokeOnEDT(new Callable<Point>() {
88 Point point = new Point(rect.x + rect.width / 2, rect.y
90 SwingUtilities.convertPointToScreen(point, table);
91 return point;
95 robot.mouseMove(point.x, point.y);
102 Point point = Util.invokeOnEDT(new Callable<Point>() {
107 Point point = new Point(rect.x + rect.width / 2, rect.y
109 SwingUtilities.convertPointToScreen(point, table);
110 return point;
[all...]
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DGeomUtilities.h36 jobject NSToJavaPoint(JNIEnv *env, NSPoint point);
37 NSPoint JavaToNSPoint(JNIEnv *env, jobject point);
42 NSPoint ConvertNSScreenPoint(JNIEnv *env, NSPoint point);
H A DGeomUtilities.m79 jobject NSToJavaPoint(JNIEnv *env, NSPoint point) {
82 return JNFNewObject(env, ctor_Point2DDouble, (jdouble)point.x, (jdouble)point.y);
85 NSPoint JavaToNSPoint(JNIEnv *env, jobject point) {
86 return NSMakePoint(JNFCallDoubleMethod(env, point, jm_pt_getX),
87 JNFCallDoubleMethod(env, point, jm_pt_getY));
108 NSPoint ConvertNSScreenPoint(JNIEnv *env, NSPoint point) {
109 point.y = [primaryScreen(env) frame].size.height - point.y;
110 return point;
[all...]
H A DCDragSource.m514 DLog3(@" - event point (window) %f, %f", [dragEvent locationInWindow].x, [dragEvent locationInWindow].y);
515 DLog3(@" - drag point (view) %f, %f", dragOrigin.x, dragOrigin.y);
549 NSPoint point = [self mapNSScreenPointToJavaWithOffset:sDraggingLocation];
567 DLog3(@" -> posting dragDropFinished, point %f, %f", point.x, point.y);
568 JNFCallVoidMethod(env, fDragSourceContextPeer, dragDropFinishedMethod, success, dragOp, (jint) point.x, (jint) point.y); // AWT_THREADING Safe (event)
607 NSPoint point = [self mapNSScreenPointToJavaWithOffset:sDraggingLocation];
608 DLog3(@" -> posting operationChanged, point
[all...]
/openjdk7/jdk/test/javax/swing/JPopupMenu/6694823/
H A Dbug6694823.java111 final Point point = new Point();
115 point.x = 0;
116 point.y = frame.getHeight() - popup.getPreferredSize().height + screenInsets.bottom;
117 popup.show(frame, point.x, point.y);
128 if (popup.getLocationOnScreen().equals(new Point(frameLoc.x, frameLoc.y + point.y))) {
/openjdk7/jdk/test/javax/swing/JScrollBar/4708809/
H A Dbug4708809.java68 Point point = getClickPoint(0.5, 0.5);
69 robot.mouseMove(point.x, point.y);
93 point = getClickPoint(0.5, 0.2);
94 robot.mouseMove(point.x, point.y);
/openjdk7/jdk/test/javax/swing/JScrollBar/7163696/
H A DTest7163696.java64 Point point = this.bar.getLocation();
65 SwingUtilities.convertPointToScreen(point, this.bar);
66 point.x += this.bar.getWidth() >> 2;
67 point.y += this.bar.getHeight() >> 1;
68 robot.mouseMove(point.x, point.y);
/openjdk7/jdk/test/javax/swing/JPopupMenu/6495920/
H A Dbug6495920.java71 Point point = this.panel.getLocation();
72 SwingUtilities.convertPointToScreen(point, this.panel);
75 robot.mouseMove(point.x + 1, point.y + 1);
82 Point point = this.panel.getLocation();
83 SwingUtilities.convertPointToScreen(point, this.panel);
85 robot.mouseMove(point.x - 1, point.y - 1);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalToolBarUI.java60 * An array of WeakReferences that point to JComponents. This will contain
150 Point point = new Point(0, 0);
151 point = SwingUtilities.convertPoint(c, point, rp);
152 int menuX = point.x;
153 int menuY = point.y;
154 point.x = point.y = 0;
155 point = SwingUtilities.convertPoint(tb, point, r
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DDefaultMouseInfoPeer.java40 public native int fillPointWithCoords(Point point); argument
/openjdk7/jdk/test/javax/swing/JTableHeader/6884066/
H A Dbug6884066.java66 Point point = header.getLocationOnScreen();
67 robot.mouseMove(point.x + 3, point.y + 3);
70 robot.mouseMove(point.x + i, point.y + 3);
/openjdk7/jdk/test/java/awt/List/EmptyListEventTest/
H A DEmptyListEventTest.java59 Point point = getClickPoint();
60 robot.mouseMove(point.x, point.y);
106 Point point = list.getLocationOnScreen();
107 point.translate(list.getWidth() / 2, list.getHeight() / 2);
108 result[0] = point;
/openjdk7/jdk/test/javax/swing/JTable/4220171/
H A Dbug4220171.java97 Point point = getCellClickPoint(row, column);
98 robot.mouseMove(point.x, point.y);
110 Point point = new Point(rect.x + rect.width / 2,
112 SwingUtilities.convertPointToScreen(point, table);
113 result[0] = point;
/openjdk7/jdk/test/javax/swing/JTree/6505523/
H A Dbug6505523.java66 Point point = getRowPointToClick(2);
67 robot.mouseMove(point.x, point.y);
84 Point point = new Point(rect.x - 5, rect.y + rect.height / 2);
85 SwingUtilities.convertPointToScreen(point, tree);
86 result[0] = point;
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DECDHClientKeyExchange.java57 ECPoint point = ecKey.getW();
59 encodedPoint = JsseJce.encodePoint(point, params.getCurve());
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DAnchorTables.cpp90 LEPoint point; local
92 if (! fontInstance->getGlyphPoint(glyphID, SWAPW(anchorPoint), point)) {
96 fontInstance->transformFunits(x, y, point);
100 fontInstance->pixelsToUnits(point, anchor);

Completed in 120 milliseconds

12345