Home
last modified time | relevance | path

Searched refs:newText (Results 1 - 9 of 9) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/common/ime/
H A Dtext_edit_controller.h28 void SetText(const std::string& newText, bool needFireChangeEvent = true) in SetText() argument
31 if (value.text != newText) { in SetText()
32 value.text = newText; in SetText()
H A Dtext_editing_value.h75 void Append(const std::string& newText);
H A Dtext_editing_value.cpp276 void TextEditingValue::Append(const std::string& newText) in Append() argument
278 text = text + newText; in Append()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_edit_text.cpp246 std::string newText = convert.to_bytes(newWideText); in UpdateTextString() local
247 CheckValueChange(newText); in UpdateTextString()
248 textStr_ = newText; in UpdateTextString()
562 std::string newText = convert.to_bytes(newWideText); in InsertTextByCursorIndex() local
564 SetText(newText); in InsertTextByCursorIndex()
651 std::string newText; in DeleteBackward() local
661 newText = convert.to_bytes(wideText); in DeleteBackward()
668 SetText(newText); in DeleteBackward()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_paint_method.cpp78 std::string newText { text }; in DrawCalendarText()
82 newText = StringUtils::ToString(wText); in DrawCalendarText()
83 newText += ELLIPSIS; in DrawCalendarText()
86 auto paragraph = GetTextParagraph(newText, textStyle); in DrawCalendarText()
539 std::string newText { weekNumbers_[(startDayOfWeek + 1) % daysOfWeek] }; in DrawWeek()
540 auto wText = StringUtils::ToWstring(newText); in DrawWeek()
543 newText = StringUtils::ToString(wText); in DrawWeek()
545 DrawCalendarText(&canvas, newText, weekTextStyle, boxRect); in DrawWeek()
/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_text_editing_value.cpp79 void TextEditingValue::Append(const std::string& newText) {} in Append() argument
/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Drender_picker_option.h41 void UpdateValue(uint32_t newIndex, const std::string& newText);
H A Drender_picker_option.cpp108 void RenderPickerOption::UpdateValue(uint32_t newIndex, const std::string& newText) in UpdateValue() argument
111 text_ = newText; in UpdateValue()
/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Drosen_render_calendar.cpp76 std::string newText { text }; in GetTextParagraph()
80 newText = StringUtils::ToString(wText); in GetTextParagraph()
81 newText += ELLIPSIS; in GetTextParagraph()
84 auto paragraph = GetTextParagraph(newText, textStyle); in GetTextParagraph()
318 std::string newText { weekNumbers_[(startDayOfWeek + 1) % daysOfWeek] }; in DrawWeek()
319 auto wText = StringUtils::ToWstring(newText); in DrawWeek()
322 newText = StringUtils::ToString(wText); in DrawWeek()
324 DrawCalendarText(canvas, newText, weekTextStyle, boxRect); in DrawWeek()

Completed in 7 milliseconds