Home
last modified time | relevance | path

Searched refs:TextCommonEvent (Results 1 – 25 of 43) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_model_ng.h39 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 Drich_editor_event_hub.h337 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 Drich_editor_model_ng.cpp220 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 Drich_editor_event_hub.cpp609 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 Drich_editor_model.h351 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 Dcj_richeditor_ffi.h39 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 Dcj_search_ffi.cpp203 … = [lambda = CJLambda::Create(callback)](const std::string& val, NG::TextCommonEvent& info) -> voi… in FfiOHOSAceFrameworkSearchOnPaste()
H A Dcj_richeditor_ffi.cpp234 auto onPast = [cjCallback = CJLambda::Create(callback)](NG::TextCommonEvent& info) { in FfiOHOSAceFrameworkRichEditorOnPaste()
H A Dcj_textfield_ffi.cpp296 const std::string& val, NG::TextCommonEvent& info) { in FfiOHOSAceFrameworkTextFieldOnPaste()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dricheditor_model_impl.h36 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 Dsearch_model_impl.h69 …void SetOnPasteWithEvent(std::function<void(const std::string&, NG::TextCommonEvent&)>&& func) ove… in SetOnPasteWithEvent()
H A Dtext_field_model_impl.h69 …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 Dsearch_event_hub.h103 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 Dsearch_model_ng.h69 …void SetOnPasteWithEvent(std::function<void(const std::string&, NG::TextCommonEvent&)>&& func) ove…
142 … std::function<void(const std::string&, NG::TextCommonEvent&)>&& func);
H A Dsearch_model.h71 …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 Devent_hub.h686 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 Dtext_field_event_hub.h246 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 Dtext_field_model_ng.h70 …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 Drich_editor_modifier.cpp278 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 Djs_search.h81 static JSRef<JSVal> CreateJSTextCommonEvent(NG::TextCommonEvent& event);
H A Djs_textfield.h111 static JSRef<JSVal> CreateJSTextCommonEvent(NG::TextCommonEvent& event);
H A Djs_search.cpp870 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 Djs_richeditor.h69 static JSRef<JSVal> CreateJSTextCommonEvent(NG::TextCommonEvent& event);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_rich_editor_bridge.cpp814 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 Drich_editor_edit_test_ng.cpp1055 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()

12