Home
last modified time | relevance | path

Searched refs:motion (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/SDL2/test/
A Dtestrelative.c45 rect.x += event.motion.xrel; in loop()
46 rect.y += event.motion.yrel; in loop()
A Dtestoverlay2.c198 if (event.motion.state) { in loop()
199 displayrect.x = event.motion.x - window_w / 2; in loop()
200 displayrect.y = event.motion.y - window_h / 2; in loop()
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_mouse.c441 event.motion.type = SDL_MOUSEMOTION;
442 event.motion.windowID = mouse->focus ? mouse->focus->id : 0;
443 event.motion.which = mouseID;
446 event.motion.state = mouse->buttonstate;
447 event.motion.x = mouse->x;
448 event.motion.y = mouse->y;
449 event.motion.xrel = xrel;
450 event.motion.yrel = yrel;
A DSDL_events.c212 (uint) event->motion.timestamp, (uint) event->motion.windowID, in SDL_LogEvent()
213 (uint) event->motion.which, (uint) event->motion.state, in SDL_LogEvent()
214 (int) event->motion.x, (int) event->motion.y, in SDL_LogEvent()
215 (int) event->motion.xrel, (int) event->motion.yrel); in SDL_LogEvent()
/AliOS-Things-master/components/SDL2/src/video/winrt/
A DSDL_winrtpointerinput.cpp320 float motion = (float) pointerPoint->Properties->MouseWheelDelta / WHEEL_DELTA; variable
321 SDL_SendMouseWheel(window, 0, 0, (float) motion, SDL_MOUSEWHEEL_NORMAL);
/AliOS-Things-master/components/SDL2/docs/
A DREADME-gesture.md60 * event.mgesture.dTheta - the amount that the fingers rotated during this motion.
61 * event.mgesture.dDist - the amount that the fingers pinched during this motion.
A DREADME-touch.md33 * event.tfinger.dx - change in x coordinate during this motion event.
34 * event.tfinger.dy - change in y coordinate during this motion event.
A DREADME-winrt.md490 #### Mouse-motion events fail to get sent, or SDL_GetMouseState() fails to return updated values
/AliOS-Things-master/components/SDL2/src/render/
A DSDL_render.c652 SDL_Window *window = SDL_GetWindowFromID(event->motion.windowID); in SDL_RendererEventWatch()
659 event->motion.x -= (int)(viewport.x * renderer->dpi_scale.x); in SDL_RendererEventWatch()
660 event->motion.y -= (int)(viewport.y * renderer->dpi_scale.y); in SDL_RendererEventWatch()
661 event->motion.x = (int)(event->motion.x / (scale.x * renderer->dpi_scale.x)); in SDL_RendererEventWatch()
662 event->motion.y = (int)(event->motion.y / (scale.y * renderer->dpi_scale.y)); in SDL_RendererEventWatch()
663 if (event->motion.xrel != 0 && renderer->relative_scaling) { in SDL_RendererEventWatch()
664 … float rel = renderer->xrel + event->motion.xrel / (scale.x * renderer->dpi_scale.x); in SDL_RendererEventWatch()
667 event->motion.xrel = (Sint32) trunc; in SDL_RendererEventWatch()
669 if (event->motion.yrel != 0 && renderer->relative_scaling) { in SDL_RendererEventWatch()
670 … float rel = renderer->yrel + event->motion.yrel / (scale.y * renderer->dpi_scale.y); in SDL_RendererEventWatch()
[all …]
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_common.c1342 event->motion.x, event->motion.y, in SDLTest_PrintEvent()
1343 event->motion.xrel, event->motion.yrel, in SDLTest_PrintEvent()
1344 event->motion.windowID); in SDLTest_PrintEvent()
1901 lastEvent = event->motion; in SDLTest_CommonEvent()
/AliOS-Things-master/components/SDL2/include/
A DSDL_events.h569 SDL_MouseMotionEvent motion; /**< Mouse motion event data */ member
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A DREADME172 (Adjacent articles in that issue discuss MPEG motion picture compression,
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/
A DChangeLog1486 19f0ba0e Implement true-motion prediction in SSE2

Completed in 48 milliseconds