/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | content_controller.cpp | 55 if (!hasInputFilter && property->GetTextInputType().has_value() && in PreprocessString() 56 (property->GetTextInputType().value() == TextInputType::NUMBER_DECIMAL || in PreprocessString() 57 property->GetTextInputType().value() == TextInputType::EMAIL_ADDRESS)) { in PreprocessString() 58 …char specialChar = property->GetTextInputType().value() == TextInputType::NUMBER_DECIMAL ? '.' : '… in PreprocessString() 124 if (!property->GetTextInputType().has_value()) { in FilterTextInputStyle() 127 switch (property->GetTextInputType().value()) { in FilterTextInputStyle()
|
H A D | text_field_accessibility_property.h | 37 AceTextCategory GetTextInputType() const override;
|
H A D | text_field_accessibility_property.cpp | 44 AceTextCategory TextFieldAccessibilityProperty::GetTextInputType() const in GetTextInputType() function in OHOS::Ace::NG::TextFieldAccessibilityProperty
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_input_area_model_test.cpp | 1056 EXPECT_EQ(accessibilityProperty->GetTextInputType(), AceTextCategory::INPUT_TYPE_TEXT); 1058 EXPECT_EQ(accessibilityProperty->GetTextInputType(), AceTextCategory::INPUT_TYPE_NUMBER); 1060 EXPECT_EQ(accessibilityProperty->GetTextInputType(), AceTextCategory::INPUT_TYPE_PHONENUMBER); 1062 EXPECT_EQ(accessibilityProperty->GetTextInputType(), AceTextCategory::INPUT_TYPE_DATE); 1065 EXPECT_EQ(accessibilityProperty->GetTextInputType(), AceTextCategory::INPUT_TYPE_EMAIL); 1067 EXPECT_EQ(accessibilityProperty->GetTextInputType(), AceTextCategory::INPUT_TYPE_PASSWORD); 1069 EXPECT_EQ(accessibilityProperty->GetTextInputType(), AceTextCategory::INPUT_TYPE_USER_NAME); 1071 EXPECT_EQ(accessibilityProperty->GetTextInputType(), AceTextCategory::INPUT_TYPE_NEW_PASSWORD); 1074 accessibilityProperty->GetTextInputType();
|
H A D | text_input_test.cpp | 1364 EXPECT_EQ(layoutProperty_->GetTextInputType(), TextInputType::BEGIN); 1371 EXPECT_EQ(layoutProperty_->GetTextInputType(), TextInputType::UNSPECIFIED); 1378 EXPECT_EQ(layoutProperty_->GetTextInputType(), TextInputType::TEXT); 1385 EXPECT_EQ(layoutProperty_->GetTextInputType(), TextInputType::MULTILINE); 1392 EXPECT_EQ(layoutProperty_->GetTextInputType(), TextInputType::NUMBER); 1399 EXPECT_EQ(layoutProperty_->GetTextInputType(), TextInputType::PHONE); 1406 EXPECT_EQ(layoutProperty_->GetTextInputType(), TextInputType::DATETIME); 1413 EXPECT_EQ(layoutProperty_->GetTextInputType(), TextInputType::EMAIL_ADDRESS); 1420 EXPECT_EQ(layoutProperty_->GetTextInputType(), TextInputType::URL); 1427 EXPECT_EQ(layoutProperty_->GetTextInputType(), TextInputType::VISIBLE_PASSWORD); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/text_field/ |
H A D | dsl_text_field_creator_test.cpp | 129 …EXPECT_EQ(static_cast<uint32_t>(textFieldComponent->GetTextInputType()), TEXT_FIELD_ATTR_INPUT_TYP… 178 EXPECT_EQ(textFieldComponent->GetTextInputType(), TEXT_FIELD_ATTR_INPUT_TYPE_DEFAULT);
|
H A D | render_text_field_test.cpp | 74 TextInputType GetTextInputType() const in GetTextInputType() function in OHOS::Ace::MockRenderTextField 303 EXPECT_EQ(renderTextField->GetTextInputType(), TEXT_FIELD_TEXTINPUTTYPE_EMAIL);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/search/ |
H A D | search_test_ng.cpp | 1690 EXPECT_EQ(textFieldLayoutProperty->GetTextInputType(), TextInputType::BEGIN); 1697 EXPECT_EQ(textFieldLayoutProperty->GetTextInputType(), TextInputType::UNSPECIFIED); 1704 EXPECT_EQ(textFieldLayoutProperty->GetTextInputType(), TextInputType::TEXT); 1711 EXPECT_EQ(textFieldLayoutProperty->GetTextInputType(), TextInputType::MULTILINE); 1718 EXPECT_EQ(textFieldLayoutProperty->GetTextInputType(), TextInputType::NUMBER); 1725 EXPECT_EQ(textFieldLayoutProperty->GetTextInputType(), TextInputType::PHONE); 1732 EXPECT_EQ(textFieldLayoutProperty->GetTextInputType(), TextInputType::DATETIME); 1739 EXPECT_EQ(textFieldLayoutProperty->GetTextInputType(), TextInputType::EMAIL_ADDRESS); 1746 EXPECT_EQ(textFieldLayoutProperty->GetTextInputType(), TextInputType::URL); 1753 EXPECT_EQ(textFieldLayoutProperty->GetTextInputType(), TextInputType::VISIBLE_PASSWORD);
|
H A D | search_testtwo_ng.cpp | 1007 EXPECT_EQ(textFieldLayoutProperty->GetTextInputType().value(), TextInputType::BEGIN); 1009 EXPECT_EQ(textFieldLayoutProperty->GetTextInputType().value(), TextInputType::TEXT);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | text_field_component.cpp | 216 TextInputType TextFieldComponent::GetTextInputType() const in GetTextInputType() function in OHOS::Ace::TextFieldComponent 218 return declaration_->GetTextInputType(); in GetTextInputType()
|
H A D | text_field_component.h | 103 TextInputType GetTextInputType() const;
|
H A D | render_text_field.cpp | 267 if (keyboard_ != TextInputType::UNSPECIFIED && keyboard_ != textField->GetTextInputType()) { in Update() 271 if (keyboard_ != textField->GetTextInputType()) { in Update() 280 keyboard_ = textField->GetTextInputType(); in Update() 1430 if (keyboard_ != textField->GetTextInputType()) { in UpdateObscure()
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
H A D | input_method_utils.h | 95 TextInputType GetTextInputType() const in GetTextInputType() function
|
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | input_method_controller_test.cpp | 437 == info.GetTextInputType()) in TriggerConfigurationChangeCallback() 1048 …MethodControllerTest::inputAttribute_.inputPattern, static_cast<int32_t>(info.GetTextInputType())); 1071 …MethodControllerTest::inputAttribute_.inputPattern, static_cast<int32_t>(info.GetTextInputType()));
|
H A D | input_method_attach_test.cpp | 480 …Q(totalConfig.inputAttribute.inputPattern, static_cast<int32_t>(configuration.GetTextInputType()));
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | accessibility_property.h | 208 virtual AceTextCategory GetTextInputType() const in GetTextInputType() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/accessibility/ |
H A D | accessibility_node.h | 541 AceTextCategory GetTextInputType() const in GetTextInputType() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_text_input_modifier.cpp | 840 ArkUI_Int32 GetTextInputType(ArkUINodeHandle node) in GetTextInputType() function 1832 GetTextInputPlaceholderFont, GetTextInputRequestKeyboardOnFocus, GetTextInputType, in GetTextInputModifier() 1892 GetTextInputPlaceholderFont, GetTextInputRequestKeyboardOnFocus, GetTextInputType, in GetCJUITextInputModifier()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/textfield/ |
H A D | textfield_declaration.h | 464 TextInputType GetTextInputType() const in GetTextInputType() function
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/property/ |
H A D | accessibility_property_test_ng.cpp | 239 EXPECT_EQ(props.GetTextInputType(), AceTextCategory::INPUT_TYPE_DEFAULT);
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
H A D | input_method_controller.cpp | 717 textConfig_.inputAttribute.inputPattern = static_cast<int32_t>(info.GetTextInputType()); in OnConfigurationChange()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | js_accessibility_manager.cpp | 353 nodeInfo.SetInputType(static_cast<int>(node->GetTextInputType())); in UpdateAccessibilityNodeInfo() 1401 nodeInfo.SetInputType(static_cast<int>(accessibilityProperty->GetTextInputType())); in UpdateAccessibilityElementInfo() 3174 …og::GetInstance().AddDesc("text input type: ", ConvertInputTypeToString(node->GetTextInputType())); in DumpProperty()
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | style_modifier.cpp | 4353 const ArkUI_AttributeItem* GetTextInputType(ArkUI_NodeHandle node) in GetTextInputType() function 13258 …GetEnableKeyboardOnFocus, GetTextInputType, GetSelectedBackgroundColor, GetShowPasswordIcon, GetTe… in GetTextInputAttribute()
|