| /base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
| D | input_method_utils.h | 28 enum class EnterKeyType { UNSPECIFIED = 0, NONE, GO, SEARCH, SEND, NEXT, DONE, PREVIOUS }; enum 59 EnterKeyType GetEnterKeyType() const in GetEnterKeyType() 64 void SetEnterKeyType(EnterKeyType keyType) in SetEnterKeyType() 80 EnterKeyType enterKeyType = EnterKeyType::UNSPECIFIED; 102 EnterKeyType GetEnterKeyType() const in GetEnterKeyType() 107 void SetEnterKeyType(EnterKeyType keyType) in SetEnterKeyType() 113 EnterKeyType enterKeyType = EnterKeyType::UNSPECIFIED;
|
| /base/inputmethod/imf/test/unittest/cpp_test/src/ |
| D | input_method_utils_test.cpp | 64 info.SetEnterKeyType(EnterKeyType::UNSPECIFIED); 65 EnterKeyType keyType = info.GetEnterKeyType(); 66 EXPECT_EQ(keyType, EnterKeyType::UNSPECIFIED);
|
| D | input_method_attach_test.cpp | 232 EnterKeyType keyType = EnterKeyType::NEXT; 253 EnterKeyType keyType = EnterKeyType::NEXT; 403 config.SetEnterKeyType(EnterKeyType::NEXT); 411 EXPECT_EQ(totalConfig.inputAttribute.enterKeyType, static_cast<int32_t>(EnterKeyType::NEXT)); 433 configuration.SetEnterKeyType(EnterKeyType::NEXT); 552 configuration.SetEnterKeyType(EnterKeyType::NEXT);
|
| D | input_method_controller_test.cpp | 371 && (static_cast<OHOS::MiscServices::EnterKeyType>( in TriggerConfigurationChangeCallback() 701 EXPECT_TRUE(keyType >= static_cast<int32_t>(EnterKeyType::UNSPECIFIED) 702 && keyType <= static_cast<int32_t>(EnterKeyType::PREVIOUS)); 732 info.SetEnterKeyType(EnterKeyType::GO);
|
| D | input_method_ability_test.cpp | 381 EnterKeyType keyType = EnterKeyType::NEXT;
|
| /base/web/webview/ohos_adapter/inputmethodframework_adapter/src/ |
| D | imf_adapter_impl.cpp | 76 case MiscServices::EnterKeyType::UNSPECIFIED: in SendFunctionKey() 79 case MiscServices::EnterKeyType::NONE: in SendFunctionKey() 82 case MiscServices::EnterKeyType::GO: in SendFunctionKey() 85 case MiscServices::EnterKeyType::SEARCH: in SendFunctionKey() 88 case MiscServices::EnterKeyType::SEND: in SendFunctionKey() 91 case MiscServices::EnterKeyType::NEXT: in SendFunctionKey() 94 case MiscServices::EnterKeyType::DONE: in SendFunctionKey() 97 case MiscServices::EnterKeyType::PREVIOUS: in SendFunctionKey()
|
| /base/web/webview/test/unittest/ohos_adapter/imf_adapter_test/ |
| D | imf_adapter_impl_test.cpp | 237 functionKey.SetEnterKeyType(MiscServices::EnterKeyType::UNSPECIFIED); 240 functionKey.SetEnterKeyType(MiscServices::EnterKeyType::NONE); 242 functionKey.SetEnterKeyType(MiscServices::EnterKeyType::GO); 244 functionKey.SetEnterKeyType(MiscServices::EnterKeyType::SEARCH); 246 functionKey.SetEnterKeyType(MiscServices::EnterKeyType::SEND); 248 functionKey.SetEnterKeyType(MiscServices::EnterKeyType::NEXT); 250 functionKey.SetEnterKeyType(MiscServices::EnterKeyType::DONE); 252 functionKey.SetEnterKeyType(MiscServices::EnterKeyType::PREVIOUS);
|
| /base/inputmethod/imf/test/fuzztest/inputmethodcontroller_fuzzer/ |
| D | inputmethodcontroller_fuzzer.cpp | 89 EnterKeyType keyType = EnterKeyType::DONE; in TestOnConfigurationChange()
|
| /base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
| D | js_input_method_engine_setting.cpp | 48 …_KEY_TYPE_UNSPECIFIED", GetJsConstProperty(env, static_cast<uint32_t>(EnterKeyType::UNSPECIFIED))), in Init() 49 …PI_PROPERTY("ENTER_KEY_TYPE_GO", GetJsConstProperty(env, static_cast<uint32_t>(EnterKeyType::GO))), in Init() 51 … "ENTER_KEY_TYPE_SEARCH", GetJsConstProperty(env, static_cast<uint32_t>(EnterKeyType::SEARCH))), in Init() 53 … "ENTER_KEY_TYPE_SEND", GetJsConstProperty(env, static_cast<uint32_t>(EnterKeyType::SEND))), in Init() 55 … "ENTER_KEY_TYPE_NEXT", GetJsConstProperty(env, static_cast<uint32_t>(EnterKeyType::NEXT))), in Init() 57 … "ENTER_KEY_TYPE_DONE", GetJsConstProperty(env, static_cast<uint32_t>(EnterKeyType::DONE))), in Init() 59 …"ENTER_KEY_TYPE_PREVIOUS", GetJsConstProperty(env, static_cast<uint32_t>(EnterKeyType::PREVIOUS))), in Init()
|
| /base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
| D | js_get_input_method_controller.cpp | 120 …NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(EnterKeyType::UNSPECIFIED), &typeUnspec… in GetJsEnterKeyTypeProperty() 121 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(EnterKeyType::NONE), &typeNone)); in GetJsEnterKeyTypeProperty() 122 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(EnterKeyType::GO), &typeGo)); in GetJsEnterKeyTypeProperty() 123 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(EnterKeyType::SEARCH), &typeSearch)); in GetJsEnterKeyTypeProperty() 124 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(EnterKeyType::SEND), &typeSend)); in GetJsEnterKeyTypeProperty() 125 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(EnterKeyType::NEXT), &typeNext)); in GetJsEnterKeyTypeProperty() 126 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(EnterKeyType::DONE), &typeDone)); in GetJsEnterKeyTypeProperty() 127 …NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(EnterKeyType::PREVIOUS), &typePrevious)… in GetJsEnterKeyTypeProperty() 652 … ctxt->configuration.SetEnterKeyType(static_cast<EnterKeyType>(ctxt->attribute.enterKeyType)); in UpdateAttribute()
|
| /base/inputmethod/imf/test/common/src/ |
| D | text_listener.cpp | 84 EnterKeyType enterKeyType = functionKey.GetEnterKeyType(); in SendFunctionKey()
|
| /base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
| D | input_method_agent_stub.cpp | 75 configuration.SetEnterKeyType(EnterKeyType(data.ReadInt32())); in OnRemoteRequest()
|
| /base/inputmethod/imf/test/unittest/napi_test/src/ |
| D | InputMethodWithAttachTest.js | 35 enterKeyType: inputMethod.EnterKeyType.NONE 323 …e = { textInputType: inputMethod.TextInputType.TEXT, enterKeyType: inputMethod.EnterKeyType.NONE };
|
| D | InputMethodTest.js | 727 enterKeyType: inputMethod.EnterKeyType.NONE 761 enterKeyType: inputMethod.EnterKeyType.NONE 978 …ute = {textInputType: inputMethod.TextInputType.TEXT, enterKeyType: inputMethod.EnterKeyType.NONE};
|
| /base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
| D | input_method_controller.cpp | 268 info->SetEnterKeyType(static_cast<EnterKeyType>(data->ReadInt32())); in WorkThread()
|