Add the new entry for input_hint manual test 16/265016/1
authorInHong Han <inhong1.han@samsung.com>
Thu, 7 Oct 2021 06:17:15 +0000 (15:17 +0900)
committerInHong Han <inhong1.han@samsung.com>
Thu, 7 Oct 2021 06:17:15 +0000 (15:17 +0900)
Change-Id: I399665ae90a3e49a288c0dddbc3c224c758fa0a6

ism/demos/isf_manual_test_efl.cpp

index da59040..e39ab76 100644 (file)
@@ -46,6 +46,7 @@ static struct _menu_item _menu_its[] = {
     { N_("ReturnKeySet"), N_("click to enter"), N_("ReturnKeySet")},
     { N_("ReturnKeyStateSet"), N_("click to enter"), N_("ReturnKeyStateSet")},
     { N_("IMESizeSet"), N_("click to enter"), N_("IMESizeSet")},
+    { N_("InputHintSet"), N_("click to enter"), N_("InputHintSet")},
 
     /* do not delete below */
     { NULL, NULL, NULL }
@@ -85,6 +86,8 @@ static void _input_panel_state_cb (void *data, Ecore_IMF_Context *ctx, int value
             ecore_imf_context_input_panel_return_key_type_set (ctx, ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_SEARCH);
         } else if (test == "ReturnKeyStateSet") {
             ecore_imf_context_input_panel_return_key_disabled_set (ctx, EINA_TRUE);
+        } else if (test == "InputHintSet") {
+            ecore_imf_context_input_hint_set (ctx, ECORE_IMF_INPUT_HINT_SENSITIVE_DATA);
         }
     } else if (value == ECORE_IMF_INPUT_PANEL_STATE_HIDE) {
         if (test == "LanguageSet") {
@@ -95,6 +98,8 @@ static void _input_panel_state_cb (void *data, Ecore_IMF_Context *ctx, int value
             ecore_imf_context_input_panel_return_key_type_set (ctx, ECORE_IMF_INPUT_PANEL_RETURN_KEY_TYPE_DEFAULT);
         } else if (test == "ReturnKeyStateSet") {
             ecore_imf_context_input_panel_return_key_disabled_set (ctx, EINA_FALSE);
+        } else if (test == "InputHintSet") {
+            ecore_imf_context_input_hint_set (ctx, ECORE_IMF_INPUT_HINT_NONE);
         }
     }
 }