Searched refs:LayoutParser (Results 1 – 5 of 5) sorted by relevance
/base/update/updater/services/ui/view/layout/ |
D | layout_parser.h | 23 class LayoutParser { 24 DISALLOW_COPY_MOVE(LayoutParser); 26 static LayoutParser &GetInstance(); 30 LayoutParser(); 31 ~LayoutParser();
|
D | layout_parser.cpp | 31 class LayoutParser::Impl { 110 LayoutParser::~LayoutParser() = default; 112 LayoutParser::LayoutParser() : pImpl_(std::make_unique<Impl>()) { } in LayoutParser() function in Updater::LayoutParser 114 LayoutParser &LayoutParser::GetInstance() in GetInstance() 116 static LayoutParser layoutParser; in GetInstance() 120 bool LayoutParser::LoadLayout(const std::string &layoutFile, UxPageInfo &pageInfo) const in LoadLayout() 125 bool LayoutParser::LoadLayout(const std::vector<std::string> &layoutFiles, std::vector<UxPageInfo> … in LoadLayout()
|
/base/update/updater/test/unittest/updater_ui_test/view/ |
D | ui_layout_unittest.cpp | 100 LayoutParser::GetInstance().LoadLayout("/data/updater/ui/label.json", pageInfo); 118 LayoutParser::GetInstance().LoadLayout("/data/updater/ui/boxprogress.json", pageInfo); 130 LayoutParser::GetInstance().LoadLayout("/data/updater/ui/imageview.json", pageInfo); 142 LayoutParser::GetInstance().LoadLayout("/data/updater/ui/all.json", pageInfo); 169 LayoutParser::GetInstance().LoadLayout("/data/updater/ui/menu.json", pageInfo); 221 LayoutParser::GetInstance().LoadLayout(layoutFiles, pageInfos); 241 LayoutParser::GetInstance().LoadLayout(layoutFiles, pageInfos); 262 EXPECT_EQ(false, LayoutParser::GetInstance().LoadLayout(layoutFiles, pageInfos));
|
/base/powermgr/battery_manager/charger/src/ |
D | charger_animation.cpp | 66 if (Updater::LayoutParser::GetInstance().LoadLayout(layoutFiles, pageInfos)) { in InitConfig()
|
/base/update/updater/services/ui/ |
D | updater_ui_config.cpp | 162 if (!LayoutParser::GetInstance().LoadLayout(pagePath.pages, pageInfos)) { in LoadPages()
|