/AliOS-Things-master/components/SDL2/src/events/ |
A D | SDL_touch.c | 102 if (touch) { in SDL_GetTouchDeviceType() 134 if (touch) { in SDL_GetNumTouchFingers() 144 if (!touch) { in SDL_GetTouchFinger() 202 if (touch->num_fingers == touch->max_fingers) { in SDL_AddFinger() 204 …new_fingers = (SDL_Finger **)SDL_realloc(touch->fingers, (touch->max_fingers+1)*sizeof(*touch->fin… in SDL_AddFinger() 210 if (!touch->fingers[touch->max_fingers]) { in SDL_AddFinger() 216 finger = touch->fingers[touch->num_fingers++]; in SDL_AddFinger() 236 touch->fingers[index] = touch->fingers[touch->num_fingers]; in SDL_DelFinger() 237 touch->fingers[touch->num_fingers] = temp; in SDL_DelFinger() 250 if (!touch) { in SDL_SendTouch() [all …]
|
A D | SDL_gesture.c | 232 SDL_GestureTouch *touch = NULL; in SDL_LoadDollarTemplates() local 237 touch = &SDL_gestureTouch[i]; in SDL_LoadDollarTemplates() 240 if (touch == NULL) { in SDL_LoadDollarTemplates() 271 touch = &SDL_gestureTouch[i]; in SDL_LoadDollarTemplates() 510 event.mgesture.touchId = touch->id; in SDL_SendGestureMulti() 511 event.mgesture.x = touch->centroid.x; in SDL_SendGestureMulti() 512 event.mgesture.y = touch->centroid.y; in SDL_SendGestureMulti() 527 event.dgesture.touchId = touch->id; in SDL_SendGestureDollar() 528 event.dgesture.x = touch->centroid.x; in SDL_SendGestureDollar() 529 event.dgesture.y = touch->centroid.y; in SDL_SendGestureDollar() [all …]
|
/AliOS-Things-master/components/SDL2/src/video/wayland/ |
A D | SDL_waylandtouch.c | 246 struct SDL_WaylandTouch *touch; in Wayland_touch_create() local 248 if (data->touch) { in Wayland_touch_create() 253 data->touch = SDL_malloc(sizeof(struct SDL_WaylandTouch)); in Wayland_touch_create() 255 touch = data->touch; in Wayland_touch_create() 257 qt_touch_extension_add_listener(touch->touch_extension, &touch_listener, data); in Wayland_touch_create() 263 if (data->touch) { in Wayland_touch_destroy() 264 struct SDL_WaylandTouch *touch = data->touch; in Wayland_touch_destroy() local 265 if (touch->touch_extension) { in Wayland_touch_destroy() 266 qt_touch_extension_destroy(touch->touch_extension); in Wayland_touch_destroy() 269 SDL_free(data->touch); in Wayland_touch_destroy() [all …]
|
A D | SDL_waylandevents.c | 64 struct wl_touch *touch; member 559 touch_handler_frame(void *data, struct wl_touch *touch) in touch_handler_frame() argument 565 touch_handler_cancel(void *data, struct wl_touch *touch) in touch_handler_cancel() argument 742 if ((caps & WL_SEAT_CAPABILITY_TOUCH) && !input->touch) { in seat_handle_capabilities() 744 input->touch = wl_seat_get_touch(seat); in seat_handle_capabilities() 745 wl_touch_set_user_data(input->touch, input); in seat_handle_capabilities() 746 wl_touch_add_listener(input->touch, &touch_listener, in seat_handle_capabilities() 750 wl_touch_destroy(input->touch); in seat_handle_capabilities() 751 input->touch = NULL; in seat_handle_capabilities() 1082 if (input->touch) { in Wayland_display_destroy_input() [all …]
|
A D | SDL_waylandvideo.h | 76 struct SDL_WaylandTouch *touch; member
|
A D | SDL_waylandtouch.h | 235 void (*touch)(void *data, member
|
/AliOS-Things-master/components/SDL2/docs/ |
A D | README-touch.md | 21 Sent when a finger (or stylus) is placed on a touch device. 23 * event.tfinger.touchId - the Id of the touch device. 25 * event.tfinger.x - the x coordinate of the touch (0..1) 26 * event.tfinger.y - the y coordinate of the touch (0..1) 27 * event.tfinger.pressure - the pressure of the touch (0..1) 30 Sent when a finger (or stylus) is moved on the touch device. 37 Sent when a finger (or stylus) is lifted from the touch device. 52 IMPORTANT: If the touch has been removed, or there is no touch with the given index, SDL_GetTouchDe… 54 The number of touch devices can be queried with SDL_GetNumTouchDevices(). 74 The current coordinates of the touch. [all …]
|
A D | README-gesture.md | 11 To begin recording on a touch device call: 12 SDL_RecordGesture(SDL_TouchID touchId), where touchId is the id of the touch device you wish to rec… 17 * event.dgesture.touchId - the Id of the touch used to record the gesture. 23 As long as there is a dollar gesture assigned to a touch, every finger-up event will also cause an … 25 * event.dgesture.touchId - the Id of the touch which performed the gesture. 45 …Templates(touchId,src) where touchId is the id of the touch to load to (or -1 to load to all touch… 57 * event.mgesture.touchId - the Id of the touch on which the gesture was performed.
|
A D | README.md | 48 - [Touch](README-touch.md)
|
/AliOS-Things-master/components/SDL2/src/video/uikit/ |
A D | SDL_uikitview.m | 183 - (SDL_TouchDeviceType)touchTypeForTouch:(UITouch *)touch 186 if ([touch respondsToSelector:@selector((type))]) { 187 if (touch.type == UITouchTypeIndirect) { 209 CGPoint point = [touch locationInView:self]; 220 - (float)pressureForTouch:(UITouch *)touch 223 if ([touch respondsToSelector:@selector(force)]) { 224 return (float) touch.force; 233 for (UITouch *touch in touches) { 238 if (touch.type == UITouchTypeIndirectPointer) { 286 for (UITouch *touch in touches) { [all …]
|
A D | SDL_uikitevents.m | 49 touch events to get processed (which is important to get certain 51 to touch input), but not long enough to introduce a significant
|
A D | SDL_uikitview.h | 43 - (CGPoint)touchLocation:(UITouch *)touch shouldNormalize:(BOOL)normalize;
|
/AliOS-Things-master/components/SDL2/src/gfx/ |
A D | missing | 146 touch aclocal.m4 155 touch configure 174 touch $touch_files 185 while read f; do touch "$f"; done 199 touch $file 274 touch $file 308 touch $file
|
/AliOS-Things-master/components/SDL2/src/gfx/Test/ |
A D | missing | 146 touch aclocal.m4 155 touch configure 174 touch $touch_files 185 while read f; do touch "$f"; done 199 touch $file 274 touch $file 308 touch $file
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/scripts/ |
A D | makefile.cegcc | 60 @touch $(PACKAGE)-bin/manifest/$(PACKAGE)-bin.mft 61 @touch $(PACKAGE)-bin/manifest/$(PACKAGE)-bin.ver 62 @touch $(PACKAGE)-dev/manifest/$(PACKAGE)-dev.mft 63 @touch $(PACKAGE)-dev/manifest/$(PACKAGE)-dev.ver
|
/AliOS-Things-master/components/cli/src/iobox/ |
A D | touch.c | 47 ALIOS_CLI_CMD_REGISTER(touch_main, touch, create empty file);
|
/AliOS-Things-master/components/cli/ |
A D | README.md | 48 │ └── touch.c 354 touch 386 touch - 创建单个文件 388 touch 123.txt
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | mkenv.mk | 43 TOUCH = touch
|
/AliOS-Things-master/solutions/kws_demo/ |
A D | package.yaml | 65 CLI_IOBOX_ENABLE: 1 # 可选:使能文件系统测试命令,例如ls, ll, mkdir, touch, echo等
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/ |
A D | package.yaml | 78 CLI_IOBOX_ENABLE: 1 # 可选:使能文件系统测试命令,例如ls, ll, mkdir, touch, echo等
|
/AliOS-Things-master/components/SDL2/ |
A D | README.md | 82 │ ├── README-touch.md 266 CLI_IOBOX_ENABLE: 1 # 可选:使能文件系统测试命令,例如ls, ll, mkdir, touch, echo等
|
A D | CREDITS.txt | 32 * Jim Grandpre for his work on multi-touch and gesture recognition during
|
/AliOS-Things-master/solutions/eduk1_demo/ |
A D | package.yaml | 41 CLI_IOBOX_ENABLE: 1 # 可选:使能文件系统测试命令,例如ls, ll, mkdir, touch, echo等
|
/AliOS-Things-master/components/udisplay/ |
A D | README.md | 65 CLI_IOBOX_ENABLE: 1 # 可选:使能文件系统测试命令,例如ls, ll, mkdir, touch, echo等
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoawindow.m | 1164 for (NSTouch* touch in touches) { 1165 if ([touch phase] != NSTouchPhaseBegan) { 1177 * events from being generated from touch events. 1211 for (NSTouch *touch in touches) { 1218 * from being generated from touch events. 1223 if ([touch respondsToSelector:@selector(type)]) { 1224 /* TODO: Before implementing direct touch support here, we need to 1229 * relative coordinates via [touch locationInView:]. 1231 if ([touch type] == NSTouchTypeDirect) { 1242 float x = [touch normalizedPosition].x; [all …]
|