Searched refs:MenuItemLayoutAlgorithm (Results 1 – 7 of 7) sorted by relevance
27 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 …]
29 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() function37 ~MenuItemLayoutAlgorithm() override = default;97 ACE_DISALLOW_COPY_AND_MOVE(MenuItemLayoutAlgorithm);
118 return MakeRefPtr<MenuItemLayoutAlgorithm>(isOptionPattern_, showDefaultSelectedIcon_); in CreateLayoutAlgorithm()
184 OHOS::Ace::NG::MenuItemLayoutAlgorithm rosenOptionLayoutAlgorithm(true);259 MenuItemLayoutAlgorithm rosenOptionLayoutAlgorithm(true);465 MenuItemLayoutAlgorithm rosenOptionLayoutAlgorithm(true);540 MenuItemLayoutAlgorithm rosenOptionLayoutAlgorithm;
226 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…
108 RefPtr<MenuItemLayoutAlgorithm> menuItemLayoutAlgorithm_;119 menuItemLayoutAlgorithm_ = AceType::MakeRefPtr<MenuItemLayoutAlgorithm>(); in SetUp()
1159 auto menuItemLayoutAlgorithm = AceType::MakeRefPtr<MenuItemLayoutAlgorithm>();