/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | text_field_component.cpp | 23 TextFieldComponent::TextFieldComponent() in TextFieldComponent() function in OHOS::Ace::TextFieldComponent 51 bool TextFieldComponent::IsValueUpdated() const in IsValueUpdated() 156 bool TextFieldComponent::NeedFade() const in NeedFade() 186 bool TextFieldComponent::ShowCursor() const in ShowCursor() 196 bool TextFieldComponent::NeedObscure() const in NeedObscure() 206 bool TextFieldComponent::IsEnabled() const in IsEnabled() 296 bool TextFieldComponent::GetAutoFocus() const in GetAutoFocus() 306 bool TextFieldComponent::IsExtend() const in IsExtend() 326 bool TextFieldComponent::ShowEllipsis() const in ShowEllipsis() 596 bool TextFieldComponent::IsVisible() const in IsVisible() [all …]
|
H A D | text_field_component.h | 42 class ACE_EXPORT TextFieldComponent : public RenderComponent, public LabelTarget { 43 DECLARE_ACE_TYPE(TextFieldComponent, RenderComponent, LabelTarget); 46 TextFieldComponent(); 47 ~TextFieldComponent() override = default;
|
H A D | render_text_field.h | 651 void SetCallback(const RefPtr<TextFieldComponent>& textField); 658 void UpdateObscure(const RefPtr<TextFieldComponent>& textField); 661 void UpdateIcon(const RefPtr<TextFieldComponent>& textField); 662 void UpdatePasswordIcon(const RefPtr<TextFieldComponent>& textField);
|
H A D | text_field_element.cpp | 55 auto textField = AceType::DynamicCast<TextFieldComponent>(component_); in Update()
|
H A D | render_text_field.cpp | 179 … const RefPtr<TextFieldComponent> textField = AceType::DynamicCast<TextFieldComponent>(component); in Update() 371 void RenderTextField::SetCallback(const RefPtr<TextFieldComponent>& textField) in SetCallback() 1425 void RenderTextField::UpdateObscure(const RefPtr<TextFieldComponent>& textField) in UpdateObscure() 1924 void RenderTextField::UpdateIcon(const RefPtr<TextFieldComponent>& textField) in UpdateIcon() 1966 void RenderTextField::UpdatePasswordIcon(const RefPtr<TextFieldComponent>& textField) in UpdatePasswordIcon()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/input/ |
H A D | dom_textfield_util.cpp | 35 const RefPtr<TextFieldComponent>& component, const RefPtr<TextFieldTheme>& theme) in InitDefaultValue() 118 RefPtr<TextFieldComponent> component = AceType::MakeRefPtr<TextFieldComponent>(); in CreateComponentAndSetChildAttr() 133 void DOMTextFieldUtil::SetChildAttr(const RefPtr<TextFieldComponent>& component, in SetChildAttr() 143 { DOM_AUTO_FOCUS, [](const RefPtr<TextFieldComponent>& component, in SetChildAttr() 145 { DOM_DISABLED, [](const RefPtr<TextFieldComponent>& component, in SetChildAttr() 151 { DOM_ICON_SRC, [](const RefPtr<TextFieldComponent>& component, in SetChildAttr() 153 { DOM_HIDE_ICON_SRC, [](const RefPtr<TextFieldComponent>& component, in SetChildAttr() 160 { DOM_INPUT_OBSCURE, [](const RefPtr<TextFieldComponent>& component, in SetChildAttr() 172 { DOM_SHOW_ICON_SRC, [](const RefPtr<TextFieldComponent>& component, in SetChildAttr() 383 { DOM_CHANGE, [](const RefPtr<TextFieldComponent>& component, in AddChildEvent() [all …]
|
H A D | dom_textfield_util.h | 34 …static RefPtr<TextFieldComponent> CreateComponentAndSetChildAttr(const RefPtr<BoxComponent>& boxCo… 37 …static void SetChildAttr(const RefPtr<TextFieldComponent>& component, const RefPtr<BoxComponent>& … 40 …etChildStyle(const RefPtr<BoxComponent>& boxComponent, const RefPtr<TextFieldComponent>& component, 44 const RefPtr<TextFieldComponent>& component, const Border& boxBorder, bool hasBoxRadius); 46 …static void AddChildEvent(const RefPtr<TextFieldComponent>& component, int32_t pageId, const std::… 50 … const RefPtr<TextFieldComponent>& component, const RefPtr<TextFieldTheme>& theme); 53 const RefPtr<TextFieldComponent>& component, const RefPtr<TextFieldTheme>& theme); 55 static void InitController(const RefPtr<TextFieldComponent>& component);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/test/unittest/text_field/ |
H A D | render_text_field_test.cpp | 173 RefPtr<TextFieldComponent> textField = AceType::MakeRefPtr<TextFieldComponent>(); 196 RefPtr<TextFieldComponent> textField = AceType::MakeRefPtr<TextFieldComponent>(); 220 RefPtr<TextFieldComponent> textField = AceType::MakeRefPtr<TextFieldComponent>(); 243 RefPtr<TextFieldComponent> textField = AceType::MakeRefPtr<TextFieldComponent>(); 269 RefPtr<TextFieldComponent> textField = AceType::MakeRefPtr<TextFieldComponent>(); 292 RefPtr<TextFieldComponent> textField = AceType::MakeRefPtr<TextFieldComponent>(); 316 RefPtr<TextFieldComponent> textField = AceType::MakeRefPtr<TextFieldComponent>(); 339 RefPtr<TextFieldComponent> textField = AceType::MakeRefPtr<TextFieldComponent>(); 362 RefPtr<TextFieldComponent> textField = AceType::MakeRefPtr<TextFieldComponent>(); 385 RefPtr<TextFieldComponent> textField = AceType::MakeRefPtr<TextFieldComponent>(); [all …]
|
H A D | dsl_text_field_creator_test.cpp | 118 …RefPtr<TextFieldComponent> textFieldComponent = AceType::DynamicCast<TextFieldComponent>(component… 168 …RefPtr<TextFieldComponent> textFieldComponent = AceType::DynamicCast<TextFieldComponent>(component…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | text_field_model_impl.cpp | 41 auto textInputComponent = AceType::MakeRefPtr<TextFieldComponent>(); in CreateTextInput() 135 RefPtr<TextFieldComponent> textAreaComponent = AceType::MakeRefPtr<TextFieldComponent>(); in CreateTextArea() 227 auto component = AceType::DynamicCast<TextFieldComponent>(stack->GetMainComponent()); in SetType() 236 auto component = AceType::DynamicCast<TextFieldComponent>(stack->GetMainComponent()); in SetPlaceholderColor() 245 auto component = AceType::DynamicCast<TextFieldComponent>(stack->GetMainComponent()); in SetPlaceholderFont() 266 auto component = AceType::DynamicCast<TextFieldComponent>(stack->GetMainComponent()); in SetEnterKeyType() 274 auto component = AceType::DynamicCast<TextFieldComponent>(stack->GetMainComponent()); in SetTextAlign() 282 auto component = AceType::DynamicCast<TextFieldComponent>(stack->GetMainComponent()); in SetInputStyle() 290 auto component = AceType::DynamicCast<TextFieldComponent>(stack->GetMainComponent()); in SetCaretColor() 445 JSViewSetProperty(&TextFieldComponent::SetCopyOption, copyOption); in SetCopyOption() [all …]
|
H A D | search_model_impl.cpp | 44 auto textFieldComponent = AceType::MakeRefPtr<OHOS::Ace::TextFieldComponent>(); in Create() 85 auto textFieldComponent = AceType::DynamicCast<TextFieldComponent>(childComponent); in SetPlaceholderColor() 107 auto textFieldComponent = AceType::DynamicCast<TextFieldComponent>(childComponent); in SetPlaceholderFont() 141 auto textFieldComponent = AceType::DynamicCast<TextFieldComponent>(childComponent); in SetTextFont() 169 auto textFieldComponent = AceType::DynamicCast<TextFieldComponent>(childComponent); in SetTextAlign() 176 JSViewSetProperty(&TextFieldComponent::SetCopyOption, copyOptions); in SetCopyOption() 200 auto textFieldComponent = AceType::DynamicCast<TextFieldComponent>(childComponent); in SetHeight() 212 auto textFieldComponent = AceType::DynamicCast<TextFieldComponent>(childComponent); in SetBackBorder() 285 const RefPtr<TextFieldComponent>& component, const RefPtr<TextFieldTheme>& theme) in InitializeDefaultValue() 386 OHOS::Ace::RefPtr<OHOS::Ace::TextFieldComponent>& textFieldComponent, in InitializeComponent() [all …]
|
H A D | search_model_impl.h | 87 …DefaultValue(const RefPtr<BoxComponent>& boxComponent, const RefPtr<TextFieldComponent>& component, 89 …orationStyle(const RefPtr<BoxComponent>& boxComponent, const RefPtr<TextFieldComponent>& component, 92 OHOS::Ace::RefPtr<OHOS::Ace::TextFieldComponent>& textFieldComponent, 96 OHOS::Ace::RefPtr<OHOS::Ace::TextFieldComponent>& textFieldComponent);
|
H A D | text_field_model_impl.h | 104 …teDecoration(const RefPtr<BoxComponent>& boxComponent, const RefPtr<TextFieldComponent>& component,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_search.cpp | 28 RefPtr<TextFieldComponent>& textField; 38 textFieldComponent_ = AceType::MakeRefPtr<TextFieldComponent>(); in DOMSearch() 258 const RefPtr<SearchComponent>&, const RefPtr<TextFieldComponent>&, const EventMarker&)> in AddSpecializedEvent() 261 … [](const RefPtr<SearchComponent>& search, const RefPtr<TextFieldComponent>& textField, in AddSpecializedEvent() 270 … [](const RefPtr<SearchComponent>& search, const RefPtr<TextFieldComponent>& textField, in AddSpecializedEvent() 279 … [](const RefPtr<SearchComponent>& search, const RefPtr<TextFieldComponent>& textField, in AddSpecializedEvent() 282 … [](const RefPtr<SearchComponent>& search, const RefPtr<TextFieldComponent>& textField, in AddSpecializedEvent() 285 … [](const RefPtr<SearchComponent>& search, const RefPtr<TextFieldComponent>& textField, in AddSpecializedEvent() 288 … [](const RefPtr<SearchComponent>& search, const RefPtr<TextFieldComponent>& textField, in AddSpecializedEvent() 293 … [](const RefPtr<SearchComponent>& search, const RefPtr<TextFieldComponent>& textField, in AddSpecializedEvent() [all …]
|
H A D | dom_input.cpp | 117 GetBoxComponent(), AceType::DynamicCast<TextFieldComponent>(inputChild_), theme); in ResetInitializedStyle() 118 … DOMTextFieldUtil::SetDisableStyle(AceType::DynamicCast<TextFieldComponent>(inputChild_), theme); in ResetInitializedStyle() 140 auto textField = AceType::DynamicCast<TextFieldComponent>(inputChild_); in CallSpecializedMethod() 183 auto textField = AceType::DynamicCast<TextFieldComponent>(inputChild_); in OnRequestFocus() 235 auto textField = AceType::DynamicCast<TextFieldComponent>(inputChild_); in PrepareSpecializedComponent() 371 auto textField = DynamicCast<TextFieldComponent>(inputChild_); in UpdateSpecializedComponentStyle() 398 … AceType::DynamicCast<TextFieldComponent>(component), pageId, nodeId, events); in AddSpecializedComponentEvent() 404 … AceType::DynamicCast<TextFieldComponent>(component), pageId, nodeId, events); in AddSpecializedComponentEvent() 410 … AceType::DynamicCast<TextFieldComponent>(component), pageId, nodeId, events); in AddSpecializedComponentEvent() 482 auto textField = DynamicCast<TextFieldComponent>(inputChild_); in OnReset() [all …]
|
H A D | dom_textarea.cpp | 31 textAreaChild_ = AceType::MakeRefPtr<TextFieldComponent>(); in DOMTextarea() 254 [](const RefPtr<TextFieldComponent>& component, const EventMarker& event) { in AddSpecializedEvent() 259 { DOM_CHANGE, [](const RefPtr<TextFieldComponent>& component, in AddSpecializedEvent() 262 [](const RefPtr<TextFieldComponent>& component, const EventMarker& event) { in AddSpecializedEvent() 267 { DOM_LONG_PRESS, [](const RefPtr<TextFieldComponent>& component, in AddSpecializedEvent() 269 { DOM_INPUT_EVENT_OPTION_SELECT, [](const RefPtr<TextFieldComponent>& component, in AddSpecializedEvent() 271 { DOM_INPUT_EVENT_SEARCH, [](const RefPtr<TextFieldComponent>& component, in AddSpecializedEvent() 273 { DOM_INPUT_EVENT_SELECT_CHANGE, [](const RefPtr<TextFieldComponent>& component, in AddSpecializedEvent() 275 { DOM_INPUT_EVENT_SHARE, [](const RefPtr<TextFieldComponent>& component, in AddSpecializedEvent() 277 { DOM_INPUT_EVENT_TRANSLATE, [](const RefPtr<TextFieldComponent>& component, in AddSpecializedEvent() [all …]
|
H A D | dom_search.h | 58 RefPtr<TextFieldComponent> textFieldComponent_;
|
H A D | dom_textarea.h | 62 RefPtr<TextFieldComponent> textAreaChild_;
|
H A D | dom_node.cpp | 1267 AceType::InstanceOf<TextFieldComponent>(mainComponent) || in CompositeComponents()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | search_composed_element.cpp | 76 auto textFieldComponent = AceType::DynamicCast<TextFieldComponent>(component->GetChild()); in GetColor()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/test/json/ |
H A D | text_field_creator.cpp | 35 auto textField = AceType::MakeRefPtr<TextFieldComponent>(); in CreateFromJson()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_textfield.h | 89 …teDecoration(const RefPtr<BoxComponent>& boxComponent, const RefPtr<TextFieldComponent>& component,
|
H A D | js_textfield.cpp | 1159 const RefPtr<TextFieldComponent>& component, const Border& boxBorder, in UpdateDecoration()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | view_stack_processor.cpp | 652 AceType::InstanceOf<TextFieldComponent>(mainComponent) || in WrapComponents()
|