Home
last modified time | relevance | path

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

/base/powermgr/battery_manager/charger/src/
Dcharger_animation.cpp77 if (!pgMgr_.Init(pageInfos, CHARGER_ANIMATION_PAGE_ID)) { in InitConfig()
96 pgMgr_.ShowPage(CHARGER_ANIMATION_PAGE_ID); in AnimationStart()
97pgMgr_[CHARGER_ANIMATION_PAGE_ID][CHARGER_ANIMATION_COM_ID].As<Updater::ImgViewAdapter>()->Start(); in AnimationStart()
107pgMgr_[CHARGER_ANIMATION_PAGE_ID][CHARGER_ANIMATION_COM_ID].As<Updater::ImgViewAdapter>()->Stop(); in AnimationStop()
108 pgMgr_[CHARGER_ANIMATION_PAGE_ID].SetVisible(false); in AnimationStop()
117pgMgr_[CHARGER_ANIMATION_PAGE_ID][CHARGER_PERCENT_COM_ID].As<Updater::TextLabelAdapter>()->SetText( in CapacityDisplay()
123 pgMgr_[CHARGER_ANIMATION_PAGE_ID][CHARGER_PERCENT_COM_ID]->SetVisible(false); in CapacityDestroy()
129 pgMgr_.ShowPage(LACKPOWER_CHARGING_STATE_PAGE_ID); in LackPowerChargingPromptStart()
130 …auto lackPowerChargingTag = pgMgr_[LACKPOWER_CHARGING_STATE_PAGE_ID][LACKPOWER_CHARGING_STATE_COM_… in LackPowerChargingPromptStart()
133 pgMgr_[LACKPOWER_CHARGING_STATE_PAGE_ID][LACKPOWER_CHARGING_STATE_COM_ID] in LackPowerChargingPromptStart()
[all …]
/base/update/updater/services/ui/strategy/
Dlogo_strategy.cpp41 pgMgr_[id_]->SetVisible(true); in Show()
42 pgMgr_[id_].As<ImgViewAdapter>()->Start(); in Show()
47 pgMgr_[id_].As<ImgViewAdapter>()->Stop(); in Hide()
48 pgMgr_[id_]->SetVisible(false); in Hide()
53 pgMgr_[id_]->SetVisible(true); in Show()
58 pgMgr_[id_]->SetVisible(false); in Hide()
Dprogress_strategy.cpp46 pgMgr_[id_]->SetVisible(true); in Show()
51 pgMgr_[id_]->SetVisible(false); in Hide()
62 pgMgr_[id_].As<TextLabelAdapter>()->SetText(progress); in ShowProgress()
67 if (!pgMgr_[id_].As<BoxProgressAdapter>()->InitEp()) { in BarProgress()
74 pgMgr_[id_].As<BoxProgressAdapter>()->SetValue(value); in ShowProgress()
Dprogress_strategy.h26 explicit ProgressStrategy(const ComInfo &id) : id_ {id}, pgMgr_ {PageManager::GetInstance()} {} in ProgressStrategy()
34 PageManager &pgMgr_; variable
Dlogo_strategy.h26 explicit LogoStrategy(const ComInfo &id) : id_ {id}, pgMgr_ {PageManager::GetInstance()} {} in LogoStrategy()
33 PageManager &pgMgr_; variable
/base/update/updater/services/ui/control/
Devent_manager.cpp31 EventManager::EventManager() : pgMgr_(PageManager::GetInstance()) in EventManager()
43 if (!pgMgr_.IsValidCom(viewId)) { in Add()
47 auto com = pgMgr_[viewId.pageId][viewId.comId].As(); in Add()
55 if (!pgMgr_.IsValidCom(viewId)) { in Add()
59 auto com = pgMgr_[viewId.pageId][viewId.comId].As(); in Add()
71 if (!pgMgr_.IsValidCom(viewId)) { in Add()
75 auto com = pgMgr_[viewId.pageId][viewId.comId].As(); in Add()
Devent_manager.h41 PageManager &pgMgr_;
/base/update/updater/services/ui/
Dupdater_ui_facade.cpp26 …: strategies_ {UpdaterUiConfig::GetStrategy()}, pgMgr_ {PageManager::GetInstance()}, mode_ {Update… in UpdaterUiFacade()
117 return pgMgr_[it->second.progressPage.progressPageId].IsVisible(); in IsInProgress()
150 pgMgr_[progressPg.progressPageId][progressPg.warningComId]->SetVisible(isShow); in ShowProgressWarning()
163 pgMgr_.ShowPage(it->second.progressPage.progressPageId); in ShowProgressPage()
177 pgMgr_.ShowPage(it->second.resPage.successPageId); in ShowSuccessPage()
190 pgMgr_.ShowPage(it->second.resPage.failPageId); in ShowFailedPage()
201 pgMgr_.ShowPage(it->second.confirmPageId); in ShowFactoryConfirmPage()
206 pgMgr_.ShowMainPage(); in ShowMainpage()
233 pgMgr_[id.pageId][id.comId].As<TextLabelAdapter>()->SetText(tag); in ShowMsg()
238 pgMgr_[id.pageId][id.comId].As<TextLabelAdapter>()->SetText(tag); in ShowMsg()
Dupdater_ui_facade.h63 PageManager &pgMgr_; variable
/base/powermgr/battery_manager/charger/include/
Dcharger_animation.h37 explicit ChargerAnimation() : pgMgr_ {Updater::PageManager::GetInstance()} {} in ChargerAnimation()
51 Updater::PageManager& pgMgr_; variable