/foundation/arkui/ace_engine/frameworks/core/common/ime/ |
H A D | text_editing_value.h | 55 void UpdateSelection(int32_t both); 56 void UpdateSelection(int32_t start, int32_t end);
|
H A D | text_editing_value.cpp | 117 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 D | mock_text_editing_value.cpp | 47 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 D | search_text_field.cpp | 103 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 D | ime_test.cpp | 355 * @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 D | render_text_field.cpp | 305 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 D | on_text_changed_listener_impl.cpp | 52 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 D | render_text_field.h | 506 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 D | text_overlay_manager.cpp | 517 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 D | text_input_client_mgr.cpp | 64 textEditingValue->UpdateSelection(std::max(textEditingValue_.selection.GetStart(), 0) + appendElement.length()); in AddCharacter()
|
/foundation/arkui/ace_engine/frameworks/core/components/text/ |
H A D | render_text.cpp | 313 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 D | text_field_pattern.cpp | 1019 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 D | text_field_pattern.h | 1562 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 D | backup_database_utils.h | 74 static void UpdateSelection(std::string &selection, const std::string &selectionToAdd, bool needWrap = false);
|
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | album_napi.cpp | 709 static void UpdateSelection(AlbumNapiAsyncContext *context) in UpdateSelection() function 747 UpdateSelection(context); in GetFileAssetsNative()
|
H A D | smart_album_napi.cpp | 1118 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 D | upgrade_restore.cpp | 1007 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 D | backup_database_utils.cpp | 344 void BackupDatabaseUtils::UpdateSelection(std::string &selection, const std::string &selectionToAdd, bool needWrap) in UpdateSelection() function in OHOS::Media::BackupDatabaseUtils
|
H A D | clone_restore.cpp | 1048 BackupDatabaseUtils::UpdateSelection(selection, fileInfos[index].cloudPath, true); in BatchQueryPhoto() 1621 BackupDatabaseUtils::UpdateSelection(selection, to_string(fileInfo.fileIdOld), false); in SetFileIdReference()
|