summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-02-05 09:55:00 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-02-05 10:19:09 +0100
commita693561f68946656e1a0a3a14008f72c77dfb8eb (patch)
tree527d67145aa591669978954cdcfd51015c84ef3f
parentc2bb55517a32ffd35841c6b01308b3a986933699 (diff)
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.c2
-rw-r--r--src/tests/elementary/efl_ui_test_gesture.c18
2 files changed, 16 insertions, 4 deletions
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.c b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.c
index 886d17f790..3412200f90 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.c
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_double_tap.c
@@ -68,6 +68,8 @@ _efl_canvas_gesture_recognizer_double_tap_efl_canvas_gesture_recognizer_recogniz
68 else 68 else
69 timeout = start_timeout; 69 timeout = start_timeout;
70 70
71 printf("RECOG %d %d %d\n",efl_gesture_touch_state_get(event), efl_gesture_touch_cur_data_get(event)->action, pd->finger_size);
72
71 switch (efl_gesture_touch_state_get(event)) 73 switch (efl_gesture_touch_state_get(event))
72 { 74 {
73 case EFL_GESTURE_TOUCH_STATE_BEGIN: 75 case EFL_GESTURE_TOUCH_STATE_BEGIN:
diff --git a/src/tests/elementary/efl_ui_test_gesture.c b/src/tests/elementary/efl_ui_test_gesture.c
index db730f7dab..073f336deb 100644
--- a/src/tests/elementary/efl_ui_test_gesture.c
+++ b/src/tests/elementary/efl_ui_test_gesture.c
@@ -100,7 +100,7 @@ setup(void)
100EFL_START_TEST(test_efl_ui_gesture_taps) 100EFL_START_TEST(test_efl_ui_gesture_taps)
101{ 101{
102 Eo *rect = setup(); 102 Eo *rect = setup();
103 103#if 0
104 /* basic tap */ 104 /* basic tap */
105 click_object(rect); 105 click_object(rect);
106 CHECK_ALL(TAP, 1, 0, 1, 0); 106 CHECK_ALL(TAP, 1, 0, 1, 0);
@@ -191,7 +191,17 @@ EFL_START_TEST(test_efl_ui_gesture_taps)
191 /* this is two fingers, so we have a zoom start */ 191 /* this is two fingers, so we have a zoom start */
192 CHECK_ALL(ZOOM, 1, 0, 0, 1); 192 CHECK_ALL(ZOOM, 1, 0, 0, 1);
193 RESET; 193 RESET;
194 194#endif
195 printf("NOW\n");
196 printf("NOW\n");
197 printf("NOW\n");
198 click_object_at(rect, 10, 10);
199 click_object_at(rect, 12, 12);
200 CHECK_ALL(DOUBLE_TAP, 1, 2, 1, 0);
201 RESET;
202 printf("NOW\n");
203 printf("NOW\n");
204 printf("NOW\n");
195} 205}
196EFL_END_TEST 206EFL_END_TEST
197 207
@@ -586,8 +596,8 @@ EFL_END_TEST
586void efl_ui_test_gesture(TCase *tc) 596void efl_ui_test_gesture(TCase *tc)
587{ 597{
588 tcase_add_test(tc, test_efl_ui_gesture_taps); 598 tcase_add_test(tc, test_efl_ui_gesture_taps);
589 tcase_add_test(tc, test_efl_ui_gesture_long_tap); 599 /*tcase_add_test(tc, test_efl_ui_gesture_long_tap);
590 tcase_add_test(tc, test_efl_ui_gesture_flick); 600 tcase_add_test(tc, test_efl_ui_gesture_flick);
591 tcase_add_test(tc, test_efl_ui_gesture_zoom); 601 tcase_add_test(tc, test_efl_ui_gesture_zoom);
592 tcase_add_test(tc, test_efl_ui_gesture_custom); 602 tcase_add_test(tc, test_efl_ui_gesture_custom);*/
593} 603}