Searched refs:gatherNodeCenter (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/utils/ |
H A D | drag_animation_helper.cpp | 55 …ionHelper::CalcDistanceBeforeLifting(bool isGrid, CalcResult& calcResult, OffsetF gatherNodeCenter, in CalcDistanceBeforeLifting() argument 64 float dis = sqrt(pow(gatherNodeCenter.GetX() - curPos.GetX(), 2) + in CalcDistanceBeforeLifting() 65 pow(gatherNodeCenter.GetY() - curPos.GetY(), 2)); in CalcDistanceBeforeLifting() 106 auto gatherNodeCenter = frameNode->GetPaintRectCenter(); in PlayGatherNodeTranslateAnimation() local 111 CalcDistanceBeforeLifting(isGrid, calcResult, gatherNodeCenter, gatherNodeChildrenInfo); in PlayGatherNodeTranslateAnimation() 114 [gatherNodeCenter, gatherNodeChildrenInfo, calcResult]() mutable { in PlayGatherNodeTranslateAnimation() 121 auto offset = CalcOffsetToTarget(curPos, gatherNodeCenter, calcResult); in PlayGatherNodeTranslateAnimation() 231 auto gatherNodeCenter = frameNode->GetPaintRectCenter(); in PlayGatherAnimation() local 256 frameNodeSize.Height(), gatherNodeCenter, renderContext->GetBorderRadius() }; in PlayGatherAnimation()
|
H A D | drag_animation_helper.h | 38 …tatic void CalcDistanceBeforeLifting(bool isGrid, CalcResult& calcResult, OffsetF gatherNodeCenter,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/ |
H A D | drag_drop_manager.cpp | 1757 auto gatherNodeCenter = info_.imageNode->GetPaintRectCenter(); in GetCurrentDistance() local 1759 gatherNodeCenter.GetX(), gatherNodeCenter.GetY()); in GetCurrentDistance() 1863 auto gatherNodeCenter = info_.imageNode->GetPaintRectCenter(); in DoDragStartAnimation() local 1871 DragStartAnimation(newOffset, overlayManager, gatherNodeCenter, point); in DoDragStartAnimation() 1897 …[renderContext, info = info_, newOffset, overlayManager, gatherNodeCenter, menuRenderContext, menu… in DragStartAnimation() 1906 gatherNodeCenter, renderContext->GetBorderRadius() }; in DragStartAnimation() 1978 Dimension(info.gatherNodeCenter.GetX() - childInfo.halfWidth), in UpdateGatherNodeAttr() 1979 Dimension(info.gatherNodeCenter.GetY() - childInfo.halfHeight))); in UpdateGatherNodeAttr() 1997 auto gatherNodeCenter = imageNode->GetPaintRectCenter(); in UpdateGatherNodePosition() local 2008 x.SetValue(gatherNodeCenter.GetX() - child.halfWidth); in UpdateGatherNodePosition() [all …]
|
H A D | drag_drop_manager.h | 46 OffsetF gatherNodeCenter; member 318 const OffsetF& gatherNodeCenter, Point point = { 1, 1 });
|