Home
last modified time | relevance | path

Searched refs:preferTextSizeGroups (Results 1 - 4 of 4) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Drosen_render_text.cpp281 const auto& preferTextSizeGroups = textStyle_.GetPreferTextSizeGroups(); in AdaptTextSize() local
282 if (!preferTextSizeGroups.empty()) { in AdaptTextSize()
341 const auto& preferTextSizeGroups = textStyle_.GetPreferTextSizeGroups(); in AdaptPreferTextSizeGroup() local
342 for (const auto& preferTextSizeGroup : preferTextSizeGroups) { in AdaptPreferTextSizeGroup()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_button.cpp258 std::vector<TextSizeGroup> preferTextSizeGroups; in PrepareTextButton() local
259 preferTextSizeGroups.push_back({ buttonTheme_->GetTextStyle().GetFontSize(), 1 }); in PrepareTextButton()
260 preferTextSizeGroups.push_back({ buttonTheme_->GetMinFontSize(), MAX_LINES, TextOverflow::ELLIPSIS }); in PrepareTextButton()
261 textStyle_.SetPreferTextSizeGroups(preferTextSizeGroups); in PrepareTextButton()
/foundation/arkui/ace_engine/frameworks/core/components/dialog/
H A Ddialog_component.cpp676 std::vector<TextSizeGroup> preferTextSizeGroups; in BuildTitleAndContent() local
677 preferTextSizeGroups.push_back({ contentStyle.GetFontSize(), 1 }); in BuildTitleAndContent()
678 preferTextSizeGroups.push_back({ dialogTheme->GetContentMinFontSize(), UINT32_MAX, TextOverflow::NONE }); in BuildTitleAndContent()
679 contentStyle.SetPreferTextSizeGroups(preferTextSizeGroups); in BuildTitleAndContent()
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtext_style.h557 void SetPreferTextSizeGroups(const std::vector<TextSizeGroup>& preferTextSizeGroups) in SetPreferTextSizeGroups() argument
559 preferTextSizeGroups_ = preferTextSizeGroups; in SetPreferTextSizeGroups()

Completed in 8 milliseconds