Home
last modified time | relevance | path

Searched refs:GetMenuOffset (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
H A Dmenu_origin_test_ng.cpp623 EXPECT_FALSE(property.GetMenuOffset().has_value());
625 ASSERT_TRUE(property.GetMenuOffset().has_value());
626 EXPECT_EQ(property.GetMenuOffset().value(), OffsetF(25.0f, 30.0f));
645 EXPECT_TRUE(property.GetMenuOffset().has_value());
654 EXPECT_FALSE(property.GetMenuOffset().has_value());
683 EXPECT_EQ(property.GetMenuOffset().value(), cloneProperty->GetMenuOffset().value());
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/
H A Dmenu_pattern.h572 std::pair<OffsetF, OffsetF> GetMenuOffset(const RefPtr<FrameNode>& outterMenu,
H A Dmenu_pattern.cpp1208 auto [originOffset, endOffset] = GetMenuOffset(outterMenu); in ShowStackExpandMenu()
1242 std::pair<OffsetF, OffsetF> MenuPattern::GetMenuOffset(const RefPtr<FrameNode>& outterMenu, in GetMenuOffset() function in OHOS::Ace::NG::MenuPattern
1342 auto [originOffset, endOffset] = GetMenuOffset(menuNode, true); in ShowStackExpandDisappearAnimation()
H A Dmenu_layout_algorithm.cpp337 position_ = props->GetMenuOffset().value_or(OffsetF()); in Initialize()