Home
last modified time | relevance | path

Searched refs:GetTextStyle (Results 1 – 25 of 174) sorted by relevance

1234567

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtext_model_impl.cpp56 auto textStyle = component->GetTextStyle(); in SetFontSize()
66 auto textStyle = component->GetTextStyle(); in SetTextColor()
80 auto textStyle = component->GetTextStyle(); in SetItalicFontStyle()
90 auto textStyle = component->GetTextStyle(); in SetFontWeight()
104 auto textStyle = component->GetTextStyle(); in SetFontFamily()
114 auto textStyle = component->GetTextStyle(); in SetTextAlign()
123 auto textStyle = component->GetTextStyle(); in SetTextOverflow()
133 auto textStyle = component->GetTextStyle(); in SetMaxLines()
143 auto textStyle = component->GetTextStyle(); in SetTextIndent()
153 auto textStyle = component->GetTextStyle(); in SetLineHeight()
[all …]
H A Dspan_model_impl.cpp32 auto textStyle = spanComponent->GetTextStyle(); in Create()
44 auto textStyle = component->GetTextStyle(); in SetFontSize()
58 auto textStyle = component->GetTextStyle(); in SetTextColor()
71 auto textStyle = component->GetTextStyle(); in SetItalicFontStyle()
86 auto textStyle = component->GetTextStyle(); in SetFontWeight()
101 auto textStyle = component->GetTextStyle(); in SetFontFamily()
115 auto textStyle = component->GetTextStyle(); in SetTextDecoration()
124 auto textStyle = component->GetTextStyle(); in SetTextDecorationColor()
133 auto textStyle = component->GetTextStyle(); in SetTextDecorationStyle()
142 auto textStyle = component->GetTextStyle(); in SetTextCase()
[all …]
H A Dmarquee_model_impl.cpp77 auto textStyle = component->GetTextStyle(); in SetTextColor()
82 textStyle.SetTextColor(textColor.value_or(theme->GetTextStyle().GetTextColor())); in SetTextColor()
90 auto textStyle = component->GetTextStyle(); in SetFontSize()
95 textStyle.SetFontSize(fontSize.value_or(theme->GetTextStyle().GetFontSize())); in SetFontSize()
103 auto textStyle = component->GetTextStyle(); in SetFontWeight()
112 auto textStyle = component->GetTextStyle(); in SetFontFamily()
123 auto textStyle = component->GetTextStyle(); in SetAllowScale()
H A Dtext_clock_model_impl.cpp56 auto textStyle = component->GetTextStyle(); in SetFontSize()
66 auto textStyle = component->GetTextStyle(); in SetTextColor()
76 auto textStyle = component->GetTextStyle(); in SetItalicFontStyle()
86 auto textStyle = component->GetTextStyle(); in SetFontWeight()
96 auto textStyle = component->GetTextStyle(); in SetFontFamily()
H A Dtext_timer_model_impl.cpp65 auto textStyle = component->GetTextStyle(); in SetFontSize()
75 auto textStyle = component->GetTextStyle(); in SetTextColor()
85 auto textStyle = component->GetTextStyle(); in SetItalicFontStyle()
95 auto textStyle = component->GetTextStyle(); in SetFontWeight()
105 auto textStyle = component->GetTextStyle(); in SetFontFamily()
H A Dbutton_model_impl.cpp30 auto textStyle = textComponent->GetTextStyle(); in SetFontSize()
50 auto textStyle = textComponent->GetTextStyle(); in SetFontWeight()
60 auto textStyle = textComponent->GetTextStyle(); in SetFontStyle()
70 auto textStyle = textComponent->GetTextStyle(); in SetFontFamily()
80 auto textStyle = textComponent->GetTextStyle(); in SetFontColor()
112 auto textStyle = buttonTheme ? buttonTheme->GetTextStyle() : textComponent->GetTextStyle(); in CreateWithLabel()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dtext_composed_element.cpp76 renderText ? renderText->GetTextStyle().GetTextAlign() : TextAlign::START; in GetTextAlign()
84 renderText ? renderText->GetTextStyle().GetTextOverflow() : TextOverflow::CLIP; in GetTextOverflow()
92 renderText ? renderText->GetTextStyle().GetMaxLines() : UINT32_MAX; in GetMaxLines()
100 renderText ? renderText->GetTextStyle().GetLineHeight() : Dimension(); in GetLineHeight()
108 renderText ? renderText->GetTextStyle().GetTextDecoration() : TextDecoration::NONE; in GetTextDecoration()
123 renderText ? renderText->GetTextStyle().GetBaselineOffset() : Dimension(); in GetBaseLineOffset()
131 renderText ? renderText->GetTextStyle().GetTextCase() : TextCase::NORMAL; in GetTextCase()
139 renderText ? renderText->GetTextStyle().GetTextColor() : Color::BLACK; in GetTextFontColor()
147 renderText ? renderText->GetTextStyle().GetFontSize() : Dimension(); in GetTextFontSize()
155 renderText ? renderText->GetTextStyle().GetFontStyle() : FontStyle::NORMAL; in GetTextFontStyle()
[all …]
H A Dtext_clock_composed_element.cpp93 renderText ? renderText->GetTextStyle().GetTextColor() : Color::BLACK; in GetTextFontColor()
101 renderText ? renderText->GetTextStyle().GetFontSize() : Dimension(); in GetTextFontSize()
109 renderText ? renderText->GetTextStyle().GetFontStyle() : FontStyle::NORMAL; in GetTextFontStyle()
117 renderText ? renderText->GetTextStyle().GetFontWeight() : FontWeight::NORMAL; in GetTextFontWeight()
124 …auto fontFamily = renderText ? renderText->GetTextStyle().GetFontFamilies() : std::vector<std::str… in GetTextFontFamily()
H A Dtexttimer_composed_element.cpp93 render ? render->GetTextStyle().GetTextColor() : Color::BLACK; in GetFontColor()
100 render ? render->GetTextStyle().GetFontSize() : Dimension(); in GetFontSize()
108 render ? render->GetTextStyle().GetFontWeight() : FontWeight::NORMAL; in GetFontWeight()
116 render ? render->GetTextStyle().GetFontStyle() : FontStyle::NORMAL; in GetFontStyle()
123 … auto fontFamily = render ? render->GetTextStyle().GetFontFamilies() : std::vector<std::string>(); in GetFontFamily()
H A Dbutton_composed_element.cpp94 auto fontSize = render ? render->GetTextStyle().GetFontSize() : Dimension(); in GetFontSize()
108 auto fontWeight = render ? render->GetTextStyle().GetFontWeight() : FontWeight::NORMAL; in GetFontWeight()
122 auto fontColor = render ? render->GetTextStyle().GetTextColor() : Color::BLACK; in GetFontColor()
H A Dindexer_composed_element.cpp110 … auto popupColor = render ? render->GetBubbleText()->GetTextStyle().GetTextColor() : Color::BLACK; in GetPopupColor()
185 auto fontSize = render ? render->GetBubbleText()->GetTextStyle().GetFontSize() : Dimension(); in GetPopupFont()
186 …auto fontStyle = render ? render->GetBubbleText()->GetTextStyle().GetFontStyle() : FontStyle::NORM… in GetPopupFont()
187 …auto fontWeight = render ? render->GetBubbleText()->GetTextStyle().GetFontWeight() : FontWeight::N… in GetPopupFont()
188 …auto fontFamily = render ? render->GetBubbleText()->GetTextStyle().GetFontFamilies() : std::vector… in GetPopupFont()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_texttimer.cpp127 TextTimerModel::GetInstance()->SetFontSize(textTheme->GetTextStyle().GetFontSize()); in SetFontDefault()
128 TextTimerModel::GetInstance()->SetTextColor(textTheme->GetTextStyle().GetTextColor()); in SetFontDefault()
129 TextTimerModel::GetInstance()->SetFontFamily(textTheme->GetTextStyle().GetFontFamilies()); in SetFontDefault()
130 TextTimerModel::GetInstance()->SetFontWeight(textTheme->GetTextStyle().GetFontWeight()); in SetFontDefault()
131 TextTimerModel::GetInstance()->SetItalicFontStyle(textTheme->GetTextStyle().GetFontStyle()); in SetFontDefault()
181 fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
189 fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
205 textColor = theme->GetTextStyle().GetTextColor(); in SetTextColor()
232 TextTimerModel::GetInstance()->SetFontWeight(textTheme->GetTextStyle().GetFontWeight()); in SetFontWeight()
245 TextTimerModel::GetInstance()->SetFontWeight(textTheme->GetTextStyle().GetFontWeight()); in SetFontWeight()
H A Djs_symbol_span.cpp58 CalcDimension fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
60 fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
65 fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
H A Djs_piece.cpp148 auto textStyle = component->GetTextStyle(); in SetTextColor()
164 auto textStyle = component->GetTextStyle(); in SetFontSize()
177 auto textStyle = component->GetTextStyle(); in SetFontStyle()
191 auto textStyle = component->GetTextStyle(); in SetFontWeight()
207 auto textStyle = component->GetTextStyle(); in SetFontFamily()
H A Djs_text_clock.cpp149 TextClockModel::GetInstance()->InitFontDefault(textTheme->GetTextStyle()); in SetFontDefault()
162 textColor = theme->GetTextStyle().GetTextColor(); in SetTextColor()
180 fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
188 fontSize = theme->GetTextStyle().GetFontSize(); in SetFontSize()
203 TextClockModel::GetInstance()->SetFontWeight(textTheme->GetTextStyle().GetFontWeight()); in SetFontWeight()
216 TextClockModel::GetInstance()->SetFontWeight(textTheme->GetTextStyle().GetFontWeight()); in SetFontWeight()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/textarea/
H A Dtextarea_declaration.cpp60 textFieldDeclaration_->GetTextStyle().SetTextColor(theme->GetTextColor()); in InitializeStyle()
61 textFieldDeclaration_->GetTextStyle().SetFontSize(theme->GetFontSize()); in InitializeStyle()
62 textFieldDeclaration_->GetTextStyle().SetFontWeight(theme->GetFontWeight()); in InitializeStyle()
63 textFieldDeclaration_->GetTextStyle().SetFontFamilies({ in InitializeStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_span.cpp40 TextStyle spanStyle = spanComponent->GetTextStyle(); in ResetInitializedStyle()
41 CheckAndSetCurrentSpanStyle(domSpan, spanStyle, textSpanChild_->GetTextStyle()); in ResetInitializedStyle()
93 TextStyle parentSpanStyle = textSpanChild_->GetTextStyle(); in OnChildNodeAdded()
100 TextStyle currentSpanStyle = spanComponent->GetTextStyle(); in OnChildNodeAdded()
H A Ddom_text.cpp46 TextStyle spanStyle = spanComponent->GetTextStyle(); in CheckAndSetAllSpanStyle()
60 const auto& textStyle = textDeclaration->GetTextStyle(); in CheckAndSetSpanStyle()
104 TextStyle spanStyle = spanComponent->GetTextStyle(); in OnChildNodeAdded()
154 switch (textDeclaration->GetTextStyle().GetTextAlign()) { in SetBoxAlignForText()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dselect_modifier.cpp152 std::vector<std::string> fontFamilies = textTheme->GetTextStyle().GetFontFamilies(); in SetFont()
184 FontWeight weight = textTheme->GetTextStyle().GetFontWeight(); in SetOptionFont()
190 std::vector<std::string> fontFamilies = textTheme->GetTextStyle().GetFontFamilies(); in SetOptionFont()
222 FontWeight weight = textTheme->GetTextStyle().GetFontWeight(); in SetSelectedOptionFont()
228 std::vector<std::string> fontFamilies = textTheme->GetTextStyle().GetFontFamilies(); in SetSelectedOptionFont()
335 SelectModelNG::SetFontFamily(frameNode, textTheme->GetTextStyle().GetFontFamilies()); in ResetFont()
336 SelectModelNG::SetItalicFontStyle(frameNode, textTheme->GetTextStyle().GetFontStyle()); in ResetFont()
350 SelectModelNG::SetOptionFontWeight(frameNode, textTheme->GetTextStyle().GetFontWeight()); in ResetOptionFont()
351 SelectModelNG::SetOptionFontFamily(frameNode, textTheme->GetTextStyle().GetFontFamilies()); in ResetOptionFont()
352 SelectModelNG::SetOptionItalicFontStyle(frameNode, textTheme->GetTextStyle().GetFontStyle()); in ResetOptionFont()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/piece/
H A Dpiece_component.cpp86 const TextStyle& PieceComponent::GetTextStyle() const in GetTextStyle() function in OHOS::Ace::PieceComponent
88 return declaration_->GetTextStyle(); in GetTextStyle()
215 text->SetTextStyle(GetTextStyle()); in SetText()
216 text->SetFocusColor(GetTextStyle().GetTextColor()); in SetText()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Dtext_component.cpp49 TextStyle declarationStyle = declaration_->GetTextStyle(); in Compare()
50 TextStyle textStyle = text->GetTextStyle(); in Compare()
96 const TextStyle& TextComponent::GetTextStyle() const in GetTextStyle() function in OHOS::Ace::TextComponent
98 return declaration_->GetTextStyle(); in GetTextStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stepper/
H A Dstepper_component.cpp85 labelsTextStyles_.insert(textIter, item->GetTextStyle()); in InsertChild()
96 AppendTextStyle(item->GetTextStyle()); in AppendChild()
110 AppendTextStyle(item->GetTextStyle()); in AppendChild()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/
H A Dstepper_pattern.cpp192 textLayoutProperty->UpdateTextColor(stepperTheme->GetTextStyle().GetTextColor()); in CreateLeftButtonNode()
194 textLayoutProperty->UpdateFontSize(stepperTheme->GetTextStyle().GetFontSize()); in CreateLeftButtonNode()
196 textLayoutProperty->UpdateAdaptMaxFontSize(stepperTheme->GetTextStyle().GetFontSize()); in CreateLeftButtonNode()
197 textLayoutProperty->UpdateFontWeight(stepperTheme->GetTextStyle().GetFontWeight()); in CreateLeftButtonNode()
326 auto textColor = stepperTheme->GetTextStyle().GetTextColor(); in CreateArrowRightButtonNode()
332 textLayoutProperty->UpdateFontSize(stepperTheme->GetTextStyle().GetFontSize()); in CreateArrowRightButtonNode()
335 textLayoutProperty->UpdateFontWeight(stepperTheme->GetTextStyle().GetFontWeight()); in CreateArrowRightButtonNode()
422 textLayoutProperty->UpdateFontSize(stepperTheme->GetTextStyle().GetFontSize()); in CreateArrowlessRightButtonNode()
426 textLayoutProperty->UpdateFontWeight(stepperTheme->GetTextStyle().GetFontWeight()); in CreateArrowlessRightButtonNode()
427 auto textColor = stepperTheme->GetTextStyle().GetTextColor(); in CreateArrowlessRightButtonNode()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/texttimer/
H A Drender_texttimer.h50 TextStyle GetTextStyle() const in GetTextStyle() function
53 return textComponent_->GetTextStyle(); in GetTextStyle()
H A Dtexttimer_component.cpp71 const TextStyle& TextTimerComponent::GetTextStyle() const in GetTextStyle() function in OHOS::Ace::TextTimerComponent
73 return declaration_->GetTextStyle(); in GetTextStyle()

1234567