Home
last modified time | relevance | path

Searched refs:UILabel (Results 1 - 25 of 115) sorted by relevance

12345

/foundation/arkui/ui_lite/frameworks/components/
H A Dui_label.cpp57 static_cast<UILabel*>(view_)->offsetX_ = offsetX_; in UpdateWidth()
89 static_cast<UILabel*>(view)->offsetX_ = offsetX_;
116 UILabel::UILabel() in UILabel() function in OHOS::UILabel
133 UILabel::~UILabel() in ~UILabel()
146 void UILabel::InitLabelText() in InitLabelText()
153 int16_t UILabel::GetWidth() in GetWidth()
162 int16_t UILabel::GetHeight() in GetHeight()
171 void UILabel
[all...]
H A Dtext_adapter.cpp36 lineBreakMode_(UILabel::LINE_BREAK_ADAPT), in TextAdapter()
62 UILabel* newView = GetTextView(inView, index); in GetView()
84 UILabel* TextAdapter::GetTextView(UIView* inView, int16_t index) in GetTextView()
96 UILabel* TextAdapter::GetDynamicText(UIView* inView, int16_t index) in GetDynamicText()
106 UILabel* newView = CreateUILabel(inView); in GetDynamicText()
119 UILabel* TextAdapter::GetIntegerText(UIView* inView, int16_t index) in GetIntegerText()
124 UILabel* newView = CreateUILabel(inView); in GetIntegerText()
157 UILabel* TextAdapter::CreateUILabel(UIView* inView) in CreateUILabel()
160 return new UILabel(); in CreateUILabel()
162 return static_cast<UILabel*>(inVie in CreateUILabel()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_vector_font/
H A Dui_test_vector_font.cpp66 UILabel* titleLabel = new UILabel(); in InnerTestTitle()
103 UILabel* label = new UILabel(); in FontFontEngineVectorTestCHLang001()
107 label->SetLineBreakMode(UILabel::LINE_BREAK_MARQUEE); in FontFontEngineVectorTestCHLang001()
119 UILabel* label = new UILabel(); in FontFontEngineVectorTestCHLang002()
134 UILabel* label = new UILabel(); in FontFontEngineVectorTestJALang001()
138 label->SetLineBreakMode(UILabel in FontFontEngineVectorTestJALang001()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_label/
H A Dui_test_label.cpp81 UILabel* label = new UILabel(); in UIKitUILabelTestDisplay001()
85 label->SetText("UILabel效果"); in UIKitUILabelTestDisplay001()
96 uiLabel = new UILabel(); in UIKitUILabelTestDisplay001()
115 UILabel* label1 = new UILabel(); in CreateLabels()
125 UILabel* label2 = new UILabel(); in CreateLabels()
134 UILabel* label3 = new UILabel(); in CreateLabels()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_font/
H A Dui_test_font.cpp67 UILabel* titleLabel = new UILabel(); in InnerTestTitle()
119 UILabel* label = new UILabel(); in UIKitFontTestDisplay001()
139 UILabel* label = new UILabel(); in UIKitFontTestDisplay002()
160 UILabel* label = new UILabel(); in UIKitFontTestDisplay003()
181 UILabel* label = new UILabel(); in UIKitFontTestDisplay004()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_spannable_string/
H A Dui_test_spannnable_string.cpp75 UILabel *titleLabel = new UILabel(); in InnerTestTitle()
105 UILabel *label = new UILabel(); in UIKitSpannableStringTestNormal001()
125 UILabel *label = new UILabel(); in UIKitSpannableStringTestTextStyle001()
154 UILabel *label = new UILabel(); in UIKitSpannableStringTestFontSize001()
182 UILabel *label = new UILabel(); in UIKitSpannableStringTestFontSize002()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_input_event/
H A Dui_test_input_event.h90 void SetLabel(UILabel* label) in SetLabel()
95 void SetLabel2(UILabel* label) in SetLabel2()
101 UILabel* label_ = nullptr;
102 UILabel* label2_ = nullptr;
187 void SetLabel(UILabel* label) in SetLabel()
193 UILabel* label_ = nullptr;
199 explicit TestKeyInputListener(UILabel* label) : label_(label) {} in TestKeyInputListener()
222 UILabel* label_;
227 explicit TestOnClickListener(UILabel* label, char* sentence, bool isConsume) in TestOnClickListener()
242 UILabel* label
[all...]
H A Dui_test_input_event.cpp195 UILabel* label = new UILabel(); in UIKitPointerInputTestDispatchKeyEvent001()
202 UILabel* label1 = new UILabel(); in UIKitPointerInputTestDispatchKeyEvent001()
221 UILabel* label = new UILabel(); in UIKitPointerInputTestDispatchInVisibleEvent001()
252 UILabel* label1 = new UILabel(); in UIKitPointerInputTestDispatchInVisibleEvent001()
266 UILabel* label = new UILabel(); in InnerTest()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_image/
H A Dui_test_image.cpp97 UILabel* label = new UILabel(); in UIKitUIImageTestSetImage001()
110 UILabel* label2 = new UILabel(); in UIKitUIImageTestSetImage001()
128 UILabel* label = new UILabel(); in UIKitUIImageTestSetImage002()
149 UILabel* label = new UILabel(); in UIKitUIImageTestSetImage004()
172 UILabel* label = new UILabel(); in UIKitUIImageTestSetImage005()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dpanel_view.h39 const UILabel* GetCurTimeText() const;
41 const UILabel* GetVideoTotalTimeText() const;
53 void SetTextInPanel(UILabel* label);
69 UILabel* curTimeLabel_;
72 UILabel* totalTimeLabel_;
H A Dpanel_view.cpp45 curTimeLabel_ = new UILabel(); in InitView()
48 totalTimeLabel_ = new UILabel(); in InitView()
74 const UILabel *PanelView::GetCurTimeText() const in GetCurTimeText()
89 const UILabel *PanelView::GetVideoTotalTimeText() const in GetVideoTotalTimeText()
114 void PanelView::SetTextInPanel(UILabel *label) in SetTextInPanel()
119 label->SetLineBreakMode(UILabel::LINE_BREAK_ADAPT); in SetTextInPanel()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/directive/
H A Ddirective_tdd_test.cpp221 UILabel *label = reinterpret_cast<UILabel *>(GetViewByRef(page, "text")); in DirectiveTest001()
225 label = reinterpret_cast<UILabel *>(GetViewByRef(page, "text")); in DirectiveTest001()
228 label = reinterpret_cast<UILabel *>(GetViewByRef(page, "text")); in DirectiveTest001()
261 UILabel *text = reinterpret_cast<UILabel *>(GetViewByRef(page, "text")); in DirectiveTest003()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dtext_tdd_test.cpp46 UILabel* uilabelView = reinterpret_cast<UILabel *>(textComponent->GetComponentRootView()); in ComponentTextAttributeSetValueTest001()
102 UILabel* uilabelView = reinterpret_cast<UILabel *>(textComponent->GetComponentRootView()); in ComponentTextStyleSetColorTest002()
160 UILabel* uilabelView = reinterpret_cast<UILabel *>(textComponent->GetComponentRootView()); in ComponentTextStyleSetOverflowTest003()
162 * @tc.expected: step2. check uikit uilabelView == UILabel::LINE_BREAK_CLIP in ComponentTextStyleSetOverflowTest003()
164 if (uilabelView->GetLineBreakMode() == UILabel::LINE_BREAK_CLIP) { in ComponentTextStyleSetOverflowTest003()
169 EXPECT_EQ(uilabelView->GetLineBreakMode(), UILabel::LINE_BREAK_CLIP); in ComponentTextStyleSetOverflowTest003()
173 * check uikit uilabelView == UILabel in ComponentTextStyleSetOverflowTest003()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_draw_line/
H A Dui_test_draw_line.cpp67 UILabel* UITestDrawLine::CreateTitleLabel() const in CreateTitleLabel()
69 UILabel* label = new UILabel(); in CreateTitleLabel()
97 UILabel* label = CreateTitleLabel(); in UIKitDrawLineTestLine001()
119 UILabel* label = CreateTitleLabel(); in UIKitDrawLineTestLine002()
142 UILabel* label = CreateTitleLabel(); in UIKitDrawLineTestLine003()
167 UILabel* label = CreateTitleLabel(); in UIKitDrawLineTestLine004()
192 UILabel* label = CreateTitleLabel(); in UIKitDrawLineTestLine005()
218 UILabel* label = CreateTitleLabel(); in UIKitDrawLineTestLine006()
244 UILabel* labe in UIKitDrawLineTestLine007()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_draw_rect/
H A Dui_test_draw_rect.cpp98 UILabel* UITestDrawRect::CreateTitleLabel() const in CreateTitleLabel()
100 UILabel* label = new UILabel(); in CreateTitleLabel()
137 UILabel* label = CreateTitleLabel(); in UIKitDrawRectTestRectNoBorder001()
163 UILabel* label = CreateTitleLabel(); in UIKitDrawRectTestRectNoBorder002()
190 UILabel* label = CreateTitleLabel(); in UIKitDrawRectTestRectNoBorder003()
217 UILabel* label = CreateTitleLabel(); in UIKitDrawRectTestRectNoBorder004()
244 UILabel* label = CreateTitleLabel(); in UIKitDrawRectTestRectNoBorder005()
271 UILabel* label = CreateTitleLabel(); in UIKitDrawRectTestRectNoBorder006()
298 UILabel* labe in UIKitDrawRectTestRectNoBorder007()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_view_bounds/
H A Dui_test_view_bounds.cpp91 UILabel* UITestViewBounds::CreateTitleLabel() const in CreateTitleLabel()
93 UILabel* label = new UILabel(); in CreateTitleLabel()
95 label->SetLineBreakMode(UILabel::LINE_BREAK_STRETCH); in CreateTitleLabel()
110 UILabel* viewBoundsLabel = new UILabel(); in UIKitViewBoundsSetState001()
115 viewBoundsLabel->SetLineBreakMode(UILabel::LINE_BREAK_STRETCH); in UIKitViewBoundsSetState001()
148 UILabel* title = CreateTitleLabel(); in UIKitViewBoundsMargin001()
174 UILabel* title = CreateTitleLabel(); in UIKitViewBoundsPadding001()
200 UILabel* titl in UIKitViewBoundsBorder001()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_view_zindex/
H A Dui_test_view_zindex.cpp94 UILabel* UITestViewZIndex::CreateTitleLabel() const in CreateTitleLabel()
96 UILabel* label = new UILabel(); in CreateTitleLabel()
98 label->SetLineBreakMode(UILabel::LINE_BREAK_STRETCH); in CreateTitleLabel()
104 UILabel* UITestViewZIndex::CreateZIndexLabel(const char* text, int16_t zIndex, ColorType color) in CreateZIndexLabel()
106 UILabel* label = new UILabel(); in CreateZIndexLabel()
236 UILabel* clickHint = reinterpret_cast<UILabel*>(tmpView); in UpdateClickHint()
262 UILabel* zIndexVie in SetupZIndexView()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/data_binding/
H A Ddata_binding_tdd_test.cpp193 UILabel *label = reinterpret_cast<UILabel *>(GetViewByRef(page, "text")); in AttrBindingTest001()
210 UILabel *label = reinterpret_cast<UILabel *>(GetViewByRef(page, "text")); in StyleBindingTest002()
/foundation/arkui/ui_lite/test/unittest/common/
H A Dfocus_manager_unit_test.cpp30 static UILabel* label1_;
31 static UILabel* label2_;
35 UILabel* FocusManagerTest::label1_ = nullptr;
36 UILabel* FocusManagerTest::label2_ = nullptr;
45 label1_ = new UILabel(); in SetUpTestCase()
50 label2_ = new UILabel(); in SetUpTestCase()
/foundation/arkui/ui_lite/test/uitest/test_render/
H A Dui_test_render.cpp66 UILabel* UITestRender::CreateTitleLabel() const in CreateTitleLabel()
68 UILabel* label = new UILabel(); in CreateTitleLabel()
85 UILabel* label = CreateTitleLabel(); in UIKitRenderTestRender001()
117 UILabel* label = CreateTitleLabel(); in UIKitRenderTestRenderMeasure001()
123 testLabel_ = new UILabel(); in UIKitRenderTestRenderMeasure001()
129 testLabel_->SetLineBreakMode(UILabel::LINE_BREAK_WRAP); in UIKitRenderTestRenderMeasure001()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dtext_adapter.h29 * @brief Defines a text adapter that is used to construct UILabel instances.
64 * @brief Defines a text adapter, which implements UILabel instance construction and supports text data and continuous
73 * @brief A constructor used to create a <b>UILabel</b> instance.
80 * @brief A destructor used to delete the <b>UILabel</b> instance.
87 * @brief Obtains a <b>UILabel</b> instance to convert adapter data into another <b>UILabel</b> instance.
90 * <b>UILabel</b> instance is available. In this case, this function does not need to create a new
91 * <b>UILabel</b> instance, just resusing the instance specified by <b>inView</b> to update the <b>inView</b>
93 * function needs to create a new <b>UILabel</b> instance.
97 * @return Returns the address of the <b>UILabel</
[all...]
/foundation/arkui/ui_lite/test/uitest/test_anti_aliasing/
H A Dui_test_anti_aliasing.cpp54 UILabel* UITestAntiAliasing::CreateTitleLabel() const in CreateTitleLabel()
56 UILabel* label = new UILabel(); in CreateTitleLabel()
75 UILabel* label = CreateTitleLabel(); in UIKitAntiAliasingTestRect001()
109 UILabel* label = CreateTitleLabel(); in UIKitAntiAliasingTestCircle001()
145 UILabel* label = CreateTitleLabel(); in UIKitAntiAliasingTestLine001()
/foundation/arkui/ui_lite/test/uitest/test_edit_text/
H A Dui_test_edit_text.cpp44 UILabel* title = new UILabel(); in SetUp()
51 changeHint_ = new UILabel(); in SetUp()
79 UILabel* label = new UILabel(); in UIKitUIEditTextTestDisplay001()
/foundation/arkui/ui_lite/test/uitest/test_ui_scroll_view/
H A Dui_test_ui_scroll_view.cpp33 static UILabel* g_scrollSateLabel = nullptr;
64 g_scrollSateLabel->SetLineBreakMode(UILabel::LINE_BREAK_ADAPT); in SetUp()
110 UILabel* label = GetTitleLabel("UIScrollView设置游标可见 "); in UIKitUIScrollViewTestbar001()
136 UILabel* label = GetTitleLabel("UIScrollView设置游标可见 "); in UIKitUIScrollViewTestbar002()
161 UILabel* label = GetTitleLabel("UIScrollView游标滑动状态 "); in UIKitUIScrollViewTestbar003()
191 UILabel* label = GetTitleLabel("UIScrollView设置游标宽度为20"); in UIKitUIScrollViewTestbar004()
218 UILabel* label = GetTitleLabel("UIScrollView设置仅垂直方向可滑动 "); in UIKitUIScrollViewTestScrollableSet001()
246 UILabel* label = GetTitleLabel("UIScrollView设置仅垂直方向不可滑动 "); in UIKitUIScrollViewTestScrollableSet002()
274 UILabel* label = GetTitleLabel("UIScrollView设置高为50的可滑动空白区域 "); in UIKitUIScrollViewTestScrollBlankSet001()
302 UILabel* labe in UIKitUIScrollViewTestScrolllistener001()
[all...]
/foundation/arkui/ui_lite/test/uitest/test_border_margin_padding/
H A Dui_test_border_margin_padding.cpp184 UILabel* labelMargin = new UILabel(); in SetUpButtons()
185 UILabel* labelBorder = new UILabel(); in SetUpButtons()
186 UILabel* labelPadding = new UILabel(); in SetUpButtons()
215 labelMargin->SetLineBreakMode(UILabel::LINE_BREAK_ADAPT); in SetUpButtons()
220 labelBorder->SetLineBreakMode(UILabel::LINE_BREAK_ADAPT); in SetUpButtons()
225 labelPadding->SetLineBreakMode(UILabel::LINE_BREAK_ADAPT); in SetUpButtons()
372 UILabel* titleLabe in AddTitle()
[all...]

Completed in 14 milliseconds

12345