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 D | content_controller.cpp | 52 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 D | content_controller.h | 37 std::string GetSelectedValue(int32_t startIndex, int32_t endIndex);
|
H A D | text_field_pattern.cpp | 1487 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 D | text_field_select_overlay.cpp | 343 return pattern->GetTextContentController()->GetSelectedValue(start, end); in GetSelectedText()
|
H A D | text_field_pattern.h | 1369 return contentController_->GetSelectedValue(GetPreviewTextStart(), GetPreviewTextEnd()); in GetPreviewTextValue()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/indexer/ |
H A D | indexer_layout_test_ng.cpp | 286 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 D | textpicker_layout_property.h | 82 json->PutExtAttr("selected", std::to_string(GetSelectedValue(0)).c_str(), filter); in ToJsonValue()
|
H A D | textpicker_model_ng.cpp | 906 return frameNode->GetLayoutProperty<TextPickerLayoutProperty>()->GetSelectedValue(0); in getTextPickerSelectedIndex()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_pattern_testthree.cpp | 551 auto sentenceContent = contentController->GetSelectedValue(0, spanStr->GetLength());
|
H A D | text_field_controller_test.cpp | 585 auto selectedValue = pattern_->contentController_->GetSelectedValue(1, 4);
|
H A D | text_field_pattern_testtwo.cpp | 166 …pattern->dragValue_= pattern->contentController_->GetSelectedValue(pattern->dragTextStart_, patter…
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_field/ |
H A D | text_field_test.cpp | 683 auto selectedValue = pattern->contentController_->GetSelectedValue(1, 4);
|