/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_adapt_font_sizer.cpp | 103 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 D | text_content_modifier.cpp | 131 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 D | text_layout_algorithm.cpp | 142 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 D | multiple_paragraph_layout_algorithm.cpp | 484 … 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 D | option_component.h | 72 SetAllowScale(theme->IsAllowScale()); in SetTheme() 258 bool IsAllowScale() const in IsAllowScale() function 260 return theme_->IsAllowScale(); in IsAllowScale()
|
H A D | option_component.cpp | 113 textStyle.SetAllowScale(IsAllowScale()); in Initialize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | constants_converter.cpp | 504 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 D | select_component.h | 106 bool IsAllowScale() const in IsAllowScale() function 108 return theme_->IsAllowScale(); in IsAllowScale()
|
H A D | select_component.cpp | 111 textStyle.SetAllowScale(theme_->IsAllowScale()); in Initialize()
|
H A D | select_theme.h | 759 bool IsAllowScale() const in IsAllowScale() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/ |
H A D | text_component_v2.cpp | 71 spanStyle.SetAllowScale(textStyle.IsAllowScale()); in CheckAndSetChildStyle()
|
H A D | render_text.cpp | 98 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 D | dom_span.cpp | 75 currentStyle.SetAllowScale(parentStyle.IsAllowScale()); in CheckAndSetCurrentSpanStyle()
|
H A D | dom_option.cpp | 52 selectOptionComponent_->SetAllowScale(theme_->IsAllowScale()); in ResetInitializedStyle()
|
H A D | dom_text.cpp | 86 spanStyle.SetAllowScale(textStyle.IsAllowScale()); in CheckAndSetSpanStyle()
|
H A D | dom_select.cpp | 64 selectComponent_->SetAllowScale(theme_->IsAllowScale()); in InitializeStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | drawing_prop_convertor.cpp | 247 if (textStyle.IsAllowScale() || textStyle.GetFontSize().Unit() == DimensionUnit::FP) { in ToRSTextStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/ |
H A D | render_switch.cpp | 275 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 D | text_field_content_modifier.cpp | 209 if (textStyle.IsAllowScale() && textStyle.GetFontSize().Unit() == DimensionUnit::FP) { in SetDefaultFontSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | text_style.h | 563 bool IsAllowScale() const in IsAllowScale() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | render_text_field.cpp | 344 if ((style_.IsAllowScale() || style_.GetFontSize().Unit() == DimensionUnit::FP) && context) { in Update() 501 …if ((style_.IsAllowScale() || style_.GetFontSize().Unit() == DimensionUnit::FP) && pipelineContext… in PerformLayout()
|