Searched refs:MenuLayoutAlgorithm (Results 1 – 6 of 6) sorted by relevance
234 MenuLayoutAlgorithm::MenuLayoutAlgorithm(int32_t id, const std::string& tag) : targetNodeId_(id), t… in MenuLayoutAlgorithm() function in OHOS::Ace::NG::MenuLayoutAlgorithm236 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 …]
31 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);
22 class ACE_EXPORT SubMenuLayoutAlgorithm : public MenuLayoutAlgorithm {23 DECLARE_ACE_TYPE(SubMenuLayoutAlgorithm, MenuLayoutAlgorithm)
23 class ACE_EXPORT MultiMenuLayoutAlgorithm : public MenuLayoutAlgorithm {24 DECLARE_ACE_TYPE(MultiMenuLayoutAlgorithm, MenuLayoutAlgorithm)
524 return MakeRefPtr<MenuLayoutAlgorithm>(targetId_, targetTag_); in CreateLayoutAlgorithm()
1476 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 …]