Home
last modified time | relevance | path

Searched refs:xevent (Results 1 – 10 of 10) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/x11/
DSDL_x11events.c333 static __inline__ int X11_WarpedMotion(_THIS, XEvent *xevent) in X11_WarpedMotion() argument
341 deltax = xevent->xmotion.x - mouse_last.x; in X11_WarpedMotion()
342 deltay = xevent->xmotion.y - mouse_last.y; in X11_WarpedMotion()
346 mouse_last.x = xevent->xmotion.x; in X11_WarpedMotion()
347 mouse_last.y = xevent->xmotion.y; in X11_WarpedMotion()
350 if ( (xevent->xmotion.x < MOUSE_FUDGE_FACTOR) || in X11_WarpedMotion()
351 (xevent->xmotion.x > (w-MOUSE_FUDGE_FACTOR)) || in X11_WarpedMotion()
352 (xevent->xmotion.y < MOUSE_FUDGE_FACTOR) || in X11_WarpedMotion()
353 (xevent->xmotion.y > (h-MOUSE_FUDGE_FACTOR)) ) { in X11_WarpedMotion()
355 while ( XCheckTypedEvent(SDL_Display, MotionNotify, xevent) ) { in X11_WarpedMotion()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
DSDL_dgaevents.c47 SDL_NAME(XDGAEvent) xevent; in DGA_DispatchEvent()
49 XNextEvent(DGA_Display, (XEvent *)&xevent); in DGA_DispatchEvent()
52 xevent.type -= DGA_event_base; in DGA_DispatchEvent()
53 switch (xevent.type) { in DGA_DispatchEvent()
59 xevent.xmotion.dx, xevent.xmotion.dy); in DGA_DispatchEvent()
67 xevent.xbutton.button, 0, 0); in DGA_DispatchEvent()
74 xevent.xbutton.button, 0, 0); in DGA_DispatchEvent()
84 SDL_NAME(XDGAKeyEventToXKeyEvent)(&xevent.xkey, &xkey); in DGA_DispatchEvent()
120 SDL_NAME(XDGAKeyEventToXKeyEvent)(&xevent.xkey, &xkey); in DGA_DispatchEvent()
/external/webkit/Source/WebCore/plugins/gtk/
Dgtk2xtbin.c732 XEvent xevent; in xt_client_handle_xembed_message() local
733 memset(&xevent, 0, sizeof(xevent)); in xt_client_handle_xembed_message()
739 xevent.xfocus.type = FocusIn; in xt_client_handle_xembed_message()
745 xevent.xfocus.type = FocusOut; in xt_client_handle_xembed_message()
748 xevent.xfocus.window = XtWindow(xtplug->child_widget); in xt_client_handle_xembed_message()
749 xevent.xfocus.display = XtDisplay(xtplug->child_widget); in xt_client_handle_xembed_message()
751 xevent.xfocus.window, in xt_client_handle_xembed_message()
753 &xevent ); in xt_client_handle_xembed_message()
809 XEvent xevent; in send_xembed_message() local
814 memset(&xevent,0,sizeof(xevent)); in send_xembed_message()
[all …]
DPluginViewGtk.cpp233 XEvent xevent; in paint() local
234 memset(&xevent, 0, sizeof(XEvent)); in paint()
235 XGraphicsExposeEvent& exposeEvent = xevent.xgraphicsexpose; in paint()
244 dispatchNPEvent(xevent); in paint()
/external/chromium/chrome/browser/chromeos/
Dsystem_key_event_listener.cc94 XEvent* xevent = static_cast<XEvent*>(gxevent); in GdkEventFilter() local
96 if (xevent->type == KeyPress) { in GdkEventFilter()
97 int32 keycode = xevent->xkey.keycode; in GdkEventFilter()
100 if (!(xevent->xkey.state & (Mod1Mask | ShiftMask | ControlMask))) { in GdkEventFilter()
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/
DNetscapePluginX11.cpp221 XEvent xevent; in platformPaint() local
222 memset(&xevent, 0, sizeof(XEvent)); in platformPaint()
223 XGraphicsExposeEvent& exposeEvent = xevent.xgraphicsexpose; in platformPaint()
239 NPP_HandleEvent(&xevent); in platformPaint()
/external/chromium/base/
Dmessage_pump_glib_x_dispatch.h31 virtual DispatchStatus DispatchX(XEvent* xevent) = 0;
/external/webkit/Source/WebCore/plugins/qt/
DPluginViewQt.cpp258 XEvent xevent; in paintUsingImageSurfaceExtension() local
259 memset(&xevent, 0, sizeof(XEvent)); in paintUsingImageSurfaceExtension()
260 XGraphicsExposeEvent& exposeEvent = xevent.xgraphicsexpose; in paintUsingImageSurfaceExtension()
269 dispatchNPEvent(xevent); in paintUsingImageSurfaceExtension()
319 XEvent xevent; in paintUsingXPixmap() local
320 memset(&xevent, 0, sizeof(XEvent)); in paintUsingXPixmap()
321 XGraphicsExposeEvent& exposeEvent = xevent.xgraphicsexpose; in paintUsingXPixmap()
330 dispatchNPEvent(xevent); in paintUsingXPixmap()
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_syswm.h76 XEvent xevent;
/external/libmtp/src/
Dptp.c1508 PTPContainer *xevent = NULL; in ptp_check_event() local
1510 ret = ptp_nikon_check_event(params, &xevent, &evtcnt); in ptp_check_event()
1519 memcpy (&params->events[params->nrofevents],xevent,evtcnt*sizeof(PTPContainer)); in ptp_check_event()
1521 free (xevent); in ptp_check_event()