Home
last modified time | relevance | path

Searched refs:UxViewInfo (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/base/update/updater/services/ui/view/component/
H A Dcomponent_factory.cpp30 -> 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 Dcomponent_factory.h53 static std::unique_ptr<ComponentInterface> CreateUxComponent(const UxViewInfo &info);
54 static bool CheckUxComponent(const UxViewInfo &info);
68 struct UxViewInfo { struct
H A Dtext_label_adapter.h30 struct UxViewInfo;
38 explicit TextLabelAdapter(const UxViewInfo &info);
H A Dbox_progress_adapter.h32 struct UxViewInfo;
41 explicit BoxProgressAdapter(const UxViewInfo &info);
H A Dlabel_btn_adapter.h33 struct UxViewInfo;
42 explicit LabelBtnAdapter(const UxViewInfo &info);
H A Dimg_view_adapter.h32 struct UxViewInfo;
44 explicit ImgViewAdapter(const UxViewInfo &info);
H A Dtext_label_adapter.cpp21 TextLabelAdapter::TextLabelAdapter(const UxViewInfo &info) in TextLabelAdapter()
H A Dbox_progress_adapter.cpp24 BoxProgressAdapter::BoxProgressAdapter(const UxViewInfo &info) in BoxProgressAdapter()
H A Dlabel_btn_adapter.cpp72 LabelBtnAdapter::LabelBtnAdapter(const UxViewInfo &info) in LabelBtnAdapter()
H A Dimg_view_adapter.cpp78 ImgViewAdapter::ImgViewAdapter(const UxViewInfo &info) in ImgViewAdapter()
/ohos5.0/base/update/updater/test/unittest/updater_ui_test/view/
H A Dui_component_unittest.cpp58 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 Dui_layout_unittest.cpp58 bool operator == (const UxViewInfo &lhs, const UxViewInfo &rhs) in operator ==()
104 UxViewInfo expectedLabel { UxViewCommonInfo { 0, 0, 100, 100, "label_id_0", "UILabel", true },
122UxViewInfo expectedProgress { UxViewCommonInfo { 0, 0, 100, 100, "box_progress_0", "UIBoxProgress"…
134UxViewInfo expectedImage { UxViewCommonInfo { 0, 0, 100, 100, "image_view", "UIImageView", true },
146 UxViewInfo expectedLabel { UxViewCommonInfo { 0, 0, 100, 100, "label_id_0", "UILabel", true },
156UxViewInfo expectedImage { UxViewCommonInfo { 0, 0, 100, 100, "image_view", "UIImageView", true },
160UxViewInfo expectedProgress { UxViewCommonInfo { 0, 0, 100, 100, "box_progress_0", "UIBoxProgress",
174UxViewInfo expected { UxViewCommonInfo { 1280, 0, 800, 200, "Label_RebootToNormalSystem", "UILabel…
224UxViewInfo expectedImage { UxViewCommonInfo { 0, 0, 100, 100, "image_view", "UIImageView", true },
230UxViewInfo expectedProgress { UxViewCommonInfo { 0, 0, 100, 100, "box_progress_0", "UIBoxProgress"…
H A Dui_page_manager_unittest.cpp73 {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 Dlayout_parser.cpp70 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 Dbase_page.h45 [[nodiscard]] bool BuildCom(const UxViewInfo &viewInfo, int &minY);
H A Dbase_page.cpp82 bool BasePage::BuildCom(const UxViewInfo &viewInfo, int &minY) in BuildCom()
/ohos5.0/base/update/updater/services/ui/
H A Dupdater_ui_traits.h113 std::vector<UxViewInfo> viewInfos {};