From a0e77e993769d34c61b16cb13b2db4ccc48d5040 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Mon, 17 Nov 2014 21:03:54 +0900 Subject: [PATCH] Add down/up log [model] Redwood,Kiran,B3(Wearable) [binary_type] AP [customer] Docomo/Orange/ATT/Open [issue#] N/A [problem] [cause] [solution] [team] HomeTF [request] [horizontal_expansion] Change-Id: Iec1ad1dfa78edc4cf182382e3113718a10872396 --- src/virtual_window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/virtual_window.c b/src/virtual_window.c index bd60bd5..f7819c8 100644 --- a/src/virtual_window.c +++ b/src/virtual_window.c @@ -157,6 +157,7 @@ static int event_handler_cb(dynamicbox_buffer_h handler, struct dynamicbox_buffe flags = evas_event_default_flags_get(info->e); flags |= EVAS_EVENT_FLAG_ON_HOLD; evas_event_default_flags_set(info->e, flags); + ErrPrint("ON_HOLD[%s] %dx%d - %lf\n", info->id, event_info->info.pointer.x, event_info->info.pointer.y, timestamp); break; case DBOX_BUFFER_EVENT_OFF_HOLD: flags = evas_event_default_flags_get(info->e); @@ -197,6 +198,7 @@ static int event_handler_cb(dynamicbox_buffer_h handler, struct dynamicbox_buffe evas_event_feed_mouse_move(info->e, event_info->info.pointer.x, event_info->info.pointer.y, timestamp, NULL); evas_event_feed_mouse_down(info->e, 1, EVAS_BUTTON_NONE, timestamp, NULL); /* + 0.2f just for fake event */ info->pressed = 1; + ErrPrint("DOWN[%s] %dx%d - %lf\n", info->id, event_info->info.pointer.x, event_info->info.pointer.y, timestamp); break; case DBOX_BUFFER_EVENT_MOVE: /** @@ -215,6 +217,7 @@ static int event_handler_cb(dynamicbox_buffer_h handler, struct dynamicbox_buffe * Sometimes, asynchronously callable Callbacks can refer the evas event flags after up event. * so if we reset them from here, those kind of callbacks will fails to do their job properly. */ + ErrPrint("UP[%s] %dx%d - %lf\n", info->id, event_info->info.pointer.x, event_info->info.pointer.y, timestamp); break; case DBOX_BUFFER_EVENT_ACCESS_HIGHLIGHT: parent_elm = ecore_evas_data_get(info->ee, DBOX_WIN_TAG); -- 2.7.4