Home
last modified time | relevance | path

Searched refs:inputPattern (Results 1 – 25 of 36) sorted by relevance

12

/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
H A Dinput_attribute.h31 int32_t inputPattern = 0; member
39 return data.WriteInt32(in.inputPattern) && data.WriteInt32(in.enterKeyType) && in Marshalling()
45 return data.ReadInt32(out.inputPattern) && data.ReadInt32(out.enterKeyType) && in Unmarshalling()
51 return inputPattern == PATTERN_PASSWORD || inputPattern == PATTERN_PASSWORD_SCREEN_LOCK || in GetSecurityFlag()
52 PATTERN_PASSWORD_NUMBER == inputPattern || PATTERN_NEWPASSWORD == inputPattern; in GetSecurityFlag()
57 return inputPattern == info.inputPattern && enterKeyType == info.enterKeyType
H A Dinput_method_utils.h185 … config.append("pattern/enterKey/preview: " + std::to_string(inputAttribute.inputPattern) + "/" in ToString()
211 … config.append("pattern/enterKey/preview: " + std::to_string(inputAttribute.inputPattern) + "/" in ToString()
H A Di_input_data_channel.h71 virtual int32_t GetInputPattern(int32_t &inputPattern) = 0;
H A Dinput_data_channel_proxy.h47 int32_t GetInputPattern(int32_t &inputPattern) override;
H A Dinput_data_channel_stub.h50 int32_t GetInputPattern(int32_t &inputPattern) override;
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_attach_test.cpp110 int32_t inputPattern = -1; variable
133 int32_t inputPattern = -1; variable
150 attribute.inputPattern = 2;
159 int32_t inputPattern = -1; variable
162 EXPECT_EQ(inputPattern, attribute.inputPattern);
175 attribute.inputPattern = 3;
186 int32_t inputPattern = -1; variable
189 EXPECT_EQ(inputPattern, config.inputAttribute.inputPattern);
225 int32_t inputPattern = -1; variable
228 EXPECT_EQ(inputPattern, config.inputAttribute.inputPattern);
[all …]
H A Dinput_method_controller_test.cpp228 … inputAttribute.inputPattern, inputAttribute.enterKeyType, inputAttribute.isTextPreviewSupported); in OnEditorAttributeChange()
436 InputMethodControllerTest::inputAttribute_.inputPattern) in TriggerConfigurationChangeCallback()
481 EXPECT_EQ(inputAttribute_.inputPattern, config.inputAttribute.inputPattern); in CheckTextConfig()
1027 int32_t inputPattern; variable
1028 inputMethodController_->GetInputPattern(inputPattern);
1029 EXPECT_TRUE(inputPattern >= static_cast<int32_t>(TextInputType::NONE)
1030 && inputPattern <= static_cast<int32_t>(TextInputType::VISIBLE_PASSWORD));
1048 …EXPECT_EQ(InputMethodControllerTest::inputAttribute_.inputPattern, static_cast<int32_t>(info.GetTe…
1061 InputAttribute attribute = { .inputPattern = static_cast<int32_t>(TextInputType::DATETIME),
1071 …EXPECT_EQ(InputMethodControllerTest::inputAttribute_.inputPattern, static_cast<int32_t>(info.GetTe…
H A Dinput_method_ability_exception_test.cpp214 int32_t inputPattern; variable
215 ret = inputMethodAbility_->GetInputPattern(inputPattern);
H A Dinput_method_ability_test.cpp253 inAttribute.inputPattern = InputAttribute::PATTERN_PASSWORD;
478 int32_t inputPattern; variable
479 ret = inputMethodAbility_->GetInputPattern(inputPattern);
481 EXPECT_EQ(inputPattern, (int)textInputType);
495 textConfig.inputAttribute = { .inputPattern = 0, .enterKeyType = 1 };
500 EXPECT_EQ(textTotalConfig.inputAttribute.inputPattern, textConfig.inputAttribute.inputPattern);
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
H A Dinput_data_channel_proxy.cpp89 int32_t InputDataChannelProxy::GetInputPattern(int32_t &inputPattern) in GetInputPattern() argument
92 … [&inputPattern](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, inputPattern); }); in GetInputPattern()
H A Dinput_data_channel_stub.cpp278 int32_t InputDataChannelStub::GetInputPattern(int32_t &inputPattern) in GetInputPattern() argument
280 return InputMethodController::GetInstance()->GetInputPattern(inputPattern); in GetInputPattern()
H A Dinput_method_controller.cpp130 InputAttribute attribute = { .inputPattern = InputAttribute::PATTERN_TEXT }; in Initialize()
215 attribute.inputPattern = InputAttribute::PATTERN_TEXT; in Attach()
717 textConfig_.inputAttribute.inputPattern = static_cast<int32_t>(info.GetTextInputType()); in OnConfigurationChange()
725 attribute.inputPattern); in OnConfigurationChange()
844 inputpattern = textConfig_.inputAttribute.inputPattern; in GetInputPattern()
/ohos5.0/base/inputmethod/imf/test/fuzztest/inputmethodcontroller_fuzzer/
H A Dinputmethodcontroller_fuzzer.cpp94 int32_t inputPattern; in TestOnConfigurationChange() local
96 imc->GetInputPattern(inputPattern); in TestOnConfigurationChange()
143 inputAttribute.inputPattern = fuzzedInt32; in TestAttach()
/ohos5.0/base/inputmethod/imf/test/fuzztest/inputmethodability_fuzzer/
H A Dinputmethodability_fuzzer.cpp147 int32_t inputPattern; in TestGetInputPattern() local
148 ability->GetInputPattern(inputPattern); in TestGetInputPattern()
/ohos5.0/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/extImfBundle/entry/src/main/ets/InputMethodExtAbility/model/
H A DKeyboardController.ts209 …if(editAttribute.inputPattern == editAttribute1.inputPattern && editAttribute.enterKeyType == edit…
/ohos5.0/base/inputmethod/imf/test/common/src/
H A Dkeyboard_listener_test_impl.cpp75 inputAttribute_.inputPattern = 0; in ResetParam()
/ohos5.0/base/inputmethod/imf/frameworks/ndk/src/
H A Dinputmethod_controller_capi.cpp125 .inputPattern = static_cast<InputMethod_TextInputType>(config.inputType), in ConstructTextConfig()
/ohos5.0/base/inputmethod/imf/common/src/
H A Ditypes_util.cpp164 …if (!Marshal(data, input.inputPattern, input.enterKeyType, input.inputOption, input.isTextPreviewS… in Marshalling()
174 …if (!Unmarshal(data, output.inputPattern, output.enterKeyType, output.inputOption, output.isTextPr… in Unmarshalling()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ime-kit/
H A Djs-apis-inputmethodengine.md1286 …console.log(`Succeeded in receiving attribute of editor, inputPattern = ${attr.inputPattern}, ente…
3133 console.log(`editorAttribute.inputPattern: ${editorAttribute.inputPattern}`);
3167 console.log(`editorAttribute.inputPattern: ${editorAttribute.inputPattern}`);
3204 console.log(`editorAttribute.inputPattern: ${editorAttribute.inputPattern}`);
4059 | inputPattern | number | 是 | 否 | 编辑框的文本属性。 |
4620 console.log(`editorAttribute.inputPattern: ${editorAttribute.inputPattern}`;
4649 console.log('editorAttribute.inputPattern: ' + JSON.stringify(editorAttribute.inputPattern));
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/include/
H A Dinput_method_ability.h76 int32_t GetInputPattern(int32_t &inputPattern);
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_ability.cpp432 attribute.inputPattern); in OnAttributeChange()
739 int32_t InputMethodAbility::GetInputPattern(int32_t &inputPattern) in GetInputPattern() argument
747 return channel->GetInputPattern(inputPattern); in GetInputPattern()
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Djs_text_input_client_engine.cpp567 config.inputAttribute.inputPattern, config.inputAttribute.enterKeyType, in GetEditorAttributeSync()
586 config.inputAttribute.inputPattern, config.inputAttribute.enterKeyType, in GetEditorAttribute()
968 …auto ret = JsUtil::Object::WriteProperty(env, jsObject, "inputPattern", nativeObject.inputPattern); in Write()
980 … auto ret = JsUtil::Object::ReadProperty(env, jsObject, "inputPattern", nativeObject.inputPattern); in Read()
/ohos5.0/base/inputmethod/imf/interfaces/inner_api/inputmethod_controller/include/
H A Dinput_method_controller.h340 int32_t GetInputPattern(int32_t &inputPattern);
/ohos5.0/base/web/webview/ohos_adapter/inputmethodframework_adapter/src/
H A Dimf_adapter_impl.cpp312 …MiscServices::InputAttribute inputAttribute = { .inputPattern = config->GetInputAttribute()->GetIn… in Attach()
/ohos5.0/docs/en/application-dev/reference/apis-ime-kit/
H A Djs-apis-inputmethodengine.md1286 …console.log(`Succeeded in receiving attribute of editor, inputPattern = ${attr.inputPattern}, ente…
3133 console.log(`editorAttribute.inputPattern: ${editorAttribute.inputPattern}`);
3167 console.log(`editorAttribute.inputPattern: ${editorAttribute.inputPattern}`);
3204 console.log(`editorAttribute.inputPattern: ${editorAttribute.inputPattern}`);
4059 | inputPattern | number | Yes | No | Text of the edit box.|
4620 console.log(`editorAttribute.inputPattern: ${editorAttribute.inputPattern}`;
4649 console.log('editorAttribute.inputPattern: ' + JSON.stringify(editorAttribute.inputPattern));

12