/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ability_component/ |
H A D | ability_component_pattern.cpp | 58 auto hub = host->GetEventHub<EventHub>(); in OnModifyDone() local 59 CHECK_NULL_VOID(hub); in OnModifyDone() 60 auto gestureHub = hub->GetOrCreateGestureEventHub(); in OnModifyDone() 63 auto inputHub = hub->GetOrCreateInputEventHub(); in OnModifyDone() 200 auto hub = host->GetFocusHub(); in HandleTouchEvent() local 201 CHECK_NULL_VOID(hub); in HandleTouchEvent() 202 hub->RequestFocusImmediately(); in HandleTouchEvent() 218 auto hub = host->GetFocusHub(); in HandleMouseEvent() local 219 CHECK_NULL_VOID(hub); in HandleMouseEvent() 220 hub in HandleMouseEvent() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/ |
H A D | platform_pattern.cpp | 66 auto hub = host->GetEventHub<EventHub>(); in OnModifyDone() local 67 CHECK_NULL_VOID(hub); in OnModifyDone() 68 auto gestureHub = hub->GetOrCreateGestureEventHub(); in OnModifyDone() 71 auto inputHub = hub->GetOrCreateInputEventHub(); in OnModifyDone() 217 auto hub = host->GetFocusHub(); in HandleMouseEvent() local 218 CHECK_NULL_VOID(hub); in HandleMouseEvent() 219 hub->RequestFocusImmediately(); in HandleMouseEvent()
|
H A D | ui_extension_pattern.cpp | 599 auto hub = host->GetEventHub<EventHub>(); in OnModifyDone() local 600 CHECK_NULL_VOID(hub); in OnModifyDone() 601 auto gestureHub = hub->GetOrCreateGestureEventHub(); in OnModifyDone() 604 auto inputHub = hub->GetOrCreateInputEventHub(); in OnModifyDone() 797 auto hub = host->GetFocusHub(); in HandleMouseEvent() local 798 CHECK_NULL_VOID(hub); in HandleMouseEvent() 799 hub->RequestFocusImmediately(); in HandleMouseEvent() 800 hub->SetForceProcessOnKeyEventInternal(true); in HandleMouseEvent()
|
H A D | security_ui_extension_pattern.cpp | 383 auto hub = host->GetEventHub<EventHub>(); in OnModifyDone() local 384 CHECK_NULL_VOID(hub); in OnModifyDone() 385 auto gestureHub = hub->GetOrCreateGestureEventHub(); in OnModifyDone() 388 auto inputHub = hub->GetOrCreateInputEventHub(); in OnModifyDone()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_view.cpp | 92 auto hub = dialog->GetEventHub<DialogEventHub>(); in CreateDialogNode() local 93 CHECK_NULL_RETURN(hub, dialog); in CreateDialogNode() 94 hub->SetOnCancel(param.onCancel); in CreateDialogNode() 95 hub->SetOnSuccess(param.onSuccess); in CreateDialogNode()
|
H A D | alert_dialog_model_ng.cpp | 89 auto hub = dialog->GetEventHub<NG::DialogEventHub>(); in SetShowDialog() 90 hub->SetOnCancel(arg.onCancel); in SetShowDialog()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_event_hub.h | 176 auto hub = weak.Upgrade(); in FireAnimationEndEvent() 177 CHECK_NULL_VOID(hub); in FireAnimationEndEvent() 178 hub->FireAnimationEndEvent(index, info); in FireAnimationEndEvent() 199 auto hub = weak.Upgrade(); in FireAnimationEndOnForceEvent() 200 CHECK_NULL_VOID(hub); in FireAnimationEndOnForceEvent() 201 hub->FireAnimationEndOnForceEvent(index, info); in FireAnimationEndOnForceEvent()
|
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
H A D | event_hub.cpp | 45 auto hub = std::make_shared<EventHub>(*info, inputManager); in RegisterEvent() local 46 bool result = EventFwk::CommonEventManager::SubscribeCommonEvent(hub); in RegisterEvent() 50 return hub; in RegisterEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/ |
H A D | scroll_bar_pattern.h | 220 auto hub = host->GetEventHub<EventHub>(); in GetGestureHub() local 221 CHECK_NULL_RETURN(hub, nullptr); in GetGestureHub() 222 return hub->GetOrCreateGestureEventHub(); in GetGestureHub() 229 auto hub = host->GetEventHub<EventHub>(); in GetInputHub() local 230 CHECK_NULL_RETURN(hub, nullptr); in GetInputHub() 231 return hub->GetOrCreateInputEventHub(); in GetInputHub()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/ |
H A D | select_model_ng.cpp | 191 auto hub = ViewStackProcessor::GetInstance()->GetMainFrameNodeEventHub<SelectEventHub>(); in SetOnSelect() local 192 CHECK_NULL_VOID(hub); in SetOnSelect() 193 hub->SetSelectEvent(std::move(onSelect)); in SetOnSelect() 370 auto hub = ViewStackProcessor::GetInstance()->GetMainFrameNodeEventHub<SelectEventHub>(); in SetSelectChangeEvent() local 371 CHECK_NULL_VOID(hub); in SetSelectChangeEvent() 372 hub->SetSelectChangeEvent(std::move(selectChangeEvent)); in SetSelectChangeEvent() 377 auto hub = ViewStackProcessor::GetInstance()->GetMainFrameNodeEventHub<SelectEventHub>(); in SetValueChangeEvent() local 378 CHECK_NULL_VOID(hub); in SetValueChangeEvent() 379 hub->SetValueChangeEvent(std::move(valueChangeEvent)); in SetValueChangeEvent() 755 auto hub in SetOnSelect() local [all...] |
H A D | select_pattern.cpp | 174 auto hub = host->GetEventHub<SelectEventHub>(); in SetItemSelected() local 175 CHECK_NULL_VOID(hub); in SetItemSelected() 177 auto onSelect = hub->GetSelectEvent(); in SetItemSelected() 377 auto hub = host->GetEventHub<SelectEventHub>(); in CreateSelectedCallback() 378 CHECK_NULL_VOID(hub); in CreateSelectedCallback() 380 auto selectChangeEvent = hub->GetSelectChangeEvent(); in CreateSelectedCallback() 384 auto valueChangeEvent = hub->GetValueChangeEvent(); in CreateSelectedCallback() 394 auto onSelect = hub->GetSelectEvent(); in CreateSelectedCallback() 402 auto hub = option->GetEventHub<OptionEventHub>(); in CreateSelectedCallback() local 404 hub in CreateSelectedCallback() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/ |
H A D | sheet_drag_bar_test_ng.cpp | 72 auto hub = host->GetEventHub<EventHub>(); in HWTEST_F() local 73 ASSERT_NE(hub, nullptr); in HWTEST_F() 74 auto gestureHub = hub->GetOrCreateGestureEventHub(); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/hyperlink/ |
H A D | hyperlink_pattern.cpp | 80 auto hub = host->GetEventHub<EventHub>(); in OnModifyDone() local 81 CHECK_NULL_VOID(hub); in OnModifyDone() 83 auto gestureHub = hub->GetOrCreateGestureEventHub(); in OnModifyDone() 88 auto inputHub = hub->GetOrCreateInputEventHub(); in OnModifyDone() 97 auto enabled = hub->IsEnabled(); in OnModifyDone()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/ |
H A D | menu_preview_pattern.cpp | 81 auto hub = host->GetEventHub<EventHub>(); in OnModifyDone() local 82 CHECK_NULL_VOID(hub); in OnModifyDone() 83 auto gestureHub = hub->GetOrCreateGestureEventHub(); in OnModifyDone()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/ |
H A D | model_pattern.cpp | 48 auto hub = host->GetEventHub<EventHub>(); in OnModifyDone() local 49 CHECK_NULL_VOID(hub); in OnModifyDone() 50 auto gestureHub = hub->GetOrCreateGestureEventHub(); in OnModifyDone()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_drag_bar_pattern.cpp | 48 auto hub = host->GetEventHub<EventHub>(); in OnModifyDone() local 49 CHECK_NULL_VOID(hub); in OnModifyDone() 50 auto gestureHub = hub->GetOrCreateGestureEventHub(); in OnModifyDone()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/focus/ |
H A D | focus_manager.cpp | 388 RefPtr<FocusHub> hub = focusHub; in FocusGuard() local 394 hub = curFocusViewHub; in FocusGuard() 396 auto mng = hub->GetFocusManager(); in FocusGuard() 397 CreateFocusGuard(hub, mng, reason); in FocusGuard()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/option/ |
H A D | option_pattern.cpp | 121 auto hub = host->GetEventHub<OptionEventHub>(); in OnSelectProcess() local 122 CHECK_NULL_VOID(hub); in OnSelectProcess() 123 auto JsAction = hub->GetJsCallback(); in OnSelectProcess() 127 auto onSelect = hub->GetOnSelect(); in OnSelectProcess() 172 auto hub = host->GetEventHub<OptionEventHub>(); in RegisterOnClick() local
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/enhance/ |
H A D | container_modal_view_enhance.cpp | 98 auto hub = maximizeBtn->GetOrCreateGestureEventHub(); in AddControlButtons() local 100 hub->SetLongPressEvent(longPressEvent, false, true); in AddControlButtons()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_pattern.cpp | 677 auto hub = host->GetEventHub<MenuItemEventHub>(); in OnClick() local 678 CHECK_NULL_VOID(hub); in OnClick() 679 auto onChange = hub->GetOnChange(); in OnClick() 680 auto selectedChangeEvent = hub->GetSelectedChangeEvent(); in OnClick() 781 auto hub = host->GetEventHub<MenuItemEventHub>(); in HandleOnChange() local 782 CHECK_NULL_VOID(hub); in HandleOnChange() 783 auto onChange = hub->GetOnChange(); in HandleOnChange() 784 auto selectedChangeEvent = hub->GetSelectedChangeEvent(); in HandleOnChange() 1533 auto hub = host->GetEventHub<MenuItemEventHub>(); in SetAccessibilityAction() 1534 CHECK_NULL_VOID(hub); in SetAccessibilityAction() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_split/ |
H A D | linear_split_pattern.cpp | 554 auto hub = host->GetEventHub<EventHub>(); in OnModifyDone() local 555 CHECK_NULL_VOID(hub); in OnModifyDone() 556 auto gestureHub = hub->GetOrCreateGestureEventHub(); in OnModifyDone() 569 auto inputHub = hub->GetOrCreateInputEventHub(); in OnModifyDone()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/hyperlink/ |
H A D | hyperlink_test_ng.cpp | 268 auto hub = hyperlinkNode->GetEventHub<EventHub>(); in HWTEST_F() local 269 ASSERT_NE(hub, nullptr); in HWTEST_F() 276 hub->SetEnabled(true); in HWTEST_F() 283 hub->SetEnabled(false); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/ |
H A D | navdestination_pattern.cpp | 55 auto hub = navDestinationGroupNode->GetEventHub<EventHub>(); in BuildMenu() local 56 if (hub) { in BuildMenu() 57 isButtonEnabled = hub->IsEnabled(); in BuildMenu()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/ |
H A D | drag_bar_pattern.cpp | 55 auto hub = host->GetEventHub<EventHub>(); in OnModifyDone() local 56 CHECK_NULL_VOID(hub); in OnModifyDone() 57 auto gestureHub = hub->GetOrCreateGestureEventHub(); in OnModifyDone()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/panel/ |
H A D | dragBar_pattern_test_ng.cpp | 234 auto hub = dragBarNode->GetEventHub<EventHub>(); in HWTEST_F() local 235 CHECK_NULL_VOID(hub); in HWTEST_F() 236 auto gestureHub = hub->GetOrCreateGestureEventHub(); in HWTEST_F()
|