Home
last modified time | relevance | path

Searched refs:LayoutParser (Results 1 – 5 of 5) sorted by relevance

/base/update/updater/services/ui/view/layout/
Dlayout_parser.h23 class LayoutParser {
24 DISALLOW_COPY_MOVE(LayoutParser);
26 static LayoutParser &GetInstance();
30 LayoutParser();
31 ~LayoutParser();
Dlayout_parser.cpp31 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/
Dui_layout_unittest.cpp100 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/
Dcharger_animation.cpp66 if (Updater::LayoutParser::GetInstance().LoadLayout(layoutFiles, pageInfos)) { in InitConfig()
/base/update/updater/services/ui/
Dupdater_ui_config.cpp162 if (!LayoutParser::GetInstance().LoadLayout(pagePath.pages, pageInfos)) { in LoadPages()