Home
last modified time | relevance | path

Searched refs:SetText (Results 1 – 25 of 228) sorted by relevance

12345678910

/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_video/
H A Dui_test_video.cpp102 button->SetText(text); in SetupTestButton()
203 infoLabel_->SetText("Play error"); in UIKitUIVideoTestSetVideo001()
217 infoLabel_->SetText("single"); in DealClickLoopButton()
223 infoLabel_->SetText("loop"); in DealClickLoopButton()
225 infoLabel_->SetText("loop error"); in DealClickLoopButton()
244 infoLabel_->SetText(&buf[0]); in OnClick()
256 infoLabel_->SetText("volume 0"); in OnClick()
306 infoLabel_->SetText("Play"); in OnClick2()
312 infoLabel_->SetText("Pause"); in OnClick2()
318 infoLabel_->SetText("Stop"); in OnClick2()
[all …]
H A Dui_test_video.h50 infoLabel_->SetText("OnPlaybackComplete"); in OnPlaybackComplete()
57 infoLabel_->SetText("OnError"); in OnError()
64 infoLabel_->SetText("OnInfo"); in OnInfo()
71 infoLabel_->SetText("OnVideoSizeChanged"); in OnVideoSizeChanged()
78 infoLabel_->SetText("OnRewindToComplete"); in OnRewindToComplete()
85 infoLabel_->SetText("OnPlaybackPause"); in OnPlaybackPause()
92 infoLabel_->SetText("OnPlaybackPlay"); in OnPlaybackPlay()
99 infoLabel_->SetText("OnPlaybackStop"); in OnPlaybackStop()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_input_event/
H A Dui_test_input_event.h43 label_->SetText("drag!"); in OnDragEvent()
57 label_->SetText(sentence_); in OnClickEvent()
66 label_->SetText("press!"); in OnPressEvent()
75 label_->SetText("release!"); in OnReleaseEvent()
84 label_->SetText("cancel!"); in OnCancelEvent()
122 label_->SetText("drag!"); in OnDragEvent()
154 label_->SetText(sentence_); in OnClickEvent()
163 label_->SetText("press!"); in OnPressEvent()
181 label_->SetText("cancel!"); in OnCancelEvent()
214 label_->SetText(""); in OnKeyAct()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_dialog/
H A Dui_test_dialog.cpp122 label_->SetText("label"); in SetUp()
175 titleLabel->SetText(title); in InnerTestTitle()
205 button1_->SetText("Dialog1"); in UIKitDialogTest001()
220 button2_->SetText("Dialog2"); in UIKitDialogTest002()
235 button3_->SetText("Dialog3"); in UIKitDialogTest003()
250 button4_->SetText("Dialog4"); in UIKitDialogTest004()
265 button5_->SetText("Dialog5"); in UIKitDialogTest005()
280 button6_->SetText("Dialog6"); in UIKitDialogTest006()
394 dialog_->SetText("段落文本"); in SetShowInfo001()
424 dialog_->SetText("段落文本"); in SetShowInfo003()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_font/
H A Dui_test_font.cpp75 titleLabel->SetText(title); in InnerTestTitle()
128 label->SetText("轻量图形子系统"); in UIKitFontTestDisplay001()
148 label->SetText(" 你好\n轻量图形子系统"); in UIKitFontTestDisplay002()
169 label->SetText("uikit test"); in UIKitFontTestDisplay003()
253 label->SetText("你好,轻量级图形"); in UIKitFontTestDisplay007()
297 label->SetText("轻量级图形"); in UIKitFontTestDisplay009()
341 label->SetText("hello, uikit"); in UIKitFontTestBaseline001()
374 label->SetText("hello, uikit"); in UIKitFontTestBaseline002()
539 label->SetText("轻量图形子系统"); in UIKitFontTestBackgroundColor()
583 label->SetText("轻量图\n形子系统"); in UIKitFontTestLineBackgroundSpan()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_ui_list_view/
H A Dui_test_list_layout.cpp77 button1->SetText("button1"); in UIKitListVerticalAddTestAutoSize001()
81 button2->SetText("button2"); in UIKitListVerticalAddTestAutoSize001()
117 button1->SetText("button1"); in UIKitListVerticalRemoveTestAutoSize001()
121 button2->SetText("button2"); in UIKitListVerticalRemoveTestAutoSize001()
144 button1->SetText("button1"); in UIKitListVerticalRemoveTestAutoSize002()
148 button2->SetText("button2"); in UIKitListVerticalRemoveTestAutoSize002()
171 button1->SetText("button1"); in UIKitListHorAddTestAutoSize001()
175 button2->SetText("button2"); in UIKitListHorAddTestAutoSize001()
197 button1->SetText("button1"); in UIKitListHorRemoveTestAutoSize001()
201 button2->SetText("button2"); in UIKitListHorRemoveTestAutoSize001()
[all …]
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-graphics-layout-guide.md43 button1->SetText("button1");
47 button2->SetText("button2");
51 button3->SetText("button3");
70 button1->SetText("button1");
74 button2->SetText("button2");
78 button3->SetText("button3");
131 bt1->SetText("bt1");
134 bt2->SetText("bt2");
137 bt3->SetText("bt3");
140 bt4->SetText("bt4");
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_label/
H A Dui_test_label.cpp85 label->SetText("UILabel效果"); in UIKitUILabelTestDisplay001()
119 label1->SetText("字号"); in CreateLabels()
128 label2->SetText("水平对齐方式"); in CreateLabels()
137 label3->SetText("颜色"); in CreateLabels()
146 label4->SetText("超出处理"); in CreateLabels()
164 label->SetText("行数"); in UIKitUILabeTestDisplay002()
171 label2->SetText("竖直对齐方式"); in UIKitUILabeTestDisplay002()
179 label3->SetText("方向"); in UIKitUILabeTestDisplay002()
186 label4->SetText("行高"); in UIKitUILabeTestDisplay002()
205 label->SetText("Label大小"); in UIKitUILabeTestDisplay003()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_draw_rect/
H A Dui_test_draw_rect.cpp768 label->SetText("矩形绘制: "); in UIKitDrawRectTestRect001()
793 label->SetText("设置不同颜色的矩形绘制 "); in UIKitDrawRectTestRectColor001()
824 label->SetText("设置圆角为零的矩形绘制 "); in UIKitDrawRectTestRectRadius001()
848 label->SetText("设置圆角等于宽度的矩形绘制 "); in UIKitDrawRectTestRectRadius002()
927 label->SetText("设置不透明背景矩形绘制: "); in UIKitDrawRectTestRectOpacity001()
950 label->SetText("设置全透明背景矩形绘制:"); in UIKitDrawRectTestRectOpacity002()
973 label->SetText("设置不同透明度矩形绘制 "); in UIKitDrawRectTestRectOpacity003()
1086 label->SetText("设置不透明边框矩形绘制:"); in UIKitDrawRectTestRectBorderOpacity001()
1110 label->SetText("设置全透明边框矩形绘制:"); in UIKitDrawRectTestRectBorderOpacity002()
1365 label->SetText("设置宽度为零的矩形绘制 "); in UIKitDrawRectTestRectWidthAndHeight001()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_ui_swipe_view/
H A Dui_test_ui_swipe_view.cpp102 button1->SetText("button1"); in UIKitSwipeViewTestHorizontal001()
107 button2->SetText("button2"); in UIKitSwipeViewTestHorizontal001()
133 button1->SetText("button1"); in UIKitSwipeViewTestHorizontal002()
138 button2->SetText("button2"); in UIKitSwipeViewTestHorizontal002()
143 button3->SetText("button3"); in UIKitSwipeViewTestHorizontal002()
170 button1->SetText("button1"); in UIKitSwipeViewTestHorizontal003()
175 button2->SetText("button2"); in UIKitSwipeViewTestHorizontal003()
180 button3->SetText("button3"); in UIKitSwipeViewTestHorizontal003()
207 button1->SetText("button1"); in UIKitSwipeViewTestVer001()
212 button2->SetText("button2"); in UIKitSwipeViewTestVer001()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_vector_font/
H A Dui_test_vector_font.cpp71 titleLabel->SetText(title); in InnerTestTitle()
109 label->SetText("测试中文"); in FontFontEngineVectorTestCHLang001()
140 label->SetText("ランニン"); in FontFontEngineVectorTestJALang001()
156 label->SetText("ランニン"); in FontFontEngineVectorTestJALang002()
172 label->SetText("韩语리기"); in FontFontEngineVectorTestKRLang001()
212 label->SetText("日语ランニン"); in FontFontEngineMultiLanguageTestJALang001()
227 label->SetText("韩语日语리기ランニン"); in FontFontEngineMultiLanguageTestJALang002()
249 label->SetText("韩语리기"); in FontFontEngineMultiLanguageTestKRLang001()
315 label->SetText("西班牙España"); in FontFontEngineMultiLanguageTestELLang001()
337 label->SetText("罗马尼亚Română"); in FontFontEngineMultiLanguageTestROLang001()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_spannable_string/
H A Dui_test_spannnable_string.cpp83 titleLabel->SetText(title); in InnerTestTitle()
114 label->SetText(" 轻量图形子系统"); in UIKitSpannableStringTestNormal001()
134 label->SetText("正常粗体斜体粗斜体"); in UIKitSpannableStringTestTextStyle001()
141 label->SetText(ss); in UIKitSpannableStringTestTextStyle001()
163 label->SetText("轻量图形子系统"); in UIKitSpannableStringTestFontSize001()
169 label->SetText(ss); in UIKitSpannableStringTestFontSize001()
191 label->SetText("轻量图形子系统"); in UIKitSpannableStringTestFontSize002()
221 label_2->SetText("IJK4 IJK8 IJK12 注意不同字体"); in UIKitSpannableStringTestFontId001()
230 label_3->SetText("IJK4 IJK8 IJK12 注意不同字体"); in UIKitSpannableStringTestFontId001()
250 label->SetText("字体一 字体二 注意不同字体"); in UIKitSpannableStringTestFontId002()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/unittest/common/
H A Dtext_unit_test.cpp69 text_->SetText(text);
206 text_->SetText(text);
218 text_->SetText(text);
231 text_->SetText(text);
243 text_->SetText(text);
256 text_->SetText(text);
268 text_->SetText(text);
282 text_->SetText(text);
294 text_->SetText(text);
307 text_->SetText(text);
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_draw_line/
H A Dui_test_draw_line.cpp99 label->SetText("水平直线绘制 "); in UIKitDrawLineTestLine001()
121 label->SetText("垂直直线绘制 "); in UIKitDrawLineTestLine002()
144 label->SetText("左下-右上方向直线绘制 "); in UIKitDrawLineTestLine003()
169 label->SetText("左上-右下方向直线绘制 "); in UIKitDrawLineTestLine004()
194 label->SetText("右上-左下方向直线绘制 "); in UIKitDrawLineTestLine005()
246 label->SetText("宽度为零直线绘制 "); in UIKitDrawLineTestLine007()
270 label->SetText("不同宽度的直线绘制 "); in UIKitDrawLineTestLine008()
303 label->SetText("全透明的直线绘制 "); in UIKitDrawLineTestLine009()
327 label->SetText("不透明的直线绘制 "); in UIKitDrawLineTestLine010()
351 label->SetText("不同透明度的直线绘制 "); in UIKitDrawLineTestLine011()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_image/
H A Dui_test_image.cpp101 label->SetText("rgb888 格式图片测试 "); in UIKitUIImageTestSetImage001()
207 label->SetText("显示24位真彩色jpg图片 "); in UIKitUIImageTestSetImage006()
228 label->SetText("显示位深1索引png图片 "); in UIKitUIImageTestSetImage007()
249 label->SetText("显示位深2索引png图片 "); in UIKitUIImageTestSetImage008()
270 label->SetText("显示位深4索引png图片 "); in UIKitUIImageTestSetImage009()
291 label->SetText("显示位深8索引png图片 "); in UIKitUIImageTestSetImage010()
397 label->SetText("显示gif文件图片 "); in UIKitUIImageTestSetImage015()
420 label->SetText("不同类型图片切换 "); in UIKitUIImageTestSetImage016()
460 btn->SetText(title); in SetUpButton()
502 label->SetText("图片解压测试"); in UIKitUIImageTestUncompress001()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_arc_label/
H A Dui_test_arc_label.cpp65 titleLabel->SetText(title); in InnerTestTitle()
133 label->SetText("012345678ABCDEF0123456789ABCDE"); in TestArcLabelDisplay()
174 button->SetText("旋转动画结束!!!"); in Finish()
190 labelButton->SetText(buttonText); in GetTestUIButton()
217 label->SetText(DEFAULT_ARCLABEL_TEXT.c_str()); in UIKitUIArcLabelTestIncompatible001()
247 label->SetText(DEFAULT_ARCLABEL_TEXT.c_str()); in UIKitUIArcLabelTestIncompatible002()
277 label->SetText(DEFAULT_ARCLABEL_TEXT.c_str()); in UIKitUIArcLabelTestIncompatible003()
307 label->SetText(DEFAULT_ARCLABEL_TEXT.c_str()); in UIKitUIArcLabelTestIncompatible004()
340 label->SetText("LEFT"); in UIKitUIArcLabelTestAlign001()
366 label->SetText("CENTER"); in UIKitUIArcLabelTestAlign002()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_dialog_unit_test.cpp109 dialog_->SetText(text1);
112 dialog_->SetText(text2);
124 dialog_->SetText(nullptr);
127 dialog_->SetText(text);
128 dialog_->SetText(nullptr);
204 dialog_->SetText(text);
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_ui_list/
H A Dui_test_ui_list.cpp334 scrollStateLabel_->SetText("STOP"); in UIKitListScrollTestBlankSet001()
335 scrollSelectLabel_->SetText("NULL"); in UIKitListScrollTestBlankSet001()
447 scrollStateLabel_->SetText("STOP"); in OnScrollStart()
449 scrollStateLabel_->SetText("MOVE"); in OnScrollStart()
458 scrollStateLabel_->SetText("STOP"); in OnScrollEnd()
460 scrollStateLabel_->SetText("MOVE"); in OnScrollEnd()
467 scrollStateLabel_->SetText("OnTop"); in OnScrollTop()
473 scrollStateLabel_->SetText("OnBottom"); in OnScrollBottom()
480 scrollSelectLabel_->SetText(static_cast<UILabel*>(view)->GetText()); in OnItemSelected()
483 scrollSelectLabel_->SetText("NULL"); in OnItemSelected()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_ui_scroll_view/
H A Dui_test_ui_scroll_view.cpp41 g_scrollSateLabel->SetText("moving"); in OnScrollStart()
47 g_scrollSateLabel->SetText("stop"); in OnScrollEnd()
125 button1->SetText("button1"); in UIKitUIScrollViewTestbar001()
175 button1->SetText("button1"); in UIKitUIScrollViewTestbar003()
178 button2->SetText("button2"); in UIKitUIScrollViewTestbar003()
235 button1->SetText("button1"); in UIKitUIScrollViewTestScrollableSet001()
263 button1->SetText("button1"); in UIKitUIScrollViewTestScrollableSet002()
291 button1->SetText("button1"); in UIKitUIScrollViewTestScrollBlankSet001()
315 button1->SetText("button1"); in UIKitUIScrollViewTestScrolllistener001()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_event_injector/
H A Dui_test_event_injector.cpp77 label_->SetText("drag!"); in OnDragEvent()
91 label_->SetText(sentence_); in OnClickEvent()
100 label_->SetText("press!"); in OnPressEvent()
109 label_->SetText("release!"); in OnReleaseEvent()
118 label_->SetText("cancel!"); in OnCancelEvent()
134 label_->SetText("key!"); in OnKeyAct()
292 label->SetText(title); in InnerTest()
313 btn->SetText(btnTitle); in InnerTest()
348 button1->SetText("button1"); in SetUpScrollView()
351 button2->SetText("button2"); in SetUpScrollView()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_view_bounds/
H A Dui_test_view_bounds.cpp116 viewBoundsLabel->SetText("Show View Bounds: "); in UIKitViewBoundsSetState001()
150 title->SetText("Test View bounds with margin: "); in UIKitViewBoundsMargin001()
176 title->SetText("Test View bounds with padding: "); in UIKitViewBoundsPadding001()
202 title->SetText("Test View bounds with border: "); in UIKitViewBoundsBorder001()
230 title->SetText("Test View bounds with margin/padding/border: "); in UIKitViewBounds001()
260 title->SetText("Test View bounds when view is invisible: "); in UIKitViewBoundsInvisible001()
287 title->SetText("Test View bounds when view is small: "); in UIKitViewBoundsSmallView001()
313 title->SetText("Test View bounds when child view override OnPostDraw: "); in UIKitViewBoundsPostDraw001()
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_video.cpp86 totalTimeLabel_->SetText(&timer[0]); in Prepare()
93 titleLabel_->SetText(fileName + 1); in Prepare()
176 currentTimeLabel_->SetText("00:00:00"); in Stop()
179 totalTimeLabel_->SetText("00:00:00"); in Stop()
279 currentTimeLabel_->SetText("00:00"); in Reset()
282 totalTimeLabel_->SetText("00:00"); in Reset()
388 titleLabel_->SetText("title title"); in InitControllerLabel()
404 totalTimeLabel_->SetText("00:00:00"); in InitControllerLabel()
419 currentTimeLabel_->SetText("00:00:00"); in InitControllerLabel()
625 currentTimeLabel_->SetText(&timer[0]); in OnChange()
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/
H A Dadvanced_notification_service_publish_test.cpp211 normalContent->SetText("normalContent's text");
238 normalContent->SetText("normalContent's text");
266 normalContent->SetText("normalContent's text");
294 normalContent->SetText("normalContent's text");
323 normalContent->SetText("normalContent's text");
351 normalContent->SetText("normalContent's text");
672 pictureContent->SetText("notification text");
706 pictureContent->SetText("notification text");
740 pictureContent->SetText("notification text");
770 normalContent->SetText("text");
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_opacity/
H A Dui_test_opacity.cpp70 titleLabel->SetText(title); in CreateTestCaseGroup()
101 label->SetText(title); in CreateTestCaseUILabel()
190 labelButton->SetText(title); in CreateTestCaseUILabelButton()
220 label->SetText(title); in CreateTestCaseUIArcLabel()
338 labelButton->SetText("Test1"); in UIKitOpacityTestUIViewGroup001()
341 labelButton2->SetText("Test2"); in UIKitOpacityTestUIViewGroup001()
428 labelButton->SetText("test1"); in UIKitOpacityTestUIScrollView001()
431 labelButton2->SetText("test2"); in UIKitOpacityTestUIScrollView001()
469 button1->SetText("button1"); in UIKitOpacityTestUISwipeView001()
474 button2->SetText("button2"); in UIKitOpacityTestUISwipeView001()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_scroll_bar/
H A Dui_test_scroll_bar.cpp130 label1->SetText("label1"); in UIKitScrollBarTESTScrollview001()
139 label2->SetText("label2"); in UIKitScrollBarTESTScrollview001()
148 label3->SetText("label3"); in UIKitScrollBarTESTScrollview001()
157 label4->SetText("label4"); in UIKitScrollBarTESTScrollview001()
166 label5->SetText("label5"); in UIKitScrollBarTESTScrollview001()

12345678910