Home
last modified time | relevance | path

Searched refs:view (Results 1 – 15 of 15) sorted by relevance

/base/update/updater/services/ui/control/
Devent_listener.cpp55 bool LabelOnTouchListener::OnRelease(OHOS::UIView &view, [[maybe_unused]] const OHOS::ReleaseEvent … in OnRelease() argument
58 CallBackDecorator(view, cb_)(); in OnRelease() local
62 bool BtnOnEventListener::OnClick(OHOS::UIView &view, [[maybe_unused]] const OHOS::ClickEvent &event) in OnClick() argument
64 CallBackDecorator(view, cb_)(); in OnClick() local
68 bool BtnOnEventListener::OnPress(OHOS::UIView &view, [[maybe_unused]] const OHOS::PressEvent &event) in OnPress() argument
74 bool BtnOnEventListener::OnRelease(OHOS::UIView &view, [[maybe_unused]] const OHOS::ReleaseEvent &e… in OnRelease() argument
80 bool BtnOnEventListener::OnCancel(OHOS::UIView &view, [[maybe_unused]] const OHOS::CancelEvent &eve… in OnCancel() argument
86 bool BtnOnDragListener::OnDragStart(OHOS::UIView &view, [[maybe_unused]] const OHOS::DragEvent &eve… in OnDragStart() argument
88 CallBackDecorator(view, cb_)(); in OnDragStart() local
92 bool BtnOnDragListener::OnDrag(OHOS::UIView &view, const OHOS::DragEvent &event) in OnDrag() argument
[all …]
Devent_listener.h35 CallBackDecorator(OHOS::UIView &view, Callback cb) : cb_(cb), view_(view) {} in CallBackDecorator() argument
48 bool OnRelease(OHOS::UIView &view, const OHOS::ReleaseEvent &event) override;
60 bool OnClick(OHOS::UIView &view, const OHOS::ClickEvent &event) override;
61 bool OnPress(OHOS::UIView &view, const OHOS::PressEvent &event) override;
62 bool OnRelease(OHOS::UIView &view, const OHOS::ReleaseEvent &event) override;
63 bool OnCancel(OHOS::UIView &view, const OHOS::CancelEvent &event) override;
76 bool OnDragStart(OHOS::UIView &view, const OHOS::DragEvent &event) override;
77 bool OnDrag(OHOS::UIView &view, const OHOS::DragEvent &event) override;
78 bool OnDragEnd(OHOS::UIView &view, const OHOS::DragEvent &event) override;
87 bool OnKeyAct(OHOS::UIView &view, const OHOS::KeyEvent &event) override;
[all …]
/base/update/updater/test/unittest/updater_ui_test/
DBUILD.gn37 "view/ui_component_unittest.cpp",
38 "view/ui_layout_unittest.cpp",
39 "view/ui_page_manager_unittest.cpp",
40 "view/ui_view_api_unittest.cpp",
41 "view/ui_view_proxy_unittest.cpp",
46 "//base/update/updater/services/ui/view/component/box_progress_adapter.cpp",
47 "//base/update/updater/services/ui/view/component/component_factory.cpp",
48 "//base/update/updater/services/ui/view/component/img_view_adapter.cpp",
49 "//base/update/updater/services/ui/view/component/label_btn_adapter.cpp",
50 "//base/update/updater/services/ui/view/component/text_label_adapter.cpp",
[all …]
/base/update/updater/services/ui/
DBUILD.gn53 "view/component/box_progress_adapter.cpp",
54 "view/component/component_factory.cpp",
55 "view/component/img_view_adapter.cpp",
56 "view/component/label_btn_adapter.cpp",
57 "view/component/text_label_adapter.cpp",
58 "view/layout/layout_parser.cpp",
59 "view/page/base_page.cpp",
60 "view/page/page.cpp",
61 "view/page/page_manager.cpp",
62 "view/page/sub_page.cpp",
[all …]
/base/update/updater/services/ui/view/page/
Dbase_page.cpp91 auto &view = *upView; in BuildCom() local
92 if (view->GetViewId() == nullptr) { in BuildCom()
96 if (view->IsFocusable() && viewInfo.commonInfo.y < minY) { in BuildCom()
98 focusedView_ = view.operator->(); in BuildCom()
101 root_->Add(view.operator->()); in BuildCom()
103 if (std::string(view->GetViewId()).empty()) { in BuildCom()
107 if (!comsMap_.emplace(view->GetViewId(), coms_.back().get()).second) { in BuildCom()
108 LOG(ERROR) << "view id duplicated:" << view->GetViewId(); in BuildCom()
Dview_proxy.h29 ViewProxy(std::unique_ptr<OHOS::UIView> view, const std::string &message) in ViewProxy() argument
30 : view_(std::move(view)), errMsg_(message) { } in ViewProxy()
31 explicit ViewProxy(std::unique_ptr<OHOS::UIView> view) : view_(std::move(view)) { } in ViewProxy() argument
Dsub_page.cpp89 const auto &view = basePage_->GetView(); in SetVisible() local
90 if (view == nullptr) { in SetVisible()
98 view->SetVisible(isVisible); in SetVisible()
101 view->SetStyle(OHOS::STYLE_BACKGROUND_COLOR, color_.full); in SetVisible()
102 view->SetStyle(OHOS::STYLE_BACKGROUND_OPA, color_.alpha); in SetVisible()
/base/update/updater/services/ui/view/component/
Dlabel_btn_adapter.cpp33 bool OnFocus(OHOS::UIView &view) override in OnFocus()
36 if (view.GetViewType() != OHOS::UI_LABEL_BUTTON) { in OnFocus()
39 button = static_cast<LabelBtnAdapter *>(&view); in OnFocus()
47 bool OnBlur(OHOS::UIView &view) override in OnBlur()
50 if (view.GetViewType() != OHOS::UI_LABEL_BUTTON) { in OnBlur()
53 button = static_cast<LabelBtnAdapter *>(&view); in OnBlur()
Dimg_view_adapter.cpp30 explicit ImgAnimatorCallback(ImgViewAdapter *view) in ImgAnimatorCallback() argument
33 view_ = view; in ImgAnimatorCallback()
45 void Callback(OHOS::UIView *view) override in Callback() argument
/base/update/updater/test/unittest/updater_ui_test/view/
Dui_component_unittest.cpp42 void CheckCommInfo(OHOS::UIView &view, const UxViewCommonInfo &common) in CheckCommInfo() argument
44 EXPECT_EQ(view.GetX(), common.x); in CheckCommInfo()
45 EXPECT_EQ(view.GetY(), common.x); in CheckCommInfo()
46 EXPECT_EQ(view.GetWidth(), common.w); in CheckCommInfo()
47 EXPECT_EQ(view.GetHeight(), common.h); in CheckCommInfo()
48 EXPECT_STREQ(view.GetViewId(), common.id.c_str()); in CheckCommInfo()
49 EXPECT_EQ(view.IsVisible(), common.visible); in CheckCommInfo()
/base/update/updater/test/unittest/service_test/
DBUILD.gn52 "//base/update/updater/services/ui/view",
/base/update/updater/services/
DBUILD.gn70 "//base/update/updater/services/ui/view",
/base/security/selinux/sepolicy/base/system/
Daccess_vectors354 view
/base/hiviewdfx/hilog_lite/
DREADME.md268 1. Go to the **/storage/data/log/** directory to view hilog logs generated during debugging.
270 2. Run the **hilogcat** command to view hilog logs in real time.
/base/security/permission_lite/
DREADME.md19 - In addition, app permission management allows users to view and manage the permission granting …