Home
last modified time | relevance | path

Searched refs:ViewProxy (Results 1 - 9 of 9) sorted by relevance

/base/update/updater/test/unittest/updater_ui_test/view/
H A Dui_view_proxy_unittest.cpp35 ViewProxy viewproxy {}; in HWTEST_F()
44 ViewProxy viewproxy { nullptr, "A" }; in HWTEST_F()
59 ViewProxy viewproxy { std::move(label), "label1" }; in HWTEST_F()
74 ViewProxy viewproxy { std::move(label), "label1" }; in HWTEST_F()
89 ViewProxy viewproxy { std::move(label), "label1" }; in HWTEST_F()
97 OHOS::UIView *dummy = ViewProxy {}.operator->(); in HWTEST_F()
99 ViewProxy viewproxy { std::make_unique<TextLabelAdapter>(), "label1" }; in HWTEST_F()
101 EXPECT_EQ(ViewProxy {}.operator->(), dummy); in HWTEST_F()
/base/update/updater/services/ui/view/page/
H A Dview_proxy.h27 class ViewProxy final {
29 ViewProxy() = default;
30 ViewProxy(std::unique_ptr<ComponentInterface> view, const std::string &message) in ViewProxy() function in Updater::final
32 explicit ViewProxy(std::unique_ptr<ComponentInterface> view) : view_(std::move(view)) { } in ViewProxy() function in Updater::final
33 ~ViewProxy() = default;
H A Dbase_page.h38 ViewProxy &operator[](const std::string &id) override;
49 std::vector<std::unique_ptr<ViewProxy>> coms_;
50 std::unordered_map<std::string_view, ViewProxy *> comsMap_;
H A Dbase_page.cpp89 auto upView = std::make_unique<ViewProxy>(ComponentFactory::CreateUxComponent(viewInfo), in BuildCom()
113 ViewProxy &BasePage::operator[](const std::string &id) in operator []()
115 static ViewProxy dummy; in operator []()
H A Dsub_page.cpp140 ViewProxy &SubPage::operator[](const std::string &id) in operator []()
142 static ViewProxy dummy; in operator []()
H A Dpage.h37 virtual ViewProxy &operator[](const std::string &id) = 0;
H A Dsub_page.h34 ViewProxy &operator[](const std::string &id) override;
H A Dpage_manager.h40 ViewProxy &operator[](const ComInfo &comInfo) const;
H A Dpage_manager.cpp187 ViewProxy &PageManager::operator[](const ComInfo &comInfo) const in operator []()

Completed in 5 milliseconds