Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/
H A Dmenu_layoutFst_test_ng.cpp545 menuLayoutAlgorithm->position_ = offset;
674 ASSERT_NE(menuLayoutAlgorithm, nullptr);
737 ASSERT_NE(menuLayoutAlgorithm, nullptr);
788 ASSERT_NE(menuLayoutAlgorithm, nullptr);
873 ASSERT_NE(menuLayoutAlgorithm, nullptr);
893 ASSERT_NE(menuLayoutAlgorithm, nullptr);
916 ASSERT_NE(menuLayoutAlgorithm, nullptr);
966 ASSERT_NE(menuLayoutAlgorithm, nullptr);
1066 menuLayoutAlgorithm->targetSize_ = size;
1111 menuLayoutAlgorithm->targetSize_ = size;
[all …]
H A Dmenu_layoutScd_test_ng.cpp1736 ASSERT_NE(menuLayoutAlgorithm, nullptr);
1738 menuLayoutAlgorithm->targetNodeId_ = nodeId;
1739 menuLayoutAlgorithm->targetTag_ = "text";
1778 ASSERT_NE(menuLayoutAlgorithm, nullptr);
1784 menuLayoutAlgorithm->previewSize_ = previewSize;
1803 menuLayoutAlgorithm->placement_ = Placement::TOP_LEFT;
1820 menuLayoutAlgorithm->placement_ = Placement::BOTTOM;
1823 menuLayoutAlgorithm->placement_ = Placement::TOP;
1826 menuLayoutAlgorithm->placement_ = Placement::LEFT;
1829 menuLayoutAlgorithm->placement_ = Placement::RIGHT;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/
H A Dmenu_preview_layout_algorithm.cpp57 …auto menuLayoutAlgorithm = DynamicCast<MenuLayoutAlgorithm>(menuLayoutAlgorithmWrapper->GetLayoutA… in Layout() local
58 CHECK_NULL_VOID(menuLayoutAlgorithm); in Layout()
62 menuLayoutAlgorithm->Measure(AceType::RawPtr(menuNode)); in Layout()
63 menuLayoutAlgorithm->Layout(AceType::RawPtr(menuNode)); in Layout()