Home
last modified time | relevance | path

Searched refs:IsAllowScale (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_adapt_font_sizer.cpp103 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in GetAdaptMaxMinFontSize()
105 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in GetAdaptMaxMinFontSize()
116 …ToPxDistribute(textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in GetAdaptFontSizeStep()
163 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in SetAdaptFontSizeLineHeight()
H A Dtext_content_modifier.cpp131 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in SetDefaultFontSize()
142 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in SetDefaultAdaptMinFontSize()
155 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in SetDefaultAdaptMaxFontSize()
224 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in SetDefaultBaselineOffset()
237 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in SetDefaultLineHeight()
739 …ToPxDistribute(textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in SetFontSize()
752 …ToPxDistribute(textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in SetAdaptMinFontSize()
765 …ToPxDistribute(textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in SetAdaptMaxFontSize()
858 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in SetBaselineOffset()
872 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in SetLineHeight()
H A Dtext_layout_algorithm.cpp142 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in MeasureContent()
164 … textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale())); in MeasureContent()
303 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in CreateParagraph()
410 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in AdaptMinTextSize()
412 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in AdaptMinTextSize()
426 …ToPxDistribute(textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in AdaptMinTextSize()
615 …oPxDistribute(textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale())); in BuildTextRaceParagraph()
H A Dmultiple_paragraph_layout_algorithm.cpp484 … textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in UpdateParagraphBySpan()
611 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in AddImageToParagraph()
706 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in ApplyIndent()
717 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in ApplyIndent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/option/
H A Doption_component.h72 SetAllowScale(theme->IsAllowScale()); in SetTheme()
258 bool IsAllowScale() const in IsAllowScale() function
260 return theme_->IsAllowScale(); in IsAllowScale()
H A Doption_component.cpp113 textStyle.SetAllowScale(IsAllowScale()); in Initialize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/
H A Dconstants_converter.cpp504 if (textStyle.IsAllowScale() && textStyle.GetFontSize().Unit() == DimensionUnit::FP) { in ConvertTxtStyle()
734 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in ConvertTxtStyle()
742 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in ConvertTxtStyle()
749 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in ConvertTxtStyle()
751 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in ConvertTxtStyle()
784 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in ConvertTxtStyle()
806 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in ConvertTxtStyle()
851 textStyle.GetMinFontScale(), textStyle.GetMaxFontScale(), textStyle.IsAllowScale()); in ConvertTxtStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select/
H A Dselect_component.h106 bool IsAllowScale() const in IsAllowScale() function
108 return theme_->IsAllowScale(); in IsAllowScale()
H A Dselect_component.cpp111 textStyle.SetAllowScale(theme_->IsAllowScale()); in Initialize()
H A Dselect_theme.h759 bool IsAllowScale() const in IsAllowScale() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Dtext_component_v2.cpp71 spanStyle.SetAllowScale(textStyle.IsAllowScale()); in CheckAndSetChildStyle()
H A Drender_text.cpp98 if (textStyle_.IsAllowScale() || textStyle_.GetFontSize().Unit() == DimensionUnit::FP) { in Update()
204 …if ((textStyle_.IsAllowScale() || textStyle_.GetFontSize().Unit() == DimensionUnit::FP) && pipelin… in PerformLayout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_span.cpp75 currentStyle.SetAllowScale(parentStyle.IsAllowScale()); in CheckAndSetCurrentSpanStyle()
H A Ddom_option.cpp52 selectOptionComponent_->SetAllowScale(theme_->IsAllowScale()); in ResetInitializedStyle()
H A Ddom_text.cpp86 spanStyle.SetAllowScale(textStyle.IsAllowScale()); in CheckAndSetSpanStyle()
H A Ddom_select.cpp64 selectComponent_->SetAllowScale(theme_->IsAllowScale()); in InitializeStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Ddrawing_prop_convertor.cpp247 if (textStyle.IsAllowScale() || textStyle.GetFontSize().Unit() == DimensionUnit::FP) { in ToRSTextStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Drender_switch.cpp275 if (textStyle_.IsAllowScale() || textStyle_.GetFontSize().Unit() == DimensionUnit::FP) { in UpdateRenderText()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_content_modifier.cpp209 if (textStyle.IsAllowScale() && textStyle.GetFontSize().Unit() == DimensionUnit::FP) { in SetDefaultFontSize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtext_style.h563 bool IsAllowScale() const in IsAllowScale() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drender_text_field.cpp344 if ((style_.IsAllowScale() || style_.GetFontSize().Unit() == DimensionUnit::FP) && context) { in Update()
501 …if ((style_.IsAllowScale() || style_.GetFontSize().Unit() == DimensionUnit::FP) && pipelineContext… in PerformLayout()