Searched refs:XConstants (Results 1 - 25 of 46) sorted by relevance

12

/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXFocusProxyWindow.java42 EVENT_MASK, new Long(XConstants.FocusChangeMask | XConstants.KeyPressMask | XConstants.KeyReleaseMask)
68 case XConstants.FocusIn:
69 case XConstants.FocusOut:
H A DXBaseWindow.java151 mask |= XConstants.SubstructureNotifyMask;
284 params.putIfNull(DEPTH, Integer.valueOf((int)XConstants.CopyFromParent));
285 params.putIfNull(VISUAL, Long.valueOf(XConstants.CopyFromParent));
286 params.putIfNull(VISUAL_CLASS, Integer.valueOf((int)XConstants.InputOnly));
287 params.putIfNull(VALUE_MASK, Long.valueOf(XConstants.CWEventMask));
296 eventMask |= XConstants.PropertyChangeMask | XConstants.OwnerGrabButtonMask;
315 value_mask |= XConstants.CWEventMask;
320 value_mask |= XConstants.CWBorderPixel;
326 value_mask |= XConstants
[all...]
H A DXDnDDragSourceProtocol.java106 (XErrorHandlerUtil.saved_error.get_error_code() != XConstants.Success)) {
127 (XErrorHandlerUtil.saved_error.get_error_code() != XConstants.Success)) {
137 XConstants.CurrentTime)) {
196 false, XConstants.AnyPropertyType);
200 if (status == XConstants.Success &&
220 if (status == XConstants.Success &&
238 if (status != XConstants.Success ||
249 XConstants.AnyPropertyType);
254 if (status != XConstants.Success ||
286 msg.set_type((int)XConstants
[all...]
H A DXCustomCursor.java86 fore_color.set_flags((byte) (XConstants.DoRed | XConstants.DoGreen | XConstants.DoBlue));
95 back_color.set_flags((byte) (XConstants.DoRed | XConstants.DoGreen | XConstants.DoBlue));
H A DXDragSourceContextPeer.java59 private static final int ROOT_EVENT_MASK = (int)XConstants.ButtonMotionMask |
60 (int)XConstants.KeyPressMask | (int)XConstants.KeyReleaseMask;
62 private static final int GRAB_EVENT_MASK = (int)XConstants.ButtonPressMask |
63 (int)XConstants.ButtonMotionMask | (int)XConstants.ButtonReleaseMask;
200 XConstants.GrabModeAsync,
201 XConstants.GrabModeAsync,
202 XConstants.None, xcursor, timeStamp);
204 if (status != XConstants
[all...]
H A DXErrorHandler.java76 if (err.get_error_code() == XConstants.BadWindow) {
113 if (err.get_minor_code() == XConstants.X_ShmAttach) {
137 if (err.get_error_code() == XConstants.BadAlloc) {
161 (err.get_error_code() == XConstants.BadAccess)) {
H A DXDropTargetEventProcessor.java46 if (ev.get_type() == (int)XConstants.DestroyNotify &&
54 if (ev.get_type() == (int)XConstants.PropertyNotify) {
63 if (ev.get_type() != (int)XConstants.ClientMessage) {
H A DMotifDnDDragSourceProtocol.java47 private long targetEnterServerTime = XConstants.CurrentTime;
89 XConstants.CurrentTime)) {
141 if (targetEnterServerTime == XConstants.CurrentTime ||
185 XConstants.AnyPropertyType);
204 if (status == (int)XConstants.Success && wpg.getData() != 0 &&
247 msg.set_type(XConstants.ClientMessage);
271 false, XConstants.NoEventMask,
285 msg.set_type(XConstants.ClientMessage);
309 false, XConstants.NoEventMask,
322 msg.set_type(XConstants
[all...]
H A DXContentWindow.java78 params.putIfNull(BIT_GRAVITY, Integer.valueOf(XConstants.NorthWestGravity));
81 eventMask = eventMask & ~(XConstants.StructureNotifyMask);
92 case XConstants.EnterNotify:
93 case XConstants.LeaveNotify:
96 case XConstants.ConfigureNotify:
99 case XConstants.MapNotify:
100 case XConstants.UnmapNotify:
H A DMotifDnDConstants.java121 XConstants.AnyPropertyType);
125 if (status == XConstants.Success &&
166 XlibWrapper.XSetCloseDownMode(newDisplay, (int)XConstants.RetainPermanent);
172 xwa.set_event_mask(XConstants.PropertyChangeMask);
176 XConstants.InputOnly,
177 XConstants.CopyFromParent,
178 (XConstants.CWOverrideRedirect |
179 XConstants.CWEventMask),
198 XConstants.PropModeReplace,
204 (XErrorHandlerUtil.saved_error.get_error_code() != XConstants
[all...]
H A DXToolkit.java404 if (e.get_type() == XConstants.MotionNotify) {
416 } else if (e.get_type() == XConstants.LeaveNotify) {
424 } else if (e.get_type() == XConstants.EnterNotify) {
471 (ev.get_type() == XConstants.MotionNotify || ev.get_type() == XConstants.EnterNotify || ev.get_type() == XConstants.LeaveNotify))
476 if( ev.get_type() == XConstants.MappingNotify ) {
549 while ((XlibWrapper.XEventsQueued(getDisplay(), XConstants.QueuedAfterReading) == 0) &&
550 (XlibWrapper.XEventsQueued(getDisplay(), XConstants.QueuedAfterFlush) == 0)) {
557 if (ev.get_type() != XConstants
[all...]
H A DXWindow.java190 params.putIfNull(EVENT_MASK, XConstants.KeyPressMask | XConstants.KeyReleaseMask
191 | XConstants.FocusChangeMask | XConstants.ButtonPressMask | XConstants.ButtonReleaseMask
192 | XConstants.EnterWindowMask | XConstants.LeaveWindowMask | XConstants.PointerMotionMask
193 | XConstants.ButtonMotionMask | XConstants
[all...]
H A DXSelection.java144 if (time == XConstants.CurrentTime) {
202 true, XConstants.AnyPropertyType);
277 XConstants.AnyPropertyType);
351 XConstants.AnyPropertyType);
528 XConstants.PropModeReplace,
551 (requestTime == XConstants.CurrentTime || requestTime >= ownershipTime))
558 if (property == XConstants.None) {
572 property = XConstants.None;
577 xse.set_type(XConstants.SelectionNotify);
588 XConstants
[all...]
H A DXDnDDropTargetProtocol.java96 (XErrorHandlerUtil.saved_error.get_error_code() != XConstants.Success)) {
122 false, XConstants.AnyPropertyType);
127 if (status == XConstants.Success &&
146 if (status == XConstants.Success &&
164 if (status != XConstants.Success ||
175 XConstants.AnyPropertyType);
180 if (status != XConstants.Success ||
214 (XErrorHandlerUtil.saved_error.get_error_code() != XConstants.Success)) {
227 (XErrorHandlerUtil.saved_error.get_error_code() != XConstants.Success)) {
239 (XErrorHandlerUtil.saved_error.get_error_code() != XConstants
[all...]
H A DXEmbedHelper.java98 msg.set_type((int)XConstants.ClientMessage);
110 XlibWrapper.XSendEvent(XToolkit.getDisplay(), window, false, XConstants.NoEventMask, msg.pData);
154 case XConstants.KeyPress | XEmbedServerTester.SYSTEM_EVENT_MASK:
156 case XConstants.MapNotify | XEmbedServerTester.SYSTEM_EVENT_MASK:
158 case XConstants.PropertyNotify | XEmbedServerTester.SYSTEM_EVENT_MASK:
H A DXMSelection.java100 XlibWrapper.XSelectInput(display, root, XConstants.StructureNotifyMask);
132 XlibWrapper.XSelectInput(display, owner, XConstants.StructureNotifyMask | eventMask);
164 XlibWrapper.XSelectInput(display, owner, XConstants.StructureNotifyMask | extra_mask);
207 case XConstants.ClientMessage: {
227 this(selname, XConstants.PropertyChangeMask);
321 if (xev.get_type() == XConstants.DestroyNotify) {
325 else if (xev.get_type() == XConstants.PropertyNotify) {
H A DXEmbedCanvasPeer.java78 XConstants.KeyPressMask | XConstants.KeyReleaseMask
79 | XConstants.FocusChangeMask | XConstants.ButtonPressMask | XConstants.ButtonReleaseMask
80 | XConstants.EnterWindowMask | XConstants.LeaveWindowMask | XConstants.PointerMotionMask
81 | XConstants.ButtonMotionMask | XConstants
[all...]
H A DXSystemTrayPeer.java59 available = (selection_owner != XConstants.None);
111 if (selection_owner == XConstants.None) {
128 xev.set_type(XConstants.ClientMessage);
141 XConstants.NoEventMask, xev.pData);
H A DMotifDnDDropTargetProtocol.java102 XConstants.AnyPropertyType);
121 if (status == (int)XConstants.Success && wpg.getData() != 0 &&
169 8, XConstants.PropModeReplace,
174 (XErrorHandlerUtil.saved_error.get_error_code() != XConstants.Success)) {
204 XConstants.AnyPropertyType);
223 if (status == (int)XConstants.Success && wpg.getData() != 0 &&
243 8, XConstants.PropModeReplace,
248 (XErrorHandlerUtil.saved_error.get_error_code() != XConstants.Success)) {
276 XConstants.AnyPropertyType);
295 if (status == (int)XConstants
[all...]
H A DXWINProtocol.java60 req.set_type(XConstants.ClientMessage);
73 XConstants.SubstructureRedirectMask | XConstants.SubstructureNotifyMask,
152 req.set_type(XConstants.ClientMessage);
166 /*XConstants.SubstructureRedirectMask | */XConstants.SubstructureNotifyMask,
H A DXDragSourceProtocol.java192 (XErrorHandlerUtil.saved_error.get_error_code() != XConstants.Success))) {
204 XConstants.StructureNotifyMask);
209 (XErrorHandlerUtil.saved_error.get_error_code() != XConstants.Success)) {
H A DXNETProtocol.java103 req.set_type((int)XConstants.ClientMessage);
113 XConstants.SubstructureRedirectMask | XConstants.SubstructureNotifyMask,
176 req.set_type((int)XConstants.ClientMessage);
190 XConstants.SubstructureRedirectMask | XConstants.SubstructureNotifyMask,
H A DXEmbeddingContainer.java124 case XConstants.ClientMessage:
140 XlibWrapper.XSendEvent(XToolkit.getDisplay(), child, false, XConstants.NoEventMask, data);
H A DXAtom.java373 if (status != XConstants.Success || getter.getData() == 0) {
404 atom, XA_CARDINAL, 32, XConstants.PropModeReplace,
435 if (status != XConstants.Success || getter.getData() == 0) {
469 if (status != XConstants.Success || getter.getData() == 0) {
500 atom, atom, 32, XConstants.PropModeReplace,
521 atom, type, 32, XConstants.PropModeReplace,
542 atom, type, 8, XConstants.PropModeReplace,
605 if (status != XConstants.Success || getter.getData() == 0) {
677 if (status != XConstants.Success || getter.getData() == 0) {
800 atom, XA_WINDOW, 32, XConstants
[all...]
H A DXWM.java279 if (selection_owner != XConstants.None) {
284 substruct.set_event_mask(XConstants.SubstructureRedirectMask);
289 XConstants.CWEventMask,
301 XConstants.CWEventMask,
332 if (status != XConstants.Success || getter.getData() == 0) {
421 if (status != XConstants.Success || getter.getData() == 0) {
452 if (status != XConstants.Success || getter2.getData() == 0) {
495 if (status != XConstants.Success || getter.getData() == 0) {
526 if (state_getter.execute() == XConstants.Success &&
624 8, XConstants
[all...]

Completed in 76 milliseconds

12