Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
Dmenu_layout_algorithm.cpp243 MenuLayoutAlgorithm::MenuLayoutAlgorithm(int32_t id, const std::string& tag) : targetNodeId_(id), t… in MenuLayoutAlgorithm() function in OHOS::Ace::NG::MenuLayoutAlgorithm
245 placementFuncMap_[Placement::TOP] = &MenuLayoutAlgorithm::GetPositionWithPlacementTop; in MenuLayoutAlgorithm()
246 placementFuncMap_[Placement::TOP_LEFT] = &MenuLayoutAlgorithm::GetPositionWithPlacementTopLeft; in MenuLayoutAlgorithm()
247 … placementFuncMap_[Placement::TOP_RIGHT] = &MenuLayoutAlgorithm::GetPositionWithPlacementTopRight; in MenuLayoutAlgorithm()
248 placementFuncMap_[Placement::BOTTOM] = &MenuLayoutAlgorithm::GetPositionWithPlacementBottom; in MenuLayoutAlgorithm()
249 …placementFuncMap_[Placement::BOTTOM_LEFT] = &MenuLayoutAlgorithm::GetPositionWithPlacementBottomLe… in MenuLayoutAlgorithm()
250 …placementFuncMap_[Placement::BOTTOM_RIGHT] = &MenuLayoutAlgorithm::GetPositionWithPlacementBottomR… in MenuLayoutAlgorithm()
251 placementFuncMap_[Placement::LEFT] = &MenuLayoutAlgorithm::GetPositionWithPlacementLeft; in MenuLayoutAlgorithm()
252 placementFuncMap_[Placement::LEFT_TOP] = &MenuLayoutAlgorithm::GetPositionWithPlacementLeftTop; in MenuLayoutAlgorithm()
253 …placementFuncMap_[Placement::LEFT_BOTTOM] = &MenuLayoutAlgorithm::GetPositionWithPlacementLeftBott… in MenuLayoutAlgorithm()
[all …]
Dmulti_menu_layout_algorithm.h23 class ACE_EXPORT MultiMenuLayoutAlgorithm : public MenuLayoutAlgorithm {
24 DECLARE_ACE_TYPE(MultiMenuLayoutAlgorithm, MenuLayoutAlgorithm)
Dsub_menu_layout_algorithm.h22 class ACE_EXPORT SubMenuLayoutAlgorithm : public MenuLayoutAlgorithm {
23 DECLARE_ACE_TYPE(SubMenuLayoutAlgorithm, MenuLayoutAlgorithm)
Dmenu_layout_algorithm.h31 class MenuLayoutAlgorithm : public BoxLayoutAlgorithm {
32 DECLARE_ACE_TYPE(MenuLayoutAlgorithm, BoxLayoutAlgorithm)
34 MenuLayoutAlgorithm(int32_t id, const std::string& tag);
35 MenuLayoutAlgorithm() = default;
36 ~MenuLayoutAlgorithm() override;
216 …using PlacementFunc = OffsetF (MenuLayoutAlgorithm::*)(const SizeF&, const OffsetF&, const OffsetF…
219 ACE_DISALLOW_COPY_AND_MOVE(MenuLayoutAlgorithm);
Dmenu_pattern.cpp619 return MakeRefPtr<MenuLayoutAlgorithm>(targetId_, targetTag_); in CreateLayoutAlgorithm()
739 …auto layoutAlgorithm = AceType::DynamicCast<MenuLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayout… in GetTransformCenter()
/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
Dmenu_test_ng.cpp1724 RefPtr<MenuLayoutAlgorithm> layoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
1767 RefPtr<MenuLayoutAlgorithm> layoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3736 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3752 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3768 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3784 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3800 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3817 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3841 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3858 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
[all …]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/
Dmenu_preview_layout_algorithm.cpp54 …auto menuLayoutAlgorithm = DynamicCast<MenuLayoutAlgorithm>(menuLayoutAlgorithmWrapper->GetLayoutA… in Layout()