/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/manager/ |
H A D | drag_drop_report_test_ng.cpp | 95 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 D | drag_drop_manager_test_ng.cpp | 182 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 D | drag_drop_manager_test_ng_new.cpp | 45 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 D | drag_drop_manager_test_ng_coverage.cpp | 515 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 D | frame_node_drop_test_ng.cpp | 691 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 D | view_abstract_model_test_ng.cpp | 932 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 D | drag_event.cpp | 170 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 D | gesture_event_hub.cpp | 561 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 D | ui_extension_model_ng.cpp | 73 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 D | drag_event_test_ng_property_config.cpp | 89 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 D | gesture_event_hub_test_ng_property_config.cpp | 773 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 D | drag_event_test_ng.cpp | 931 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 D | list_event_hub.cpp | 100 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 D | list_model_ng.cpp | 462 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 D | drag_drop_manager.cpp | 78 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 D | drag_animation_helper.cpp | 269 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 D | grid_event_hub.cpp | 174 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 D | grid_model_ng.cpp | 303 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 D | menu_preview_pattern.cpp | 177 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 D | text_field_pattern.h | 803 auto dragDropManager = context->GetDragDropManager(); in AddDragFrameNodeToManager() local 804 CHECK_NULL_VOID(dragDropManager); in AddDragFrameNodeToManager() 805 …dragDropManager->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 D | text_field_model_ng.cpp | 224 auto dragDropManager = pipeline->GetDragDropManager(); in ProcessDefaultStyleAndBehaviors() local 225 CHECK_NULL_VOID(dragDropManager); in ProcessDefaultStyleAndBehaviors() 226 …dragDropManager->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 D | scrollable_cover_test_ng.cpp | 1066 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 D | view_abstract_model_ng.cpp | 307 auto dragDropManager = pipelineContext->GetDragDropManager(); in BindContextMenu() local 308 CHECK_NULL_VOID(dragDropManager); in BindContextMenu() 309 if (dragDropManager->IsAboutToPreview() || dragDropManager->IsDragging()) { in BindContextMenu()
|
H A D | view_abstract.cpp | 1401 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 D | rich_editor_pattern.h | 1127 auto dragDropManager = context->GetDragDropManager(); in AddDragFrameNodeToManager() local 1128 CHECK_NULL_VOID(dragDropManager); in AddDragFrameNodeToManager() 1129 …dragDropManager->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()
|