Searched refs:GetWideStringSubstr (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | mutable_span_string.cpp | 160 (*it)->content = StringUtils::ToString(wOther + GetWideStringSubstr(wContent, length)); in HandleSpanOperation() 188 … GetWideStringSubstr(wContent, end - spanItemStart)); in HandleSpanOperation() 192 (*it)->content = StringUtils::ToString(GetWideStringSubstr(wContent, end - spanItemStart)); in HandleSpanOperation() 345 text = GetWideStringSubstr(text, 0, start) + wOther + GetWideStringSubstr(text, start); in InsertString() 367 … GetWideStringSubstr(wContent, start - spanItemStart)); in InsertString() 372 … GetWideStringSubstr(wContent, start - spanItemStart)); in InsertString() 462 … newSpanItem->content = StringUtils::ToString(GetWideStringSubstr(wStr, start - spanItemStart)); in ApplyInsertSpanStringToSpans() 464 … (*it)->content = StringUtils::ToString(GetWideStringSubstr(wStr, 0, start - spanItemStart)); in ApplyInsertSpanStringToSpans() 525 …GetWideStringSubstr(wContent, 0, start) + spanString->GetWideString() + GetWideStringSubstr(wConte… in InsertSpanString() 594 auto beforeStr = GetWideStringSubstr(GetWideString(), 0, start); in InsertStringAroundSpecialNode() [all …]
|
H A D | span_string.cpp | 33 std::wstring SpanString::GetWideStringSubstr(const std::wstring& content, int32_t start, int32_t le… in GetWideStringSubstr() function in OHOS::Ace::SpanString 41 std::wstring SpanString::GetWideStringSubstr(const std::wstring& content, int32_t start) in GetWideStringSubstr() function in OHOS::Ace::SpanString 144 (*it)->content = StringUtils::ToString(GetWideStringSubstr(wString, 0, newlineIndex + 1)); in SplitSpansAndForward() 145 wString = GetWideStringSubstr(wString, newlineIndex + 1); in SplitSpansAndForward() 410 auto substr = StringUtils::ToString(GetWideStringSubstr(text, 0, tmpStart)); in ChangeStartToCorrectNum() 419 substr = StringUtils::ToString(GetWideStringSubstr(text, 0, tmpStart)); in ChangeStartToCorrectNum() 435 auto substr = StringUtils::ToString(GetWideStringSubstr(text, end)); in ChangeEndToCorrectNum() 444 substr = StringUtils::ToString(GetWideStringSubstr(text, tmpEnd)); in ChangeEndToCorrectNum()
|
H A D | span_string.h | 107 static std::wstring GetWideStringSubstr(const std::wstring& content, int32_t start); 108 …static std::wstring GetWideStringSubstr(const std::wstring& content, int32_t start, int32_t length…
|