Home
last modified time | relevance | path

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 Ddrag_animation_helper.cpp55 …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 Ddrag_animation_helper.h38 …tatic void CalcDistanceBeforeLifting(bool isGrid, CalcResult& calcResult, OffsetF gatherNodeCenter,
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/
H A Ddrag_drop_manager.cpp1757 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 Ddrag_drop_manager.h46 OffsetF gatherNodeCenter; member
318 const OffsetF& gatherNodeCenter, Point point = { 1, 1 });