[UTC][capi-ui-inputmethod][ACR-1845] Add APIs to move and resize the floating input... 87/315687/1
authorInhong Han <inhong1.han@samsung.com>
Tue, 6 Aug 2024 06:59:19 +0000 (15:59 +0900)
committerInhong Han <inhong1.han@samsung.com>
Tue, 6 Aug 2024 06:59:19 +0000 (15:59 +0900)
Change-Id: I11e16624ed1a942e0630379756ee5f6dbe1a5cca

src/utc/capi-ui-inputmethod/tct-capi-ui-inputmethod-core_mobile.h
src/utc/capi-ui-inputmethod/tct-capi-ui-inputmethod-core_tizeniot.h
src/utc/capi-ui-inputmethod/tct-capi-ui-inputmethod-core_tv.h
src/utc/capi-ui-inputmethod/tct-capi-ui-inputmethod-core_wearable.h
src/utc/capi-ui-inputmethod/utc-capi-ui-inputmethod.c

index 4d8a569b283679bd9aee6144b6f1d040998a7d4b..bce7c7d64b026f321bd49c7d49726efb8995534c 100755 (executable)
@@ -44,6 +44,8 @@ extern int utc_ime_event_set_option_window_created_cb_p(void);
 extern int utc_ime_event_set_option_window_destroyed_cb_p(void);
 extern int utc_ime_event_set_input_hint_set_cb_p(void);
 extern int utc_ime_event_unset_input_hint_set_cb_p(void);
+extern int utc_ime_event_set_position_align_set_cb_p(void);
+extern int utc_ime_event_unset_position_align_set_cb_p(void);
 extern int utc_ime_send_key_event_p(void);
 extern int utc_ime_commit_string_p(void);
 extern int utc_ime_show_preedit_string_p(void);
@@ -71,6 +73,7 @@ extern int utc_ime_event_set_prediction_hint_data_set_cb_p(void);
 extern int utc_ime_update_input_panel_event_p(void);
 extern int utc_ime_event_set_process_key_event_with_keycode_cb_p(void);
 extern int utc_ime_set_candidate_visibility_state_p(void);
+extern int utc_ime_move_resize_floating_window_p(void);
 extern int utc_ime_run_n(void);
 extern int utc_ime_run_n2(void);
 extern int utc_ime_event_set_focus_in_cb_n(void);
@@ -93,6 +96,7 @@ extern int utc_ime_event_set_accessibility_state_changed_cb_n(void);
 extern int utc_ime_event_set_option_window_created_cb_n(void);
 extern int utc_ime_event_set_option_window_destroyed_cb_n(void);
 extern int utc_ime_event_set_input_hint_set_cb_n(void);
+extern int utc_ime_event_set_position_align_set_cb_n(void);
 extern int utc_ime_send_key_event_n(void);
 extern int utc_ime_commit_string_n(void);
 extern int utc_ime_commit_string_n2(void);
@@ -159,6 +163,7 @@ extern int utc_ime_event_set_prediction_hint_data_set_cb_n(void);
 extern int utc_ime_update_input_panel_event_n(void);
 extern int utc_ime_event_set_process_key_event_with_keycode_cb_n(void);
 extern int utc_ime_set_candidate_visibility_state_n(void);
+extern int utc_ime_move_resize_floating_window_n(void);
 extern int utc_ime_event_set_process_input_device_event_cb_n(void);
 extern int utc_ime_input_device_rotary_get_direction_n(void);
 
@@ -185,6 +190,8 @@ testcase tc_array[] = {
        {"utc_ime_event_set_option_window_destroyed_cb_p",utc_ime_event_set_option_window_destroyed_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_input_hint_set_cb_p",utc_ime_event_set_input_hint_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_unset_input_hint_set_cb_p",utc_ime_event_unset_input_hint_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_event_set_position_align_set_cb_p",utc_ime_event_set_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_event_unset_position_align_set_cb_p",utc_ime_event_unset_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_send_key_event_p",utc_ime_send_key_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_commit_string_p",utc_ime_commit_string_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_show_preedit_string_p",utc_ime_show_preedit_string_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -212,6 +219,7 @@ testcase tc_array[] = {
        {"utc_ime_update_input_panel_event_p",utc_ime_update_input_panel_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_process_key_event_with_keycode_cb_p",utc_ime_event_set_process_key_event_with_keycode_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_set_candidate_visibility_state_p",utc_ime_set_candidate_visibility_state_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_move_resize_floating_window_p",utc_ime_move_resize_floating_window_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n",utc_ime_run_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n2",utc_ime_run_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_focus_in_cb_n",utc_ime_event_set_focus_in_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -234,6 +242,7 @@ testcase tc_array[] = {
        {"utc_ime_event_set_option_window_created_cb_n",utc_ime_event_set_option_window_created_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_option_window_destroyed_cb_n",utc_ime_event_set_option_window_destroyed_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_input_hint_set_cb_n",utc_ime_event_set_input_hint_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_event_set_position_align_set_cb_n",utc_ime_event_set_position_align_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_send_key_event_n",utc_ime_send_key_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_commit_string_n",utc_ime_commit_string_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_commit_string_n2",utc_ime_commit_string_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -300,6 +309,7 @@ testcase tc_array[] = {
        {"utc_ime_update_input_panel_event_n",utc_ime_update_input_panel_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_process_key_event_with_keycode_cb_n",utc_ime_event_set_process_key_event_with_keycode_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_set_candidate_visibility_state_n",utc_ime_set_candidate_visibility_state_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_move_resize_floating_window_n",utc_ime_move_resize_floating_window_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_process_input_device_event_cb_n",utc_ime_event_set_process_input_device_event_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_input_device_rotary_get_direction_n",utc_ime_input_device_rotary_get_direction_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {NULL, NULL}
index 4d8a569b283679bd9aee6144b6f1d040998a7d4b..bce7c7d64b026f321bd49c7d49726efb8995534c 100755 (executable)
@@ -44,6 +44,8 @@ extern int utc_ime_event_set_option_window_created_cb_p(void);
 extern int utc_ime_event_set_option_window_destroyed_cb_p(void);
 extern int utc_ime_event_set_input_hint_set_cb_p(void);
 extern int utc_ime_event_unset_input_hint_set_cb_p(void);
+extern int utc_ime_event_set_position_align_set_cb_p(void);
+extern int utc_ime_event_unset_position_align_set_cb_p(void);
 extern int utc_ime_send_key_event_p(void);
 extern int utc_ime_commit_string_p(void);
 extern int utc_ime_show_preedit_string_p(void);
@@ -71,6 +73,7 @@ extern int utc_ime_event_set_prediction_hint_data_set_cb_p(void);
 extern int utc_ime_update_input_panel_event_p(void);
 extern int utc_ime_event_set_process_key_event_with_keycode_cb_p(void);
 extern int utc_ime_set_candidate_visibility_state_p(void);
+extern int utc_ime_move_resize_floating_window_p(void);
 extern int utc_ime_run_n(void);
 extern int utc_ime_run_n2(void);
 extern int utc_ime_event_set_focus_in_cb_n(void);
@@ -93,6 +96,7 @@ extern int utc_ime_event_set_accessibility_state_changed_cb_n(void);
 extern int utc_ime_event_set_option_window_created_cb_n(void);
 extern int utc_ime_event_set_option_window_destroyed_cb_n(void);
 extern int utc_ime_event_set_input_hint_set_cb_n(void);
+extern int utc_ime_event_set_position_align_set_cb_n(void);
 extern int utc_ime_send_key_event_n(void);
 extern int utc_ime_commit_string_n(void);
 extern int utc_ime_commit_string_n2(void);
@@ -159,6 +163,7 @@ extern int utc_ime_event_set_prediction_hint_data_set_cb_n(void);
 extern int utc_ime_update_input_panel_event_n(void);
 extern int utc_ime_event_set_process_key_event_with_keycode_cb_n(void);
 extern int utc_ime_set_candidate_visibility_state_n(void);
+extern int utc_ime_move_resize_floating_window_n(void);
 extern int utc_ime_event_set_process_input_device_event_cb_n(void);
 extern int utc_ime_input_device_rotary_get_direction_n(void);
 
@@ -185,6 +190,8 @@ testcase tc_array[] = {
        {"utc_ime_event_set_option_window_destroyed_cb_p",utc_ime_event_set_option_window_destroyed_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_input_hint_set_cb_p",utc_ime_event_set_input_hint_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_unset_input_hint_set_cb_p",utc_ime_event_unset_input_hint_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_event_set_position_align_set_cb_p",utc_ime_event_set_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_event_unset_position_align_set_cb_p",utc_ime_event_unset_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_send_key_event_p",utc_ime_send_key_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_commit_string_p",utc_ime_commit_string_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_show_preedit_string_p",utc_ime_show_preedit_string_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -212,6 +219,7 @@ testcase tc_array[] = {
        {"utc_ime_update_input_panel_event_p",utc_ime_update_input_panel_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_process_key_event_with_keycode_cb_p",utc_ime_event_set_process_key_event_with_keycode_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_set_candidate_visibility_state_p",utc_ime_set_candidate_visibility_state_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_move_resize_floating_window_p",utc_ime_move_resize_floating_window_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n",utc_ime_run_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n2",utc_ime_run_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_focus_in_cb_n",utc_ime_event_set_focus_in_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -234,6 +242,7 @@ testcase tc_array[] = {
        {"utc_ime_event_set_option_window_created_cb_n",utc_ime_event_set_option_window_created_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_option_window_destroyed_cb_n",utc_ime_event_set_option_window_destroyed_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_input_hint_set_cb_n",utc_ime_event_set_input_hint_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_event_set_position_align_set_cb_n",utc_ime_event_set_position_align_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_send_key_event_n",utc_ime_send_key_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_commit_string_n",utc_ime_commit_string_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_commit_string_n2",utc_ime_commit_string_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -300,6 +309,7 @@ testcase tc_array[] = {
        {"utc_ime_update_input_panel_event_n",utc_ime_update_input_panel_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_process_key_event_with_keycode_cb_n",utc_ime_event_set_process_key_event_with_keycode_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_set_candidate_visibility_state_n",utc_ime_set_candidate_visibility_state_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_move_resize_floating_window_n",utc_ime_move_resize_floating_window_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_process_input_device_event_cb_n",utc_ime_event_set_process_input_device_event_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_input_device_rotary_get_direction_n",utc_ime_input_device_rotary_get_direction_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {NULL, NULL}
index d2b39018f8a5515281096586bcbf00509444ff9a..5abc10c49a40c2eacbd8acb120f739a78f047dd7 100755 (executable)
@@ -42,6 +42,8 @@ extern int utc_ime_event_set_rotation_degree_changed_cb_p(void);
 extern int utc_ime_event_set_accessibility_state_changed_cb_p(void);
 extern int utc_ime_event_set_option_window_created_cb_p(void);
 extern int utc_ime_event_set_option_window_destroyed_cb_p(void);
+extern int utc_ime_event_set_position_align_set_cb_p(void);
+extern int utc_ime_event_unset_position_align_set_cb_p(void);
 extern int utc_ime_send_key_event_p(void);
 extern int utc_ime_commit_string_p(void);
 extern int utc_ime_show_preedit_string_p(void);
@@ -68,6 +70,7 @@ extern int utc_ime_event_set_prediction_hint_data_set_cb_p(void);
 extern int utc_ime_update_input_panel_event_p(void);
 extern int utc_ime_event_set_process_key_event_with_keycode_cb_p(void);
 extern int utc_ime_set_candidate_visibility_state_p(void);
+extern int utc_ime_move_resize_floating_window_p(void);
 extern int utc_ime_run_n(void);
 extern int utc_ime_run_n2(void);
 extern int utc_ime_event_set_focus_in_cb_n(void);
@@ -89,6 +92,7 @@ extern int utc_ime_event_set_rotation_degree_changed_cb_n(void);
 extern int utc_ime_event_set_accessibility_state_changed_cb_n(void);
 extern int utc_ime_event_set_option_window_created_cb_n(void);
 extern int utc_ime_event_set_option_window_destroyed_cb_n(void);
+extern int utc_ime_event_set_position_align_set_cb_n(void);
 extern int utc_ime_send_key_event_n(void);
 extern int utc_ime_commit_string_n(void);
 extern int utc_ime_commit_string_n2(void);
@@ -154,6 +158,7 @@ extern int utc_ime_event_set_prediction_hint_data_set_cb_n(void);
 extern int utc_ime_update_input_panel_event_n(void);
 extern int utc_ime_event_set_process_key_event_with_keycode_cb_n(void);
 extern int utc_ime_set_candidate_visibility_state_n(void);
+extern int utc_ime_move_resize_floating_window_n(void);
 extern int utc_ime_event_set_process_input_device_event_cb_n(void);
 extern int utc_ime_input_device_rotary_get_direction_n(void);
 
@@ -178,6 +183,8 @@ testcase tc_array[] = {
        {"utc_ime_event_set_accessibility_state_changed_cb_p",utc_ime_event_set_accessibility_state_changed_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_option_window_created_cb_p",utc_ime_event_set_option_window_created_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_option_window_destroyed_cb_p",utc_ime_event_set_option_window_destroyed_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_event_set_position_align_set_cb_p",utc_ime_event_set_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_event_unset_position_align_set_cb_p",utc_ime_event_unset_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_send_key_event_p",utc_ime_send_key_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_commit_string_p",utc_ime_commit_string_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_show_preedit_string_p",utc_ime_show_preedit_string_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -204,6 +211,7 @@ testcase tc_array[] = {
        {"utc_ime_update_input_panel_event_p",utc_ime_update_input_panel_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_process_key_event_with_keycode_cb_p",utc_ime_event_set_process_key_event_with_keycode_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_set_candidate_visibility_state_p",utc_ime_set_candidate_visibility_state_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_move_resize_floating_window_p",utc_ime_move_resize_floating_window_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n",utc_ime_run_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n2",utc_ime_run_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_focus_in_cb_n",utc_ime_event_set_focus_in_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -225,6 +233,7 @@ testcase tc_array[] = {
        {"utc_ime_event_set_accessibility_state_changed_cb_n",utc_ime_event_set_accessibility_state_changed_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_option_window_created_cb_n",utc_ime_event_set_option_window_created_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_option_window_destroyed_cb_n",utc_ime_event_set_option_window_destroyed_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_event_set_position_align_set_cb_n",utc_ime_event_set_position_align_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_send_key_event_n",utc_ime_send_key_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_commit_string_n",utc_ime_commit_string_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_commit_string_n2",utc_ime_commit_string_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -290,6 +299,7 @@ testcase tc_array[] = {
        {"utc_ime_update_input_panel_event_n",utc_ime_update_input_panel_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_process_key_event_with_keycode_cb_n",utc_ime_event_set_process_key_event_with_keycode_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_set_candidate_visibility_state_n",utc_ime_set_candidate_visibility_state_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_move_resize_floating_window_n",utc_ime_move_resize_floating_window_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_process_input_device_event_cb_n",utc_ime_event_set_process_input_device_event_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_input_device_rotary_get_direction_n",utc_ime_input_device_rotary_get_direction_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {NULL, NULL}
index 108129d32019b2c29f267a4102e731882392e7f6..363d7ce2b30f4d94cd0188d22b9b085c04a353d8 100755 (executable)
@@ -44,6 +44,8 @@ extern int utc_ime_event_set_option_window_created_cb_p(void);
 extern int utc_ime_event_set_option_window_destroyed_cb_p(void);
 extern int utc_ime_event_set_input_hint_set_cb_p(void);
 extern int utc_ime_event_unset_input_hint_set_cb_p(void);
+extern int utc_ime_event_set_position_align_set_cb_p(void);
+extern int utc_ime_event_unset_position_align_set_cb_p(void);
 extern int utc_ime_send_key_event_p(void);
 extern int utc_ime_commit_string_p(void);
 extern int utc_ime_show_preedit_string_p(void);
@@ -71,6 +73,7 @@ extern int utc_ime_event_set_prediction_hint_data_set_cb_p(void);
 extern int utc_ime_update_input_panel_event_p(void);
 extern int utc_ime_event_set_process_key_event_with_keycode_cb_p(void);
 extern int utc_ime_set_candidate_visibility_state_p(void);
+extern int utc_ime_move_resize_floating_window_p(void);
 extern int utc_ime_run_n(void);
 extern int utc_ime_run_n2(void);
 extern int utc_ime_event_set_focus_in_cb_n(void);
@@ -93,6 +96,7 @@ extern int utc_ime_event_set_accessibility_state_changed_cb_n(void);
 extern int utc_ime_event_set_option_window_created_cb_n(void);
 extern int utc_ime_event_set_option_window_destroyed_cb_n(void);
 extern int utc_ime_event_set_input_hint_set_cb_n(void);
+extern int utc_ime_event_set_position_align_set_cb_n(void);
 extern int utc_ime_send_key_event_n(void);
 extern int utc_ime_commit_string_n(void);
 extern int utc_ime_commit_string_n2(void);
@@ -161,6 +165,7 @@ extern int utc_ime_event_set_prediction_hint_data_set_cb_n(void);
 extern int utc_ime_update_input_panel_event_n(void);
 extern int utc_ime_event_set_process_key_event_with_keycode_cb_n(void);
 extern int utc_ime_set_candidate_visibility_state_n(void);
+extern int utc_ime_move_resize_floating_window_n(void);
 
 testcase tc_array[] = {
        {"utc_ime_run_p",utc_ime_run_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -185,6 +190,8 @@ testcase tc_array[] = {
        {"utc_ime_event_set_option_window_destroyed_cb_p",utc_ime_event_set_option_window_destroyed_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_input_hint_set_cb_p",utc_ime_event_set_input_hint_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_unset_input_hint_set_cb_p",utc_ime_event_unset_input_hint_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_event_set_position_align_set_cb_p",utc_ime_event_set_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_event_unset_position_align_set_cb_p",utc_ime_event_unset_position_align_set_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_send_key_event_p",utc_ime_send_key_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_commit_string_p",utc_ime_commit_string_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_show_preedit_string_p",utc_ime_show_preedit_string_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -212,6 +219,7 @@ testcase tc_array[] = {
        {"utc_ime_update_input_panel_event_p",utc_ime_update_input_panel_event_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_process_key_event_with_keycode_cb_p",utc_ime_event_set_process_key_event_with_keycode_cb_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_set_candidate_visibility_state_p",utc_ime_set_candidate_visibility_state_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_move_resize_floating_window_p",utc_ime_move_resize_floating_window_p,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n",utc_ime_run_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_run_n2",utc_ime_run_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_focus_in_cb_n",utc_ime_event_set_focus_in_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -234,6 +242,7 @@ testcase tc_array[] = {
        {"utc_ime_event_set_option_window_created_cb_n",utc_ime_event_set_option_window_created_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_option_window_destroyed_cb_n",utc_ime_event_set_option_window_destroyed_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_input_hint_set_cb_n",utc_ime_event_set_input_hint_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_event_set_position_align_set_cb_n",utc_ime_event_set_position_align_set_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_send_key_event_n",utc_ime_send_key_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_commit_string_n",utc_ime_commit_string_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_commit_string_n2",utc_ime_commit_string_n2,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
@@ -302,6 +311,7 @@ testcase tc_array[] = {
        {"utc_ime_update_input_panel_event_n",utc_ime_update_input_panel_event_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_event_set_process_key_event_with_keycode_cb_n",utc_ime_event_set_process_key_event_with_keycode_cb_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {"utc_ime_set_candidate_visibility_state_n",utc_ime_set_candidate_visibility_state_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
+       {"utc_ime_move_resize_floating_window_n",utc_ime_move_resize_floating_window_n,utc_capi_ui_inputmethod_startup,utc_capi_ui_inputmethod_cleanup},
        {NULL, NULL}
 };
 
index 973b086e9e2cd0c3a1bae19276b720436f51f7e8..505e80ca40cbb7d6046d9e96ab5bfb38243f2b93 100755 (executable)
@@ -107,6 +107,10 @@ static void _input_hint_set_cb(Ecore_IMF_Input_Hints input_hint, void *user_data
 }
 #endif
 
+static void _position_align_set_cb(int x, int y, Ecore_IMF_Input_Panel_Align align, void *user_data)
+{
+}
+
 static int g_ret = -1;
 
 static void _ime_exit()
@@ -234,6 +238,12 @@ static void _ime_set_candidate_visibility_state()
        elm_exit();
 }
 
+static void _ime_move_resize_floating_window()
+{
+    g_ret = ime_move_resize_floating_window(0, 0, 100, 100);
+    elm_exit();
+}
+
 #ifndef TV
 static void _ime_update_preedit_cursor()
 {
@@ -571,6 +581,30 @@ int utc_ime_event_unset_input_hint_set_cb_p(void)
 }
 #endif
 
+/**
+ * @testcase           utc_ime_event_set_position_align_set_cb_p
+ * @since_tizen                9.0
+ * @description                Positive UTC of the function that sets @c position_align_set event callback function.
+ */
+int utc_ime_event_set_position_align_set_cb_p(void)
+{
+    int ret = ime_event_set_position_align_set_cb(_position_align_set_cb, NULL);
+    assert_eq(ret, IME_ERROR_NONE);
+    return 0;
+}
+
+/**
+ * @testcase           utc_ime_event_unset_position_align_set_cb_p
+ * @since_tizen                9.0
+ * @description                Positive UTC of the function that unsets @c position_align_set event callback function.
+ */
+int utc_ime_event_unset_position_align_set_cb_p(void)
+{
+    int ret = ime_event_unset_position_align_set_cb();
+    assert_eq(ret, IME_ERROR_NONE);
+    return 0;
+}
+
 /**
  * @testcase           utc_ime_send_key_event_p
  * @since_tizen                2.4
@@ -915,6 +949,19 @@ int utc_ime_set_candidate_visibility_state_p(void)
     return 0;
 }
 
+/**
+ * @testcase        utc_ime_move_resize_floating_window_p
+ * @since_tizen     9.0
+ * @description     Positive UTC of the function that moves and resizes the floating input panel window.
+ */
+int utc_ime_move_resize_floating_window_p(void)
+{
+    int ret = ime_run(&basic_callback, (void *)_ime_move_resize_floating_window);
+    assert_eq(ret, IME_ERROR_NONE);
+    assert_eq(g_ret, IME_ERROR_NONE);
+    return 0;
+}
+
 #ifndef TV
 /**
  * @testcase           utc_ime_update_preedit_cursor_p
@@ -1198,6 +1245,18 @@ int utc_ime_event_set_input_hint_set_cb_n(void)
 }
 #endif
 
+/**
+ * @testcase           utc_ime_event_set_position_align_set_cb_n
+ * @since_tizen                9.0
+ * @description                Negative UTC of the function that sets @c position_align_set event callback function.
+ */
+int utc_ime_event_set_position_align_set_cb_n(void)
+{
+    int ret = ime_event_set_position_align_set_cb(NULL, NULL);
+    assert_eq(ret, IME_ERROR_INVALID_PARAMETER);
+    return 0;
+}
+
 /**
  * @testcase           utc_ime_send_key_event_n
  * @since_tizen                2.4
@@ -2011,6 +2070,18 @@ int utc_ime_set_candidate_visibility_state_n(void)
     return 0;
 }
 
+/**
+ * @testcase        utc_ime_move_resize_floating_window_n
+ * @since_tizen     9.0
+ * @description     Negative UTC of the function that moves and resizes the floating input panel window.
+ */
+int utc_ime_move_resize_floating_window_n(void)
+{
+    int ret = ime_move_resize_floating_window(0, 0, 100, 100);
+    assert_eq(ret, IME_ERROR_NOT_RUNNING);
+    return 0;
+}
+
 #ifndef TV
 /**
  * @testcase           utc_ime_update_preedit_cursor_n