/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() argument 72 void DragDropManager::OnItemDragEnd(float globalX, float globalY, int32_t draggedIndex, DragType dragType) {} in OnItemDragEnd() argument 76 void DragDropManager::FireOnItemDragEvent(const RefPtr<FrameNode>& frameNode, DragType dragType, in FireOnItemDragEvent() argument 80 bool DragDropManager::FireOnItemDropEvent(const RefPtr<FrameNode>& frameNode, DragType dragType, in FireOnItemDropEvent() argument
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/ |
H A D | drag_drop_proxy.cpp | 101 void DragDropProxy::OnItemDragMove(const GestureEvent& info, int32_t draggedIndex, DragType dragType) in OnItemDragMove() argument 110 static_cast<float>(info.GetGlobalPoint().GetY()), draggedIndex, dragType); in OnItemDragMove() local 113 void DragDropProxy::OnItemDragEnd(const GestureEvent& info, int32_t draggedIndex, DragType dragType) in OnItemDragEnd() argument 122 static_cast<float>(info.GetGlobalPoint().GetY()), draggedIndex, dragType); in OnItemDragEnd() local
|
H A D | drag_drop_proxy.h | 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_manager.cpp | 1215 void DragDropManager::OnItemDragMove(float globalX, float globalY, int32_t draggedIndex, DragType dragType) in OnItemDragMove() argument 1227 auto getDraggedIndex = [draggedGrid = draggedGridFrameNode_, draggedIndex, dragType]( in OnItemDragMove() 1229 return (dragType == DragType::GRID) ? (eventGrid == draggedGrid ? draggedIndex : -1) : draggedIndex; in OnItemDragMove() 1240 FireOnItemDragEvent(preGridTargetFrameNode_, dragType, itemDragInfo, DragEventType::LEAVE, in OnItemDragMove() 1248 int32_t insertIndex = GetItemIndex(dragFrameNode, dragType, globalX, globalY); in OnItemDragMove() 1250 dragFrameNode, dragType, itemDragInfo, DragEventType::MOVE, getDraggedIndex(dragFrameNode), insertIndex); in OnItemDragMove() 1255 FireOnItemDragEvent(preGridTargetFrameNode_, dragType, itemDragInfo, DragEventType::LEAVE, in OnItemDragMove() 1260 FireOnItemDragEvent(dragFrameNode, dragType, itemDragInfo, DragEventType::ENTER, getDraggedIndex(dragFrameNode)); in OnItemDragMove() 1273 void DragDropManager::OnItemDragEnd(float globalX, float globalY, int32_t draggedIndex, DragType dragType) in OnItemDragEnd() argument 1288 if (dragType in OnItemDragEnd() 1323 FireOnItemDragEvent(const RefPtr<FrameNode>& frameNode, DragType dragType, const OHOS::Ace::ItemDragInfo& itemDragInfo, DragEventType type, int32_t draggedIndex, int32_t insertIndex) FireOnItemDragEvent() argument 1362 FireOnItemDropEvent(const RefPtr<FrameNode>& frameNode, DragType dragType, const OHOS::Ace::ItemDragInfo& itemDragInfo, int32_t draggedIndex, int32_t insertIndex, bool isSuccess) FireOnItemDropEvent() argument 1378 GetItemIndex( const RefPtr<FrameNode>& frameNode, DragType dragType, float globalX, float globalY) GetItemIndex() argument [all...] |
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);
|
/foundation/window/window_manager/utils/include/ |
H A D | wm_common_inner.h | 233 int32_t sourceType, bool startDragFlag, bool startMoveFlag, bool pointEventStarted, DragType dragType,
in MoveDragProperty() 237 startMoveFlag_(startMoveFlag), pointEventStarted_(pointEventStarted), dragType_(dragType),
in MoveDragProperty()
|
H A D | window_property.h | 75 void SetDragType(DragType dragType);
|
/foundation/window/window_manager/wmserver/src/ |
H A D | window_node.cpp | 168 void WindowNode::SetDragType(DragType dragType) in SetDragType() argument 170 property_->SetDragType(dragType); in SetDragType()
|
H A D | window_layout_policy_cascade.cpp | 741 auto dragType = node->GetDragType(); in UpdateFloatingWindowSizeForStretchableWindow() local 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() 875 auto dragType = node->GetDragType(); 876 if (dragType == DragType::DRAG_BOTTOM_OR_TOP) {
|
/foundation/window/window_manager/utils/test/unittest/ |
H A D | window_property_test.cpp | 505 DragType dragType = DragType::DRAG_UNDEFINED; in HWTEST_F() local 506 winPropSrc.SetDragType(dragType); in HWTEST_F() 508 ASSERT_EQ(res, dragType); in HWTEST_F()
|
/foundation/window/window_manager/wmserver/include/ |
H A D | window_node.h | 85 void SetDragType(DragType dragType);
|
/foundation/window/window_manager/utils/src/ |
H A D | window_property.cpp | 306 void WindowProperty::SetDragType(DragType dragType) in SetDragType() argument 308 dragType_ = dragType; in SetDragType()
|
/foundation/window/window_manager/wm/src/ |
H A D | window_scene_session_impl.cpp | 779 AreaType dragType = AreaType::UNDEFINED; in HandlePointDownEvent() local 783 dragType = SessionHelper::GetAreaType(winX, winY, sourceType, outside, vpr, rect); in HandlePointDownEvent() 785 TLOGD(WmsLogTag::WMS_EVENT, "dragType: %{public}d", dragType); in HandlePointDownEvent() 800 if (dragType != AreaType::UNDEFINED) { in HandlePointDownEvent()
|