Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/
Dmenu_item_layout_algorithm.cpp27 void MenuItemLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure()
60 void MenuItemLayoutAlgorithm::RemoveParentRestrictionsForFixIdeal( in RemoveParentRestrictionsForFixIdeal()
76 void MenuItemLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout()
89 void MenuItemLayoutAlgorithm::CheckNeedMatchParent(LayoutWrapper* layoutWrapper, in CheckNeedMatchParent()
107 void MenuItemLayoutAlgorithm::CheckUserHeight(LayoutWrapper* layoutWrapper) in CheckUserHeight()
129 float MenuItemLayoutAlgorithm::CalcItemHeight(float leftRowHeight, float rightRowHeight) in CalcItemHeight()
135 std::pair<float, float> MenuItemLayoutAlgorithm::MeasureRightRow(LayoutWrapper* layoutWrapper, in MeasureRightRow()
182 void MenuItemLayoutAlgorithm::CalcContentExpandWidth(std::optional<LayoutConstraintF>& layoutConstr… in CalcContentExpandWidth()
205 void MenuItemLayoutAlgorithm::MeasureItemViews(LayoutConstraintF& childConstraint, in MeasureItemViews()
236 float MenuItemLayoutAlgorithm::MeasureExpandableHeight(LayoutConstraintF& childConstraint, LayoutWr… in MeasureExpandableHeight()
[all …]
Dmenu_item_layout_algorithm.h29 class ACE_EXPORT MenuItemLayoutAlgorithm : public BoxLayoutAlgorithm {
30 DECLARE_ACE_TYPE(MenuItemLayoutAlgorithm, BoxLayoutAlgorithm);
33 MenuItemLayoutAlgorithm(bool isOption = false) : isOption_(isOption) {} in isOption_()
34 MenuItemLayoutAlgorithm(bool isOption, bool show) in MenuItemLayoutAlgorithm() function
37 ~MenuItemLayoutAlgorithm() override = default;
97 ACE_DISALLOW_COPY_AND_MOVE(MenuItemLayoutAlgorithm);
Dmenu_item_pattern.h118 return MakeRefPtr<MenuItemLayoutAlgorithm>(isOptionPattern_, showDefaultSelectedIcon_); in CreateLayoutAlgorithm()
/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
Dmenuitem_pattern_option_test_ng.cpp184 OHOS::Ace::NG::MenuItemLayoutAlgorithm rosenOptionLayoutAlgorithm(true);
259 MenuItemLayoutAlgorithm rosenOptionLayoutAlgorithm(true);
465 MenuItemLayoutAlgorithm rosenOptionLayoutAlgorithm(true);
540 MenuItemLayoutAlgorithm rosenOptionLayoutAlgorithm;
Dmenuitem_test_ng.cpp226 auto algorithm = AceType::MakeRefPtr<MenuItemLayoutAlgorithm>();
413 …auto algorithm = AceType::DynamicCast<MenuItemLayoutAlgorithm>(menuItemPattern->CreateLayoutAlgori…
467 …auto algorithm = AceType::DynamicCast<MenuItemLayoutAlgorithm>(menuItemPattern->CreateLayoutAlgori…
520 …auto algorithm = AceType::DynamicCast<MenuItemLayoutAlgorithm>(menuItemPattern->CreateLayoutAlgori…
Dmenuitem_testone_ng.cpp108 RefPtr<MenuItemLayoutAlgorithm> menuItemLayoutAlgorithm_;
119 menuItemLayoutAlgorithm_ = AceType::MakeRefPtr<MenuItemLayoutAlgorithm>(); in SetUp()
Dmenuitem_layout_property_test_ng.cpp1159 auto menuItemLayoutAlgorithm = AceType::MakeRefPtr<MenuItemLayoutAlgorithm>();