Home
last modified time | relevance | path

Searched refs:placement_ (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
H A Dmenu_layoutScd_test_ng.cpp312 menuAlgorithm->placement_ = Placement::BOTTOM;
431 menuAlgorithm->placement_ = Placement::TOP_LEFT;
447 menuAlgorithm->placement_ = Placement::TOP;
501 menuAlgorithm->placement_ = Placement::TOP_LEFT;
577 menuAlgorithm->placement_ = Placement::LEFT_TOP;
632 menuAlgorithm->placement_ = Placement::RIGHT_TOP;
648 menuAlgorithm->placement_ = Placement::RIGHT;
904 menuAlgorithm->placement_ = Placement::TOP_LEFT;
977 menuAlgorithm->placement_ = Placement::TOP_LEFT;
1050 menuAlgorithm->placement_ = Placement::TOP_LEFT;
[all …]
H A Dmenu_layoutFst_test_ng.cpp811 menuLayoutAlgorithm->placement_ = Placement::RIGHT;
925 menuLayoutAlgorithm->placement_ = Placement::TOP_LEFT;
941 menuLayoutAlgorithm->placement_ = Placement::LEFT_TOP;
949 menuLayoutAlgorithm->placement_ = Placement::NONE;
976 menuLayoutAlgorithm->placement_ = Placement::TOP_LEFT;
992 menuLayoutAlgorithm->placement_ = Placement::LEFT_TOP;
1000 menuLayoutAlgorithm->placement_ = Placement::NONE;
1406 menuLayoutAlgorithm->placement_ = Placement::NONE;
1487 menuLayoutAlgorithm->placement_ = Placement::TOP_LEFT;
1504 menuLayoutAlgorithm->placement_ = Placement::NONE;
[all …]
H A Dmenu_patternEx_test_ng.cpp1450 menuAlgorithm->placement_ = Placement::BOTTOM_LEFT;
1452 menuAlgorithm->placement_ = Placement::RIGHT_TOP;
1458 menuAlgorithm->placement_ = Placement::LEFT_TOP;
1462 menuAlgorithm->placement_ = Placement::TOP_LEFT;
1468 menuAlgorithm->placement_ = Placement::TOP_RIGHT;
1470 menuAlgorithm->placement_ = Placement::LEFT_BOTTOM;
1474 menuAlgorithm->placement_ = Placement::BOTTOM;
1477 menuAlgorithm->placement_ = Placement::LEFT;
1480 menuAlgorithm->placement_ = Placement::TOP;
1483 menuAlgorithm->placement_ = Placement::RIGHT;
[all …]
H A Dmenu_origin_test_ng.cpp2112 menuAlgorithm->placement_ = Placement::LEFT_TOP;
2145 menuAlgorithm->placement_ = Placement::LEFT_TOP;
2149 menuAlgorithm->placement_ = Placement::BOTTOM;
2180 menuAlgorithm->placement_ = Placement::RIGHT_TOP;
2184 menuAlgorithm->placement_ = Placement::TOP;
2217 menuAlgorithm->placement_ = Placement::LEFT_TOP;
2221 menuAlgorithm->placement_ = Placement::BOTTOM;
2225 menuAlgorithm->placement_ = Placement::RIGHT_TOP;
2229 menuAlgorithm->placement_ = Placement::TOP;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_layout_algorithm.cpp1355 if (placement_ == Placement::BOTTOM_LEFT || placement_ == Placement::BOTTOM || in LayoutPreviewMenu()
1358 } else if (placement_ == Placement::TOP_LEFT || placement_ == Placement::TOP || in LayoutPreviewMenu()
1412 switch (placement_) { in FixMenuOriginOffset()
1630 switch (placement_) { in ProcessArrowParams()
1846 switch (placement_) { in PlacementRTL()
2008 placement_ = Placement::BOTTOM; in VerticalLayout()
2258 arrowPlacement_ = placement_; in GetChildPosition()
2291 switch (placement_) { in AdjustPosition()
2337 switch (placement_) { in AddTargetSpace()
2374 switch (placement_) { in AddOffset()
[all …]
H A Dmenu_layout_algorithm.h70 return placement_; in GetPlacement()
144 void PlacementRTL(LayoutWrapper* layoutWrapper, Placement& placement_);
238 Placement placement_ = Placement::BOTTOM_LEFT; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_layout_algorithm.cpp721 if ((placement_ != Placement::BOTTOM) && (placement_ != Placement::TOP)) { in GetChildPositionNew()
766 arrowPlacement_ = placement_; in GetChildPositionNew()
784 if ((placement_ != Placement::BOTTOM) && (placement_ != Placement::TOP)) { in GetAdjustPosition()
830 switch (placement_) { in AdjustPosition()
923 switch (placement_) { in AddTargetSpace()
970 switch (placement_) { in UpdateChildPosition()
1064 if ((placement_ != Placement::BOTTOM) && (placement_ != Placement::TOP)) { in InitCaretTargetSizeAndPosition()
1126 switch (placement_) { in CheckPosition()
2106 arrowPlacement_ = placement_; in GetChildPosition()
2115 …if (placement_ == Placement::TOP || placement_ == Placement::TOP_LEFT || placement_ == Placement::… in GetChildPosition()
[all …]
H A Dbubble_layout_algorithm.h241 Placement placement_ = Placement::BOTTOM; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_button.cpp489 placement_ = buttonDeclaration_->GetPlacement(); in PrepareChildren()
490 if (placement_ == PLACEMENT_BOTTOM) { in PrepareChildren()
492 } else if (placement_ == PLACEMENT_TOP) { in PrepareChildren()
494 } else if (placement_ == PLACEMENT_START) { in PrepareChildren()
511 if ((placement_ == PLACEMENT_START) || (placement_ == PLACEMENT_TOP)) { in PrepareChildrenLayout()
520 if ((placement_ == PLACEMENT_TOP) || (placement_ == PLACEMENT_BOTTOM)) { in PrepareChildrenLayout()
H A Ddom_button.h85 std::string placement_; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dpopup_param.h74 placement_ = placement; in SetPlacement()
96 return placement_; in GetPlacement()
511 Placement placement_ = Placement::BOTTOM; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/chart/
H A Dchart_component.h68 placement_ = placement; in SetPlacement()
73 return placement_; in GetPlacement()
98 Placement placement_ = Placement::BOTTOM; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Drender_bubble.cpp75 placement_ = bubble->GetPopupParam()->GetPlacement(); in Update()
83 UpdateArrowOffset(bubble, placement_); in Update()
123 switch (placement_) { in UpdateArrowOffset()
405 arrowPlacement_ = placement_; in GetChildPosition()
413 if (placement_ != Placement::TOP || errorType == ErrorPositionType::TOP_LEFT_ERROR) { in GetChildPosition()
429 arrowPlacement_ = placement_; in GetChildPosition()
446 switch (placement_) { in GetPositionWithPlacement()
935 double arrowOffset = GetArrowOffset(placement_); in BuildCompletePath()
H A Drender_bubble.h118 Placement placement_ = Placement::BOTTOM; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/bubble/
H A Dbubble_test_ng.cpp2081 bubbleLayoutAlgorithm->placement_ = placement;
2193 bubbleLayoutAlgorithm->placement_ = placement;
2230 bubbleLayoutAlgorithm->placement_ = placement;
2692 layoutAlgorithm->placement_ = Placement::TOP;
2697 layoutAlgorithm->placement_ = Placement::BOTTOM;
2702 layoutAlgorithm->placement_ = Placement::LEFT;
2707 layoutAlgorithm->placement_ = Placement::RIGHT;