Searched refs:GetMenuOffset (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/ |
H A D | menu_origin_test_ng.cpp | 623 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 D | menu_pattern.h | 572 std::pair<OffsetF, OffsetF> GetMenuOffset(const RefPtr<FrameNode>& outterMenu,
|
H A D | menu_pattern.cpp | 1208 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 D | menu_layout_algorithm.cpp | 337 position_ = props->GetMenuOffset().value_or(OffsetF()); in Initialize()
|