Home
last modified time | relevance | path

Searched refs:GetTextInputType (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dcontent_controller.cpp55 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 Dtext_field_accessibility_property.h37 AceTextCategory GetTextInputType() const override;
H A Dtext_field_accessibility_property.cpp44 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 Dtext_input_area_model_test.cpp1056 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 Dtext_input_test.cpp1364 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 Ddsl_text_field_creator_test.cpp129 …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 Drender_text_field_test.cpp74 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 Dsearch_test_ng.cpp1690 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 Dsearch_testtwo_ng.cpp1007 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 Dtext_field_component.cpp216 TextInputType TextFieldComponent::GetTextInputType() const in GetTextInputType() function in OHOS::Ace::TextFieldComponent
218 return declaration_->GetTextInputType(); in GetTextInputType()
H A Dtext_field_component.h103 TextInputType GetTextInputType() const;
H A Drender_text_field.cpp267 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 Dinput_method_utils.h95 TextInputType GetTextInputType() const in GetTextInputType() function
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_controller_test.cpp437 == 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 Dinput_method_attach_test.cpp480 …Q(totalConfig.inputAttribute.inputPattern, static_cast<int32_t>(configuration.GetTextInputType()));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Daccessibility_property.h208 virtual AceTextCategory GetTextInputType() const in GetTextInputType() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/accessibility/
H A Daccessibility_node.h541 AceTextCategory GetTextInputType() const in GetTextInputType() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_text_input_modifier.cpp840 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 Dtextfield_declaration.h464 TextInputType GetTextInputType() const in GetTextInputType() function
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/property/
H A Daccessibility_property_test_ng.cpp239 EXPECT_EQ(props.GetTextInputType(), AceTextCategory::INPUT_TYPE_DEFAULT);
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
H A Dinput_method_controller.cpp717 textConfig_.inputAttribute.inputPattern = static_cast<int32_t>(info.GetTextInputType()); in OnConfigurationChange()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Djs_accessibility_manager.cpp353 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 Dstyle_modifier.cpp4353 const ArkUI_AttributeItem* GetTextInputType(ArkUI_NodeHandle node) in GetTextInputType() function
13258 …GetEnableKeyboardOnFocus, GetTextInputType, GetSelectedBackgroundColor, GetShowPasswordIcon, GetTe… in GetTextInputAttribute()