Home
last modified time | relevance | path

Searched refs:ToWstring (Results 1 – 25 of 56) sorted by relevance

123

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dmutable_span_string.cpp33 return static_cast<int32_t>(StringUtils::ToWstring(str).length()); in GetWStringLength()
148 auto wContent = StringUtils::ToWstring((*it)->content); in HandleSpanOperation()
149 auto wOther = StringUtils::ToWstring(other); in HandleSpanOperation()
228 auto wOther = StringUtils::ToWstring(other); in ProcessSpanBaseList()
268 auto wOther = StringUtils::ToWstring(other); in ReplaceString()
343 auto wOther = StringUtils::ToWstring(other); in InsertString()
364 auto wContent = StringUtils::ToWstring(span->content); in InsertString()
461 auto wStr = StringUtils::ToWstring((*it)->content); in ApplyInsertSpanStringToSpans()
590 int32_t length = static_cast<int32_t>(StringUtils::ToWstring(str).length()); in InsertStringAroundSpecialNode()
595 auto centerStr = StringUtils::ToWstring(str); in InsertStringAroundSpecialNode()
H A Dspan_string.cpp36 return StringUtils::ToWstring(""); in GetWideStringSubstr()
44 return StringUtils::ToWstring(""); in GetWideStringSubstr()
52 std::wstring wideText = StringUtils::ToWstring(text); in SpanString()
55 wideText = StringUtils::ToWstring(text_); in SpanString()
137 auto wString = StringUtils::ToWstring((*it)->content); in SplitSpansAndForward()
173 auto wContent = StringUtils::ToWstring((*it)->content); in ApplyToSpans()
293 auto wStr = StringUtils::ToWstring(spanItem->content); in GetStepsByPosition()
591 spanItem->interval = { 0, StringUtils::ToWstring(text).length() }; in GetDefaultSpanItem()
625 return StringUtils::ToWstring(text_); in GetWideString()
630 return StringUtils::ToWstring(text_).length(); in GetLength()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_preview_text_test_ng.cpp95 auto length = static_cast<int32_t>(StringUtils::ToWstring(PREVIEW_TEXT_VALUE1).length());
151 auto length = static_cast<int32_t>(StringUtils::ToWstring(PREVIEW_TEXT_VALUE2).length());
160 length = static_cast<int32_t>(StringUtils::ToWstring(PREVIEW_TEXT_VALUE3).length());
H A Drich_editor_pattern_test_ng.cpp1010 … int32_t firstLength = static_cast<int32_t>(StringUtils::ToWstring(firstInfo.GetValue()).length());
1013 int32_t lastLength = static_cast<int32_t>(StringUtils::ToWstring(lastInfo.GetValue()).length());
1196 int32_t lastLength = static_cast<int32_t>(StringUtils::ToWstring(lastInfo.GetValue()).length());
1206 … int32_t firstLength = static_cast<int32_t>(StringUtils::ToWstring(firstInfo.GetValue()).length());
1208 lastLength = static_cast<int32_t>(StringUtils::ToWstring(lastInfo.GetValue()).length());
1268 … int32_t firstLength = static_cast<int32_t>(StringUtils::ToWstring(firstInfo.GetValue()).length());
1547 auto start = spanItem->position - StringUtils::ToWstring(spanItem->content).length();
1707 auto start = spanItem->position - StringUtils::ToWstring(spanItem->content).length();
1734 auto start = spanItem->position - StringUtils::ToWstring(spanItem->content).length();
H A Drich_editor_edit_testone_ng.cpp122 auto ret = richEditorPattern->GetSelectedSpanText(StringUtils::ToWstring(INIT_VALUE_1), -1, 1);
123 ret = richEditorPattern->GetSelectedSpanText(StringUtils::ToWstring(INIT_VALUE_1), -1, 10);
124 ret = richEditorPattern->GetSelectedSpanText(StringUtils::ToWstring(INIT_VALUE_1), 0, 1);
175 std::wstring value = StringUtils::ToWstring(ori);
1205 … int32_t firstLength = static_cast<int32_t>(StringUtils::ToWstring(firstInfo.GetValue()).length());
1208 int32_t lastLength = static_cast<int32_t>(StringUtils::ToWstring(lastInfo.GetValue()).length());
H A Drich_editor_common_test_ng.cpp65 spanTextLength += StringUtils::ToWstring(span->content).length(); in AddImageSpan()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Ddata_detector_adapter.cpp260 …if (startPos + AI_TEXT_MAX_LENGTH >= static_cast<int32_t>(StringUtils::ToWstring(textForAI_).lengt… in ParseAIResult()
301 auto wTextForAI = StringUtils::ToWstring(textForAI_); in ParseAIJson()
302 auto wOriText = StringUtils::ToWstring(oriText); in ParseAIJson()
351 auto wTextForAI = StringUtils::ToWstring(dataDetectorAdapter->textForAI_); in GetDetectDelayTask()
361 auto wAIContent = StringUtils::ToWstring(aiContent); in GetDetectDelayTask()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp1322 auto wContent = StringUtils::ToWstring(spanItem->content); in SpanNodeFission()
1352 wss << StringUtils::ToWstring((*iter)->content); in DeleteSpans()
4111 StringUtils::ToWstring(spanItem->content) in SetSubSpansWithAIWrite()
4182 StringUtils::ToWstring(spanItem->content) in SetSubSpans()
5173 std::wstring wContent = StringUtils::ToWstring(content); in IsLineSeparatorInLast()
5183 std::wstring textTemp = StringUtils::ToWstring(text); in InsertValueToSpanNode()
5204 std::wstring textTemp = StringUtils::ToWstring(text); in InsertValueToBeforeSpan()
5496 wss << StringUtils::ToWstring((*iter)->content); in DeleteBackwardOperation()
5566 wss << StringUtils::ToWstring((*iter)->content); in DeleteForwardOperation()
9567 auto wContent = StringUtils::ToWstring(content); in OnBackPressed()
[all …]
H A Drich_editor_layout_algorithm.cpp39 if (StringUtils::ToWstring(span->content).back() == L'\n') { in RichEditorLayoutAlgorithm()
68 if (StringUtils::ToWstring(lastSpan->content).back() == L'\n') { in AppendNewLineSpan()
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dpsue_manager.cpp99 std::string wsStr = ToWstring(ws, src); in Convert()
168 std::string PsueManager::ToWstring(std::wstring &dest, const std::string &src) in ToWstring() function in OHOS::Global::Resource::PsueManager
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/marquee/
H A Drosen_render_marquee.cpp33 auto wstring = StringUtils::ToWstring(text); in GetTextDirection()
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/utils/
H A Dpsue_manager.h37 std::string ToWstring(wstring &dest, const string &src);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_svg_painter.cpp518 std::wstring data = StringUtils::ToWstring(svgTextInfo.data); in UpdateText()
568 std::wstring data = StringUtils::ToWstring(svgTextInfo.data); in UpdateText()
622 std::wstring data = StringUtils::ToWstring(svgTextInfo.data); in UpdateTextPath()
691 std::wstring data = StringUtils::ToWstring(svgTextInfo.data); in UpdateTextPath()
764 std::wstring data = StringUtils::ToWstring(svgTextInfo.data); in MeasureTextBounds()
794 std::wstring data = StringUtils::ToWstring(svgTextInfo.data); in MeasureTextBounds()
824 std::wstring data = StringUtils::ToWstring(svgTextInfo.data); in MeasureTextPathBounds()
860 std::wstring data = StringUtils::ToWstring(svgTextInfo.data); in MeasureTextPathBounds()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dcontent_controller.cpp67 auto wideTmp = StringUtils::ToWstring(tmp); in PreprocessString()
253 std::wstring wFilter = StringUtils::ToWstring(filter); in FilterWithRegex()
254 std::wstring wResult = StringUtils::ToWstring(result); in FilterWithRegex()
H A Dcontent_controller.h51 return StringUtils::ToWstring(content_); in GetWideText()
H A Dtext_editing_value_ng.h45 return StringUtils::ToWstring(text); in GetWideText()
H A Dtext_field_layout_algorithm.cpp583 … static_cast<uint32_t>(showPlaceHolder_ ? 0 : StringUtils::ToWstring(textContent_).length()); in CounterNodeMeasure()
859 …TextFieldPattern::CreateObscuredText(static_cast<int32_t>(StringUtils::ToWstring(splitStr).length(… in CreateParagraph()
898 auto showingTextForWString = StringUtils::ToWstring(content); in GetTextDirection()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Dtext_utils.h79 auto wstring = StringUtils::ToWstring(str); in GetRangeOfSameType()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_layout_algorithm.cpp83 auto wContent = StringUtils::ToWstring(spanItem->content); in ConstructParagraphSpanGroup()
203 auto wTextForAI = StringUtils::ToWstring(textForAI); in UpdateParagraphForAISpan()
642 auto wContent = StringUtils::ToWstring(content); in UpdateSensitiveContent()
H A Dmultiple_paragraph_layout_algorithm.cpp414 auto showingTextForWString = StringUtils::ToWstring(content); in GetTextDirectionByContent()
575 child->length = StringUtils::ToWstring(child->content).length(); in AddTextSpanToParagraph()
H A Dspan_node.cpp360 auto wSpanContent = StringUtils::ToWstring(spanContent); in UpdateTextStyleForAISpan()
387 auto displayContent = StringUtils::ToWstring(aiSpan.content) in UpdateTextStyleForAISpan()
1054 auto contentLen = StringUtils::ToWstring(content).length(); in GetIndex()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ime/
H A Dtext_editing_value.cpp71 return StringUtils::ToWstring(text); in GetWideText()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Dtext_overlay_manager.cpp296 const auto& textBeforeCursor = StringUtils::ToWstring(tempBefore);
300 const auto& textAfterCursor = StringUtils::ToWstring(tempAfter);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drosen_render_text_field.cpp1192 auto showingTextForWString = StringUtils::ToWstring(showingText);
1655 const auto& textBeforeCursor = StringUtils::ToWstring(tempBefore);
1660 const auto& textAfterCursor = StringUtils::ToWstring(tempAfter);
1805 const auto& textBeforeCursor = StringUtils::ToWstring(tempBefore);
1810 const auto& textAfterCursor = StringUtils::ToWstring(tempAfter);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_paint_method.cpp82 auto wText = StringUtils::ToWstring(text); in DrawCalendarText()
543 auto wText = StringUtils::ToWstring(newText); in DrawWeek()

123