/foundation/arkui/ace_engine/test/unittest/core/manager/ |
H A D | drag_drop_manager_test_ng.h | 75 const DragType DRAG_TYPE_GRID = DragType::GRID; 76 const DragType DRAG_TYPE_LIST = DragType::LIST;
|
H A D | drag_drop_manager_test_ng_property_config.cpp | 495 dragDropManager->FireOnItemDragEvent(frameNode, DragType::GRID, itemDragInfo, DragEventType::ENTER, 0, 0); in HWTEST_F() 497 dragDropManager->FireOnItemDragEvent(frameNode, DragType::GRID, itemDragInfo, DragEventType::MOVE, 0, 0); in HWTEST_F() 499 dragDropManager->FireOnItemDragEvent(frameNode, DragType::GRID, itemDragInfo, DragEventType::START, 0, 0); in HWTEST_F() 501 dragDropManager->FireOnItemDragEvent(frameNode, DragType::LIST, itemDragInfo, DragEventType::ENTER, 0, 0); in HWTEST_F() 503 dragDropManager->FireOnItemDragEvent(frameNode, DragType::LIST, itemDragInfo, DragEventType::START, 0, 0); in HWTEST_F() 505 dragDropManager->FireOnItemDragEvent(frameNode, DragType::TEXT, itemDragInfo, DragEventType::START, 0, 0); in HWTEST_F() 531 dragDropManager->OnItemDragEnd(0.0, 0.0, 0, DragType::COMMON); in HWTEST_F() 534 dragDropManager->OnItemDragEnd(0.0, 0.0, 0, DragType::GRID); in HWTEST_F() 585 dragDropManager->FireOnItemDragEvent(frameNode, DragType::GRID, itemDragInfo, DragEventType::ENTER, 0, 0); in HWTEST_F() 587 dragDropManager->FireOnItemDragEvent(frameNode, DragType in HWTEST_F() [all...] |
H A D | drag_drop_manager_test_ng.cpp | 330 * @tc.desc: Test OnItemDragMove DragType is Grid 436 * @tc.desc: Test OnItemDragMove DragType is List 511 // to force call the FireOnItemDragEvent with DragType::LIST and DragEventType::MOVE in HWTEST_F() 513 dragDropManager->FireOnItemDragEvent(frameNode, DragType::LIST, itemDragInfo, DragEventType::MOVE, DRAGGED_INDEX); in HWTEST_F() 763 dragDropManager->FireOnItemDropEvent(gridNode, DragType::GRID, itemDragInfo, 0, 0, true); in HWTEST_F() 773 dragDropManager->FireOnItemDropEvent(listNode, DragType::LIST, itemDragInfo, 0, 0, true); in HWTEST_F() 1240 * @tc.desc: Test FireOnItemDragEvent in DragType::GRID branches 1265 dragDropManager->FireOnItemDragEvent(gridFrameNode, DragType::GRID, itemDragInfo, DragEventType::ENTER, 0, 0); in HWTEST_F() 1273 dragDropManager->FireOnItemDragEvent(gridFrameNode, DragType::GRID, itemDragInfo, DragEventType::MOVE, 0, 0); in HWTEST_F() 1280 dragDropManager->FireOnItemDragEvent(gridFrameNode, DragType in HWTEST_F() [all...] |
H A D | drag_drop_proxy_test_ng.cpp | 48 const DragType DRAG_TYPE_GRID = DragType::GRID;
|
H A D | drag_drop_manager_test_ng_coverage.cpp | 1461 dragDropManager->OnItemDragMove(100.0, 100.0, 1, DragType::GRID); in HWTEST_F() 1464 dragDropManager->OnItemDragMove(100.0, 100.0, 1, DragType::GRID); in HWTEST_F() 1467 dragDropManager->OnItemDragMove(100.0, 100.0, 1, DragType::GRID); in HWTEST_F() 1519 dragDropManager->OnItemDragEnd(100.0, 100.0, 1, DragType::GRID); in HWTEST_F() 1522 dragDropManager->OnItemDragEnd(100.0, 100.0, 1, DragType::GRID); in HWTEST_F() 1525 dragDropManager->OnItemDragEnd(100.0, 100.0, 1, DragType::GRID); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/ |
H A D | drag_drop_proxy.h | 35 enum class DragType { class 55 void OnItemDragMove(const GestureEvent& info, int32_t draggedIndex, DragType dragType); 56 void OnItemDragEnd(const GestureEvent& info, int32_t draggedIndex, DragType dragType);
|
H A D | drag_drop_proxy.cpp | 101 void DragDropProxy::OnItemDragMove(const GestureEvent& info, int32_t draggedIndex, DragType dragType) in OnItemDragMove() 113 void DragDropProxy::OnItemDragEnd(const GestureEvent& info, int32_t draggedIndex, DragType dragType) in OnItemDragEnd()
|
H A D | drag_drop_manager.h | 124 void OnItemDragMove(float globalX, float globalY, int32_t draggedIndex, DragType dragType); 125 void OnItemDragEnd(float globalX, float globalY, int32_t draggedIndex, DragType dragType); 492 void FireOnItemDragEvent(const RefPtr<FrameNode>& frameNode, DragType dragType, 494 bool FireOnItemDropEvent(const RefPtr<FrameNode>& frameNode, DragType dragType, 496 int32_t GetItemIndex(const RefPtr<FrameNode>& frameNode, DragType dragType, float globalX, float globalY);
|
H A D | drag_drop_manager.cpp | 1215 void DragDropManager::OnItemDragMove(float globalX, float globalY, int32_t draggedIndex, DragType dragType) in OnItemDragMove() 1229 return (dragType == DragType::GRID) ? (eventGrid == draggedGrid ? draggedIndex : -1) : draggedIndex; in OnItemDragMove() 1273 void DragDropManager::OnItemDragEnd(float globalX, float globalY, int32_t draggedIndex, DragType dragType) in OnItemDragEnd() 1288 if (dragType == DragType::GRID) { in OnItemDragEnd() 1323 void DragDropManager::FireOnItemDragEvent(const RefPtr<FrameNode>& frameNode, DragType dragType, in FireOnItemDragEvent() 1327 if (dragType == DragType::GRID) { in FireOnItemDragEvent() 1343 } else if (dragType == DragType::LIST) { in FireOnItemDragEvent() 1362 bool DragDropManager::FireOnItemDropEvent(const RefPtr<FrameNode>& frameNode, DragType dragType, in FireOnItemDropEvent() 1366 if (dragType == DragType::GRID) { in FireOnItemDropEvent() 1370 } else if (dragType == DragType in FireOnItemDropEvent() [all...] |
/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | move_drag_controller.h | 192 enum class DragType : uint32_t { class in OHOS::OHOS::Rosen::MoveDragController 199 const std::map<DragType, uint32_t> STYLEID_MAP = { 200 {DragType::DRAG_UNDEFINED, MMI::MOUSE_ICON::DEFAULT}, 201 {DragType::DRAG_BOTTOM_OR_TOP, MMI::MOUSE_ICON::NORTH_SOUTH}, 202 {DragType::DRAG_LEFT_OR_RIGHT, MMI::MOUSE_ICON::WEST_EAST}, 203 {DragType::DRAG_LEFT_TOP_CORNER, MMI::MOUSE_ICON::NORTH_WEST_SOUTH_EAST}, 204 {DragType::DRAG_RIGHT_TOP_CORNER, MMI::MOUSE_ICON::NORTH_EAST_SOUTH_WEST} 209 DragType dragType_ = DragType::DRAG_UNDEFINED;
|
/foundation/arkui/ace_engine/test/unittest/core/pipeline/ |
H A D | mock_drag_drop_manager.cpp | 70 void DragDropManager::OnItemDragMove(float globalX, float globalY, int32_t draggedIndex, DragType dragType) {} in OnItemDragMove() 72 void DragDropManager::OnItemDragEnd(float globalX, float globalY, int32_t draggedIndex, DragType dragType) {} in OnItemDragEnd() 76 void DragDropManager::FireOnItemDragEvent(const RefPtr<FrameNode>& frameNode, DragType dragType, in FireOnItemDragEvent() 80 bool DragDropManager::FireOnItemDropEvent(const RefPtr<FrameNode>& frameNode, DragType dragType, in FireOnItemDropEvent()
|
/foundation/window/window_manager/wmserver/include/ |
H A D | window_controller.h | 143 const std::map<DragType, uint32_t> STYLEID_MAP = { 144 {DragType::DRAG_UNDEFINED, MMI::MOUSE_ICON::DEFAULT}, 145 {DragType::DRAG_BOTTOM_OR_TOP, MMI::MOUSE_ICON::NORTH_SOUTH}, 146 {DragType::DRAG_LEFT_OR_RIGHT, MMI::MOUSE_ICON::WEST_EAST}, 147 {DragType::DRAG_LEFT_TOP_CORNER, MMI::MOUSE_ICON::NORTH_WEST_SOUTH_EAST}, 148 {DragType::DRAG_RIGHT_TOP_CORNER, MMI::MOUSE_ICON::NORTH_EAST_SOUTH_WEST}
|
H A D | window_node.h | 85 void SetDragType(DragType dragType); 127 DragType GetDragType() const;
|
/foundation/window/window_manager/utils/include/ |
H A D | wm_common_inner.h | 187 enum class DragType : uint32_t {
class 218 DragType dragType_;
225 dragType_(DragType::DRAG_UNDEFINED)
in MoveDragProperty() 233 int32_t sourceType, bool startDragFlag, bool startMoveFlag, bool pointEventStarted, DragType dragType,
in MoveDragProperty() 280 info->dragType_ = static_cast<DragType>(parcel.ReadUint32());
in Unmarshalling()
|
H A D | window_property.h | 75 void SetDragType(DragType dragType); 127 DragType GetDragType() const; 205 DragType dragType_ = DragType::DRAG_UNDEFINED;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_event_hub.cpp | 139 dragDropProxy_->OnItemDragMove(info, draggedIndex_, DragType::LIST); in HandleOnItemDragUpdate() 145 dragDropProxy_->OnItemDragEnd(info, draggedIndex_, DragType::LIST); in HandleOnItemDragEnd()
|
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_layout_policy_test.cpp | 48 DragType dragType_; 81 .dragType_ = DragType::DRAG_UNDEFINED, 100 .dragType_ = DragType::DRAG_UNDEFINED, in SetUpTestCase() 200 windowInfo_.dragType_ = DragType::DRAG_LEFT_OR_RIGHT; in HWTEST_F() 217 windowInfo_.dragType_ = DragType::DRAG_LEFT_TOP_CORNER; in HWTEST_F() 234 windowInfo_.dragType_ = DragType::DRAG_BOTTOM_OR_TOP; in HWTEST_F() 926 node->SetDragType(DragType::DRAG_LEFT_OR_RIGHT); in HWTEST_F() 929 node->SetDragType(DragType::DRAG_BOTTOM_OR_TOP); in HWTEST_F() 932 node->SetDragType(DragType::DRAG_LEFT_TOP_CORNER); in HWTEST_F() 935 node->SetDragType(DragType in HWTEST_F() [all...] |
/foundation/window/window_manager/wmserver/src/ |
H A D | window_node.cpp | 168 void WindowNode::SetDragType(DragType dragType) in SetDragType() 232 DragType WindowNode::GetDragType() const in GetDragType()
|
H A D | window_layout_policy_cascade.cpp | 348 if (node->GetDragType() == DragType::DRAG_BOTTOM_OR_TOP) { in ComputeRectByAspectRatio() 742 if (dragType == DragType::DRAG_BOTTOM_OR_TOP) { in UpdateFloatingWindowSizeForStretchableWindow() 745 } else if (dragType == DragType::DRAG_LEFT_TOP_CORNER || dragType == DragType::DRAG_RIGHT_TOP_CORNER || in UpdateFloatingWindowSizeForStretchableWindow() 746 dragType == DragType::DRAG_LEFT_OR_RIGHT) { in UpdateFloatingWindowSizeForStretchableWindow() 876 if (dragType == DragType::DRAG_BOTTOM_OR_TOP) {
|
/foundation/window/window_manager/wm/include/ |
H A D | window_impl.h | 485 const std::map<DragType, uint32_t> STYLEID_MAP = { 486 {DragType::DRAG_UNDEFINED, MMI::MOUSE_ICON::DEFAULT}, 487 {DragType::DRAG_BOTTOM_OR_TOP, MMI::MOUSE_ICON::NORTH_SOUTH}, 488 {DragType::DRAG_LEFT_OR_RIGHT, MMI::MOUSE_ICON::WEST_EAST}, 489 {DragType::DRAG_LEFT_TOP_CORNER, MMI::MOUSE_ICON::NORTH_WEST_SOUTH_EAST}, 490 {DragType::DRAG_RIGHT_TOP_CORNER, MMI::MOUSE_ICON::NORTH_EAST_SOUTH_WEST}
|
/foundation/window/window_manager/utils/test/unittest/ |
H A D | window_property_test.cpp | 505 DragType dragType = DragType::DRAG_UNDEFINED; in HWTEST_F() 507 DragType res = winPropSrc.GetDragType(); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_event_hub.cpp | 229 dragDropProxy_->OnItemDragMove(info, draggedIndex_, DragType::GRID); in HandleOnItemDragUpdate() 236 dragDropProxy_->OnItemDragEnd(info, draggedIndex_, DragType::GRID); in HandleOnItemDragEnd()
|
/foundation/window/window_manager/utils/src/ |
H A D | window_property.cpp | 306 void WindowProperty::SetDragType(DragType dragType) in SetDragType() 529 DragType WindowProperty::GetDragType() const in GetDragType() 782 property->SetDragType(static_cast<DragType>(parcel.ReadUint32())); in Unmarshalling() 887 SetDragType(static_cast<DragType>(parcel.ReadUint32())); in Read()
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | move_drag_controller.cpp | 858 dragType_ = DragType::DRAG_BOTTOM_OR_TOP; in UpdateDragType() 862 dragType_ = DragType::DRAG_LEFT_OR_RIGHT; in UpdateDragType() 866 dragType_ = DragType::DRAG_LEFT_TOP_CORNER; in UpdateDragType() 868 dragType_ = DragType::DRAG_RIGHT_TOP_CORNER; in UpdateDragType()
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | move_drag_controller_test.cpp | 716 ASSERT_EQ(moveDragController->dragType_, MoveDragController::DragType::DRAG_BOTTOM_OR_TOP); in HWTEST_F() 731 ASSERT_EQ(moveDragController->dragType_, MoveDragController::DragType::DRAG_LEFT_OR_RIGHT); in HWTEST_F() 746 ASSERT_EQ(moveDragController->dragType_, MoveDragController::DragType::DRAG_LEFT_TOP_CORNER); in HWTEST_F()
|