/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
H A D | input_attribute.h | 31 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 D | input_method_utils.h | 185 … 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 D | i_input_data_channel.h | 71 virtual int32_t GetInputPattern(int32_t &inputPattern) = 0;
|
H A D | input_data_channel_proxy.h | 47 int32_t GetInputPattern(int32_t &inputPattern) override;
|
H A D | input_data_channel_stub.h | 50 int32_t GetInputPattern(int32_t &inputPattern) override;
|
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | input_method_attach_test.cpp | 110 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 D | input_method_controller_test.cpp | 228 … 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 D | input_method_ability_exception_test.cpp | 214 int32_t inputPattern; variable 215 ret = inputMethodAbility_->GetInputPattern(inputPattern);
|
H A D | input_method_ability_test.cpp | 253 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 D | input_data_channel_proxy.cpp | 89 int32_t InputDataChannelProxy::GetInputPattern(int32_t &inputPattern) in GetInputPattern() argument 92 … [&inputPattern](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, inputPattern); }); in GetInputPattern()
|
H A D | input_data_channel_stub.cpp | 278 int32_t InputDataChannelStub::GetInputPattern(int32_t &inputPattern) in GetInputPattern() argument 280 return InputMethodController::GetInstance()->GetInputPattern(inputPattern); in GetInputPattern()
|
H A D | input_method_controller.cpp | 130 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 D | inputmethodcontroller_fuzzer.cpp | 94 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 D | inputmethodability_fuzzer.cpp | 147 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 D | KeyboardController.ts | 209 …if(editAttribute.inputPattern == editAttribute1.inputPattern && editAttribute.enterKeyType == edit…
|
/ohos5.0/base/inputmethod/imf/test/common/src/ |
H A D | keyboard_listener_test_impl.cpp | 75 inputAttribute_.inputPattern = 0; in ResetParam()
|
/ohos5.0/base/inputmethod/imf/frameworks/ndk/src/ |
H A D | inputmethod_controller_capi.cpp | 125 .inputPattern = static_cast<InputMethod_TextInputType>(config.inputType), in ConstructTextConfig()
|
/ohos5.0/base/inputmethod/imf/common/src/ |
H A D | itypes_util.cpp | 164 …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 D | js-apis-inputmethodengine.md | 1286 …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 D | input_method_ability.h | 76 int32_t GetInputPattern(int32_t &inputPattern);
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_ability.cpp | 432 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 D | js_text_input_client_engine.cpp | 567 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 D | input_method_controller.h | 340 int32_t GetInputPattern(int32_t &inputPattern);
|
/ohos5.0/base/web/webview/ohos_adapter/inputmethodframework_adapter/src/ |
H A D | imf_adapter_impl.cpp | 312 …MiscServices::InputAttribute inputAttribute = { .inputPattern = config->GetInputAttribute()->GetIn… in Attach()
|
/ohos5.0/docs/en/application-dev/reference/apis-ime-kit/ |
H A D | js-apis-inputmethodengine.md | 1286 …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));
|