Home
last modified time | relevance | path

Searched refs:textValue_ (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dinput_button_component.cpp53 ACE_FREE(textValue_); in ReleaseNativeViews()
63 ACE_FREE(textValue_); in SetPrivateAttribute()
64 textValue_ = MallocStringOf(attrValue); in SetPrivateAttribute()
208 if (textValue_ != nullptr && fontFamily_ != nullptr) { in PostRender()
210 button_.SetText(textValue_); in PostRender()
238 if (textValue_ != nullptr) { in PostUpdate()
239 button_.SetText(textValue_); in PostUpdate()
H A Dtext_component.cpp34 textValue_(nullptr), in TextComponent()
67 ACE_FREE(textValue_); in ReleaseNativeViews()
85 ACE_FREE(textValue_); in SetPrivateAttribute()
86 textValue_ = MallocStringOf(attrValue); in SetPrivateAttribute()
293 if (textValue_ != nullptr && fontFamily_ != nullptr) { in OnViewAttached()
295 uiLabel_.SetText(textValue_); in OnViewAttached()
312 if (textValue_ != nullptr) { in PostUpdate()
313 uiLabel_.SetText(textValue_); in PostUpdate()
402 SpannableString spanString(textValue_); in SetRichTextSpan()
H A Dinput_button_component.h41 textValue_(nullptr), in InputButtonComponent()
77 char *textValue_; variable
H A Dtext_component.h93 char* textValue_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Dtext_overlay_manager.cpp92 if (!paragraph_ || textValue_.text.empty()) {
96 auto boxes = paragraph_->GetRectsForRange(0, textValue_.GetWideText().length(),
162 while (boxes.empty() && !textValue_.text.empty()) {
298 …std::string tempAfter = textValue_.GetSelectedText(TextSelection(position, textValue_.GetWideText(…
338 if (computeSuccess && !textValue_.text.empty()) {
453 const auto& selection = textValue_.selection;
520 textValue_.UpdateSelection(extend, extendEnd);
526 textValue_.UpdateSelection(extend, end);
532 textValue_.UpdateSelection(start, extend);
537 textValue_.UpdateSelection(start, end);
[all …]
H A Dtext_overlay_manager.h182 TextEditingValue textValue_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Drender_text.cpp111 textValue_.text = text_->GetData(); in Update()
319 textValue_.UpdateSelection(0, textValue_.GetWideText().length()); in OnTouchTestHit()
528 auto selStart = textValue_.selection.GetStart(); in ShowTextOverlay()
529 auto selEnd = textValue_.selection.GetEnd(); in ShowTextOverlay()
647 auto selEnd = textValue_.selection.GetEnd(); in UpdateOverlay()
689 if (textValue_.GetSelectedText().empty()) { in HandleOnCopy()
699 textValue_.UpdateSelection(0, 0); in HandleOnCopy()
705 auto textSize = textValue_.GetWideText().length(); in HandleOnCopyAll()
706 textValue_.UpdateSelection(0, textSize); in HandleOnCopyAll()
956 return textValue_.GetSelectedText(); in GetSelectedContent()
[all …]
H A Drender_text.h110 return textValue_.selection; in GetTextSelect()
116 return textValue_; in GetTextValue()
H A Drosen_render_text.cpp556 textValue_.text = textValue; in UpdateParagraph()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_content_modifier.cpp176 textValue_ = AceType::MakeRefPtr<PropertyString>(""); in SetDefaultPropertyValue()
188 AttachProperty(textValue_); in SetDefaultPropertyValue()
376 if (textValue_->Get() != value) { in SetTextValue()
377 textValue_->Set(value); in SetTextValue()
H A Dtext_field_content_modifier.h112 RefPtr<PropertyString> textValue_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Daccessibility_property.cpp725 textValue_ = textValue; in SetUserTextValue()
730 return textValue_.has_value(); in HasUserTextValue()
735 return textValue_.value_or(""); in GetUserTextValue()
H A Daccessibility_property.h804 std::optional<std::string> textValue_; variable