Home
last modified time | relevance | path

Searched refs:textSize_ (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/badge/
H A Drosen_render_badge.cpp42 if (LessOrEqual(textSize_.Height(), badgeHeight_)) { in Paint()
158 textSize_ = CalculateTextSize(textData_, textStyle_, badgeRenderText_); in DrawNumericalBadge()
171 badgeWidth_ = textSize_.Width() + NormalizeToPx(NUMERICAL_BADGE_PADDING) * 2; in DrawNumericalBadge()
193 textSize_ = CalculateTextSize(textData_, textStyle_, badgeRenderText_); in DrawNumericalBadge()
206 badgeWidth_ = textSize_.Width() + NormalizeToPx(NUMERICAL_BADGE_PADDING) * 2; in DrawNumericalBadge()
244 …auto textPos = Alignment::GetAlignPosition(Size(badgeWidth_, badgeHeight_), textSize_, Alignment::… in PaintText()
H A Drosen_render_badge.h62 Size textSize_; variable
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/
H A Dtext.cpp32 textSize_({0, 0}), in Text()
211textSize_ = TypedText::GetTextSize(text_, fontId_, fontSize_, style.letterSpace_, style.lineHeight… in ReMeasureTextSize()
218 textSize_.y += fontSize_ - head.ascender; in ReMeasureTextSize()
226 int16_t lineMaxWidth = expandWidth_ ? textSize_.x : textRect.GetWidth(); in ReMeasureTextWidthInEllipsisMode()
229 if ((lineCount > 0) && (textSize_.x < textLine_[lineCount - 1].linePixelWidth)) { in ReMeasureTextWidthInEllipsisMode()
230 textSize_.x = textLine_[lineCount - 1].linePixelWidth; in ReMeasureTextWidthInEllipsisMode()
272 int16_t lineMaxWidth = expandWidth_ ? textSize_.x : coords.GetWidth(); in Draw()
489 if (textSize_.y <= textRect.GetHeight()) { in GetEllipsisIndex()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/progress/
H A Dprogress_theme.h100 theme->textSize_ = pattern->GetAttr<Dimension>("progress_text_size", 12.0_fp); in ParsePattern()
271 return textSize_; in GetTextSize()
374 Dimension textSize_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/chart/
H A Dchart_component.h536 return textSize_; in GetTextSize()
541 textSize_ = textSize; in SetTextSize()
571 double textSize_ = 18.0; variable
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_arc_label.cpp144 textSize_({0, 0}),
320 textSize_.x = arcTextWidth; in ReMeasure()
321 textSize_.y = arcTextHeight; in ReMeasure()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/common/
H A Dtext.h366 return textSize_; in GetTextSize()
610 Point textSize_; variable
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_arc_label.h441 Point textSize_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_chart.h222 double textSize_ = 18.0; variable
H A Ddom_chart.cpp159 chart.textSize_ = StringToDouble(val); in SetSpecializedStyle()
243 chartDataset.SetTextSize(textSize_); in SetChart()