Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components_ng/test/pattern/menu/
Dmenu_test_ng.cpp3508 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>(); variable
3512 menuLayoutAlgorithm->wrapperSize_ = size_f;
3513 auto result = menuLayoutAlgorithm->HorizontalLayout(size, clickPosition);
3524 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>(); variable
3528 menuLayoutAlgorithm->wrapperSize_ = size_f;
3529 auto result = menuLayoutAlgorithm->HorizontalLayout(size, clickPosition);
3540 RefPtr<MenuLayoutAlgorithm> menuLayoutAlgorithm = AceType::MakeRefPtr<MenuLayoutAlgorithm>(); variable
3544 menuLayoutAlgorithm->wrapperSize_ = size_f;
3545 auto result = menuLayoutAlgorithm->HorizontalLayout(size, clickPosition);
3546 EXPECT_EQ(result, menuLayoutAlgorithm->wrapperSize_.Width() - size.Width());
[all …]