Home
last modified time | relevance | path

Searched refs:GetSelectedValue (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dcontent_controller.cpp52 auto selectValue = GetSelectedValue(startIndex, endIndex); in PreprocessString()
60 GetSelectedValue(startIndex, endIndex).find(specialChar) == std::string::npos) { in PreprocessString()
101 std::string ContentController::GetSelectedValue(int32_t startIndex, int32_t endIndex) in GetSelectedValue() function in OHOS::Ace::NG::ContentController
388 … return TextEmojiProcessor::IsIndexBeforeOrInEmoji(index, GetSelectedValue(startIndex, endIndex)); in IsIndexBeforeOrInEmoji()
407 return GetSelectedValue(startIndex, endIndex); in GetSelectedLimitValue()
H A Dcontent_controller.h37 std::string GetSelectedValue(int32_t startIndex, int32_t endIndex);
H A Dtext_field_pattern.cpp1487 auto value = contentController_->GetSelectedValue(start, end); in HandleOnCopy()
1687 auto selectedText = contentController_->GetSelectedValue(start, end); in HandleOnCut()
1981 std::string selectedStr = contentController->GetSelectedValue(start, end); in OnDragStart()
4180 auto value = contentController_->GetSelectedValue(start, end); in InsertValueOperation()
5349 auto value = contentController_->GetSelectedValue(start, end); in DeleteBackward()
5380 auto value = contentController_->GetSelectedValue(idx - willDeleteLength, idx); in DeleteBackwardOperation()
5418 auto value = contentController_->GetSelectedValue(start, end); in DeleteForward()
5477 auto stringText = contentController_->GetSelectedValue(start - number, start); in GetLeftTextOfCursor()
5487 auto stringText = contentController_->GetSelectedValue(end, end + number); in GetRightTextOfCursor()
8783 auto value = contentController_->GetSelectedValue(start, end); in OnBackPressed()
[all …]
H A Dtext_field_select_overlay.cpp343 return pattern->GetTextContentController()->GetSelectedValue(start, end); in GetSelectedText()
H A Dtext_field_pattern.h1369 return contentController_->GetSelectedValue(GetPreviewTextStart(), GetPreviewTextEnd()); in GetPreviewTextValue()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/indexer/
H A Dindexer_layout_test_ng.cpp286 EXPECT_EQ(layoutProperty_->GetSelectedValue(), 5);
295 EXPECT_EQ(layoutProperty_->GetSelectedValue(), 0);
304 EXPECT_EQ(layoutProperty_->GetSelectedValue(), 0);
417 EXPECT_EQ(layoutProperty_->GetSelectedValue(), 0);
510 EXPECT_EQ(layoutProperty_->GetSelectedValue(), 0);
564 EXPECT_EQ(layoutProperty_->GetSelectedValue(), 0);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_layout_property.h82 json->PutExtAttr("selected", std::to_string(GetSelectedValue(0)).c_str(), filter); in ToJsonValue()
H A Dtextpicker_model_ng.cpp906 return frameNode->GetLayoutProperty<TextPickerLayoutProperty>()->GetSelectedValue(0); in getTextPickerSelectedIndex()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_field_pattern_testthree.cpp551 auto sentenceContent = contentController->GetSelectedValue(0, spanStr->GetLength());
H A Dtext_field_controller_test.cpp585 auto selectedValue = pattern_->contentController_->GetSelectedValue(1, 4);
H A Dtext_field_pattern_testtwo.cpp166 …pattern->dragValue_= pattern->contentController_->GetSelectedValue(pattern->dragTextStart_, patter…
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_field/
H A Dtext_field_test.cpp683 auto selectedValue = pattern->contentController_->GetSelectedValue(1, 4);