Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
Dmenu_layout_algorithm.cpp234 MenuLayoutAlgorithm::MenuLayoutAlgorithm(int32_t id, const std::string& tag) : targetNodeId_(id), t… in MenuLayoutAlgorithm() function in OHOS::Ace::NG::MenuLayoutAlgorithm
236 placementFuncMap_[Placement::TOP] = &MenuLayoutAlgorithm::GetPositionWithPlacementTop; in MenuLayoutAlgorithm()
237 placementFuncMap_[Placement::TOP_LEFT] = &MenuLayoutAlgorithm::GetPositionWithPlacementTopLeft; in MenuLayoutAlgorithm()
238 … placementFuncMap_[Placement::TOP_RIGHT] = &MenuLayoutAlgorithm::GetPositionWithPlacementTopRight; in MenuLayoutAlgorithm()
239 placementFuncMap_[Placement::BOTTOM] = &MenuLayoutAlgorithm::GetPositionWithPlacementBottom; in MenuLayoutAlgorithm()
240 …placementFuncMap_[Placement::BOTTOM_LEFT] = &MenuLayoutAlgorithm::GetPositionWithPlacementBottomLe… in MenuLayoutAlgorithm()
241 …placementFuncMap_[Placement::BOTTOM_RIGHT] = &MenuLayoutAlgorithm::GetPositionWithPlacementBottomR… in MenuLayoutAlgorithm()
242 placementFuncMap_[Placement::LEFT] = &MenuLayoutAlgorithm::GetPositionWithPlacementLeft; in MenuLayoutAlgorithm()
243 placementFuncMap_[Placement::LEFT_TOP] = &MenuLayoutAlgorithm::GetPositionWithPlacementLeftTop; in MenuLayoutAlgorithm()
244 …placementFuncMap_[Placement::LEFT_BOTTOM] = &MenuLayoutAlgorithm::GetPositionWithPlacementLeftBott… in MenuLayoutAlgorithm()
[all …]
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;
147 …using PlacementFunc = OffsetF (MenuLayoutAlgorithm::*)(const SizeF&, const OffsetF&, const OffsetF…
150 ACE_DISALLOW_COPY_AND_MOVE(MenuLayoutAlgorithm);
Dsub_menu_layout_algorithm.h22 class ACE_EXPORT SubMenuLayoutAlgorithm : public MenuLayoutAlgorithm {
23 DECLARE_ACE_TYPE(SubMenuLayoutAlgorithm, MenuLayoutAlgorithm)
Dmulti_menu_layout_algorithm.h23 class ACE_EXPORT MultiMenuLayoutAlgorithm : public MenuLayoutAlgorithm {
24 DECLARE_ACE_TYPE(MultiMenuLayoutAlgorithm, MenuLayoutAlgorithm)
Dmenu_pattern.cpp524 return MakeRefPtr<MenuLayoutAlgorithm>(targetId_, targetTag_); in CreateLayoutAlgorithm()
/foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/menu/
Dmenu_test_ng.cpp1476 RefPtr<MenuLayoutAlgorithm> layoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
1519 RefPtr<MenuLayoutAlgorithm> layoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3508 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3524 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3540 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3556 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3572 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3588 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3603 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
3619 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>();
[all …]