/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_model_ng.h | 39 void SetOnPaste(std::function<void(NG::TextCommonEvent&)>&& func) override; 49 void SetOnCut(std::function<void(NG::TextCommonEvent&)>&& func) override; 50 void SetOnCopy(std::function<void(NG::TextCommonEvent&)>&& func) override; 71 static void SetOnPaste(FrameNode* frameNode, std::function<void(NG::TextCommonEvent&)>&& func); 72 static void SetOnCut(FrameNode* frameNode, std::function<void(NG::TextCommonEvent&)>&& func); 73 static void SetOnCopy(FrameNode* frameNode, std::function<void(NG::TextCommonEvent&)>&& func);
|
H A D | rich_editor_event_hub.h | 337 void SetOnPaste(std::function<void(NG::TextCommonEvent&)>&& func) in SetOnPaste() 342 void FireOnPaste(NG::TextCommonEvent& value) in FireOnPaste() 367 void SetOnCut(std::function<void(NG::TextCommonEvent&)>&& func); 368 void FireOnCut(NG::TextCommonEvent& value); 369 void SetOnCopy(std::function<void(NG::TextCommonEvent&)>&& func); 370 void FireOnCopy(NG::TextCommonEvent& value); 380 std::function<void(NG::TextCommonEvent&)> onPaste_; 393 std::function<void(NG::TextCommonEvent&)> onCut_; 394 std::function<void(NG::TextCommonEvent&)> onCopy_;
|
H A D | rich_editor_model_ng.cpp | 220 void RichEditorModelNG::SetOnPaste(std::function<void(NG::TextCommonEvent&)>&& func) in SetOnPaste() 227 void RichEditorModelNG::SetOnPaste(FrameNode* frameNode, std::function<void(NG::TextCommonEvent&)>&… in SetOnPaste() 409 void RichEditorModelNG::SetOnCut(std::function<void(NG::TextCommonEvent&)>&& func) in SetOnCut() 416 void RichEditorModelNG::SetOnCut(FrameNode* frameNode, std::function<void(NG::TextCommonEvent&)>&& … in SetOnCut() 424 void RichEditorModelNG::SetOnCopy(std::function<void(NG::TextCommonEvent&)>&& func) in SetOnCopy() 431 void RichEditorModelNG::SetOnCopy(FrameNode* frameNode, std::function<void(NG::TextCommonEvent&)>&&… in SetOnCopy()
|
H A D | rich_editor_event_hub.cpp | 609 void RichEditorEventHub::SetOnCut(std::function<void(NG::TextCommonEvent&)>&& func) in SetOnCut() 614 void RichEditorEventHub::FireOnCut(NG::TextCommonEvent& value) in FireOnCut() 621 void RichEditorEventHub::SetOnCopy(std::function<void(NG::TextCommonEvent&)>&& func) in SetOnCopy() 626 void RichEditorEventHub::FireOnCopy(NG::TextCommonEvent& value) in FireOnCopy()
|
H A D | rich_editor_model.h | 351 virtual void SetOnPaste(std::function<void(NG::TextCommonEvent&)>&& func) = 0; 363 virtual void SetOnCut(std::function<void(NG::TextCommonEvent&)>&& func) = 0; 364 virtual void SetOnCopy(std::function<void(NG::TextCommonEvent&)>&& func) = 0;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_richeditor_ffi.h | 39 explicit NativePasteEvent(OHOS::Ace::NG::TextCommonEvent* event) { in DECL_TYPE() 43 OHOS::Ace::NG::TextCommonEvent* GetEvent() in GetEvent() 54 OHOS::Ace::NG::TextCommonEvent* event_;
|
H A D | cj_search_ffi.cpp | 203 … = [lambda = CJLambda::Create(callback)](const std::string& val, NG::TextCommonEvent& info) -> voi… in FfiOHOSAceFrameworkSearchOnPaste()
|
H A D | cj_richeditor_ffi.cpp | 234 auto onPast = [cjCallback = CJLambda::Create(callback)](NG::TextCommonEvent& info) { in FfiOHOSAceFrameworkRichEditorOnPaste()
|
H A D | cj_textfield_ffi.cpp | 296 const std::string& val, NG::TextCommonEvent& info) { in FfiOHOSAceFrameworkTextFieldOnPaste()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | richeditor_model_impl.h | 36 void SetOnPaste(std::function<void(NG::TextCommonEvent&)>&& func) override {} in SetOnPaste() 48 void SetOnCut(std::function<void(NG::TextCommonEvent&)>&& func) override {} in SetOnCut() 49 void SetOnCopy(std::function<void(NG::TextCommonEvent&)>&& func) override {} in SetOnCopy()
|
H A D | search_model_impl.h | 69 …void SetOnPasteWithEvent(std::function<void(const std::string&, NG::TextCommonEvent&)>&& func) ove… in SetOnPasteWithEvent()
|
H A D | text_field_model_impl.h | 69 …void SetOnPasteWithEvent(std::function<void(const std::string&, NG::TextCommonEvent&)>&& func) ove… in SetOnPasteWithEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/ |
H A D | search_event_hub.h | 103 void SetOnPasteWithEvent(std::function<void(const std::string&, NG::TextCommonEvent&)>&& func) in SetOnPasteWithEvent() 108 void FireOnPasteWithEvent(const std::string& value, NG::TextCommonEvent& event) in FireOnPasteWithEvent() 132 std::function<void(const std::string&, NG::TextCommonEvent&)> onPasteWithEvent_;
|
H A D | search_model_ng.h | 69 …void SetOnPasteWithEvent(std::function<void(const std::string&, NG::TextCommonEvent&)>&& func) ove… 142 … std::function<void(const std::string&, NG::TextCommonEvent&)>&& func);
|
H A D | search_model.h | 71 …virtual void SetOnPasteWithEvent(std::function<void(const std::string&, NG::TextCommonEvent&)>&& f…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | event_hub.h | 686 class TextCommonEvent : public BaseEventInfo { 687 DECLARE_RELATIONSHIP_OF_CLASSES(TextCommonEvent, BaseEventInfo) in DECLARE_RELATIONSHIP_OF_CLASSES() argument 689 TextCommonEvent() : BaseEventInfo("TextCommonEvent") {} in DECLARE_RELATIONSHIP_OF_CLASSES() 690 ~TextCommonEvent() override = default;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_event_hub.h | 246 void SetOnPasteWithEvent(std::function<void(const std::string&, NG::TextCommonEvent&)>&& func) in SetOnPasteWithEvent() 251 void FireOnPasteWithEvent(const std::string& value, NG::TextCommonEvent& event) in FireOnPasteWithEvent() 408 std::function<void(const std::string&, NG::TextCommonEvent&)> onPasteWithEvent_;
|
H A D | text_field_model_ng.h | 70 …void SetOnPasteWithEvent(std::function<void(const std::string&, NG::TextCommonEvent&)>&& func) ove… 186 std::function<void(const std::string&, NG::TextCommonEvent&)>&& func);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | rich_editor_modifier.cpp | 278 auto onPaste = reinterpret_cast<std::function<void(NG::TextCommonEvent&)>*>(callback); in SetRichEditorOnPaste() 297 auto onCut = reinterpret_cast<std::function<void(NG::TextCommonEvent&)>*>(callback); in SetRichEditorOnCut() 316 auto onCopy = reinterpret_cast<std::function<void(NG::TextCommonEvent&)>*>(callback); in SetRichEditorOnCopy()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_search.h | 81 static JSRef<JSVal> CreateJSTextCommonEvent(NG::TextCommonEvent& event);
|
H A D | js_textfield.h | 111 static JSRef<JSVal> CreateJSTextCommonEvent(NG::TextCommonEvent& event);
|
H A D | js_search.cpp | 870 JSRef<JSVal> JSSearch::CreateJSTextCommonEvent(NG::TextCommonEvent& event) in CreateJSTextCommonEvent() 876 object->Wrap<NG::TextCommonEvent>(&event); in CreateJSTextCommonEvent() 883 auto jsTextFunc = AceType::MakeRefPtr<JsCitedEventFunction<NG::TextCommonEvent, 2>>( in SetOnPaste() 887 const std::string& val, NG::TextCommonEvent& info) { in SetOnPaste()
|
H A D | js_richeditor.h | 69 static JSRef<JSVal> CreateJSTextCommonEvent(NG::TextCommonEvent& event);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_rich_editor_bridge.cpp | 814 void CreateCommonEvent(EcmaVM *vm, TextCommonEvent& event, panda::Local<panda::JSValueRef> params[]) in CreateCommonEvent() 838 std::function<void(TextCommonEvent&)> callback = [vm, frameNode, in SetOnPaste() 839 func = panda::CopyableGlobal(vm, func)](TextCommonEvent& event) { in SetOnPaste() 876 std::function<void(TextCommonEvent&)> callback = [vm, frameNode, in SetOnCut() 877 func = panda::CopyableGlobal(vm, func)](TextCommonEvent& event) { in SetOnCut() 914 std::function<void(TextCommonEvent&)> callback = [vm, frameNode, in SetOnCopy() 915 func = panda::CopyableGlobal(vm, func)](TextCommonEvent& event) { in SetOnCopy()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_edit_test_ng.cpp | 1055 auto onCopyWithEvent = [&isEventCalled](NG::TextCommonEvent& event) { isEventCalled = true; }; in __anonb4f2cab20302() 1094 auto onCopyWithEvent = [&isEventCalled](NG::TextCommonEvent& event) { in __anonb4f2cab20402() 1133 auto onCutWithEvent = [&isEventCalled](NG::TextCommonEvent& event) { isEventCalled = true; }; in __anonb4f2cab20502() 1172 auto onCutWithEvent = [&isEventCalled](NG::TextCommonEvent& event) { in __anonb4f2cab20602()
|