Home
last modified time | relevance | path

Searched refs:dragNotifyMsg (Results 1 - 4 of 4) sorted by relevance

/foundation/arkui/ace_engine/adapter/ohos/capability/interaction/
H A Dinteraction_impl.cpp63 = [=](const Msdp::DeviceStatus::DragNotifyMsg& dragNotifyMsg) { in StartDrag()
64 OHOS::Ace::DragNotifyMsg msg { dragNotifyMsg.displayX, dragNotifyMsg.displayY, dragNotifyMsg.targetPid, in StartDrag()
65 TranslateDragResult(dragNotifyMsg.result), TranslateDragBehavior(dragNotifyMsg.dragBehavior) }; in StartDrag()
146 = [dragOutCallback](Msdp::CoordinationMessage dragNotifyMsg) { in RegisterCoordinationListener()
147 if (dragOutCallback && dragNotifyMsg == Msdp::CoordinationMessage::COORDINATION_SUCCESS) { in RegisterCoordinationListener()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Ddrag_adapter_impl.cpp59 instanceId = dragAction->instanceId](const DragNotifyMsg& dragNotifyMsg, int32_t status) { in StartDrag()
65 dragEvent.dragResult = static_cast<int32_t>(dragNotifyMsg.result); in StartDrag()
66 dragEvent.dragBehavior = static_cast<int32_t>(dragNotifyMsg.dragBehavior); in StartDrag()
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_func_wrapper.cpp179 const OHOS::Ace::DragNotifyMsg& dragNotifyMsg, const DragAdapterStatus& dragStatus) in HandleCallback()
181 TAG_LOGI(AceLogTag::ACE_DRAG, "drag notify message result is %{public}d.", dragNotifyMsg.result); in HandleCallback()
200 dragAction->callback(dragNotifyMsg, dragState); in HandleCallback()
250 OnDragCallback callback = [dragAction, manager](const OHOS::Ace::DragNotifyMsg& dragNotifyMsg) { in StartDragAction()
256 HandleCallback(dragAction, dragNotifyMsg, DragAdapterStatus::ENDED); in StartDragAction()
178 HandleCallback(std::shared_ptr<OHOS::Ace::NG::ArkUIInteralDragAction> dragAction, const OHOS::Ace::DragNotifyMsg& dragNotifyMsg, const DragAdapterStatus& dragStatus) HandleCallback() argument
/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/
H A Djs_drag_controller.cpp497 void GetCallBackDataForJs(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, const DragNotifyMsg& dragNotifyMsg, in GetCallBackDataForJs() argument
503 auto resultCode = dragNotifyMsg.result; in GetCallBackDataForJs()
533 dragEvent->SetDragBehavior(static_cast<DragBehavior>(dragNotifyMsg.dragBehavior)); in GetCallBackDataForJs()
578 void HandleSuccess(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, const DragNotifyMsg& dragNotifyMsg, in HandleSuccess() argument
581 TAG_LOGI(AceLogTag::ACE_DRAG, "drag notify message result is %{public}d.", dragNotifyMsg.result); in HandleSuccess()
602 [asyncCtx, dragNotifyMsg, dragStatus]() { in HandleSuccess()
604 GetCallBackDataForJs(asyncCtx, dragNotifyMsg, dragStatus); in HandleSuccess()
635 void HandleDragEnd(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, const DragNotifyMsg& dragNotifyMsg) in HandleDragEnd() argument
637 TAG_LOGI(AceLogTag::ACE_DRAG, "handleDragEnd notify message result is %{public}d.", dragNotifyMsg.result); in HandleDragEnd()
647 [asyncCtx, dragNotifyMsg]() { in HandleDragEnd()
[all...]

Completed in 5 milliseconds