Home
last modified time | relevance | path

Searched refs:SetPosition (Results 1 - 25 of 288) sorted by relevance

12345678910>>...12

/foundation/arkui/ui_lite/test/uitest/test_ui_scroll_view/
H A Dui_test_ui_scroll_view.cpp63 g_scrollSateLabel->SetPosition(0, 0, 100, TITLE_LABEL_DEFAULT_HEIGHT); // 100: width in SetUp()
111 label->SetPosition(positionX_, positionY_); in UIKitUIScrollViewTestbar001()
118 scroll->SetPosition(positionX_, positionY_, g_scrollW, g_scrollH); in UIKitUIScrollViewTestbar001()
124 button1->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitUIScrollViewTestbar001()
139 label->SetPosition(positionX_, positionY_); in UIKitUIScrollViewTestbar002()
145 scroll->SetPosition(positionX_, positionY_, g_scrollW, g_scrollH); in UIKitUIScrollViewTestbar002()
150 button1->SetPosition(0, 0, g_smallButtonW, g_smallButtonH); in UIKitUIScrollViewTestbar002()
164 label->SetPosition(positionX_, positionY_); in UIKitUIScrollViewTestbar003()
170 scroll->SetPosition(positionX_, positionY_, g_scrollW, g_scrollH); in UIKitUIScrollViewTestbar003()
176 button1->SetPosition( in UIKitUIScrollViewTestbar003()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_ui_list_view/
H A Dui_test_list_layout.cpp66 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, positionY_ + g_blank); in UIKitListVerticalAddTestAutoSize001()
71 list->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, label->GetY() + TITLE_LABEL_DEFAULT_HEIGHT + g_gap); in UIKitListVerticalAddTestAutoSize001()
76 button1->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitListVerticalAddTestAutoSize001()
80 button2->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitListVerticalAddTestAutoSize001()
88 listDirect_->SetPosition(list->GetX(), list->GetY(), 100, 100); // 100: list dir width and height in UIKitListVerticalAddTestAutoSize001()
107 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, positionY_ + g_blank); in UIKitListVerticalRemoveTestAutoSize001()
112 list->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, label->GetY() + TITLE_LABEL_DEFAULT_HEIGHT + g_gap, in UIKitListVerticalRemoveTestAutoSize001()
116 button1->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitListVerticalRemoveTestAutoSize001()
120 button2->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitListVerticalRemoveTestAutoSize001()
134 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SID in UIKitListVerticalRemoveTestAutoSize002()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_image/
H A Dui_test_image.cpp99 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, g_height + 5, // 5: increase y-coordinate in UIKitUIImageTestSetImage001()
105 imageView->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, g_height + 40); // 40 : offset in UIKitUIImageTestSetImage001()
112 label2->SetPosition(160, g_height + 65, 300, TITLE_LABEL_DEFAULT_HEIGHT); in UIKitUIImageTestSetImage001()
130 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, g_height, Screen::GetInstance().GetWidth(), in UIKitUIImageTestSetImage002()
136 imageView->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, g_height + 30); // 30: increase offset in UIKitUIImageTestSetImage002()
151 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, g_height + 5, // 5: increase offset in UIKitUIImageTestSetImage004()
157 imageView->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, g_height + 35); // 35 : offset in UIKitUIImageTestSetImage004()
174 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, g_height, Screen::GetInstance().GetWidth(), in UIKitUIImageTestSetImage005()
180 imageView->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, g_height + 40); // 40 : increase offset in UIKitUIImageTestSetImage005()
187 imageView2->SetPosition(11 in UIKitUIImageTestSetImage005()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_view_scale_rotate/
H A Dui_test_view_scale_rotate.cpp34 list_->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, 0, width, height + 1); in SetUp()
92 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE, in SetUpLabel()
103 group->SetPosition(0, 0, GROUP_WIDHT, GROUP_HEIGHT); in UIKitViewScaleRotateTestLabel001()
107 label_->SetPosition(100, 100, 200, 50); // 100: x 100: y 200: width 50: height in UIKitViewScaleRotateTestLabel001()
116 group->SetPosition(0, 0, GROUP_WIDHT, GROUP_HEIGHT); in UIKitViewScaleRotateTestLabelButton002()
119 button1_->SetPosition(100, 100, 200, 50); // 100: x 100: y 200: width 50: height in UIKitViewScaleRotateTestLabelButton002()
128 group->SetPosition(0, 0, GROUP_WIDHT, GROUP_HEIGHT); in UIKitViewScaleRotateTestCanvas003()
133 canvas_->SetPosition(0, 0, GROUP_WIDHT, GROUP_HEIGHT); in UIKitViewScaleRotateTestCanvas003()
149 group->SetPosition(0, 0, GROUP_WIDHT, GROUP_HEIGHT); in UIKitViewScaleRotateTestUIBoxProgress004()
154 boxProgress_->SetPosition(10 in UIKitViewScaleRotateTestUIBoxProgress004()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_draw_rect/
H A Dui_test_draw_rect.cpp101 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE, in CreateTitleLabel()
135 group->SetPosition(0, 0); in UIKitDrawRectTestRectNoBorder001()
144 view->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, VIEW_DISTANCE_TO_TOP_SIDE); in UIKitDrawRectTestRectNoBorder001()
161 group->SetPosition(0, 0); in UIKitDrawRectTestRectNoBorder002()
170 view->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, VIEW_DISTANCE_TO_TOP_SIDE); in UIKitDrawRectTestRectNoBorder002()
188 group->SetPosition(0, 0); in UIKitDrawRectTestRectNoBorder003()
197 view->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, VIEW_DISTANCE_TO_TOP_SIDE); in UIKitDrawRectTestRectNoBorder003()
215 group->SetPosition(0, 0); in UIKitDrawRectTestRectNoBorder004()
224 view->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, VIEW_DISTANCE_TO_TOP_SIDE); in UIKitDrawRectTestRectNoBorder004()
242 group->SetPosition( in UIKitDrawRectTestRectNoBorder005()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_ui_swipe_view/
H A Dui_test_ui_swipe_view.cpp90 label->SetPosition(positionX_, positionY_); in UIKitSwipeViewTestHorizontal001()
97 swipe->SetPosition(positionX_, positionY_, g_swipeW, g_swipeHorH); in UIKitSwipeViewTestHorizontal001()
101 button1->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitSwipeViewTestHorizontal001()
106 button2->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitSwipeViewTestHorizontal001()
122 label->SetPosition(positionX_, positionY_); in UIKitSwipeViewTestHorizontal002()
128 swipe->SetPosition(positionX_, positionY_, g_swipeW, g_swipeHorH); in UIKitSwipeViewTestHorizontal002()
132 button1->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitSwipeViewTestHorizontal002()
137 button2->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitSwipeViewTestHorizontal002()
142 button3->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitSwipeViewTestHorizontal002()
158 label->SetPosition(positionX in UIKitSwipeViewTestHorizontal003()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_anti_aliasing/
H A Dui_test_anti_aliasing.cpp58 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, 0, Screen::GetInstance().GetWidth() / 2, TITLE_LABEL_DEFAULT_HEIGHT); in CreateTitleLabel()
73 group->SetPosition(0, 0); in UIKitAntiAliasingTestRect001()
77 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE); in UIKitAntiAliasingTestRect001()
89 view->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, VIEW_DISTANCE_TO_TOP_SIDE); in UIKitAntiAliasingTestRect001()
104 group->SetPosition(336, 0); in UIKitAntiAliasingTestCircle001()
110 label->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE2, TEXT_DISTANCE_TO_TOP_SIDE); in UIKitAntiAliasingTestCircle001()
115 circleProgress->SetPosition(0, 23, 150, 150); // 23:y-coordinate, 150:new width, 150:new height in UIKitAntiAliasingTestCircle001()
123 circleProgress1->SetPosition(130, 23, 150, 150); // 130:x-coordinate, 23:y-coordinate, 150:new width, 150:new height in UIKitAntiAliasingTestCircle001()
141 group->SetPosition(648, 0); in UIKitAntiAliasingTestLine001()
146 label->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE in UIKitAntiAliasingTestLine001()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_ui_dump_dom_tree/
H A Dui_test_dump_dom.cpp167 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE); in UIKitTestDumpDom001()
171 layout->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, VIEW_DISTANCE_TO_TOP_SIDE, in UIKitTestDumpDom001()
258 group2->SetPosition(Screen::GetInstance().GetWidth() / 2, 0); // 2: half of screen width in UIKitTestDumpDom002()
267 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE); in UIKitTestDumpDom002()
270 imageView->SetPosition(VIEW_DISTANCE_TO_TOP_SIDE, TEXT_DISTANCE_TO_LEFT_SIDE); in UIKitTestDumpDom002()
278 dumpButton1->SetPosition(160, 73); // 160: x-coordinate, 73: y-coordinate in UIKitTestDumpDom002()
294 group5->SetPosition(0, 260); // 260: y-coordinate in UIKitTestDumpDom003()
302 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE); in UIKitTestDumpDom003()
307 slider->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, VIEW_DISTANCE_TO_TOP_SIDE, 50, 100); in UIKitTestDumpDom003()
323 dumpButton->SetPosition(12 in UIKitTestDumpDom003()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_opacity/
H A Dui_test_opacity.cpp66 group->SetPosition(0, 0); in CreateTestCaseGroup()
68 titleLabel->SetPosition(0, 0, Screen::GetInstance().GetWidth(), TITLE_LABEL_DEFAULT_HEIGHT); in CreateTestCaseGroup()
98 label->SetPosition(10, 30); // 10 width 30: height in CreateTestCaseUILabel()
145 button->SetPosition(10, 30, BUTTON_WIDTH, BUTTON_HEIGHT >> 1); // 10: width 30 :height in UIKitOpacityTestUIButton001()
148 button2->SetPosition(200, 30, BUTTON_WIDTH, BUTTON_HEIGHT >> 1); // 200: width 30 : height in UIKitOpacityTestUIButton001()
163 button->SetPosition(10, 30, BUTTON_WIDTH, BUTTON_HEIGHT); // 10 30 x y in CreateTestCaseUIButton()
179 button2->SetPosition(200, 30); // 200: width 30 y in UIKitOpacityTestUIButton002()
189 labelButton->SetPosition(10, 30, BUTTON_WIDTH, BUTTON_HEIGHT >> 1); // 10 x 30 : y in CreateTestCaseUILabelButton()
244 imageView->SetPosition(10, 30, 130, 130); // 10 x 30: y 130 : size in CreateTestCaseUIImageView()
272 imageAnimator->SetPosition(1 in CreateTestCaseUIImageAnimator()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_input_event/
H A Dui_test_input_event.cpp189 uiViewGroup->SetPosition( in UIKitPointerInputTestDispatchKeyEvent001()
198 label->SetPosition(0, 0, Screen::GetInstance().GetWidth() / 2, TEXT_H); in UIKitPointerInputTestDispatchKeyEvent001()
204 label1->SetPosition(0, TEXT_H + GAP, TEXT_W, TEXT_H); in UIKitPointerInputTestDispatchKeyEvent001()
219 uiViewGroup->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, positionY_, 480, 128); // 480: width; 128: height in UIKitPointerInputTestDispatchInVisibleEvent001()
224 label->SetPosition(0, 0, Screen::GetInstance().GetWidth() / 2, TEXT_H); in UIKitPointerInputTestDispatchInVisibleEvent001()
232 group1->SetPosition(positionX_, positionY_, TEST_VIEW_W + 20, TEST_VIEW_H + 20); in UIKitPointerInputTestDispatchInVisibleEvent001()
237 testView->SetPosition(5, 5, TEST_VIEW_W, TEST_VIEW_H); // 5: position x 5:position y in UIKitPointerInputTestDispatchInVisibleEvent001()
244 group2->SetPosition(0, positionY_, TEST_VIEW_W + 20, TEST_VIEW_H + 20); in UIKitPointerInputTestDispatchInVisibleEvent001()
248 testView1->SetPosition(5, 5, TEST_VIEW_W, TEST_VIEW_H); // 5: position x 5:position y in UIKitPointerInputTestDispatchInVisibleEvent001()
255 label1->SetPosition(positionX in UIKitPointerInputTestDispatchInVisibleEvent001()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_video/
H A Dui_test_video.cpp114 loopButton_->SetPosition(posX1, 50); // 50:position y in InitTestButtons()
118 totleTimeButton_->SetPosition(posX2, 50); // 50:position y in InitTestButtons()
122 volButtonAdd_->SetPosition(posX1, 100); // 100:position y in InitTestButtons()
126 volButtonSub_->SetPosition(posX2, 100); // 100:position y in InitTestButtons()
130 rewindButtonAdd_->SetPosition(posX1, 150); // 150:position y in InitTestButtons()
134 rewindButtonSub_->SetPosition(posX2, 150); // 150:position y in InitTestButtons()
138 playButton_->SetPosition(posX1, 200); // 200:position y in InitTestButtons()
142 pauseButton_->SetPosition(posX2, 200); // 200:position y in InitTestButtons()
146 stopButton_->SetPosition(posX1, 250); // 250:position y in InitTestButtons()
150 resetButton_->SetPosition(posX in InitTestButtons()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_label/
H A Dui_test_label.cpp79 uiViewGroup->SetPosition(positionX_, positionY_, 320, 390); in UIKitUILabelTestDisplay001()
84 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE, 288, 48); in UIKitUILabelTestDisplay001()
90 uiViewGroupFrame->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE2, VIEW_DISTANCE_TO_TOP_SIDE, 288, 336); in UIKitUILabelTestDisplay001()
99 uiLabel->SetPosition(0, 141, 280, 336); // 141: y-coordinate; 280: width; 336: height in UIKitUILabelTestDisplay001()
104 uiViewGroup2->SetPosition(positionX_, 0, 300, 384); // 300: width; 384: height in UIKitUILabelTestDisplay001()
118 label1->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE2, TEXT_DISTANCE_TO_TOP_SIDE, 288, 48); in CreateLabels()
127 label2->SetPosition(24, 107, 288, 48); // 24: x-coordinate, 107: y-coordinate, 288: width; 48: height in CreateLabels()
136 label3->SetPosition(24, 203, 288, 48); // 24: x-coordinate, 203: y-coordinate, 288: width; 48: height in CreateLabels()
145 label4->SetPosition(24, 299, 288, 48); // 24: x-coordinate, 299: y-coordinate, 288: width; 48: height in CreateLabels()
158 uiViewGroup->SetPosition(positionX in UIKitUILabeTestDisplay002()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_qrcode/
H A Dui_test_qrcode.cpp60 group->SetPosition(0, 0); in CreateTestCaseGroup()
62 titleLabel->SetPosition(0, 0, Screen::GetInstance().GetWidth(), TITLE_HEIGHT); in CreateTestCaseGroup()
77 qrcode->SetPosition(20, 30, 60, 60); // 20 x 30 y 150 width 60 height in UIKitUIQrcodeTestDisplay001()
92 qrcode->SetPosition(20, 30); // 20 x 30 y in UIKitUIQrcodeTestDisplay002()
111 qrcode->SetPosition(20, 30); // 20 x 30 y in UIKitUIQrcodeTestDisplay003()
135 qrcode->SetPosition(20, 30, 50, 50); // 20 x 30 y 50 width 50 height in UIKitUIQrcodeTestDisplay004()
155 qrcode->SetPosition(20, 30, 250, 250); // 20 x 30 y 250 width 250 height in UIKitUIQrcodeTestDisplay005()
177 qrcode->SetPosition(20, 30, 250, 250); // 20 x 30 y 250 width 250 height in UIKitUIQrcodeTestDisplay006()
194 qrcode->SetPosition(20, 30, 250, 250); // 20 x 30 y 250 width 250 height in UIKitUIQrcodeTestDisplay007()
211 qrcode->SetPosition(2 in UIKitUIQrcodeTestDisplay008()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_rotate_input/
H A Dui_test_rotate_input.cpp203 label->SetPosition(0, lastY_ + g_blank); in UIKitRotateEventList001()
212 list_->SetPosition(0, label->GetY() + g_blank, g_listW, g_listH - 200); // 200: mean list reduce height in UIKitRotateEventList001()
232 label->SetPosition(0, lastY_ + g_blank); in UIKitRotateEventScrollView002()
237 scroll_->SetPosition(0, label->GetY() + g_blank, g_scrollW, g_scrollH); in UIKitRotateEventScrollView002()
244 btn->SetPosition(0, 0, g_buttonW, g_buttonH); in UIKitRotateEventScrollView002()
262 label->SetPosition(0, lastY_ + g_blank); in UIKitRotateEventSwipeView003()
267 swipe_->SetPosition(0, label->GetY() + g_blank, g_swipeW, g_swipeH); in UIKitRotateEventSwipeView003()
276 btn1->SetPosition(0, 0, g_smallButtonW, g_smallButtonH); in UIKitRotateEventSwipeView003()
277 btn2->SetPosition(0, 0, g_smallButtonW, g_smallButtonH); in UIKitRotateEventSwipeView003()
278 btn3->SetPosition( in UIKitRotateEventSwipeView003()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_draw_line/
H A Dui_test_draw_line.cpp71 label->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE, Screen::GetInstance().GetWidth() / 2, in CreateTitleLabel()
82 canvas->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, VIEW_DISTANCE_TO_TOP_SIDE); in CreateCanvas()
95 group->SetPosition(0, 0); in UIKitDrawLineTestLine001()
117 group->SetPosition(0, 0); in UIKitDrawLineTestLine002()
140 group->SetPosition(0, 0); in UIKitDrawLineTestLine003()
165 group->SetPosition(0, 0); in UIKitDrawLineTestLine004()
190 group->SetPosition(0, 0); in UIKitDrawLineTestLine005()
216 group->SetPosition(0, 0); in UIKitDrawLineTestLine006()
242 group->SetPosition(0, 0); in UIKitDrawLineTestLine007()
266 group->SetPosition( in UIKitDrawLineTestLine008()
[all...]
/foundation/arkui/ui_lite/test/unittest/common/
H A Dhardware_acceleration_unit_test.cpp116 config.rect.SetPosition(x, y); in CreateDefaultWindow()
137 rootView->SetPosition(0, 0); in HWTEST_F()
162 rootView->SetPosition(0, 0); in HWTEST_F()
166 imageView->SetPosition(200, 50, 200, 200); // 200: x; 50: y; 200: width; 200: height in HWTEST_F()
193 rootView->SetPosition(0, 0); in HWTEST_F()
198 label->SetPosition(0, 0, 288, 48); in HWTEST_F()
226 rootView->SetPosition(0, 0); in HWTEST_F()
230 imageView->SetPosition(200, 50, 200, 200); // 200: x; 50: y; 200: width; 200: height in HWTEST_F()
266 rootView->SetPosition(0, 0); in HWTEST_F()
270 imageView->SetPosition(20 in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_digital_clock/
H A Dui_test_digital_clock.cpp60 titleLabel->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, positionY_, Screen::GetInstance().GetWidth(), in InnerTestTitle()
87 dClock->SetPosition(positionX_, positionY_); in UIKitUIDigitalClockTestDisplay001()
101 dClock->SetPosition(positionX_, positionY_); in UIKitUIDigitalClockTestDisplay002()
115 dClock->SetPosition(positionX_, positionY_); in UIKitUIDigitalClockTestSetColor()
130 dClock->SetPosition(positionX_, positionY_); in UIKitUIDigitalClockTestDisplayMode001()
145 dClock->SetPosition(positionX_, positionY_); in UIKitUIDigitalClockTestDisplayMode002()
160 dClock->SetPosition(positionX_, positionY_); in UIKitUIDigitalClockTestDisplayMode003()
175 dClock->SetPosition(positionX_, positionY_); in UIKitUIDigitalClockTestDisplayMode004()
190 dClock->SetPosition(positionX_, positionY_); in UIKitUIDigitalClockTestDisplayLeadingZero()
205 dClock->SetPosition(positionX in UIKitUIDigitalClockTestSetOpacity()
[all...]
/foundation/window/window_manager_lite/test/
H A Dsample_window.cpp50 config.rect.SetPosition(x, y); in CreateDefaultWindow()
137 button->SetPosition(40, 40); // 40: x, 40: y in AddButton()
143 button1->SetPosition(30, 10); // 30: x, 10: y in AddButton()
156 block->SetPosition(100, 40); // 100: x, 40: y in AddBlock()
163 block2->SetPosition(40, 40); // 40: x, 40: y in AddBlock()
170 block3->SetPosition(100, 40); // 100: x, 40: y in AddBlock()
177 block4->SetPosition(1, 1); in AddBlock()
193 g_rootView1->SetPosition(0, 0); in TestWindow()
197 g_rootView2->SetPosition(0, 0, 200, 200); // 200: width, 200: height in TestWindow()
201 g_rootView3->SetPosition( in TestWindow()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_ui_analog_clock/
H A Dui_test_analog_clock.cpp156 clock_->SetPosition(xPos, yPos);
171 group1->SetPosition(0, 0); in UIKitTestLineHandAnalogClock001()
179 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE, Screen::GetInstance().GetWidth(), 30); in UIKitTestLineHandAnalogClock001()
185 clock1->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE2, VIEW_DISTANCE_TO_TOP_SIDE, in UIKitTestLineHandAnalogClock001()
192 curFace->SetPosition(0, 0); in UIKitTestLineHandAnalogClock001()
217 button1->SetPosition(curFace->GetWidth() + 58, 48, BUTTON_WIDTH, BUTTON_HEIGHT); in CreateButtons001()
227 button2->SetPosition(curFace->GetWidth() + 58, BUTTON_HEIGHT + 58, BUTTON_WIDTH, BUTTON_HEIGHT); in CreateButtons001()
238 button3->SetPosition(curFace->GetWidth() + 58, 148, BUTTON_WIDTH, BUTTON_HEIGHT); in CreateButtons001()
249 button4->SetPosition(curFace->GetWidth() + 58, 198, BUTTON_WIDTH, BUTTON_HEIGHT); in CreateButtons001()
260 button5->SetPosition(curFac in CreateButtons001()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_font/
H A Dui_test_font.cpp68 titleLabel->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, positionY_, Screen::GetInstance().GetWidth(), in InnerTestTitle()
120 label->SetPosition(positionX_, positionY_); in UIKitFontTestDisplay001()
140 label->SetPosition(positionX_, positionY_); in UIKitFontTestDisplay002()
161 label->SetPosition(positionX_, positionY_); in UIKitFontTestDisplay003()
182 label->SetPosition(positionX_, positionY_); in UIKitFontTestDisplay004()
203 label->SetPosition(positionX_, positionY_); in UIKitFontTestDisplay005()
223 label->SetPosition(positionX_, positionY_); in UIKitFontTestDisplay006()
244 label->SetPosition(positionX_, positionY_); in UIKitFontTestDisplay007()
265 label->SetPosition(positionX_, positionY_); in UIKitFontTestDisplay008()
287 label->SetPosition(positionX in UIKitFontTestDisplay009()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_spannable_string/
H A Dui_test_spannnable_string.cpp76 titleLabel->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, positionY_, Screen::GetInstance().GetWidth(), in InnerTestTitle()
106 label->SetPosition(positionX_, positionY_); in UIKitSpannableStringTestNormal001()
126 label->SetPosition(positionX_, positionY_); in UIKitSpannableStringTestTextStyle001()
155 label->SetPosition(positionX_, positionY_); in UIKitSpannableStringTestFontSize001()
183 label->SetPosition(positionX_, positionY_); in UIKitSpannableStringTestFontSize002()
208 label->SetPosition(positionX_, positionY_); in UIKitSpannableStringTestFontId001()
218 label_2->SetPosition(positionX_, positionY_); in UIKitSpannableStringTestFontId001()
227 label_3->SetPosition(positionX_, positionY_); in UIKitSpannableStringTestFontId001()
242 label->SetPosition(positionX_, positionY_); in UIKitSpannableStringTestFontId002()
/foundation/arkui/ui_lite/test/uitest/test_vector_font/
H A Dui_test_vector_font.cpp68 titleLabel->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, positionY_, Screen::GetInstance().GetWidth(), in InnerTestTitle()
105 label->SetPosition(positionX_, positionY_); in FontFontEngineVectorTestCHLang001()
121 label->SetPosition(positionX_, positionY_); in FontFontEngineVectorTestCHLang002()
136 label->SetPosition(positionX_, positionY_); in FontFontEngineVectorTestJALang001()
152 label->SetPosition(positionX_, positionY_); in FontFontEngineVectorTestJALang002()
167 label->SetPosition(positionX_, positionY_); in FontFontEngineVectorTestKRLang001()
185 label->SetPosition(positionX_, positionY_); in FontFontEngineVectorTestVILang001()
208 label->SetPosition(positionX_, positionY_); in FontFontEngineMultiLanguageTestJALang001()
223 label->SetPosition(positionX_, positionY_); in FontFontEngineMultiLanguageTestJALang002()
245 label->SetPosition(positionX in FontFontEngineMultiLanguageTestKRLang001()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_render/
H A Dui_test_render.cpp70 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE, 216, TITLE_LABEL_DEFAULT_HEIGHT); in CreateTitleLabel()
83 group->SetPosition(0, 0); in UIKitRenderTestRender001()
91 view->SetPosition(50, 50); // 50: position x 50: position y in UIKitRenderTestRender001()
99 view1->SetPosition(50, 120); // 50: position x 120: position y in UIKitRenderTestRender001()
125 testLabel_->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, VIEW_DISTANCE_TO_TOP_SIDE); in UIKitRenderTestRenderMeasure001()
142 labelButton_->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, VIEW_DISTANCE_TO_TOP_SIDE); in UIKitRenderTestRenderMeasure001()
/foundation/arkui/ui_lite/test/framework/src/
H A Dui_test_app.cpp33 rootView_->SetPosition(0, 0); in Start()
37 mainMenu_->SetPosition(0, 0, Screen::GetInstance().GetWidth(), Screen::GetInstance().GetHeight()); in Start()
59 testLabel_->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, 0); in InitMainMenu()
69 mainList_->SetPosition(margin, deltaHeight); in InitMainMenu()
95 autoTestBtn_->SetPosition(Screen::GetInstance().GetWidth() - autoTestBtn_->GetWidth(), 0); in InitAutoTestBtn()
115 backBtn_->SetPosition(0, 0); in InitBackBtn()
/foundation/arkui/ui_lite/test/uitest/test_screenshot/
H A Dui_test_screenshot.cpp93 label->SetPosition(TEXT_DISTANCE_TO_LEFT_SIDE, TEXT_DISTANCE_TO_TOP_SIDE, in UIKit_SCREENSHOT_TEST_001()
97 labelButton->SetPosition(210, 50); // 210: position x; 50: position y in UIKit_SCREENSHOT_TEST_001()
108 label2->SetPosition(VIEW_DISTANCE_TO_LEFT_SIDE, 255, // 255: y-coordinate in UIKit_SCREENSHOT_TEST_001()
112 imageView->SetPosition(0, 290); // 290: y-coordinate in UIKit_SCREENSHOT_TEST_001()
125 labelButton2->SetPosition(300, 50); // 300: position x; 50: position y in UIKit_SCREENSHOT_TEST_001()

Completed in 13 milliseconds

12345678910>>...12