Home
last modified time | relevance | path

Searched refs:enterKeyType (Results 1 – 19 of 19) sorted by relevance

/base/inputmethod/imf/services/include/
Dinput_attribute.h29 int32_t enterKeyType = 0; member
34 …return data.WriteInt32(in.inputPattern) && data.WriteInt32(in.enterKeyType) && data.WriteInt32(in.… in Marshalling()
39 …return data.ReadInt32(out.inputPattern) && data.ReadInt32(out.enterKeyType) && data.ReadInt32(out.… in Unmarshalling()
49 return inputPattern == info.inputPattern && enterKeyType == info.enterKeyType &&
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
Dinput_method_utils.h61 return enterKeyType; in GetEnterKeyType()
66 enterKeyType = keyType; in SetEnterKeyType()
80 EnterKeyType enterKeyType = EnterKeyType::UNSPECIFIED;
104 return enterKeyType; in GetEnterKeyType()
109 enterKeyType = keyType; in SetEnterKeyType()
113 EnterKeyType enterKeyType = EnterKeyType::UNSPECIFIED;
/base/web/webview/ohos_adapter/interfaces/
Dimf_adapter.h53 int32_t enterKeyType = 0; member
74 return enterKeyType; in GetEnterKeyType()
79 enterKeyType = keyType; in SetEnterKeyType()
83 IMFAdapterEnterKeyType enterKeyType = IMFAdapterEnterKeyType::UNSPECIFIED;
/base/inputmethod/imf/test/unittest/cpp_test/src/
Dinput_method_attach_test.cpp133 attribute.enterKeyType = 1;
140 EXPECT_EQ(keyType, attribute.enterKeyType);
158 attribute.enterKeyType = 2;
167 EXPECT_EQ(keyType, config.inputAttribute.enterKeyType);
185 attribute.enterKeyType = 2;
205 EXPECT_EQ(keyType, config.inputAttribute.enterKeyType);
280 attribute.enterKeyType = 2;
343 attribute.enterKeyType = 2;
369 attribute.enterKeyType = 2;
411 EXPECT_EQ(totalConfig.inputAttribute.enterKeyType, static_cast<int32_t>(EnterKeyType::NEXT));
[all …]
Dinput_method_ability_test.cpp408 textConfig.inputAttribute = { .inputPattern = 0, .enterKeyType = 1 };
414 EXPECT_EQ(textTotalConfig.inputAttribute.enterKeyType, textConfig.inputAttribute.enterKeyType);
Dinput_method_controller_test.cpp372 InputMethodControllerTest::inputAttribute_.enterKeyType) in TriggerConfigurationChangeCallback()
736 …EXPECT_EQ(InputMethodControllerTest::inputAttribute_.enterKeyType, static_cast<int32_t>(info.GetEn…
/base/inputmethod/imf/test/fuzztest/inputmethodcontroller_fuzzer/
Dinputmethodcontroller_fuzzer.cpp94 int32_t enterKeyType; in TestOnConfigurationChange() local
96 imc->GetEnterKeyType(enterKeyType); in TestOnConfigurationChange()
148 inputAttribute.enterKeyType = fuzzedInt32; in TestAttach()
/base/inputmethod/imf/test/common/src/
Dtext_listener.cpp84 EnterKeyType enterKeyType = functionKey.GetEnterKeyType(); in SendFunctionKey() local
85 key_ = static_cast<int32_t>(enterKeyType); in SendFunctionKey()
/base/inputmethod/imf/test/unittest/napi_test/src/
DInputMethodWithAttachTest.js35 enterKeyType: inputMethod.EnterKeyType.NONE property
323 …let attribute = { textInputType: inputMethod.TextInputType.TEXT, enterKeyType: inputMethod.EnterKe… property
353 let attribute = { textInputType: 1, enterKeyType: 1 }; property
523 functionKey.enterKeyType: ${JSON.stringify(functionKey.enterKeyType)}`);
DInputMethodTest.js727 enterKeyType: inputMethod.EnterKeyType.NONE property
761 enterKeyType: inputMethod.EnterKeyType.NONE property
978 …let attribute = {textInputType: inputMethod.TextInputType.TEXT, enterKeyType: inputMethod.EnterKey… property
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Djs_get_input_method_controller.cpp111 napi_value enterKeyType = nullptr; in GetJsEnterKeyTypeProperty() local
128 NAPI_CALL(env, napi_create_object(env, &enterKeyType)); in GetJsEnterKeyTypeProperty()
129 NAPI_CALL(env, napi_set_named_property(env, enterKeyType, "UNSPECIFIED", typeUnspecified)); in GetJsEnterKeyTypeProperty()
130 NAPI_CALL(env, napi_set_named_property(env, enterKeyType, "NONE", typeNone)); in GetJsEnterKeyTypeProperty()
131 NAPI_CALL(env, napi_set_named_property(env, enterKeyType, "GO", typeGo)); in GetJsEnterKeyTypeProperty()
132 NAPI_CALL(env, napi_set_named_property(env, enterKeyType, "SEARCH", typeSearch)); in GetJsEnterKeyTypeProperty()
133 NAPI_CALL(env, napi_set_named_property(env, enterKeyType, "SEND", typeSend)); in GetJsEnterKeyTypeProperty()
134 NAPI_CALL(env, napi_set_named_property(env, enterKeyType, "NEXT", typeNext)); in GetJsEnterKeyTypeProperty()
135 NAPI_CALL(env, napi_set_named_property(env, enterKeyType, "DONE", typeDone)); in GetJsEnterKeyTypeProperty()
136 NAPI_CALL(env, napi_set_named_property(env, enterKeyType, "PREVIOUS", typePrevious)); in GetJsEnterKeyTypeProperty()
[all …]
Djs_get_input_method_controller.h220 int32_t enterKeyType = 0; member
Djs_utils.cpp330 …ret && JsUtil::Object::WriteProperty(env, editorAttribute, "enterKeyType", attribute.enterKeyType); in GetValue()
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
Ditypes_util.cpp165 if (!Marshal(data, input.inputPattern, input.enterKeyType, input.inputOption)) { in Marshalling()
174 if (!Unmarshal(data, output.inputPattern, output.enterKeyType, output.inputOption)) { in Unmarshalling()
183 if (!Marshal(data, input.inputAttribute.inputPattern, input.inputAttribute.enterKeyType, in Marshalling()
Dinput_method_controller.cpp791 textConfig_.inputAttribute.enterKeyType = static_cast<uint32_t>(info.GetEnterKeyType()); in OnConfigurationChange()
866 keyType = textConfig_.inputAttribute.enterKeyType; in GetEnterKeyType()
/base/web/webview/ohos_adapter/inputmethodframework_adapter/src/
Dimf_adapter_impl.cpp226 .enterKeyType = config.inputAttribute.enterKeyType }; in Attach()
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Djs_text_input_client_engine.cpp178 napi_create_int32(env, getEditorAttribute->enterKeyType, &jsValue); in GetResultEditorAttribute()
557 int32_t enterKeyType = 0; in GetEditorAttributeSync() local
558 int32_t ret = InputMethodAbility::GetInstance()->GetEnterKeyType(enterKeyType); in GetEditorAttributeSync()
562 IMSA_HILOGD("getEditorAttribute, enterKeyType: %{public}d", enterKeyType); in GetEditorAttributeSync()
571 … const InputAttribute attribute = { .inputPattern = enterKeyType, .enterKeyType = inputPattern }; in GetEditorAttributeSync()
586 int32_t typeCode = InputMethodAbility::GetInstance()->GetEnterKeyType(ctxt->enterKeyType); in GetEditorAttribute()
Djs_text_input_client_engine.h209 int32_t enterKeyType = 0; member
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
Dinput_method_ability.cpp353 attribute.enterKeyType = data->ReadInt32(); in OnConfigurationChange()