Home
last modified time | relevance | path

Searched refs:UpdateSelection (Results 1 - 19 of 19) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/common/ime/
H A Dtext_editing_value.h55 void UpdateSelection(int32_t both);
56 void UpdateSelection(int32_t start, int32_t end);
H A Dtext_editing_value.cpp117 void TextEditingValue::UpdateSelection(int32_t both) in UpdateSelection() function in OHOS::Ace::TextEditingValue
119 UpdateSelection(both, both); in UpdateSelection()
122 void TextEditingValue::UpdateSelection(int32_t start, int32_t end) in UpdateSelection() function in OHOS::Ace::TextEditingValue
/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_text_editing_value.cpp47 void TextEditingValue::UpdateSelection(int32_t both) {} in UpdateSelection() function in OHOS::Ace::TextEditingValue
49 void TextEditingValue::UpdateSelection(int32_t start, int32_t end) {} in UpdateSelection() function in OHOS::Ace::TextEditingValue
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_text_field.cpp103 UpdateSelection(std::clamp(selectController_->GetStartIndex(), 0, textWidth), in ProcessSelection()
126 UpdateSelection(0); in SearchRequestStopTwinkling()
/foundation/arkui/ace_engine/test/unittest/core/common/ime/
H A Dime_test.cpp355 * @tc.desc: Test an invalid start of UpdateSelection.
365 textEditingValue.UpdateSelection(-1, 0); in HWTEST_F()
372 * @tc.desc: Test end length is greater than text length of UpdateSelection.
383 textEditingValue.UpdateSelection(LESS_THAN_TEXT_LENGTH, GREATER_THAN_TEXT_LENGTH); in HWTEST_F()
401 textEditingValue.UpdateSelection(LESS_THAN_TEXT_LENGTH, GREATER_THAN_TEXT_LENGTH); in HWTEST_F()
422 textEditingValue.UpdateSelection(LESS_THAN_TEXT_LENGTH, GREATER_THAN_TEXT_LENGTH); in HWTEST_F()
529 textEditingValue.UpdateSelection(-1, GREATER_THAN_TEXT_LENGTH); in HWTEST_F()
537 textEditingValue.UpdateSelection(LESS_THAN_TEXT_LENGTH, GREATER_THAN_TEXT_LENGTH); in HWTEST_F()
574 textEditingValue.UpdateSelection(-1, GREATER_THAN_TEXT_LENGTH); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drender_text_field.cpp305 textField->UpdateSelection(caretPosition); in Update()
605 UpdateSelection(start, end); in HandleMouseEvent()
956 UpdateSelection(selection.GetStart(), selection.GetEnd()); in OnDoubleClick()
1339 UpdateSelection(GetEditingValue().selection.GetEnd()); in CloseKeyboard()
1401 UpdateSelection(start, end); in HandleSetSelection()
1410 UpdateSelection(0, end); in HandleExtendAction()
1757 valueNeedToUpdate.UpdateSelection( in HandleValueFilter()
1836 textEditingValue->UpdateSelection(std::max(value.selection.GetStart(), 0) + 1); in PerformAction()
2282 UpdateSelection(lastPosition, lastPosition); in HandleOnBlur()
2294 UpdateSelection(positio in CursorMoveOnClick()
2302 void RenderTextField::UpdateSelection(int32_t both) UpdateSelection() function in OHOS::Ace::RenderTextField
2307 void RenderTextField::UpdateSelection(int32_t start, int32_t end) UpdateSelection() function in OHOS::Ace::RenderTextField
[all...]
H A Don_text_changed_listener_impl.cpp52 textEditingValue->UpdateSelection(std::max(value.selection.GetStart(), 0) + text.length()); in InsertText()
80 textEditingValue->UpdateSelection(start, end); in DeleteForward()
150 textEditingValue->UpdateSelection(start, end); in DeleteBackward()
H A Drender_text_field.h506 void UpdateSelection(int32_t both);
507 void UpdateSelection(int32_t start, int32_t end);
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Dtext_overlay_manager.cpp517 textValue_.UpdateSelection(extend, extendEnd);
523 textValue_.UpdateSelection(extend, end);
529 textValue_.UpdateSelection(start, extend);
534 textValue_.UpdateSelection(start, end);
/foundation/arkui/ace_engine/adapter/preview/entrance/editing/
H A Dtext_input_client_mgr.cpp64 textEditingValue->UpdateSelection(std::max(textEditingValue_.selection.GetStart(), 0) + appendElement.length()); in AddCharacter()
/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Drender_text.cpp313 textValue_.UpdateSelection(0, textValue_.GetWideText().length()); in OnTouchTestHit()
693 textValue_.UpdateSelection(0, 0); in HandleOnCopy()
700 textValue_.UpdateSelection(0, textSize); in HandleOnCopyAll()
1142 textValue_.UpdateSelection(0, 0); in PanOnActionEnd()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp1019 UpdateSelection(start, end); in HandleSetSelection()
1440 UpdateSelection(0, textSize); in HandleOnSelectAll()
1442 UpdateSelection(0, textSize); in HandleOnSelectAll()
1702 UpdateSelection(start); in HandleOnCut()
1717 void TextFieldPattern::UpdateSelection(int32_t both) in UpdateSelection() function in OHOS::Ace::NG::TextFieldPattern
1719 UpdateSelection(both, both); in UpdateSelection()
1722 void TextFieldPattern::UpdateSelection(int32_t start, int32_t end) in UpdateSelection() function in OHOS::Ace::NG::TextFieldPattern
2914 UpdateSelection(std::clamp(selectController_->GetStartIndex(), 0, textWidth), in ProcessSelection()
4854 UpdateSelection(start); in Delete()
5473 UpdateSelection(selectController in HandleSelectionUp()
[all...]
H A Dtext_field_pattern.h1562 void UpdateSelection(int32_t both);
1563 void UpdateSelection(int32_t start, int32_t end);
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/
H A Dbackup_database_utils.h74 static void UpdateSelection(std::string &selection, const std::string &selectionToAdd, bool needWrap = false);
/foundation/multimedia/media_library/frameworks/js/src/
H A Dalbum_napi.cpp709 static void UpdateSelection(AlbumNapiAsyncContext *context) in UpdateSelection() function
747 UpdateSelection(context); in GetFileAssetsNative()
H A Dsmart_album_napi.cpp1118 static void UpdateSelection(SmartAlbumNapiAsyncContext *context) in UpdateSelection() function
1152 UpdateSelection(context); in GetFileAssetsNative()
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dupgrade_restore.cpp1007 BackupDatabaseUtils::UpdateSelection(tagIdSelection, portraitAlbumInfo.tagIdNew, true); in BatchQueryAlbum()
1032 BackupDatabaseUtils::UpdateSelection(selection, std::to_string(fileInfo.fileIdOld), false); in NeedBatchQueryPhotoForPortrait()
1117 BackupDatabaseUtils::UpdateSelection(hashSelection, fileInfo.hashCode, true); in SetHashReference()
H A Dbackup_database_utils.cpp344 void BackupDatabaseUtils::UpdateSelection(std::string &selection, const std::string &selectionToAdd, bool needWrap) in UpdateSelection() function in OHOS::Media::BackupDatabaseUtils
H A Dclone_restore.cpp1048 BackupDatabaseUtils::UpdateSelection(selection, fileInfos[index].cloudPath, true); in BatchQueryPhoto()
1621 BackupDatabaseUtils::UpdateSelection(selection, to_string(fileInfo.fileIdOld), false); in SetFileIdReference()

Completed in 40 milliseconds