Searched refs:MenuLayoutAlgorithm (Results 1 – 7 of 7) sorted by relevance
243 MenuLayoutAlgorithm::MenuLayoutAlgorithm(int32_t id, const std::string& tag) : targetNodeId_(id), t… in MenuLayoutAlgorithm() function in OHOS::Ace::NG::MenuLayoutAlgorithm245 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 …]
23 class ACE_EXPORT MultiMenuLayoutAlgorithm : public MenuLayoutAlgorithm {24 DECLARE_ACE_TYPE(MultiMenuLayoutAlgorithm, MenuLayoutAlgorithm)
22 class ACE_EXPORT SubMenuLayoutAlgorithm : public MenuLayoutAlgorithm {23 DECLARE_ACE_TYPE(SubMenuLayoutAlgorithm, MenuLayoutAlgorithm)
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;216 …using PlacementFunc = OffsetF (MenuLayoutAlgorithm::*)(const SizeF&, const OffsetF&, const OffsetF…219 ACE_DISALLOW_COPY_AND_MOVE(MenuLayoutAlgorithm);
619 return MakeRefPtr<MenuLayoutAlgorithm>(targetId_, targetTag_); in CreateLayoutAlgorithm()739 …auto layoutAlgorithm = AceType::DynamicCast<MenuLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayout… in GetTransformCenter()
1724 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 …]
54 …auto menuLayoutAlgorithm = DynamicCast<MenuLayoutAlgorithm>(menuLayoutAlgorithmWrapper->GetLayoutA… in Layout()