Home
last modified time | relevance | path

Searched refs:dragDropManager (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/manager/
H A Ddrag_drop_report_test_ng.cpp95 ASSERT_NE(dragDropManager, nullptr);
161 ASSERT_NE(dragDropManager, nullptr);
227 ASSERT_NE(dragDropManager, nullptr);
293 ASSERT_NE(dragDropManager, nullptr);
359 ASSERT_NE(dragDropManager, nullptr);
425 ASSERT_NE(dragDropManager, nullptr);
491 ASSERT_NE(dragDropManager, nullptr);
557 ASSERT_NE(dragDropManager, nullptr);
623 ASSERT_NE(dragDropManager, nullptr);
689 ASSERT_NE(dragDropManager, nullptr);
[all …]
H A Ddrag_drop_manager_test_ng.cpp182 dragDropManager->clipboard_ = nullptr;
254 dragDropManager->DestroyDragWindow();
281 dragDropManager->DestroyDragWindow();
334 dragDropManager->onDragCancel();
355 dragDropManager->onItemDragCancel();
617 dragDropManager->onItemDragCancel();
1211 dragDropManager->ClearExtraInfo();
1234 dragDropManager->CancelItemDrag();
1249 dragDropManager->CancelItemDrag();
1284 dragDropManager->CancelItemDrag();
[all …]
H A Ddrag_drop_manager_test_ng_new.cpp45 ASSERT_NE(dragDropManager, nullptr);
1022 dragDropManager->ClearExtraInfo();
1161 ASSERT_NE(dragDropManager, nullptr);
1168 dragDropManager->info_.scale = 0.5f;
1197 ASSERT_NE(dragDropManager, nullptr);
1204 dragDropManager->info_.scale = 0.5f;
1205 dragDropManager->CalcDragMoveOffset(preserverHeight, 0, 0, dragDropManager->info_);
1222 ASSERT_NE(dragDropManager, nullptr);
1243 dragDropManager->GetDragPreviewInfo(overlayManager, dragDropManager->info_, guestureEventHub);
1261 ASSERT_NE(dragDropManager, nullptr);
[all …]
H A Ddrag_drop_manager_test_ng_coverage.cpp515 dragDropManager->onDragCancel();
549 DragDropManager dragDropManager; variable
563 DragDropManager dragDropManager; variable
577 DragDropManager dragDropManager; variable
592 DragDropManager dragDropManager; variable
608 DragDropManager dragDropManager; variable
624 DragDropManager dragDropManager; variable
640 DragDropManager dragDropManager; variable
656 DragDropManager dragDropManager; variable
674 DragDropManager dragDropManager; variable
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dframe_node_drop_test_ng.cpp691 ASSERT_NE(dragDropManager, nullptr);
712 ASSERT_NE(dragDropManager, nullptr);
743 ASSERT_NE(dragDropManager, nullptr);
764 ASSERT_NE(dragDropManager, nullptr);
795 ASSERT_NE(dragDropManager, nullptr);
816 ASSERT_NE(dragDropManager, nullptr);
847 ASSERT_NE(dragDropManager, nullptr);
868 ASSERT_NE(dragDropManager, nullptr);
899 ASSERT_NE(dragDropManager, nullptr);
920 ASSERT_NE(dragDropManager, nullptr);
[all …]
H A Dview_abstract_model_test_ng.cpp932 auto dragDropManager = pipelineContext1->GetDragDropManager(); variable
933 dragDropManager->dragDropState_ = DragDropMgrState::DRAGGING;
935 dragDropManager->dragDropState_ = DragDropMgrState::ABOUT_TO_PREVIEW;
937 dragDropManager->dragDropState_ = DragDropMgrState::IDLE;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Ddrag_event.cpp170 if (dragDropManager->IsDragging()) { in IsGlobalStatusSuitableForDragging()
297 CHECK_NULL_VOID(dragDropManager); in OnCollectTouchTarget()
322 if (dragDropManager->IsDragging() || dragDropManager->IsMSDPDragging()) { in OnCollectTouchTarget()
327 dragDropManager->IsDragging(), dragDropManager->IsMSDPDragging()); in OnCollectTouchTarget()
659 if (dragDropManager->IsAboutToPreview() || dragDropManager->IsDragging() || in OnCollectTouchTarget()
663 dragDropManager->IsAboutToPreview(), dragDropManager->IsDragging(), in OnCollectTouchTarget()
894 CHECK_NULL_VOID(dragDropManager); in SetDragDampStartPointInfo()
905 CHECK_NULL_VOID(dragDropManager); in HandleDragDampingMove()
909 dragDropManager->IsDragging() || !dragDropManager->IsSameDraggingPointer(pointerId)) { in HandleDragDampingMove()
1604 CHECK_NULL_VOID(dragDropManager); in ExecutePreDragAction()
[all …]
H A Dgesture_event_hub.cpp561 CHECK_NULL_VOID(dragDropManager); in ResetDragActionForWeb()
562 dragDropManager->ResetDragging(); in ResetDragActionForWeb()
859 CHECK_NULL_VOID(dragDropManager); in HandleOnDragStart()
911 CHECK_NULL_VOID(dragDropManager); in OnDragStart()
1233 dragDropManager->OnDragEnd( in OnDragStart()
1266 taskScheduler->PostTask([dragDropManager]() { dragDropManager->HideDragPreviewOverlay(); }, in RegisterCoordinationListener()
1951 CHECK_NULL_VOID(dragDropManager); in SetMouseDragGatherPixelMaps()
1981 CHECK_NULL_VOID(dragDropManager); in SetNotMouseDragGatherPixelMaps()
2024 CHECK_NULL_VOID(dragDropManager); in FireCustomerOnDragEnd()
2029 dragDropManager->DoDragReset(); in FireCustomerOnDragEnd()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Dui_extension_model_ng.cpp73 auto dragDropManager = pipeline->GetDragDropManager(); in Create() local
74 CHECK_NULL_RETURN(dragDropManager, frameNode); in Create()
75 dragDropManager->AddDragFrameNode(nodeId, AceType::WeakClaim(AceType::RawPtr(frameNode))); in Create()
97 auto dragDropManager = pipeline->GetDragDropManager(); in Create() local
98 CHECK_NULL_VOID(dragDropManager); in Create()
99 dragDropManager->AddDragFrameNode(nodeId, AceType::WeakClaim(AceType::RawPtr(frameNode))); in Create()
120 auto dragDropManager = pipeline->GetDragDropManager(); in Create() local
121 CHECK_NULL_VOID(dragDropManager); in Create()
122 dragDropManager->AddDragFrameNode(nodeId, AceType::WeakClaim(AceType::RawPtr(frameNode))); in Create()
168 auto dragDropManager = pipeline->GetDragDropManager(); in CreateSecurityUIExtension() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/
H A Ddrag_event_test_ng_property_config.cpp89 CHECK_NULL_VOID(dragDropManager);
133 CHECK_NULL_VOID(dragDropManager);
165 CHECK_NULL_VOID(dragDropManager);
172 ASSERT_FALSE(dragDropManager->IsAboutToPreview());
173 ASSERT_FALSE(dragDropManager->IsDragging());
182 EXPECT_FALSE(dragDropManager->IsAboutToPreview());
183 EXPECT_TRUE(dragDropManager->IsDragging());
192 EXPECT_TRUE(dragDropManager->IsAboutToPreview());
193 EXPECT_FALSE(dragDropManager->IsDragging());
610 EXPECT_NE(dragDropManager, nullptr);
[all …]
H A Dgesture_event_hub_test_ng_property_config.cpp773 auto dragDropManager = pipeline->GetDragDropManager(); variable
774 ASSERT_NE(dragDropManager, nullptr);
779 dragDropManager->GetGatherPixelMap(dragData, 1.0f);
1282 ASSERT_NE(dragDropManager, nullptr);
1283 dragDropManager->isDragged_ = true;
1285 EXPECT_TRUE(dragDropManager->IsDragged());
1397 EXPECT_NE(dragDropManager, nullptr);
1769 ASSERT_NE(dragDropManager, nullptr);
1786 EXPECT_FALSE(dragDropManager->IsDragged());
1870 ASSERT_NE(dragDropManager, nullptr);
[all …]
H A Ddrag_event_test_ng.cpp931 auto dragDropManager = pipeline->GetDragDropManager(); variable
932 ASSERT_NE(dragDropManager, nullptr);
937 EXPECT_EQ(dragDropManager->GetPreDragStatus(), PreDragStatus::PREVIEW_LIFT_STARTED);
939 EXPECT_EQ(dragDropManager->GetPreDragStatus(), PreDragStatus::PREVIEW_LIFT_FINISHED);
970 auto dragDropManager = pipeline->GetDragDropManager(); variable
971 ASSERT_NE(dragDropManager, nullptr);
972 dragDropManager->SetPrepareDragFrameNode(frameNode);
1004 dragDropManager->ResetDragging(DragDropMgrState::DRAGGING);
1128 auto dragDropManager = pipelineContext->GetDragDropManager(); variable
1129 EXPECT_NE(dragDropManager, nullptr);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_event_hub.cpp100 auto dragDropManager = pipeline->GetDragDropManager(); in HandleOnItemDragStart() local
101 CHECK_NULL_VOID(dragDropManager); in HandleOnItemDragStart()
102 dragDropManager->SetDraggingPointer(info.GetPointerId()); in HandleOnItemDragStart()
103 dragDropManager->SetDraggingPressedState(true); in HandleOnItemDragStart()
H A Dlist_model_ng.cpp462 auto dragDropManager = pipeline->GetDragDropManager(); in AddDragFrameNodeToManager() local
463 CHECK_NULL_VOID(dragDropManager); in AddDragFrameNodeToManager()
467 dragDropManager->AddListDragFrameNode(frameNode->GetId(), AceType::WeakClaim(frameNode)); in AddDragFrameNodeToManager()
932 auto dragDropManager = pipeline->GetDragDropManager(); in AddDragFrameNodeToManager() local
933 CHECK_NULL_VOID(dragDropManager); in AddDragFrameNodeToManager()
935 dragDropManager->AddListDragFrameNode(frameNode->GetId(), AceType::WeakClaim(frameNode)); in AddDragFrameNodeToManager()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_manager.cpp78 auto dragDropManager = pipeline->GetDragDropManager(); in GetMenuWrapperNodeFromDrag() local
79 CHECK_NULL_RETURN(dragDropManager, nullptr); in GetMenuWrapperNodeFromDrag()
80 return dragDropManager->GetMenuWrapperNode(); in GetMenuWrapperNodeFromDrag()
928 CHECK_NULL_VOID(dragDropManager); in TryGetDataBackGround()
1401 CHECK_NULL_VOID(dragDropManager); in AddDataToClipboard()
1453 CHECK_NULL_VOID(dragDropManager); in RestoreClipboardData()
1800 auto dragDropManager = weakManager.Upgrade(); in DragMoveAnimation() local
1801 CHECK_NULL_VOID(dragDropManager); in DragMoveAnimation()
1884 auto dragDropManager = weakManager.Upgrade(); in DragStartAnimation() local
1885 if (dragDropManager && !dragDropManager->IsPullMoveReceivedForCurrentDrag()) { in DragStartAnimation()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/utils/
H A Ddrag_animation_helper.cpp269 auto dragDropManager = pipelineContext->GetDragDropManager(); in ShowBadgeAnimation() local
270 CHECK_NULL_VOID(dragDropManager); in ShowBadgeAnimation()
271 if (!dragDropManager->IsShowBadgeAnimation()) { in ShowBadgeAnimation()
291 dragDropManager->SetIsShowBadgeAnimation(false); in ShowBadgeAnimation()
320 auto dragDropManager = pipelineContext->GetDragDropManager(); in CalcBadgeTextPosition() local
321 CHECK_NULL_VOID(dragDropManager); in CalcBadgeTextPosition()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_event_hub.cpp174 auto dragDropManager = pipeline->GetDragDropManager(); in HandleOnItemDragStart() local
175 CHECK_NULL_VOID(dragDropManager); in HandleOnItemDragStart()
176 dragDropManager->SetDraggingPointer(info.GetPointerId()); in HandleOnItemDragStart()
177 dragDropManager->SetDraggingPressedState(true); in HandleOnItemDragStart()
H A Dgrid_model_ng.cpp303 auto dragDropManager = pipeline->GetDragDropManager(); in AddDragFrameNodeToManager() local
304 CHECK_NULL_VOID(dragDropManager); in AddDragFrameNodeToManager()
308 dragDropManager->AddGridDragFrameNode(frameNode->GetId(), AceType::WeakClaim(frameNode)); in AddDragFrameNodeToManager()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/
H A Dmenu_preview_pattern.cpp177 auto dragDropManager = mainPipeline->GetDragDropManager(); in InitPanEvent() local
178 CHECK_NULL_VOID(dragDropManager); in InitPanEvent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.h803 auto dragDropManager = context->GetDragDropManager(); in AddDragFrameNodeToManager() local
804 CHECK_NULL_VOID(dragDropManager); in AddDragFrameNodeToManager()
805dragDropManager->AddDragFrameNode(frameNode->GetId(), AceType::WeakClaim(AceType::RawPtr(frameNode… in AddDragFrameNodeToManager()
812 auto dragDropManager = context->GetDragDropManager(); in RemoveDragFrameNodeFromManager() local
813 CHECK_NULL_VOID(dragDropManager); in RemoveDragFrameNodeFromManager()
814 dragDropManager->RemoveDragFrameNode(frameNode->GetId()); in RemoveDragFrameNodeFromManager()
H A Dtext_field_model_ng.cpp224 auto dragDropManager = pipeline->GetDragDropManager(); in ProcessDefaultStyleAndBehaviors() local
225 CHECK_NULL_VOID(dragDropManager); in ProcessDefaultStyleAndBehaviors()
226dragDropManager->AddTextFieldDragFrameNode(frameNode->GetId(), AceType::WeakClaim(AceType::RawPtr(… in ProcessDefaultStyleAndBehaviors()
573 auto dragDropManager = pipeline->GetDragDropManager(); in AddDragFrameNodeToManager() local
574 CHECK_NULL_VOID(dragDropManager); in AddDragFrameNodeToManager()
575 dragDropManager->AddTextFieldDragFrameNode(frameNode->GetId(), AceType::WeakClaim(frameNode)); in AddDragFrameNodeToManager()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/
H A Dscrollable_cover_test_ng.cpp1066 auto dragDropManager = MockPipelineContext::GetCurrent()->GetDragDropManager(); variable
1067 ASSERT_NE(dragDropManager, nullptr);
1071 auto it = dragDropManager->nodesForDragNotify_.find(scroll_->GetId());
1072 EXPECT_TRUE(it != dragDropManager->nodesForDragNotify_.end());
1080 it = dragDropManager->nodesForDragNotify_.find(scroll_->GetId());
1081 EXPECT_TRUE(it == dragDropManager->nodesForDragNotify_.end());
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_abstract_model_ng.cpp307 auto dragDropManager = pipelineContext->GetDragDropManager(); in BindContextMenu() local
308 CHECK_NULL_VOID(dragDropManager); in BindContextMenu()
309 if (dragDropManager->IsAboutToPreview() || dragDropManager->IsDragging()) { in BindContextMenu()
H A Dview_abstract.cpp1401 auto dragDropManager = pipeline->GetDragDropManager(); in AddDragFrameNodeToManager() local
1402 CHECK_NULL_VOID(dragDropManager); in AddDragFrameNodeToManager()
1406 dragDropManager->AddDragFrameNode(frameNode->GetId(), AceType::WeakClaim(frameNode)); in AddDragFrameNodeToManager()
1414 auto dragDropManager = pipeline->GetDragDropManager(); in AddDragFrameNodeToManager() local
1415 CHECK_NULL_VOID(dragDropManager); in AddDragFrameNodeToManager()
4845 auto dragDropManager = pipeline->GetDragDropManager(); in SetDragEventStrictReportingEnabled() local
4846 CHECK_NULL_VOID(dragDropManager); in SetDragEventStrictReportingEnabled()
4847 dragDropManager->SetEventStrictReportingEnabled(dragEventStrictReportingEnabled); in SetDragEventStrictReportingEnabled()
4854 auto dragDropManager = pipeline->GetDragDropManager(); in SetDragEventStrictReportingEnabled() local
4855 CHECK_NULL_VOID(dragDropManager); in SetDragEventStrictReportingEnabled()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.h1127 auto dragDropManager = context->GetDragDropManager(); in AddDragFrameNodeToManager() local
1128 CHECK_NULL_VOID(dragDropManager); in AddDragFrameNodeToManager()
1129dragDropManager->AddDragFrameNode(frameNode->GetId(), AceType::WeakClaim(AceType::RawPtr(frameNode… in AddDragFrameNodeToManager()
1138 auto dragDropManager = context->GetDragDropManager(); in RemoveDragFrameNodeFromManager() local
1139 CHECK_NULL_VOID(dragDropManager); in RemoveDragFrameNodeFromManager()
1140 dragDropManager->RemoveDragFrameNode(frameNode->GetId()); in RemoveDragFrameNodeFromManager()

12