Searched refs:textData_ (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/badge/ |
H A D | rosen_render_badge.cpp | 158 textSize_ = CalculateTextSize(textData_, textStyle_, badgeRenderText_); in DrawNumericalBadge() 165 if (!textData_.empty() || messageCount > 0) { in DrawNumericalBadge() 166 if ((textData_.size() <= 1 && textData_.size() > 0) || in DrawNumericalBadge() 167 ((messageCount < 10 && messageCount <= countLimit) && textData_.empty())) { in DrawNumericalBadge() 170 } else if (textData_.size() > 1 || messageCount > countLimit) { in DrawNumericalBadge() 193 textSize_ = CalculateTextSize(textData_, textStyle_, badgeRenderText_); in DrawNumericalBadge() 200 if (!textData_.empty() || messageCount > 0) { in DrawNumericalBadge() 201 if ((textData_.size() <= 1 && textData_.size() > 0) || in DrawNumericalBadge() 202 ((messageCount < 10 && messageCount <= countLimit) && textData_.empty())) { in DrawNumericalBadge() 205 } else if (textData_.size() > 1 || messageCount > countLimit) { in DrawNumericalBadge() [all …]
|
H A D | render_badge.cpp | 96 textData_.clear(); in Update() 101 badgeTextComponent_ = AceType::MakeRefPtr<TextComponent>(textData_); in Update() 178 textData_ = label.value(); in ParseBadgeStatus() 186 textData_ = std::to_string(countLimit) + '+'; in ParseBadgeStatus() 188 textData_ = std::to_string(messageCount); in ParseBadgeStatus() 208 badgeTextComponent_->SetData(textData_); in UpdateBadgeText()
|
H A D | render_badge.h | 59 std::string textData_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | rosen_render_svg_text.cpp | 77 if (!textData_.empty()) { in MeasureTextBounds() 118 if (!textData_.empty()) { in DrawText() 150 std::string text = isDrawSpace_ ? " " + textData_ : textData_; in OnDrawText() 160 std::string text = isDrawSpace_ ? " " + textData_ : textData_; in OnMeasureTextBounds()
|
H A D | render_svg_text_path.h | 39 return textData_; in GetTextData() 44 textData_ = textData; in SetTextData() 70 std::string textData_; variable
|
H A D | render_svg_text.h | 53 return textData_; in GetTextData() 58 textData_ = textData; in SetTextData() 91 std::string textData_; variable
|
H A D | rosen_render_svg_text_path.cpp | 51 if (!textData_.empty()) { in MeasureTextPathBounds() 95 if (!textData_.empty()) { in DrawTextPath() 119 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, textData_, opacity_ }; in OnDrawTextPath() 127 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, textData_, opacity_ }; in OnMeasureTextPathBounds()
|
H A D | rosen_render_svg_tspan.cpp | 86 if (!textData_.empty()) { in DrawTextPath() 112 if (!textData_.empty()) { in MeasureTextPathBounds() 139 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, textData_, opacity_ }; in OnDrawTextPath() 147 SvgTextInfo svgTextInfo = { fillState_, strokeState_, textStyle_, textData_, opacity_ }; in OnMeasureTextPathBounds()
|
H A D | render_svg_text_path.cpp | 37 textData_ = textPathComponent->GetTextData(); in Update()
|
H A D | render_svg_text.cpp | 42 textData_ = textComponent->GetTextData(); in Update()
|