/base/msdp/device_status/test/unittest/frameworks/src/ |
H A D | interaction_drag_drawing_test.cpp | 213 DragDropResult dropResult { DragResult::DRAG_SUCCESS, HAS_CUSTOM_ANIMATION, WINDOW_ID }; in HWTEST_F() 214 ret = InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() 258 DragDropResult dropResult { DragResult::DRAG_SUCCESS, HAS_CUSTOM_ANIMATION, WINDOW_ID }; in HWTEST_F() 259 ret = InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() 303 DragDropResult dropResult { DragResult::DRAG_SUCCESS, HAS_CUSTOM_ANIMATION, WINDOW_ID }; in HWTEST_F() 304 ret = InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() 348 DragDropResult dropResult { DragResult::DRAG_SUCCESS, HAS_CUSTOM_ANIMATION, WINDOW_ID }; in HWTEST_F() 349 ret = InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() 390 DragDropResult dropResult { DragResult::DRAG_SUCCESS, HAS_CUSTOM_ANIMATION, WINDOW_ID }; in HWTEST_F() 391 ret = InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() [all...] |
H A D | interaction_manager_test.cpp | 1102 DragDropResult dropResult { DragResult::DRAG_SUCCESS, HAS_CUSTOM_ANIMATION, WINDOW_ID }; in HWTEST_F() 1103 InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() 1143 DragDropResult dropResult { DragResult::DRAG_SUCCESS, HAS_CUSTOM_ANIMATION, WINDOW_ID }; in HWTEST_F() 1144 InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() 1192 DragDropResult dropResult { DragResult::DRAG_SUCCESS, HAS_CUSTOM_ANIMATION, WINDOW_ID }; in HWTEST_F() 1193 InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() 1239 DragDropResult dropResult { DragResult::DRAG_SUCCESS, HAS_CUSTOM_ANIMATION, WINDOW_ID }; in HWTEST_F() 1240 InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() 1289 DragDropResult dropResult { DragResult::DRAG_SUCCESS, HAS_CUSTOM_ANIMATION, WINDOW_ID }; in HWTEST_F() 1290 InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() [all...] |
/base/msdp/device_status/test/unittest/intention/drag/src/ |
H A D | drag_manager_test.cpp | 482 DragDropResult dropResult { DragResult::DRAG_SUCCESS, in HWTEST_F() 484 ret = InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() 513 DragDropResult dropResult { DragResult::DRAG_SUCCESS, in HWTEST_F() 515 ret = InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() 545 DragDropResult dropResult { DragResult::DRAG_SUCCESS, in HWTEST_F() 547 ret = InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() 581 DragDropResult dropResult { DragResult::DRAG_SUCCESS, in HWTEST_F() 583 ret = InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() 619 DragDropResult dropResult { DragResult::DRAG_SUCCESS, in HWTEST_F() 621 ret = InteractionManager::GetInstance()->StopDrag(dropResult); in HWTEST_F() [all...] |
/base/msdp/device_status/services/interaction/drag/src/ |
H A D | event_hub.cpp | 84 DragDropResult dropResult { DragResult::DRAG_CANCEL, false, -1 }; in OnReceiveEvent() 85 context->GetDragManager().StopDrag(dropResult); in OnReceiveEvent()
|
H A D | drag_manager.cpp | 359 int32_t DragManager::StopDrag(const DragDropResult &dropResult, const std::string &packageName, int32_t pid) in StopDrag() argument 368 "drag out packageName:%{public}s", dropResult.mainWindow, dropResult.result, packageName.c_str(), in StopDrag() 379 if ((dropResult.result != DragResult::DRAG_EXCEPTION) && (context_ != nullptr) && (timerId_ >= 0)) { in StopDrag() 385 if (OnStopDrag(dropResult.result, dropResult.hasCustomAnimation, packageName, pid) != RET_OK) { in StopDrag() 388 DragDFX::WriteStopDrag(dragState_, dropResult, OHOS::HiviewDFX::HiSysEvent::EventType::FAULT); in StopDrag() 395 if (dropResult.result == DragResult::DRAG_SUCCESS && dropResult.mainWindow > 0) { in StopDrag() 396 Rosen::WMError result = Rosen::WindowManagerLite::GetInstance().RaiseWindowToTop(dropResult in StopDrag() 1501 GetDragBehavior(const DragDropResult &dropResult, DragBehavior &dragBehavior) GetDragBehavior() argument [all...] |
H A D | drag_hisysevent.cpp | 131 int32_t DragDFX::WriteStopDrag(const DragState &dragState, const DragDropResult &dropResult, in WriteStopDrag() argument 141 dropResult.hasCustomAnimation); in WriteStopDrag() 143 return WriteModel(DragType::STOP_DRAG_FAIL, "dragstate", curDragState, "animate", dropResult.hasCustomAnimation); in WriteStopDrag()
|
/base/msdp/device_status/frameworks/native/interaction/src/ |
H A D | interaction_manager.cpp | 126 int32_t InteractionManager::StopDrag(const DragDropResult &dropResult) in StopDrag() argument 128 return INTER_MGR_IMPL.StopDrag(dropResult); in StopDrag() 274 int32_t InteractionManager::StopDrag(const DragDropResult &dropResult) in StopDrag() argument 276 return DRAG_MANAGER.StopDrag(dropResult); in StopDrag()
|
H A D | interaction_manager_impl.cpp | 259 int32_t InteractionManagerImpl::StopDrag(const DragDropResult &dropResult) in StopDrag() argument 262 return dragManagerImpl_.StopDrag(dropResult); in StopDrag()
|
H A D | drag_manager_impl.cpp | 56 int32_t DragManagerImpl::StopDrag(const DragDropResult &dropResult) in StopDrag() argument 59 return DeviceStatusClient::GetInstance().StopDrag(dropResult); in StopDrag()
|
/base/msdp/device_status/services/interaction/drag/include/ |
H A D | drag_hisysevent.h | 51 static int32_t WriteStopDrag(const DragState &dragState, const DragDropResult &dropResult,
|
H A D | drag_manager.h | 70 int32_t StopDrag(const DragDropResult &dropResult, const std::string &packageName = "", int32_t pid = -1) override; 191 void GetDragBehavior(const DragDropResult &dropResult, DragBehavior &dragBehavior);
|
/base/msdp/device_status/frameworks/native/interaction/include/ |
H A D | drag_manager_impl.h | 42 int32_t StopDrag(const DragDropResult &dropResult);
|
H A D | interaction_manager_impl.h | 51 int32_t StopDrag(const DragDropResult &dropResult);
|
/base/msdp/device_status/services/communication/client/src/ |
H A D | devicestatus_srv_proxy.cpp | 492 int32_t DeviceStatusSrvProxy::StopDrag(const DragDropResult &dropResult) in StopDrag() argument 500 if (dropResult.result < DragResult::DRAG_SUCCESS || dropResult.result > DragResult::DRAG_EXCEPTION) { in StopDrag() 501 FI_HILOGE("Invalid result:%{public}d", static_cast<int32_t>(dropResult.result)); in StopDrag() 504 WRITEINT32(data, static_cast<int32_t>(dropResult.result), ERR_INVALID_VALUE); in StopDrag() 505 WRITEBOOL(data, dropResult.hasCustomAnimation, ERR_INVALID_VALUE); in StopDrag() 506 WRITEINT32(data, dropResult.mainWindow, ERR_INVALID_VALUE); in StopDrag() 507 WRITEINT32(data, static_cast<int32_t>(dropResult.dragBehavior), ERR_INVALID_VALUE); in StopDrag()
|
/base/msdp/device_status/services/communication/base/ |
H A D | i_devicestatus.h | 51 virtual int32_t StopDrag(const DragDropResult &dropResult) = 0;
|
/base/msdp/device_status/interfaces/innerkits/include/ |
H A D | devicestatus_client.h | 59 int32_t StopDrag(const DragDropResult &dropResult);
|
/base/msdp/device_status/intention/prototype/include/ |
H A D | i_drag_manager.h | 51 virtual int32_t StopDrag(const DragDropResult &dropResult, const std::string &packageName = "",
|
/base/msdp/device_status/intention/drag/client/include/ |
H A D | drag_client.h | 40 int32_t StopDrag(ITunnelClient &tunnel, const DragDropResult &dropResult);
|
/base/msdp/device_status/intention/frameworks/client/include/ |
H A D | intention_manager.h | 62 int32_t StopDrag(const DragDropResult &dropResult);
|
/base/msdp/device_status/interfaces/innerkits/interaction/include/ |
H A D | interaction_manager.h | 175 int32_t StopDrag(const DragDropResult &dropResult);
|
/base/msdp/device_status/services/communication/client/include/ |
H A D | devicestatus_srv_proxy.h | 53 virtual int32_t StopDrag(const DragDropResult &dropResult) override;
|
/base/msdp/device_status/services/communication/service/src/ |
H A D | devicestatus_srv_stub.cpp | 705 DragDropResult dropResult; in StopDragStub() local 706 dropResult.result = static_cast<DragResult>(result); in StopDragStub() 707 dropResult.hasCustomAnimation = hasCustomAnimation; in StopDragStub() 708 dropResult.mainWindow = mainWindow; in StopDragStub() 709 dropResult.dragBehavior = static_cast<DragBehavior>(dragBehavior); in StopDragStub() 710 int32_t ret = StopDrag(dropResult); in StopDragStub()
|
/base/msdp/device_status/frameworks/native/src/ |
H A D | devicestatus_client.cpp | 376 int32_t DeviceStatusClient::StopDrag(const DragDropResult &dropResult) in StopDrag() argument 381 return devicestatusProxy_->StopDrag(dropResult); in StopDrag()
|
/base/msdp/device_status/intention/drag/data/src/ |
H A D | drag_params.cpp | 55 StopDragParam::StopDragParam(const DragDropResult &dropResult) in StopDragParam() argument 56 : dropResult_(dropResult) in StopDragParam()
|
/base/msdp/device_status/intention/frameworks/client/src/ |
H A D | intention_manager.cpp | 304 int32_t IntentionManager::StopDrag(const DragDropResult &dropResult) in StopDrag() argument 307 return drag_.StopDrag(*tunnel_, dropResult); in StopDrag()
|