ips->resize_timer = NULL;
}
- LOGD("Norender pop by resizing keyboard");
+ LOGI("Norender pop by resizing keyboard");
e_comp_canvas_norender_pop();
ips->resizing = EINA_FALSE;
}
ips = data;
if (!ips) return ECORE_CALLBACK_CANCEL;
- LOGD("Norender pop by resizing keyboard timeout");
+ LOGI("Norender pop by resizing keyboard timeout");
e_comp_canvas_norender_pop();
ips->resizing = EINA_FALSE;
if (!ips) return;
if (ips->resizing) return;
- LOGD("Norender push by resizing keyboard");
+ LOGI("Norender push by resizing keyboard");
e_comp_canvas_norender_push();
ips->resizing = EINA_TRUE;
if (!ips) return;
- LOGD("parent:%p, focus:%p, wait_update %d\n",
+ LOGI("parent:%p, focus:%p, wait_update %d\n",
ips->ec ? ips->ec->parent : NULL, e_client_focused_get(), g_input_panel->wait_update);
if (g_input_panel->wait_update)
{
if (g_timer_wait_update)
{
- LOGD("deleting wait_update timer");
+ LOGI("deleting wait_update timer");
ecore_timer_del(g_timer_wait_update);
g_timer_wait_update = NULL;
}
return;
}
- LOGD("IPS::SHOW::READY\n");
+ LOGI("IPS::SHOW::READY\n");
// base_output_resolution
e_client_base_output_resolution_transform_adjust(ips->ec);
static void
_e_input_panel_surface_resource_destroy(struct wl_resource *resource)
{
- LOGD("");
+ LOGI("");
E_Input_Panel_Surface *ips = wl_resource_get_user_data(resource);
E_Input_Panel *input_panel = NULL;
E_Client *ec = NULL;
if (ips->resizing)
{
- LOGD("Destroyed Waiting Resize Input Surface. Starting Drawing Again");
+ LOGI("Destroyed Waiting Resize Input Surface. Starting Drawing Again");
_e_input_panel_start_drawing(ips);
}
- LOGD("Removing ips %p from input panel %p", ips, input_panel);
+ LOGI("Removing ips %p from input panel %p", ips, input_panel);
input_panel->surfaces = eina_list_remove(input_panel->surfaces, ips);
E_FREE_FUNC(ips->eh.rot_geometry_set, ecore_event_handler_del);
E_FREE_FUNC(ips->eh.rot_change_end, ecore_event_handler_del);
if (ec->visible)
return;
- LOGD("IPS::SHOW\n");
+ LOGI("IPS::SHOW\n");
_e_input_panel_position_set(ec, ec->client.w, ec->client.h);
ips->need_show = EINA_TRUE;
else if (ips->resizing)
{
- LOGD("Keyboard is currently resizing. set need_show.");
+ LOGI("Keyboard is currently resizing. set need_show.");
ips->need_show = EINA_TRUE;
}
else
}
else
{
- LOGD("IPS::DEFER_SHOW::HIDE\n");
+ LOGI("IPS::DEFER_SHOW::HIDE\n");
ec->visible = EINA_FALSE;
/* We have to reset the flag of pending_show to prevent showing after
* finish the rotation. Directly set this value, since there is no way
goto end;
if (ips->showing) {
- LOGD("current angle : %d", ec->e.state.rot.ang.curr);
+ LOGI("current angle : %d", ec->e.state.rot.ang.curr);
_e_input_panel_position_set(ec, ec->client.w, ec->client.h);
}
if ((w != ec->e.state.rot.geom[i].w) ||
(h != ec->e.state.rot.geom[i].h))
{
- LOGD("Resizing by Rotation Geometry. Pending Drawing");
+ LOGI("Resizing by Rotation Geometry. Pending Drawing");
_e_input_panel_stop_drawing(ips);
}
if (ec == ips->ec)
{
- LOGD("Remove IPS's ec. ips:%p, ips->ec:%p", ips, ips->ec);
+ LOGI("Remove IPS's ec. ips:%p, ips->ec:%p", ips, ips->ec);
ips->ec = NULL;
}
}
evas_object_geometry_get(obj, NULL, NULL, &w, &h);
- LOGD("current angle : %d", ec->e.state.rot.ang.curr);
+ LOGI("current angle : %d", ec->e.state.rot.ang.curr);
_e_input_panel_position_set(ec, w, h);
ips = _e_input_panel_surface_get(ec);
if ((w == ec->e.state.rot.geom[i].w) ||
(h == ec->e.state.rot.geom[i].h))
{
- LOGD("Resize Done to Rotation Geometry. Starting Drawing Again");
+ LOGI("Resize Done to Rotation Geometry. Starting Drawing Again");
_e_input_panel_start_drawing(ips);
}
}
E_Input_Panel_Surface *ips = data;
if (!ips) return EINA_TRUE;
- LOGD("Effect end IPS's ec. ips:%p, ips->ec:%p", ips, ips->ec);
+ LOGI("Effect end IPS's ec. ips:%p, ips->ec:%p", ips, ips->ec);
if (!ips->showing)
vconf_set_int(VCONFKEY_ISF_INPUT_PANEL_STATE, VCONFKEY_ISF_INPUT_PANEL_STATE_DID_HIDE);
g_floating_info->mouse_pressed = EINA_FALSE;
g_floating_info->moving_req = EINA_FALSE;
- LOGD("[Mouse up] Send input panel geometry");
+ LOGI("[Mouse up] Send input panel geometry");
e_text_input_update_input_panel_geometry(ec);
}
if ((w != ec->e.state.rot.geom[i].w) ||
(h != ec->e.state.rot.geom[i].h))
{
- LOGD("Resizing by Rotation Geometry. Pending Drawing...");
+ LOGI("Resizing by Rotation Geometry. Pending Drawing...");
_e_input_panel_stop_drawing(ips);
}
}
E_Input_Panel_Surface *ips = NULL;
E_Comp_Client_Data *cdata = NULL;
- LOGD("client %p input_panel %p ec %p resource %p surface_resource %p",
+ LOGI("client %p input_panel %p ec %p resource %p surface_resource %p",
client, input_panel, ec, resource, surface_resource);
if (!input_panel)
ips->ec = ec;
ips->input_panel = input_panel;
- LOGD("Create IPS.. ips:%p, input_panel:%p, ec:%p", ips, input_panel, ec);
+ LOGI("Create IPS.. ips:%p, input_panel:%p, ec:%p", ips, input_panel, ec);
_e_input_panel_surface_append(input_panel, ips, resource);
E_Input_Panel_Surface *ips;
E_Input_Panel *input_panel = wl_resource_get_user_data(resource);
- LOGD("resource %p input_panel %p", resource, input_panel);
+ LOGI("resource %p input_panel %p", resource, input_panel);
if (!input_panel)
{
EINA_LIST_FOREACH_SAFE(input_panel->surfaces, l, l_next, ips)
{
- LOGD("foreach ips %p resource %p l %p", ips, resource, l);
+ LOGI("foreach ips %p resource %p l %p", ips, resource, l);
if (ips && ips->resource == resource)
{
E_Client *ec;
E_Comp_Wl_Client_Data *cdata;
input_panel->surfaces = eina_list_remove_list(input_panel->surfaces, l);
- LOGD("Removed surface %p from list %p", l, input_panel->surfaces);
+ LOGI("Removed surface %p from list %p", l, input_panel->surfaces);
if (!(ec = ips->ec)) continue;
if (e_object_is_del(E_OBJECT(ec))) continue;
resource = wl_resource_create(client, &wl_input_panel_interface, 1, id);
if (!resource) return;
- LOGD("client %p input_panel %p resource %p", client, input_panel, resource);
+ LOGI("client %p input_panel %p resource %p", client, input_panel, resource);
if (input_panel->resource == NULL)
{
if (!g_input_panel) return;
- LOGD("e_input_panel_visibility_change : %d", visible);
+ LOGI("e_input_panel_visibility_change : %d", visible);
vconf_set_int (VCONFKEY_ISF_INPUT_PANEL_STATE, visible ? VCONFKEY_ISF_INPUT_PANEL_STATE_SHOW : VCONFKEY_ISF_INPUT_PANEL_STATE_HIDE);
if (e_object_is_del(E_OBJECT(ips->ec)))
return;
- LOGD("IPS::FRAME::FLUSH ec %p\n", ips->ec);
+ LOGI("IPS::FRAME::FLUSH ec %p\n", ips->ec);
e_pixmap_image_clear(ips->ec->pixmap, EINA_TRUE);
}
/* If we are in wait_update mode, the input panel surfaces have to be updated forcibly */
if (wait_update)
{
- LOGD("Registering wait_update_timer");
+ LOGI("Registering wait_update_timer");
_wait_update_timer_del();
g_timer_wait_update = ecore_timer_add(WAIT_UPDATE_TIMER_INTERVAL,
_wait_update_timer_handler, NULL);
if (!g_input_panel->buf_change_handler)
{
- LOGD("IPS::WAIT::UPDATE::SET (add buf change handler)\n");
+ LOGI("IPS::WAIT::UPDATE::SET (add buf change handler)\n");
g_input_panel->buf_change_handler = ecore_event_handler_add(E_EVENT_CLIENT_BUFFER_CHANGE,
_ip_cb_e_buf_change, NULL);
}
EINTERN void
e_input_panel_transient_for_set(E_Client *parent)
{
- LOGD("TRANSIENT_FOR::transient_for_set : %p\n", parent);
+ LOGI("TRANSIENT_FOR::transient_for_set : %p\n", parent);
E_Input_Panel_Surface *ips;
Eina_List *l;
E_Client *ec_parent = parent;
continue;
}
- LOGD("TRANSIENT_FOR::The child already has a parent : %p\n", child->parent);
+ LOGI("TRANSIENT_FOR::The child already has a parent : %p\n", child->parent);
if (ec_parent != child->parent)
{
child->parent->transients =
eina_list_remove(child->parent->transients, child);
if (child->parent->modal == child) child->parent->modal = NULL;
child->parent = NULL;
- LOGD("TRANSIENT_FOR::reset parent %p for : %p\n", child->parent, child);
+ LOGI("TRANSIENT_FOR::reset parent %p for : %p\n", child->parent, child);
}
}
{
if ((ec_parent) && (eina_list_data_find(parent->transients, child) != child))
{
- LOGD("TRANSIENT_FOR::Adding %p into parent %p's transients list\n", child, ec_parent);
+ LOGI("TRANSIENT_FOR::Adding %p into parent %p's transients list\n", child, ec_parent);
ec_parent->transients = eina_list_append(ec_parent->transients, child);
}
child->parent = ec_parent;
else
cur_angle = floating_ec->zone->rot.curr;
- LOGD("current angle : %d", cur_angle);
+ LOGI("current angle : %d", cur_angle);
switch (cur_angle)
{
case 90:
Eina_Bool
e_input_panel_surface_destroy(E_Client *ec)
{
- LOGD("");
+ LOGI("");
E_Input_Panel_Surface *ips;
Eina_List *l;
Eina_List *l_next;
g_input_panel->surfaces = eina_list_remove_list(g_input_panel->surfaces, l);
if (ips->resizing)
{
- LOGD("Destroyed Waiting Resize Window. Starting Drawing Again");
+ LOGI("Destroyed Waiting Resize Window. Starting Drawing Again");
_e_input_panel_start_drawing(ips);
}
}
client_surface_ec->e.state.rot.ang.curr :
client_surface_ec->e.state.rot.ang.next;
- LOGD("curr : %d, next : %d, angle : %d\n", client_surface_ec->e.state.rot.ang.curr,
+ LOGI("curr : %d, next : %d, angle : %d\n", client_surface_ec->e.state.rot.ang.curr,
client_surface_ec->e.state.rot.ang.next, angle);
}
break;
}
- LOGD("angle : %d, x : %d, y : %d, w : %d, h : %d\n", angle, x, y, w, h);
+ LOGI("angle : %d, x : %d, y : %d, w : %d, h : %d\n", angle, x, y, w, h);
wl_text_input_send_input_panel_geometry(resource, x, y, w, h);
}
{
if (input_method && input_method->resource && input_method->context && input_method->context->resource)
{
- LOGD("Request to hide IME");
+ LOGI("Request to hide IME");
wl_input_method_send_hide_input_panel(input_method->resource, input_method->context->resource);
}
}
_keyboard_mode_changed_cb(keynode_t *key, void* data)
{
bool val = vconf_keynode_get_bool(key);
- LOGD("keyboard mode : %d\n", val);
+ LOGI("keyboard mode : %d\n", val);
if (val == false)
{
return;
}
- LOGD("Candidate State : %d", state);
+ LOGI("Candidate State : %d", state);
Eina_Bool prev_show_state = g_show_state_candidate;
g_show_state_candidate = state;
if (g_input_panel_state == E_INPUT_PANEL_STATE_DID_HIDE)
}
#endif
- LOGD("resource(%p), context(%p)", resource, context);
+ LOGI("resource(%p), context(%p)", resource, context);
if ((context->input_method) &&
(context->input_method->context == context))
Ecore_Event_Key *ev = (Ecore_Event_Key *)event;
if (ev->event_flags & ECORE_EVENT_FLAG_CANCEL)
{
- SECURE_LOGD("%s key is cancelled.", ev->key);
+ SECURE_LOGI("%s key is cancelled.", ev->key);
return ECORE_CALLBACK_PASS_ON;
}
(is_number_key(ev->string) && _TV))
return ECORE_CALLBACK_PASS_ON;
- SECURE_LOGD("Hide IME (key : %s)", ev->key);
+ SECURE_LOGI("Hide IME (key : %s)", ev->key);
if (g_text_input && g_text_input->resource && g_client)
_input_panel_hide(g_client, g_text_input->resource, EINA_FALSE);
#endif
if (input_method->resource == destroyed_resource)
{
- LOGD("deactivate skipped : %p %p", input_method->resource,
+ LOGI("deactivate skipped : %p %p", input_method->resource,
input_method->context->resource);
}
else
wl_input_method_send_deactivate(input_method->resource,
input_method->context->resource,
need_focus_in);
- LOGD("wm_map TEXTINPUT deactivate : %p %p", input_method->resource,
+ LOGI("wm_map TEXTINPUT deactivate : %p %p", input_method->resource,
input_method->context->resource);
}
}
ecore_key_down_handler = NULL;
}
- LOGD("Resetting input_method->input : %p, text_input : %p, %p %p",
+ LOGI("Resetting input_method->input : %p, text_input : %p, %p %p",
input_method->input, text_input,
input_method->resource,
(input_method->context ? input_method->context->resource : NULL));
old = input_method->input;
- LOGD("old : %p, text_input : %p, %d", old, text_input, g_input_panel_state);
+ LOGI("old : %p, text_input : %p, %d", old, text_input, g_input_panel_state);
if (old == text_input)
return;
if (context->resource)
{
wl_input_method_send_activate(input_method->resource, context->resource, text_input->id, EINA_TRUE);
- LOGD("wm_map TEXTINPUT activate : %p %p", input_method->resource,
+ LOGI("wm_map TEXTINPUT activate : %p %p", input_method->resource,
context->resource);
}
else
static void
_e_text_input_cb_deactivate(struct wl_client *client EINA_UNUSED, struct wl_resource *resource, struct wl_resource *seat)
{
- LOGD("");
+ LOGI("");
E_Text_Input *text_input = wl_resource_get_user_data(resource);
E_Input_Method *input_method = NULL;
wl_input_method_send_activate(input_method->resource, context->resource, text_input->id, need_focus_out);
- LOGD("wm_map TEXTINPUT activate : input_method->resource(%p) context->resource(%p)",
+ LOGI("wm_map TEXTINPUT activate : input_method->resource(%p) context->resource(%p)",
input_method->resource, context->resource);
destroyed_resource = NULL;
E_Text_Input *text_input = wl_resource_get_user_data(resource);
E_Input_Method *input_method = NULL;
- LOGD("text_input : %p\n", text_input);
+ LOGI("text_input : %p\n", text_input);
if (!text_input)
{
{
/* DO NOT show input panel surface until we get message "show complete" from input method,
* in order to give a change to update UI */
- LOGD("IM::SHOW::WAIT_FOR_READY\n");
+ LOGI("IM::SHOW::WAIT_FOR_READY\n");
g_show_client = client;
wl_input_method_send_show_input_panel(input_method->resource, input_method->context->resource);
if (focused_ec != client_surface_ec)
{
E_Window_Type focus_win_type = focused_ec->netwm.type;
- LOGD("Window ID : 0x%08x, Name : %s, type : %d\n", (unsigned int)e_client_util_win_get(focused_ec), (char *)e_client_util_name_get(focused_ec), focus_win_type);
+ LOGI("Window ID : 0x%08x, Name : %s, type : %d\n", (unsigned int)e_client_util_win_get(focused_ec), (char *)e_client_util_name_get(focused_ec), focus_win_type);
if (focus_win_type == E_WINDOW_TYPE_NOTIFICATION ||
focus_win_type == E_WINDOW_TYPE_POPUP_MENU)
}
else
{
- LOGD("Can't get focus window\n");
+ LOGI("Can't get focus window\n");
}
if (text_input->resource)
return;
}
- LOGD("resource : %p", resource);
+ LOGI("resource : %p", resource);
if (g_show_text_input == text_input)
{
return;
}
- LOGD("text_input(%p), focus(%d), input_method(%p), input_method->resource(%p), context(%p), context->resource(%p), resource(%p)",
+ LOGI("text_input(%p), focus(%d), input_method(%p), input_method->resource(%p), context(%p), context->resource(%p), resource(%p)",
text_input, (text_input == g_text_input), input_method, input_method->resource, input_method->context,
(input_method->context ? input_method->context->resource : NULL), resource);
if (input_method->resource && input_method->context && input_method->context->resource)
{
wl_input_method_send_destroy(input_method->resource, input_method->context->resource);
- LOGD("wm_map TEXTINPUT destroy : input_method->resource(%p) input_method->context->resource(%p)",
+ LOGI("wm_map TEXTINPUT destroy : input_method->resource(%p) input_method->context->resource(%p)",
input_method->resource, input_method->context->resource);
destroyed_resource = input_method->resource;
static void
_e_text_input_method_cb_unbind(struct wl_resource *resource)
{
- LOGD("");
+ LOGI("");
E_Input_Method *input_method = wl_resource_get_user_data(resource);
if (!input_method)
static void
_e_text_input_method_cb_bind(struct wl_client *client, void *data, uint32_t version EINA_UNUSED, uint32_t id)
{
- LOGD("");
+ LOGI("");
E_Input_Method *input_method = data;
struct wl_resource *resource = NULL;
E_Text_Input_Mgr *text_input_mgr = data;
if (!text_input_mgr) return;
- LOGD("input manager : %p", text_input_mgr);
+ LOGI("input manager : %p", text_input_mgr);
if (text_input_mgr->global)
{
return EINA_FALSE;
}
- LOGD("input manager : %p", text_input_mgr);
+ LOGI("input manager : %p", text_input_mgr);
_e_mod_text_input_shutdown_cb_add(_e_text_input_manager_destroy, text_input_mgr);
if (ec == client_surface_ec)
{
- LOGD("transient_for_ec deleted, hiding input panel\n");
+ LOGI("transient_for_ec deleted, hiding input panel\n");
e_input_panel_visibility_change(EINA_FALSE);
e_input_panel_transient_for_set(NULL);
g_timer_will_hide = NULL;
}
client_surface_ec = NULL;
- LOGD("TRANSIENT_FOR::Reset transient_for_ec to NULL\n");
+ LOGI("TRANSIENT_FOR::Reset transient_for_ec to NULL\n");
}
}
{
if (e_client_rotation_is_progress(ec))
{
- LOGD("Rotation is not finished");
+ LOGI("Rotation is not finished");
return;
}
int x = 0, y = 0, w = 0, h = 0;
if (e_input_panel_client_geometry_get(NULL, &x, &y, &w, &h) && !(w <= 1 || h <= 1))
{
- LOGD("x : %d, y : %d, w : %d, h : %d", x, y, w, h);
+ LOGI("x : %d, y : %d, w : %d, h : %d", x, y, w, h);
_e_text_input_send_input_panel_geometry(g_text_input->resource, x, y, w, h);
}
}