Home
last modified time | relevance | path

Searched refs:lineStart (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/frameworks/common/
H A Dtext.cpp546 uint32_t lineStart = 0; in GetLetterIndexByPosition() local
563 while ((lineStart < textLen) && (text_[lineStart] != '\0')) { in GetLetterIndexByPosition()
565 …nextLineStart += UIFontAdaptor::GetNextLineAndWidth(&text_[lineStart], fontId_, fontSize_, style.l… in GetLetterIndexByPosition()
575 lineStart = nextLineStart; in GetLetterIndexByPosition()
582 lineStart += in GetLetterIndexByPosition()
583 …UIFontAdaptor::GetNextLineAndWidth(&text_[lineStart], fontId_, fontSize_, style.letterSpace_, widt… in GetLetterIndexByPosition()
585 return (lineStart < textLen) ? lineStart : TEXT_ELLIPSIS_END_INV; in GetLetterIndexByPosition()
H A Dtyped_text.cpp90 …if ((text == nullptr) || (arcTextInfo.lineStart == arcTextInfo.lineEnd) || (arcTextInfo.radius == … in GetArcTextRect()
99 uint32_t i = arcTextInfo.lineStart; in GetArcTextRect()
114 if (tmp == arcTextInfo.lineStart) { in GetArcTextRect()
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_arc_label.cpp332 return TypedText::GetNextLine(&text[arcTextInfo_.lineStart], arcLabelText_->GetFontId(), in GetLineEnd()
375 arcTextInfo_.lineStart = 0; in OnMeasureArcTextInfo()
420 return TypedText::GetTextWidth(&text[arcTextInfo_.lineStart], arcLabelText_->GetFontId(), in GetArcLength()
421 … arcLabelText_->GetFontSize(), (arcTextInfo_.lineEnd - arcTextInfo_.lineStart), in GetArcLength()
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_label.cpp159 …if ((text == nullptr) || (arcTextInfo.lineStart == arcTextInfo.lineEnd) || (arcTextInfo.radius == … in DrawArcText()
171 uint32_t i = arcTextInfo.lineStart; in DrawArcText()
226 if ((index == arcTextInfo.lineStart) && xorFlag) { in CalculateAngle()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/common/
H A Dtext.h94 uint32_t lineStart; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_layout_info.cpp329 auto lineStart = line->second.begin()->second; in GetLineHeights() local
330 if (options.irregularIndexes.find(lineStart) != options.irregularIndexes.end()) { in GetLineHeights()
H A Dgrid_pattern.cpp1445 auto lineStart = line->second.begin()->second; in GetAverageHeight() local
1447 itemCount += (lineEnd - lineStart + 1); in GetAverageHeight()