/base/inputmethod/imf/services/include/ |
D | input_attribute.h | 29 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/ |
D | input_method_utils.h | 61 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/ |
D | imf_adapter.h | 53 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/ |
D | input_method_attach_test.cpp | 133 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 …]
|
D | input_method_ability_test.cpp | 408 textConfig.inputAttribute = { .inputPattern = 0, .enterKeyType = 1 }; 414 EXPECT_EQ(textTotalConfig.inputAttribute.enterKeyType, textConfig.inputAttribute.enterKeyType);
|
D | input_method_controller_test.cpp | 372 InputMethodControllerTest::inputAttribute_.enterKeyType) in TriggerConfigurationChangeCallback() 736 …EXPECT_EQ(InputMethodControllerTest::inputAttribute_.enterKeyType, static_cast<int32_t>(info.GetEn…
|
/base/inputmethod/imf/test/fuzztest/inputmethodcontroller_fuzzer/ |
D | inputmethodcontroller_fuzzer.cpp | 94 int32_t enterKeyType; in TestOnConfigurationChange() local 96 imc->GetEnterKeyType(enterKeyType); in TestOnConfigurationChange() 148 inputAttribute.enterKeyType = fuzzedInt32; in TestAttach()
|
/base/inputmethod/imf/test/common/src/ |
D | text_listener.cpp | 84 EnterKeyType enterKeyType = functionKey.GetEnterKeyType(); in SendFunctionKey() local 85 key_ = static_cast<int32_t>(enterKeyType); in SendFunctionKey()
|
/base/inputmethod/imf/test/unittest/napi_test/src/ |
D | InputMethodWithAttachTest.js | 35 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)}`);
|
D | InputMethodTest.js | 727 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/ |
D | js_get_input_method_controller.cpp | 111 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 …]
|
D | js_get_input_method_controller.h | 220 int32_t enterKeyType = 0; member
|
D | js_utils.cpp | 330 …ret && JsUtil::Object::WriteProperty(env, editorAttribute, "enterKeyType", attribute.enterKeyType); in GetValue()
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
D | itypes_util.cpp | 165 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()
|
D | input_method_controller.cpp | 791 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/ |
D | imf_adapter_impl.cpp | 226 .enterKeyType = config.inputAttribute.enterKeyType }; in Attach()
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
D | js_text_input_client_engine.cpp | 178 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()
|
D | js_text_input_client_engine.h | 209 int32_t enterKeyType = 0; member
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
D | input_method_ability.cpp | 353 attribute.enterKeyType = data->ReadInt32(); in OnConfigurationChange()
|