Home
last modified time | relevance | path

Searched refs:dragBehavior (Results 1 - 9 of 9) sorted by relevance

/base/msdp/device_status/frameworks/native/interaction/src/
H A Ddrag_manager_impl.cpp79 int32_t dragBehavior = -1; in OnNotifyResult() local
80 pkt >> notifyMsg.displayX >> notifyMsg.displayY >> result >> notifyMsg.targetPid >> dragBehavior; in OnNotifyResult()
91 if ((dragBehavior < static_cast<int32_t>(DragBehavior::UNKNOWN)) || in OnNotifyResult()
92 (dragBehavior > static_cast<int32_t>(DragBehavior::MOVE))) { in OnNotifyResult()
93 FI_HILOGE("Invalid dragBehavior:%{public}d", dragBehavior); in OnNotifyResult()
96 notifyMsg.dragBehavior = static_cast<DragBehavior>(dragBehavior); in OnNotifyResult()
/base/msdp/device_status/intention/drag/data/src/
H A Ddrag_params.cpp65 parcel.WriteInt32(static_cast<int32_t>(dropResult_.dragBehavior)) in Marshalling()
81 int32_t dragBehavior { -1 }; in Unmarshalling()
82 if (!parcel.ReadInt32(dragBehavior) || in Unmarshalling()
83 (dragBehavior < static_cast<int32_t>(DragBehavior::UNKNOWN)) || in Unmarshalling()
84 (dragBehavior > static_cast<int32_t>(DragBehavior::MOVE))) { in Unmarshalling()
87 dropResult_.dragBehavior = static_cast<DragBehavior>(dragBehavior); in Unmarshalling()
/base/msdp/device_status/intention/drag/client/src/
H A Ddrag_client.cpp476 int32_t dragBehavior = -1; in OnNotifyResult() local
477 pkt >> notifyMsg.displayX >> notifyMsg.displayY >> result >> notifyMsg.targetPid >> dragBehavior; in OnNotifyResult()
488 if ((dragBehavior < static_cast<int32_t>(DragBehavior::UNKNOWN)) || in OnNotifyResult()
489 (dragBehavior > static_cast<int32_t>(DragBehavior::MOVE))) { in OnNotifyResult()
490 FI_HILOGE("Invalid dragBehavior:%{public}d", dragBehavior); in OnNotifyResult()
493 notifyMsg.dragBehavior = static_cast<DragBehavior>(dragBehavior); in OnNotifyResult()
/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_manager.cpp402 DragBehavior dragBehavior = dropResult.dragBehavior; in StopDrag() local
403 GetDragBehavior(dropResult, dragBehavior); in StopDrag()
404 if (NotifyDragResult(dropResult.result, dragBehavior) != RET_OK) { in StopDrag()
419 DragBehavior dragBehavior = dropResult.dragBehavior; in StopDrag() local
420 GetDragBehavior(dropResult, dragBehavior); in StopDrag()
545 int32_t DragManager::NotifyDragResult(DragResult result, DragBehavior dragBehavior) in NotifyDragResult() argument
559 static_cast<int32_t>(dragBehavior); in NotifyDragResult()
1501 void DragManager::GetDragBehavior(const DragDropResult &dropResult, DragBehavior &dragBehavior) in GetDragBehavior() argument
[all...]
/base/msdp/device_status/interfaces/innerkits/interaction/include/
H A Ddrag_data.h123 DragBehavior dragBehavior { DragBehavior::UNKNOWN };
139 DragBehavior dragBehavior { DragBehavior::UNKNOWN };
/base/msdp/device_status/services/communication/service/src/
H A Ddevicestatus_srv_stub.cpp698 int32_t dragBehavior = -1; in StopDragStub() local
699 READINT32(data, dragBehavior, E_DEVICESTATUS_READ_PARCEL_ERROR); in StopDragStub()
700 if ((dragBehavior < static_cast<int32_t>(DragBehavior::UNKNOWN)) || in StopDragStub()
701 (dragBehavior > static_cast<int32_t>(DragBehavior::MOVE))) { in StopDragStub()
702 FI_HILOGE("Invalid dragBehavior:%{public}d", dragBehavior); in StopDragStub()
709 dropResult.dragBehavior = static_cast<DragBehavior>(dragBehavior); in StopDragStub()
/base/msdp/device_status/services/interaction/drag/include/
H A Ddrag_manager.h169 int32_t NotifyDragResult(DragResult result, DragBehavior dragBehavior);
191 void GetDragBehavior(const DragDropResult &dropResult, DragBehavior &dragBehavior);
/base/msdp/device_status/test/unittest/frameworks/src/
H A Dinteraction_manager_test.cpp2414 FI_HILOGD("displayX:%{public}d, displayY:%{public}d, result:%{public}d, dragBehavior:%{public}d", in HWTEST_F()
2415 notifyMessage.displayX, notifyMessage.displayY, notifyMessage.result, notifyMessage.dragBehavior); in HWTEST_F()
2416 ASSERT_EQ(notifyMessage.dragBehavior, DragBehavior::COPY); in HWTEST_F()
2444 FI_HILOGD("displayX:%{public}d, displayY:%{public}d, result:%{public}d, dragBehavior:%{public}d", in HWTEST_F()
2445 notifyMessage.displayX, notifyMessage.displayY, notifyMessage.result, notifyMessage.dragBehavior); in HWTEST_F()
2446 ASSERT_EQ(notifyMessage.dragBehavior, DragBehavior::MOVE); in HWTEST_F()
2474 FI_HILOGD("displayX:%{public}d, displayY:%{public}d, result:%{public}d, dragBehavior:%{public}d", in HWTEST_F()
2475 notifyMessage.displayX, notifyMessage.displayY, notifyMessage.result, notifyMessage.dragBehavior); in HWTEST_F()
2476 ASSERT_EQ(notifyMessage.dragBehavior, DragBehavior::COPY); in HWTEST_F()
2505 FI_HILOGD("displayX:%{public}d, displayY:%{public}d, result:%{public}d, dragBehavior in HWTEST_F()
[all...]
/base/msdp/device_status/services/communication/client/src/
H A Ddevicestatus_srv_proxy.cpp507 WRITEINT32(data, static_cast<int32_t>(dropResult.dragBehavior), ERR_INVALID_VALUE); in StopDrag()

Completed in 13 milliseconds