Home
last modified time | relevance | path

Searched refs:textComponent_ (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/coverage/
H A Dcoverage_component.h42 textComponent_->SetData(val); in SetTextVal()
47 return textComponent_->GetData(); in GetTextVal()
57 textComponent_->SetHasLeft(true); in SetX()
58 textComponent_->SetLeft(x); in SetX()
59 textComponent_->SetPositionType(PositionType::PTRELATIVE); in SetX()
64 textComponent_->SetHasTop(true); in SetY()
65 textComponent_->SetTop(y); in SetY()
66 textComponent_->SetPositionType(PositionType::PTRELATIVE); in SetY()
71 return textComponent_->GetLeft(); in GetX()
81 return textComponent_->GetTop(); in GetY()
[all …]
H A Dcoverage_component.cpp32 textComponent_ = AceType::MakeRefPtr<OHOS::Ace::TextComponentV2>(""); in CoverageComponent()
42 auto textStyle = textComponent_->GetTextStyle(); in Initialization()
44 textComponent_->SetTextStyle(textStyle); in Initialization()
45 textBoxComponent_->SetChild(textComponent_); in Initialization()
48 Component::MergeRSNode(alignComponent_, textComponent_); in Initialization()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_option_component.cpp30 textComponent_ = AceType::MakeRefPtr<TextComponent>(""); in PickerOptionComponent()
56 textComponent_->SetData(text_); in Initialize()
57 textComponent_->SetFocusColor(style.GetTextColor()); in Initialize()
58 textComponent_->SetTextStyle(style); in Initialize()
59 textComponent_->SetTextDirection(GetTextDirection()); in Initialize()
69 boxComponent_->SetChild(textComponent_); in Initialize()
H A Drender_picker_option.cpp86 textComponent_ = option->GetTextComponent(); in Update()
112 if (!textComponent_) { in UpdateValue()
117 if (textComponent_->GetData() == text_) { in UpdateValue()
122 textComponent_->SetData(text_); in UpdateValue()
127 renderText_->Update(textComponent_); in UpdateValue()
303 if (renderText_ && textComponent_) { in UpdateTextFocus()
305 textComponent_->SetTextStyle(focusStyle_); in UpdateTextFocus()
309 renderText_->Update(textComponent_); in UpdateTextFocus()
354 textComponent_->SetTextStyle(focusStyle_); in UpdateFocus()
360 renderText_->Update(textComponent_); in UpdateFocus()
[all …]
H A Dpicker_option_component.h85 return textComponent_; in GetTextComponent()
151 RefPtr<TextComponent> textComponent_; variable
H A Drender_picker_option.h110 RefPtr<TextComponent> textComponent_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_svg_text.cpp24 return textComponent_; in GetSpecializedComponent()
29 textComponent_->InsertChild(slot, child->GetSpecializedComponent()); in OnChildNodeAdded()
54 if (!textComponent_) { in PrepareSpecializedComponent()
55 textComponent_ = AceType::MakeRefPtr<SvgTextComponent>(); in PrepareSpecializedComponent()
59 textComponent_->SetDeclaration(declaration); in PrepareSpecializedComponent()
H A Ddom_svg_tspan.cpp26 if (!textComponent_) { in PrepareSpecializedComponent()
27 textComponent_ = AceType::MakeRefPtr<SvgTspanComponent>(); in PrepareSpecializedComponent()
H A Ddom_svg_text.h38 RefPtr<SvgTextComponent> textComponent_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/texttimer/
H A Drender_texttimer.cpp28 textComponent_ = AceType::MakeRefPtr<TextComponent>(std::string("")); in RenderTextTimer()
93 textComponent_->SetTextStyle(timerComponent->GetTextStyle()); in Update()
119 if (!textComponent_) { in UpdateValue()
124 if (textComponent_->GetData() == timerText) { in UpdateValue()
128 textComponent_->SetData(timerText); in UpdateValue()
134 renderText_->Update(textComponent_); in UpdateValue()
H A Drender_texttimer.h52 if (textComponent_) { in GetTextStyle()
53 return textComponent_->GetTextStyle(); in GetTextStyle()
71 RefPtr<TextComponent> textComponent_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Drender_indexer_item.cpp38 textComponent_ = itemComponent->GetTextComponent(); in Update()
207 if (!text || !textComponent_) { in UpdateItemStyle()
218 textComponent_->SetTextStyle(activeStyle_); in UpdateItemStyle()
221 textComponent_->SetTextStyle(normalStyle_); in UpdateItemStyle()
224 text->Update(textComponent_); in UpdateItemStyle()
H A Drender_popup_list_item.cpp41 textComponent_ = AceType::DynamicCast<TextComponent>(boxComponent_->GetChild()); in Update()
42 if (!textComponent_) { in Update()
60 renderText_->Update(textComponent_); in Update()
H A Drender_popup_list_item.h44 RefPtr<TextComponent> textComponent_; variable
H A Drender_indexer_item.h132 RefPtr<TextComponent> textComponent_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Drender_indexer_item.cpp39 textComponent_ = itemComponent->GetTextComponent(); in Update()
254 if (!text || !textComponent_) { in UpdateItemStyle()
276 textComponent_->SetTextStyle(activeStyle_); in UpdateItemStyle()
279 textComponent_->SetTextStyle(normalStyle_); in UpdateItemStyle()
281 text->Update(textComponent_); in UpdateItemStyle()
H A Drender_indexer_item.h137 RefPtr<TextComponent> textComponent_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/counter/
H A Dcounter_component.h74 RefPtr<TextComponent> textComponent_; variable