/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_input_check_test.cpp | 212 model.SetContentType(TextContentType::USER_NAME); in __anonb2680c460802() 278 model.SetContentType(TextContentType::NEW_PASSWORD); in __anonb2680c460a02() 344 model.SetContentType(TextContentType::HOUSE_NUMBER); in __anonb2680c460c02() 410 model.SetContentType(TextContentType::CITY_ADDRESS); in __anonb2680c460e02() 608 model.SetContentType(TextContentType::PHONE_NUMBER); in __anonb2680c461402() 707 model.SetContentType(TextContentType::EMAIL_ADDRESS); in __anonb2680c461702() 806 model.SetContentType(TextContentType::PRECISE_TIME); in __anonb2680c461a02() 872 model.SetContentType(TextContentType::DATE); in __anonb2680c461c02() 905 model.SetContentType(TextContentType::MONTH); in __anonb2680c461d02() 938 model.SetContentType(TextContentType::YEAR); in __anonb2680c461e02() [all …]
|
H A D | text_input_area_model_test.cpp | 796 layoutProperty->UpdateTextContentType(TextContentType::USER_NAME); 797 textFieldModelNG.SetContentType(TextContentType::USER_NAME); 798 layoutProperty->UpdateTextContentType(TextContentType::PERSON_FIRST_NAME); 799 textFieldModelNG.SetContentType(TextContentType::USER_NAME); 801 textFieldModelNG.SetContentType(TextContentType::PERSON_FIRST_NAME); 960 layoutProperty->UpdateTextContentType(TextContentType::USER_NAME); 961 textFieldModelNG.SetContentType(frameNode, TextContentType::USER_NAME); 962 layoutProperty->UpdateTextContentType(TextContentType::PERSON_FIRST_NAME); 963 textFieldModelNG.SetContentType(frameNode, TextContentType::USER_NAME); 965 textFieldModelNG.SetContentType(frameNode, TextContentType::PERSON_FIRST_NAME);
|
H A D | text_field_pattern_testtwo.cpp | 1014 layoutProperty->UpdateTextContentType(static_cast<TextContentType>(intValue)); 1136 layoutProperty->UpdateTextContentType(TextContentType::NEW_PASSWORD); 1355 layoutProperty->UpdateTextContentType(TextContentType::USER_NAME); 1358 layoutProperty->UpdateTextContentType(TextContentType::VISIBLE_PASSWORD); 1361 layoutProperty->UpdateTextContentType(TextContentType::FORMAT_ADDRESS); 1365 layoutProperty->UpdateTextContentType(TextContentType::FORMAT_ADDRESS);
|
H A D | text_field_pattern_func_test.cpp | 711 TextContentType type = TextContentType::VISIBLE_PASSWORD; 725 TextContentType type = TextContentType(30);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_content_type.cpp | 19 TextContentType CastToTextContentType(int32_t value) in CastToTextContentType() 21 …if (value < static_cast<int32_t>(TextContentType::BEGIN) || value > static_cast<int32_t>(TextConte… in CastToTextContentType() 22 return TextContentType::BEGIN; in CastToTextContentType() 24 return static_cast<TextContentType>(value); in CastToTextContentType()
|
H A D | text_content_type.h | 22 enum class TextContentType { enum 54 TextContentType CastToTextContentType(int32_t value);
|
H A D | text_field_pattern.cpp | 210 {TextContentType::VISIBLE_PASSWORD, 217 {TextContentType::DISTRICT_ADDRESS, 220 {TextContentType::PROVINCE_ADDRESS, 222 {TextContentType::COUNTRY_ADDRESS, 224 {TextContentType::PERSON_FULL_NAME, 226 {TextContentType::PERSON_LAST_NAME, 235 {TextContentType::EMAIL_ADDRESS, 237 {TextContentType::BANK_CARD_NUMBER, 239 {TextContentType::ID_CARD_NUMBER, 242 {TextContentType::HOUR_AND_MINUTE, [all …]
|
H A D | text_field_model_ng.h | 38 void SetContentType(const TextContentType& value) override; 152 static void SetContentType(const FrameNode* frameNode, const TextContentType& value); 245 static TextContentType GetContentType(FrameNode* frameNode);
|
H A D | text_field_layout_property.h | 191 … ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(TextContentType, TextContentType, PROPERTY_UPDATE_MEASURE);
|
H A D | text_field_manager.cpp | 478 textFieldInfo.contentType == TextContentType::VISIBLE_PASSWORD || in IsAutoFillPasswordType() 479 textFieldInfo.contentType == TextContentType::NEW_PASSWORD; in IsAutoFillPasswordType()
|
H A D | text_field_manager.h | 33 TextContentType contentType;
|
H A D | text_field_model_ng.cpp | 303 void TextFieldModelNG::SetContentType(const TextContentType& value) in SetContentType() 312 ACE_UPDATE_LAYOUT_PROPERTY(TextFieldLayoutProperty, TextContentType, value); in SetContentType() 1011 void TextFieldModelNG::SetContentType(const FrameNode* frameNode, const TextContentType& value) in SetContentType() 1019 ACE_UPDATE_NODE_LAYOUT_PROPERTY(TextFieldLayoutProperty, TextContentType, value, frameNode); in SetContentType() 1729 TextContentType TextFieldModelNG::GetContentType(FrameNode* frameNode) in GetContentType() 1731 TextContentType value = TextContentType::UNSPECIFIED; in GetContentType() 1732 …ACE_GET_NODE_LAYOUT_PROPERTY_WITH_DEFAULT_VALUE(TextFieldLayoutProperty, TextContentType, value, f… in GetContentType()
|
H A D | text_field_model.h | 271 virtual void SetContentType(const NG::TextContentType& value) = 0;
|
H A D | text_field_pattern.h | 1681 AceAutoFillType TextContentTypeToAceAutoFillType(const TextContentType& type);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | text_field_model_impl.h | 39 void SetContentType(const NG::TextContentType& value) override {}; in SetContentType()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_text_area_modifier.cpp | 1156 if (contentType < 0 || contentType > static_cast<ArkUI_Int32>(TextContentType::END)) { in SetTextAreaContentType() 1159 TextFieldModelNG::SetContentType(frameNode, static_cast<NG::TextContentType>(contentType)); in SetTextAreaContentType() 1166 …TextFieldModelNG::SetContentType(frameNode, static_cast<NG::TextContentType>(TextContentType::UNSP… in ResetTextAreaContentType()
|
H A D | node_text_input_modifier.cpp | 398 if (contentType < 0 || contentType > static_cast<ArkUI_Uint32>(TextContentType::END)) { in SetTextInputContentType() 401 TextFieldModelNG::SetContentType(frameNode, static_cast<NG::TextContentType>(contentType)); in SetTextInputContentType() 415 …TextFieldModelNG::SetContentType(frameNode, static_cast<NG::TextContentType>(TextContentType::UNSP… in ResetTextInputContentType()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_textfield.cpp | 232 TextFieldModel::GetInstance()->SetContentType(NG::TextContentType::UNSPECIFIED); in SetContentType() 238 …NG::TextContentType textContentType = static_cast<NG::TextContentType>(jsValue->ToNumber<int32_t>(… in SetContentType()
|