/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | view_abstract_model_test_ng.cpp | 228 viewAbstractModelNG.BindContextMenu(ResponseType::RIGHT_CLICK, buildFunc, menuParam, previewBuildFunc); in HWTEST_F() 237 viewAbstractModelNG.BindContextMenu(ResponseType::RIGHT_CLICK, buildFunc, menuParam, previewBuildFunc); in HWTEST_F() 246 viewAbstractModelNG.BindContextMenu(ResponseType::RIGHT_CLICK, buildFunc, menuParam, previewBuildFunc); in HWTEST_F() 255 viewAbstractModelNG.BindContextMenu(ResponseType::RIGHT_CLICK, buildFunc, menuParam, previewBuildFunc); in HWTEST_F() 264 viewAbstractModelNG.BindContextMenu(ResponseType::RIGHT_CLICK, buildFunc, menuParam, previewBuildFunc); in HWTEST_F() 268 * @tc.steps: subwindow is null and does not enter BindContextMenuSingle, with type == ResponseType::RIGHT_CLICK. in HWTEST_F() 271 viewAbstractModelNG.BindContextMenu(ResponseType::RIGHT_CLICK, buildFunc, menuParam, previewBuildFunc); in HWTEST_F() 275 * @tc.steps: subwindow is null and does not enter BindContextMenuSingle, with type == ResponseType::LONG_PRESS. in HWTEST_F() 277 viewAbstractModelNG.BindContextMenu(ResponseType::LONG_PRESS, buildFunc, menuParam, previewBuildFunc); in HWTEST_F() 285 viewAbstractModelNG.BindContextMenu(ResponseType in HWTEST_F() [all...] |
H A D | view_abstract_test_ng_new.cpp | 449 viewAbstractModelNG.BindContextMenu(ResponseType::LONG_PRESS, buildFunc, menuParam, previewBuildFunc); in HWTEST_F() 460 viewAbstractModelNG.BindContextMenu(ResponseType::RIGHT_CLICK, buildFunc, menuParam, previewBuildFunc); in HWTEST_F() 463 viewAbstractModelNG.BindContextMenu(ResponseType::LONG_PRESS, buildFunc, menuParam, previewBuildFunc); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_abstract_model.h | 58 enum class ResponseType : int32_t { class 358 virtual void BindContextMenu(ResponseType type, std::function<void()>& buildFunc, const NG::MenuParam& menuParam, 360 virtual void BindContextMenu(const RefPtr<NG::FrameNode>& targetNode, ResponseType type, in BindContextMenu()
|
H A D | view_abstract_model_ng.cpp | 225 void ViewAbstractModelNG::BindContextMenu(ResponseType type, std::function<void()>& buildFunc, in BindContextMenu() 233 void ViewAbstractModelNG::BindContextMenu(const RefPtr<FrameNode>& targetNode, ResponseType type, in BindContextMenu() 262 if (type == ResponseType::RIGHT_CLICK) { in BindContextMenu() 292 } else if (type == ResponseType::LONG_PRESS) { in BindContextMenu()
|
H A D | view_abstract_model_ng.h | 1264 void BindContextMenu(ResponseType type, std::function<void()>& buildFunc, const MenuParam& menuParam, 1267 void BindContextMenu(const RefPtr<FrameNode>& targetNode, ResponseType type, std::function<void()>& buildFunc,
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | jsEnumStyle.js | 1055 var ResponseType; variable 1056 (function (ResponseType) { 1057 ResponseType[ResponseType["RightClick"] = 0] = "RightClick"; 1058 ResponseType[ResponseType["LongPress"] = 1] = "LongPress"; 1059 })(ResponseType || (ResponseType = {}));
|
/foundation/arkui/ace_engine/frameworks/core/components/web/ |
H A D | web_property.h | 85 ResponseType responseType; 90 WebPreviewSelectionMenuParam(const WebElementType& _type, const ResponseType& _responseType, in WebPreviewSelectionMenuParam()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_pattern.h | 728 const WebElementType& type, const ResponseType& responseType); 1074 std::map<std::pair<WebElementType, ResponseType>, 1079 ResponseType curResponseType_ = ResponseType::LONG_PRESS;
|
H A D | web_pattern.cpp | 491 const WebElementType& type, const ResponseType& responseType) in GetPreviewSelectionMenuParams() 621 curResponseType_ = ResponseType::RIGHT_CLICK; in OnContextMenuShow() 623 curResponseType_ = ResponseType::LONG_PRESS; in OnContextMenuShow() 1718 auto param = GetPreviewSelectionMenuParams(WebElementType::IMAGE, ResponseType::LONG_PRESS); in NotifyStartDragTask()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | view_abstract_model_impl.cpp | 1539 void ViewAbstractModelImpl::BindContextMenu(ResponseType type, std::function<void()>& buildFunc, 1550 if (type == ResponseType::RIGHT_CLICK) { 1567 } else if (type == ResponseType::LONG_PRESS) {
|
H A D | view_abstract_model_impl.h | 267 void BindContextMenu(ResponseType type, std::function<void()>& buildFunc, const NG::MenuParam& menuParam,
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/cross_platform/ |
H A D | web_pattern.h | 478 const WebElementType& type, const ResponseType& responseType);
|
H A D | web_pattern.cpp | 1338 const WebElementType& type, const ResponseType& responseType) in GetPreviewSelectionMenuParams()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_web.cpp | 3341 ResponseType responseType = ResponseType::LONG_PRESS; in BindSelectionMenu() 3344 responseType = static_cast<ResponseType>(response); in BindSelectionMenu() 3353 if (responseType != ResponseType::LONG_PRESS) { in BindSelectionMenu()
|
H A D | js_view_abstract.cpp | 7709 ResponseType responseType = ResponseType::LONG_PRESS; in JsBindContextMenu() 7712 responseType = static_cast<ResponseType>(response); in JsBindContextMenu() 7729 if (responseType != ResponseType::LONG_PRESS) { in JsBindContextMenu()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_view_abstract_ffi.cpp | 1166 static_cast<OHOS::Ace::ResponseType>(responseType), buildFunc, options, emptyFunc in FfiOHOSAceFrameworkViewAbstractBindContextMenu()
|
/foundation/arkui/ace_engine/advanced_ui_component/treeview/interfaces/ |
H A D | treeview.js | 3938 Row.bindContextMenu({ builder: this.builder.bind(this) }, ResponseType.RightClick);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_pattern.cpp | 853 auto resType = ResponseType::LONG_PRESS;
|