Home
last modified time | relevance | path

Searched refs:view1 (Results 1 - 16 of 16) sorted by relevance

/foundation/arkui/ui_lite/test/uitest/test_view_bounds/
H A Dui_test_view_bounds.cpp153 UIView* view1 = new UIView(); in UIKitViewBoundsMargin001() local
154 group->Add(view1); in UIKitViewBoundsMargin001()
155 view1->Resize(50, 50); // 50: view size in UIKitViewBoundsMargin001()
156 view1->LayoutBottomToSibling("margin_title", 10); // 10: offset in UIKitViewBoundsMargin001()
157 view1->AlignLeftToSibling("margin_title"); in UIKitViewBoundsMargin001()
158 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Gray().full); in UIKitViewBoundsMargin001()
159 view1->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE); in UIKitViewBoundsMargin001()
160 view1->SetStyle(STYLE_MARGIN_LEFT, 50); // 50: margin size in UIKitViewBoundsMargin001()
179 UIView* view1 = new UIView(); in UIKitViewBoundsPadding001() local
180 group->Add(view1); in UIKitViewBoundsPadding001()
205 UIView* view1 = new UIView(); UIKitViewBoundsBorder001() local
233 UIView* view1 = new UIView(); UIKitViewBounds001() local
263 UIView* view1 = new UIView(); UIKitViewBoundsInvisible001() local
290 UIView* view1 = new UIView(); UIKitViewBoundsSmallView001() local
316 UIView* view1 = new UIView(); UIKitViewBoundsPostDraw001() local
[all...]
/foundation/arkui/ui_lite/test/unittest/layout/
H A Dgrid_layout_unit_test.cpp79 auto view1 = CreatView(); in HWTEST_F() local
80 gridLayout_->Add(view1); in HWTEST_F()
88 EXPECT_EQ(view1->GetX(), 50); // 50: view x after layout in HWTEST_F()
89 EXPECT_EQ(view1->GetY(), 25); // 25: view y after layout in HWTEST_F()
91 EXPECT_EQ(view2->GetY(), view1->GetY()); in HWTEST_F()
93 EXPECT_EQ(view3->GetY(), view1->GetY()); in HWTEST_F()
94 EXPECT_EQ(view4->GetX(), view1->GetX()); in HWTEST_F()
97 delete view1; in HWTEST_F()
120 auto view1 = CreatView(); in HWTEST_F() local
121 gridLayout_->Add(view1); in HWTEST_F()
161 auto view1 = CreatView(); HWTEST_F() local
202 auto view1 = CreatView(); HWTEST_F() local
[all...]
H A Dflex_layout_unit_test.cpp76 auto view1 = CreatView(); in HWTEST_F() local
77 flexLayout_->Add(view1); in HWTEST_F()
83 EXPECT_EQ(view1->GetX(), 0); in HWTEST_F()
84 EXPECT_EQ(view1->GetY(), 0); in HWTEST_F()
90 delete view1; in HWTEST_F()
111 auto view1 = CreatView(); in HWTEST_F() local
112 flexLayout_->Add(view1); in HWTEST_F()
118 EXPECT_EQ(view1->GetX(), 0); in HWTEST_F()
119 EXPECT_EQ(view1->GetY(), 100); // 100: view x after layout in HWTEST_F()
125 delete view1; in HWTEST_F()
146 auto view1 = CreatView(); HWTEST_F() local
181 auto view1 = CreatView(); HWTEST_F() local
216 auto view1 = CreatView(); HWTEST_F() local
251 auto view1 = CreatView(); HWTEST_F() local
286 auto view1 = CreatView(); HWTEST_F() local
321 auto view1 = CreatView(); HWTEST_F() local
357 auto view1 = CreatView(); HWTEST_F() local
398 auto view1 = CreatView(); HWTEST_F() local
[all...]
H A Dlist_layout_unit_test.cpp92 auto view1 = CreatView(); in HWTEST_F() local
93 listLayout_->Add(view1); in HWTEST_F()
96 EXPECT_EQ(view1->GetX(), 250); // 250: view x after layout in HWTEST_F()
97 EXPECT_EQ(view1->GetY(), 0); in HWTEST_F()
102 delete view1; in HWTEST_F()
121 auto view1 = CreatView(); in HWTEST_F() local
122 listLayout_->Add(view1); in HWTEST_F()
125 EXPECT_EQ(view1->GetX(), 0); in HWTEST_F()
126 EXPECT_EQ(view1->GetY(), 100); // 100: view y after layout in HWTEST_F()
131 delete view1; in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_view_group_unit_test.cpp187 UIView* view1 = new UIView(); in HWTEST_F() local
191 viewGroup->Add(view1); in HWTEST_F()
193 EXPECT_EQ(viewGroup->GetChildrenRenderHead(), view1); in HWTEST_F()
197 EXPECT_EQ(viewGroup->GetChildrenRenderHead(), view1); in HWTEST_F()
199 viewGroup->Remove(view1); in HWTEST_F()
207 viewGroup->Add(view1); in HWTEST_F()
213 viewGroup->Add(view1); in HWTEST_F()
215 viewGroup->Insert(view1, view3); in HWTEST_F()
216 viewGroup->Remove(view1); in HWTEST_F()
220 delete view1; in HWTEST_F()
234 UIView* view1 = new UIView(); HWTEST_F() local
269 UIView* view1 = new UIView(); HWTEST_F() local
319 UIView* view1 = new UIView(); HWTEST_F() local
345 UIView* view1 = new UIView(); HWTEST_F() local
[all...]
H A Dui_swipe_view_unit_test.cpp280 UIView* view1 = new UIView(); in HWTEST_F() local
281 view1->SetPosition(0, 0, initWidth, initHeight); in HWTEST_F()
282 swipeView_->Add(view1); in HWTEST_F()
292 swipeView_->Remove(view1); in HWTEST_F()
295 delete view1; in HWTEST_F()
/foundation/arkui/ui_lite/test/uitest/test_draw_rect/
H A Dui_test_draw_rect.cpp803 UIView* view1 = CreateUIView(); in UIKitDrawRectTestRectColor001() local
804 view1->SetPosition(250, 50); // 250 : start x 50 : start y in UIKitDrawRectTestRectColor001()
805 view1->SetStyle(STYLE_BORDER_WIDTH, 3); // 3 : value in UIKitDrawRectTestRectColor001()
806 view1->SetStyle(STYLE_BORDER_RADIUS, 3); // 3 : value in UIKitDrawRectTestRectColor001()
807 view1->Resize(120, 50); // 120 : width 50 : height in UIKitDrawRectTestRectColor001()
808 group->Add(view1); in UIKitDrawRectTestRectColor001()
906 UIView* view1 = CreateUIView(); in UIKitDrawRectTestRectRadius004() local
907 view1->SetPosition(250, 50); // 250 : offset 50 : offset in UIKitDrawRectTestRectRadius004()
908 view1->SetStyle(STYLE_BORDER_WIDTH, 3); // 3 : value in UIKitDrawRectTestRectRadius004()
909 view1 in UIKitDrawRectTestRectRadius004()
982 UIView* view1 = CreateUIView(); UIKitDrawRectTestRectOpacity003() local
1013 UIView* view1 = CreateUIView(); UIKitDrawRectTestRectBorderColor001() local
1066 UIView* view1 = CreateUIView(); UIKitDrawRectTestRectBorderWidth002() local
1144 UIView* view1 = CreateUIView(); UIKitDrawRectTestRectBorderOpacity003() local
1199 UIView* view1 = CreateUIView(); UIKitDrawRectTestRectPadding002() local
1269 UIView* view1 = CreateUIView(); UIKitDrawRectTestRectMargin002() local
1338 UIView* view1 = CreateUIView(); UIKitDrawRectTestRectPaddingMargin002() local
[all...]
/foundation/arkui/ui_lite/test/unittest/render/
H A Drender_uni_test.cpp91 UITestView* view1 = new UITestView(); in HWTEST_F() local
94 vg1->Add(view1); in HWTEST_F()
104 delete view1; in HWTEST_F()
122 UITestView* view1 = new UITestView(); in HWTEST_F() local
125 vg1->Add(view1); in HWTEST_F()
127 view1->SetVisible(false); in HWTEST_F()
137 delete view1; in HWTEST_F()
/foundation/arkui/ui_lite/test/uitest/test_render/
H A Dui_test_render.cpp97 UIView* view1 = new UIView(); in UIKitRenderTestRender001() local
98 view1->Resize(100, 50); // 100: width 50: height in UIKitRenderTestRender001()
99 view1->SetPosition(50, 120); // 50: position x 120: position y in UIKitRenderTestRender001()
100 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Green().full); in UIKitRenderTestRender001()
101 view1->SetTouchable(true); in UIKitRenderTestRender001()
102 view1->SetOnClickListener(new TestRenderClickListener()); in UIKitRenderTestRender001()
103 group->Add(view1); in UIKitRenderTestRender001()
/foundation/arkui/ui_lite/test/unittest/dfx/
H A Dview_bounds_unit_test.cpp155 UIBoundsTestView* view1 = new UIBoundsTestView(); in HWTEST_F() local
158 vg1->Add(view1); in HWTEST_F()
180 delete view1; in HWTEST_F()
198 UIBoundsTestView* view1 = new UIBoundsTestView(); in HWTEST_F() local
201 vg1->Add(view1); in HWTEST_F()
231 delete view1; in HWTEST_F()
/foundation/arkui/ui_lite/test/uitest/test_view_group/
H A Dui_test_view_group.cpp238 UIView* view1 = container_->GetChildById("id_view1"); in RemoveView() local
239 if ((vg != nullptr) && (view1 != nullptr)) { in RemoveView()
240 vg->Remove(view1); in RemoveView()
248 UIView* view1 = container_->GetChildById("id_view1"); in RemoveAndAddView() local
249 if ((vg != nullptr) && (view1 != nullptr)) { in RemoveAndAddView()
250 vg->Remove(view1); in RemoveAndAddView()
251 vg->Add(view1); in RemoveAndAddView()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dinput_event_tdd_test.cpp1299 UIView *view1 = GetComponent(page, "data1"); in HWTEST_F() local
1300 EXPECT_FALSE(view1 == nullptr); in HWTEST_F()
1310 view1 = GetComponent(page, "data1"); in HWTEST_F()
1311 EXPECT_FALSE(view1 == nullptr); in HWTEST_F()
1322 view1 = GetComponent(page, "checkbox1"); in HWTEST_F()
1323 EXPECT_FALSE(view1 == nullptr); in HWTEST_F()
1333 view1 = GetComponent(page, "checkbox1"); in HWTEST_F()
1334 EXPECT_FALSE(view1 == nullptr); in HWTEST_F()
1345 view1 = GetComponent(page, "name1"); in HWTEST_F()
1346 EXPECT_FALSE(view1 in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_border_margin_padding/
H A Dui_test_border_margin_padding.cpp694 UILabel* view1 = new UILabel(); in UIKitUITestBorderMarginPaddingTest018() local
695 view1->SetStyle(style_); in UIKitUITestBorderMarginPaddingTest018()
696 view1->SetLineBreakMode(UILabel::LINE_BREAK_CLIP); in UIKitUITestBorderMarginPaddingTest018()
697 view1->SetAlign(TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_CENTER); in UIKitUITestBorderMarginPaddingTest018()
698 view1->SetPosition(0, 0, 150, 150); // 150: size in UIKitUITestBorderMarginPaddingTest018()
699 view1->SetText("label1"); in UIKitUITestBorderMarginPaddingTest018()
700 swipe->Add(view1); in UIKitUITestBorderMarginPaddingTest018()
/foundation/arkui/ui_lite/test/uitest/test_ui_swipe_view/
H A Dui_test_ui_swipe_view.cpp384 UIView* view1 = new UIView(); in UIKitSwipeViewTestSetCurrentPage() local
385 view1->SetStyle(STYLE_BACKGROUND_COLOR, Color::Red().full); in UIKitSwipeViewTestSetCurrentPage()
386 view1->Resize(g_swipeW, g_swipeH); in UIKitSwipeViewTestSetCurrentPage()
387 swipe->Add(view1); in UIKitSwipeViewTestSetCurrentPage()
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/
H A Dentity_collection.cpp739 auto view1 = prop.substr(0, len1);
741 if (view1 == view2) {
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dentity_collection.cpp772 auto view1 = prop.substr(0, len1);
774 if (view1 == view2) {

Completed in 19 milliseconds