Home
last modified time | relevance | path

Searched refs:positionedComponent (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Dview_stack_processor.cpp142 wrappingComponentsMap.emplace("position", positionedComponent); in GetPositionedComponent()
143 return positionedComponent; in GetPositionedComponent()
735 auto positionedComponent = GetPositionedComponent(); in UpdateTopComponentProps() local
736 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 …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Drender_image.cpp987 … auto positionedComponent = AceType::MakeRefPtr<PositionedComponent>(dragItemInfo.customComponent); in PanOnActionStart() local
988 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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Drender_text.cpp1053 … auto positionedComponent = AceType::MakeRefPtr<PositionedComponent>(dragItemInfo.customComponent); in PanOnActionStart() local
1054 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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/
H A Drender_web.cpp1074 … auto positionedComponent = AceType::MakeRefPtr<PositionedComponent>(dragItemInfo.customComponent); in PanOnActionStart() local
1075 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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/
H A Drender_box.cpp307 … auto positionedComponent = AceType::MakeRefPtr<PositionedComponent>(dragItemInfo.customComponent); in PanOnActionStart() local
308 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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Drender_list.cpp2467 auto positionedComponent = AceType::MakeRefPtr<PositionedComponent>(customComponent); in CreateDragDropRecognizer() local
2468 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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/
H A Drender_grid_layout.cpp1114 auto positionedComponent = AceType::MakeRefPtr<PositionedComponent>(customComponent); in ActionStart() local
1115 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()