Searched refs:UxLabelInfo (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/update/updater/test/unittest/updater_ui_test/view/ |
H A D | ui_layout_unittest.cpp | 40 bool operator == (const UxLabelInfo &lhs, const UxLabelInfo &rhs) in operator ==() 105 UxLabelInfo { 147 UxLabelInfo { 175 UxLabelInfo { 188 std::get<UxLabelInfo>(expected.specificInfo).text = "Userdata reset"; 192 std::get<UxLabelInfo>(expected.specificInfo).text = "Update from SD Card"; 196 std::get<UxLabelInfo>(expected.specificInfo).text = "Tip"; 197 std::get<UxLabelInfo>(expected.specificInfo).fontSize = 40; 201 std::get<UxLabelInfo>(expected.specificInfo).text = "Delete user date now..."; 209 std::get<UxLabelInfo>(expected.specificInfo).text = "Continue"; [all …]
|
H A D | ui_page_manager_unittest.cpp | 76 UxLabelInfo { 92 UxLabelInfo { 107 UxLabelInfo { 144 UxLabelInfo { 158 UxLabelInfo {
|
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"})); 363 UxLabelInfo specInfo {100, "hello", "center", "#000000ff", "#000000ff"}; 382 UxLabelInfo {255, "", "", "#000000ff", "#000000ff"}}};
|
/ohos5.0/base/update/updater/services/ui/view/component/ |
H A D | text_label_adapter.h | 23 struct UxLabelInfo { struct 35 using SpecificInfoType = UxLabelInfo; argument 41 static bool IsValid(const UxLabelInfo &info);
|
H A D | text_label_adapter.cpp | 23 const UxLabelInfo &spec = std::get<UxLabelInfo>(info.specificInfo); in TextLabelAdapter() 37 bool TextLabelAdapter::IsValid(const UxLabelInfo &info) in IsValid()
|
/ohos5.0/base/update/updater/services/ui/ |
H A D | updater_ui_traits.h | 73 DEFINE_TRAIT(UxLabelInfo, TextLabelAdapter::COMPONENT_TYPE,
|