Home
last modified time | relevance | path

Searched refs:commonInfo (Results 1 – 10 of 10) sorted by relevance

/base/update/updater/test/unittest/updater_ui_test/view/
Dui_component_unittest.cpp57 UxViewCommonInfo commonInfo {10, 10, 1000, 1000, "id", "UIBoxProgress", false}; variable
58 BoxProgressAdapter boxProgress {UxViewInfo {commonInfo, specInfo}};
59 CheckCommInfo(boxProgress, commonInfo);
68 MAX_PROGRESS_VALUE * (commonInfo.w - 1)));
70 EXPECT_EQ(boxProgress.GetRangeMax(), commonInfo.w - 1);
85 UxViewCommonInfo commonInfo {10, 10, 1000, 1000, "id", "UIBoxProgress", false}; variable
88 BoxProgressAdapter boxProgress {UxViewInfo {commonInfo, specInfo}};
93 …EQ(boxProgress.GetValue(), static_cast<int>(validValue / MAX_PROGRESS_VALUE * (commonInfo.w - 1)));
95 EXPECT_EQ(boxProgress.GetValue(), commonInfo.w - 1);
99 BoxProgressAdapter boxProgress {UxViewInfo {commonInfo, specInfo}};
[all …]
Dui_layout_unittest.cpp60 return lhs.commonInfo == rhs.commonInfo && lhs.specificInfo == rhs.specificInfo; in operator ==()
182 expected.commonInfo.visible = false;
183 EXPECT_EQ(expected.commonInfo, pageInfo.viewInfos[0].commonInfo);
187 expected.commonInfo = { 1280, 200, 800, 200, "Label_UserdataReset", "UILabel", true };
191 expected.commonInfo = { 1280, 400, 800, 200, "Label_UpdateFromSDCard", "UILabel", true };
195 expected.commonInfo = { 1280, 600, 800, 200, "Label_MenuDialogTitle", "UILabel", true };
200 expected.commonInfo = { 1280, 800, 800, 200, "Label_MenuDialogNote", "UILabel", true };
204 expected.commonInfo = { 1280, 1000, 800, 200, "Label_MenuDialogNext", "UILabel", true };
208 expected.commonInfo = { 1280, 1200, 800, 200, "Label_MenuDialogOK", "UILabel", true };
212 expected.commonInfo = { 1680, 1200, 800, 200, "Label_MenuDialogCancel", "UILabel", true };
[all …]
/base/update/updater/services/ui/view/page/
Dbase_page.cpp85 LOG(ERROR) << "component (" << viewInfo.commonInfo.id in BuildCom()
90 std::string("component id:") + viewInfo.commonInfo.id + ", "); in BuildCom()
96 if (view->IsFocusable() && viewInfo.commonInfo.y < minY) { in BuildCom()
97 minY = viewInfo.commonInfo.y; in BuildCom()
/base/update/updater/services/ui/view/component/
Dcomponent_factory.h69 UxViewCommonInfo commonInfo {};
Dtext_label_adapter.cpp24 SetViewCommonInfo(info.commonInfo); in TextLabelAdapter()
Dbox_progress_adapter.cpp26 SetViewCommonInfo(info.commonInfo); in BoxProgressAdapter()
Dimg_view_adapter.cpp87 SetViewCommonInfo(info.commonInfo); in ImgViewAdapter()
Dlabel_btn_adapter.cpp75 SetViewCommonInfo(info.commonInfo); in LabelBtnAdapter()
/base/update/updater/services/ui/view/layout/
Dlayout_parser.cpp85 if (!Visit<SETVAL>(componentNode, commonDefault, info.commonInfo)) { in ParseViewInfo()
/base/update/updater/services/ui/
Dupdater_ui_config.cpp56 LOG(INFO) << it.commonInfo; in operator <<()