/ohos5.0/base/update/updater/services/ui/view/component/ |
H A D | component_factory.cpp | 30 -> std::function<std::unique_ptr<ComponentInterface>(const UxViewInfo &info)> 32 return [] (const UxViewInfo &info) { return std::make_unique<T>(info); }; in __anon006776080102() 40 -> std::function<bool(const UxViewInfo &info)> in operator ()() 42 … return [&specific] ([[maybe_unused]] const UxViewInfo &info) { return T::IsValid(specific); }; in operator ()() 55 auto Visit(const UxViewInfo &info) const in Visit() 61 std::unique_ptr<ComponentInterface> ComponentFactory::CreateUxComponent(const UxViewInfo &info) in CreateUxComponent() 66 bool ComponentFactory::CheckUxComponent(const UxViewInfo &info) in CheckUxComponent()
|
H A D | component_factory.h | 53 static std::unique_ptr<ComponentInterface> CreateUxComponent(const UxViewInfo &info); 54 static bool CheckUxComponent(const UxViewInfo &info); 68 struct UxViewInfo { struct
|
H A D | text_label_adapter.h | 30 struct UxViewInfo; 38 explicit TextLabelAdapter(const UxViewInfo &info);
|
H A D | box_progress_adapter.h | 32 struct UxViewInfo; 41 explicit BoxProgressAdapter(const UxViewInfo &info);
|
H A D | label_btn_adapter.h | 33 struct UxViewInfo; 42 explicit LabelBtnAdapter(const UxViewInfo &info);
|
H A D | img_view_adapter.h | 32 struct UxViewInfo; 44 explicit ImgViewAdapter(const UxViewInfo &info);
|
H A D | text_label_adapter.cpp | 21 TextLabelAdapter::TextLabelAdapter(const UxViewInfo &info) in TextLabelAdapter()
|
H A D | box_progress_adapter.cpp | 24 BoxProgressAdapter::BoxProgressAdapter(const UxViewInfo &info) in BoxProgressAdapter()
|
H A D | label_btn_adapter.cpp | 72 LabelBtnAdapter::LabelBtnAdapter(const UxViewInfo &info) in LabelBtnAdapter()
|
H A D | img_view_adapter.cpp | 78 ImgViewAdapter::ImgViewAdapter(const UxViewInfo &info) in ImgViewAdapter()
|
/ohos5.0/base/update/updater/test/unittest/updater_ui_test/view/ |
H A D | ui_component_unittest.cpp | 58 BoxProgressAdapter boxProgress {UxViewInfo {commonInfo, specInfo}}; 88 BoxProgressAdapter boxProgress {UxViewInfo {commonInfo, specInfo}}; 99 BoxProgressAdapter boxProgress {UxViewInfo {commonInfo, specInfo}}; 128 BoxProgressAdapter boxProgress {UxViewInfo {commonInfo, specInfo}}; 133 BoxProgressAdapter boxProgress {UxViewInfo {commonInfo, specInfo}}; 138 BoxProgressAdapter boxProgress {UxViewInfo {commonInfo, specInfo}}; 146 BoxProgressAdapter boxProgress {UxViewInfo {commonInfo, specInfo}}; 205 ImgViewAdapter imgView {UxViewInfo {commonInfo, specInfo}}; 220 ImgViewAdapter imgView {UxViewInfo {commonInfo, specInfo}}; 297 UxViewInfo info {commonInfo, specInfo}; [all …]
|
H A D | ui_layout_unittest.cpp | 58 bool operator == (const UxViewInfo &lhs, const UxViewInfo &rhs) in operator ==() 104 UxViewInfo expectedLabel { UxViewCommonInfo { 0, 0, 100, 100, "label_id_0", "UILabel", true }, 122 …UxViewInfo expectedProgress { UxViewCommonInfo { 0, 0, 100, 100, "box_progress_0", "UIBoxProgress"… 134 … UxViewInfo expectedImage { UxViewCommonInfo { 0, 0, 100, 100, "image_view", "UIImageView", true }, 146 UxViewInfo expectedLabel { UxViewCommonInfo { 0, 0, 100, 100, "label_id_0", "UILabel", true }, 156 … UxViewInfo expectedImage { UxViewCommonInfo { 0, 0, 100, 100, "image_view", "UIImageView", true }, 160 …UxViewInfo expectedProgress { UxViewCommonInfo { 0, 0, 100, 100, "box_progress_0", "UIBoxProgress", 174 …UxViewInfo expected { UxViewCommonInfo { 1280, 0, 800, 200, "Label_RebootToNormalSystem", "UILabel… 224 … UxViewInfo expectedImage { UxViewCommonInfo { 0, 0, 100, 100, "image_view", "UIImageView", true }, 230 …UxViewInfo expectedProgress { UxViewCommonInfo { 0, 0, 100, 100, "box_progress_0", "UIBoxProgress"…
|
H A D | ui_page_manager_unittest.cpp | 73 {UxViewInfo { 78 UxViewInfo { 89 {UxViewInfo { 94 UxViewInfo { 104 {UxViewInfo { 109 UxViewInfo { 141 {UxViewInfo { 155 {UxViewInfo {
|
/ohos5.0/base/update/updater/services/ui/view/layout/ |
H A D | layout_parser.cpp | 70 bool ParseViewInfo(const JsonNode &root, std::vector<UxViewInfo> &vec) const in ParseViewInfo() 72 UxViewInfo info {}; in ParseViewInfo() 73 std::vector<UxViewInfo>().swap(vec); in ParseViewInfo()
|
/ohos5.0/base/update/updater/services/ui/view/page/ |
H A D | base_page.h | 45 [[nodiscard]] bool BuildCom(const UxViewInfo &viewInfo, int &minY);
|
H A D | base_page.cpp | 82 bool BasePage::BuildCom(const UxViewInfo &viewInfo, int &minY) in BuildCom()
|
/ohos5.0/base/update/updater/services/ui/ |
H A D | updater_ui_traits.h | 113 std::vector<UxViewInfo> viewInfos {};
|