Searched refs:TextLabelAdapter (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/base/update/updater/services/ui/view/component/ |
H A D | text_label_adapter.h | 31 class TextLabelAdapter : public OHOS::UILabel, public ComponentCommon<TextLabelAdapter> { 32 DISALLOW_COPY_MOVE(TextLabelAdapter); 37 TextLabelAdapter() = default; 38 explicit TextLabelAdapter(const UxViewInfo &info); 39 virtual ~TextLabelAdapter() = default;
|
H A D | text_label_adapter.cpp | 21 TextLabelAdapter::TextLabelAdapter(const UxViewInfo &info) in TextLabelAdapter() function in Updater::TextLabelAdapter 37 bool TextLabelAdapter::IsValid(const UxLabelInfo &info) in IsValid() 52 void TextLabelAdapter::SetText(const std::string &txt) in SetText()
|
H A D | component_factory.h | 39 #define COMPONENT_TYPE_LIST BoxProgressAdapter, ImgViewAdapter, TextLabelAdapter, LabelBtnAdapter 41 #define COMPONENT_TYPE_LIST BoxProgressAdapter, ImgViewAdapter, TextLabelAdapter, LabelBtnAdapter \
|
/ohos5.0/base/update/updater/test/unittest/updater_ui_test/view/ |
H A D | ui_view_proxy_unittest.cpp | 51 viewproxy.As<Updater::TextLabelAdapter>(err); 57 std::unique_ptr<ComponentInterface> label = std::make_unique<TextLabelAdapter>(); 66 EXPECT_EQ(viewproxy.As<TextLabelAdapter>(err), real); 72 std::unique_ptr<ComponentInterface> label = std::make_unique<TextLabelAdapter>(); 87 std::unique_ptr<ComponentInterface> label = std::make_unique<TextLabelAdapter>(); 92 EXPECT_EQ(viewproxy.As<TextLabelAdapter>(), real); 99 ViewProxy viewproxy { std::make_unique<TextLabelAdapter>(), "label1" };
|
H A D | ui_component_unittest.cpp | 355 EXPECT_FALSE(TextLabelAdapter::IsValid(UxLabelInfo {255, "", "", "", ""})); 356 EXPECT_FALSE(TextLabelAdapter::IsValid(UxLabelInfo {255, "", "", "#000000ff", ""})); 357 EXPECT_TRUE(TextLabelAdapter::IsValid(UxLabelInfo {100, "", "", "#000000ff", "#000000ff"})); 366 TextLabelAdapter textLabel {info}; 381 TextLabelAdapter textLabel {UxViewInfo {{0, 0, 0, 0, "id", "UILabel", false},
|
H A D | ui_page_manager_unittest.cpp | 221 GetInstance()[ComInfo {pageId, comId}].As<TextLabelAdapter>(errMsg);
|
/ohos5.0/base/update/updater/services/ui/ |
H A D | updater_ui_facade.cpp | 234 pgMgr_[id.pageId][id.comId].As<TextLabelAdapter>()->SetText(tag); in ShowMsg() 239 pgMgr_[id.pageId][id.comId].As<TextLabelAdapter>()->SetText(tag); in ShowMsg()
|
H A D | updater_ui_traits.h | 73 DEFINE_TRAIT(UxLabelInfo, TextLabelAdapter::COMPONENT_TYPE,
|
/ohos5.0/base/update/updater/services/ui/strategy/ |
H A D | progress_strategy.cpp | 62 pgMgr_[id_].As<TextLabelAdapter>()->SetText(progress); in ShowProgress()
|