Searched refs:Page (Results 1 - 7 of 7) sorted by relevance
/base/update/updater/services/ui/view/page/ |
H A D | page_manager.h | 38 Page &operator[](const std::string &id) const; 50 void EnQueuePage(const std::shared_ptr<Page> &page); 51 bool BuildSubPages(const std::string &pageId, const std::shared_ptr<Page> &basePage, 53 bool IsValidPage(const std::shared_ptr<Page> &pg) const; 55 std::deque<std::shared_ptr<Page>> pageQueue_ {}; 56 std::unordered_map<std::string, std::shared_ptr<Page>> pageMap_ {}; 57 std::vector<std::shared_ptr<Page>> pages_ {}; 58 std::shared_ptr<Page> curPage_ {}; 59 std::shared_ptr<Page> mainPage_ {};
|
H A D | page.h | 27 class Page { class 28 DISALLOW_COPY_MOVE(Page); 30 virtual ~Page() = default; 42 static_assert(std::is_base_of_v<Page, T>, "T should be derived class of Page"); in Create() 47 Page() : focusedView_ {nullptr} {} in Page() function in Updater::Page
|
H A D | sub_page.h | 24 class SubPage : public Page { 25 friend class Page; 38 SubPage(const std::shared_ptr<Page> &basePage, const std::string &pageId); 40 std::shared_ptr<Page> basePage_;
|
H A D | page_manager.cpp | 35 auto basePage = Page::Create<BasePage>(Screen::GetInstance().GetWidth(), Screen::GetInstance().GetHeight()); in InitImpl() 81 bool PageManager::BuildSubPages(const std::string &pageId, const std::shared_ptr<Page> &basePage, in BuildSubPages() 89 auto subPage = Page::Create<SubPage>(basePage, subPageId); in BuildSubPages() 120 const Page &page = *(it->second); in IsValidCom() 124 bool PageManager::IsValidPage(const std::shared_ptr<Page> &pg) const in IsValidPage() 177 Page &PageManager::operator[](const std::string &id) const in operator []() 192 void PageManager::EnQueuePage(const std::shared_ptr<Page> &page) in EnQueuePage()
|
H A D | base_page.h | 27 class BasePage : public Page { 28 friend class Page;
|
H A D | page.cpp | 20 void Page::UpdateFocus(bool isVisible) in UpdateFocus()
|
H A D | sub_page.cpp | 27 SubPage::SubPage(const std::shared_ptr<Page> &basePage, const std::string &pageId) in SubPage()
|
Completed in 2 milliseconds