Home
last modified time | relevance | path

Searched refs:dragType (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/core/pipeline/
H A Dmock_drag_drop_manager.cpp70 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 Ddrag_drop_proxy.cpp101 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 Ddrag_drop_proxy.h55 void OnItemDragMove(const GestureEvent& info, int32_t draggedIndex, DragType dragType);
56 void OnItemDragEnd(const GestureEvent& info, int32_t draggedIndex, DragType dragType);
H A Ddrag_drop_manager.cpp1215 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 Ddrag_drop_manager.h124 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 Dwm_common_inner.h233 int32_t sourceType, bool startDragFlag, bool startMoveFlag, bool pointEventStarted, DragType dragType, in MoveDragProperty()
237 startMoveFlag_(startMoveFlag), pointEventStarted_(pointEventStarted), dragType_(dragType), in MoveDragProperty()
H A Dwindow_property.h75 void SetDragType(DragType dragType);
/foundation/window/window_manager/wmserver/src/
H A Dwindow_node.cpp168 void WindowNode::SetDragType(DragType dragType) in SetDragType() argument
170 property_->SetDragType(dragType); in SetDragType()
H A Dwindow_layout_policy_cascade.cpp741 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 Dwindow_property_test.cpp505 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 Dwindow_node.h85 void SetDragType(DragType dragType);
/foundation/window/window_manager/utils/src/
H A Dwindow_property.cpp306 void WindowProperty::SetDragType(DragType dragType) in SetDragType() argument
308 dragType_ = dragType; in SetDragType()
/foundation/window/window_manager/wm/src/
H A Dwindow_scene_session_impl.cpp779 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()

Completed in 20 milliseconds