Searched refs:positionedComponent (Results 1 – 7 of 7) sorted by relevance
142 wrappingComponentsMap.emplace("position", positionedComponent); in GetPositionedComponent()143 return positionedComponent; in GetPositionedComponent()735 auto positionedComponent = GetPositionedComponent(); in UpdateTopComponentProps() local736 if (positionedComponent->HasPositionStyle()) { in UpdateTopComponentProps()738 renderComponent->SetHasLeft(positionedComponent->HasLeft()); in UpdateTopComponentProps()739 renderComponent->SetLeft(positionedComponent->GetLeft()); in UpdateTopComponentProps()740 renderComponent->SetHasTop(positionedComponent->HasTop()); in UpdateTopComponentProps()741 renderComponent->SetTop(positionedComponent->GetTop()); in UpdateTopComponentProps()743 renderComponent->SetBottom(positionedComponent->GetBottom()); in UpdateTopComponentProps()744 renderComponent->SetHasRight(positionedComponent->HasRight()); in UpdateTopComponentProps()[all …]
987 … auto positionedComponent = AceType::MakeRefPtr<PositionedComponent>(dragItemInfo.customComponent); in PanOnActionStart() local988 positionedComponent->SetTop(Dimension(GetGlobalOffset().GetY())); in PanOnActionStart()989 positionedComponent->SetLeft(Dimension(GetGlobalOffset().GetX())); in PanOnActionStart()998 positionedComponent->SetUpdatePositionFuncId(updatePosition); in PanOnActionStart()1000 stackElement->PushComponent(positionedComponent); in PanOnActionStart()
1053 … auto positionedComponent = AceType::MakeRefPtr<PositionedComponent>(dragItemInfo.customComponent); in PanOnActionStart() local1054 positionedComponent->SetTop(Dimension(GetGlobalOffset().GetY())); in PanOnActionStart()1055 positionedComponent->SetLeft(Dimension(GetGlobalOffset().GetX())); in PanOnActionStart()1064 positionedComponent->SetUpdatePositionFuncId(updatePosition); in PanOnActionStart()1066 stackElement->PushComponent(positionedComponent); in PanOnActionStart()
1074 … auto positionedComponent = AceType::MakeRefPtr<PositionedComponent>(dragItemInfo.customComponent); in PanOnActionStart() local1075 positionedComponent->SetTop(Dimension(GetGlobalOffset().GetY())); in PanOnActionStart()1076 positionedComponent->SetLeft(Dimension(GetGlobalOffset().GetX())); in PanOnActionStart()1085 positionedComponent->SetUpdatePositionFuncId(updatePosition); in PanOnActionStart()1087 stackElement->PushComponent(positionedComponent); in PanOnActionStart()
307 … auto positionedComponent = AceType::MakeRefPtr<PositionedComponent>(dragItemInfo.customComponent); in PanOnActionStart() local308 positionedComponent->SetTop(Dimension(GetGlobalOffset().GetY())); in PanOnActionStart()309 positionedComponent->SetLeft(Dimension(GetGlobalOffset().GetX())); in PanOnActionStart()318 positionedComponent->SetUpdatePositionFuncId(updatePosition); in PanOnActionStart()320 stackElement->PushComponent(positionedComponent); in PanOnActionStart()
2467 auto positionedComponent = AceType::MakeRefPtr<PositionedComponent>(customComponent); in CreateDragDropRecognizer() local2468 positionedComponent->SetTop(Dimension(listItem->GetGlobalOffset().GetY())); in CreateDragDropRecognizer()2469 positionedComponent->SetLeft(Dimension(listItem->GetGlobalOffset().GetX())); in CreateDragDropRecognizer()2483 positionedComponent->SetUpdatePositionFuncId(updatePosition); in CreateDragDropRecognizer()2484 stackElement->PushComponent(positionedComponent); in CreateDragDropRecognizer()
1114 auto positionedComponent = AceType::MakeRefPtr<PositionedComponent>(customComponent); in ActionStart() local1115 positionedComponent->SetTop(Dimension(info.GetY())); in ActionStart()1116 positionedComponent->SetLeft(Dimension(info.GetX())); in ActionStart()1125 positionedComponent->SetUpdatePositionFuncId(updatePosition); in ActionStart()1126 stackElement->PushComponent(positionedComponent); in ActionStart()