/foundation/window/window_manager/wm/src/ |
H A D | window_adapter.cpp | 34 constexpr HiviewDFX::HiLogLabel LABEL = {LOG_CORE, HILOG_DOMAIN_WINDOW, "WindowAdapter"}; 36 WM_IMPLEMENT_SINGLE_INSTANCE(WindowAdapter) 69 WMError WindowAdapter::CreateWindow(sptr<IWindow>& window, sptr<WindowProperty>& windowProperty, in CreateWindow() 79 WMError WindowAdapter::AddWindow(sptr<WindowProperty>& windowProperty) in AddWindow() 88 WMError WindowAdapter::RemoveWindow(uint32_t windowId, bool isFromInnerkits) in RemoveWindow() 97 WMError WindowAdapter::DestroyWindow(uint32_t windowId) in DestroyWindow() 106 WMError WindowAdapter::RequestFocus(uint32_t windowId) in RequestFocus() 115 WMError WindowAdapter::RegisterWindowManagerAgent(WindowManagerAgentType type, in RegisterWindowManagerAgent() 134 WMError WindowAdapter::UnregisterWindowManagerAgent(WindowManagerAgentType type, in UnregisterWindowManagerAgent() 160 WMError WindowAdapter [all...] |
H A D | window_accessibility_controller.cpp | 27 SingletonContainer::Get<WindowAdapter>().SetAnchorAndScale(x, y, scale); in SetAnchorAndScale() 32 SingletonContainer::Get<WindowAdapter>().SetAnchorOffset(deltaX, deltaY); in SetAnchorOffset() 37 SingletonContainer::Get<WindowAdapter>().OffWindowZoom(); in OffWindowZoom()
|
H A D | window_manager.cpp | 368 WMError ret = SingletonContainer::Get<WindowAdapter>().CheckWindowId(windowId, pid);
in CheckWindowId() 401 auto ret = SingletonContainer::Get<WindowAdapter>().RegisterWMSConnectionChangedListener(
in RegisterWMSConnectionChangedListener() 431 ret = SingletonContainer::Get<WindowAdapter>().RegisterWindowManagerAgent(
in RegisterFocusChangedListener() 463 ret = SingletonContainer::Get<WindowAdapter>().UnregisterWindowManagerAgent(
in UnregisterFocusChangedListener() 484 ret = SingletonContainer::Get<WindowAdapter>().RegisterWindowManagerAgent(
in RegisterWindowModeChangedListener() 516 ret = SingletonContainer::Get<WindowAdapter>().UnregisterWindowManagerAgent(
in UnregisterWindowModeChangedListener() 537 ret = SingletonContainer::Get<WindowAdapter>().RegisterWindowManagerAgent(
in RegisterSystemBarChangedListener() 571 ret = SingletonContainer::Get<WindowAdapter>().UnregisterWindowManagerAgent(
in UnregisterSystemBarChangedListener() 583 return SingletonContainer::Get<WindowAdapter>().MinimizeAllAppWindows(displayId);
in MinimizeAllAppWindows() 589 return SingletonContainer::Get<WindowAdapter>() in ToggleShownStateForAllAppWindows() [all...] |
H A D | window_impl.cpp | 217 WMError ret = SingletonContainer::Get<WindowAdapter>().GetTopWindowId(mainWinId, topWinId); in GetTopWindowWithId() 251 WMError ret = SingletonContainer::Get<WindowAdapter>().GetTopWindowId(mainWinId, topWinId); in GetTopWindowWithContext() 393 WMError ret = SingletonContainer::Get<WindowAdapter>().GetAvoidAreaByType(windowId, type, avoidArea); in GetAvoidAreaByType() 828 pixelMap = SingletonContainer::Get<WindowAdapter>().GetSnapshot(property_->GetWindowId()); in Snapshot() 843 SingletonContainer::Get<WindowAdapter>().NotifyDumpInfoResult(info); in DumpInfo() 850 SingletonContainer::Get<WindowAdapter>().NotifyDumpInfoResult(info); in DumpInfo() 1130 return SingletonContainer::Get<WindowAdapter>().UpdateProperty(property_, action); in UpdateProperty() 1224 if (SingletonContainer::Get<WindowAdapter>().GetSystemConfig(windowSystemConfig_) == WMError::WM_OK) { in SetSystemConfig() 1357 ret = SingletonContainer::Get<WindowAdapter>().CreateWindow(windowAgent, property_, surfaceNode_, in Create() 1426 WMError ret = SingletonContainer::Get<WindowAdapter>() in BindDialogTarget() [all...] |
H A D | window_extension_session_impl.cpp | 130 SingletonContainer::Get<WindowAdapter>().AddExtensionWindowStageToSCB(sptr<ISessionStage>(this), abilityToken_, in AddExtensionWindowStageToSCB() 141 SingletonContainer::Get<WindowAdapter>().RemoveExtensionWindowStageFromSCB(sptr<ISessionStage>(this), in RemoveExtensionWindowStageFromSCB() 567 SingletonContainer::Get<WindowAdapter>().UpdateModalExtensionRect(abilityToken_, wmRect); in UpdateRect() 1113 return SingletonContainer::Get<WindowAdapter>().UpdateExtWindowFlags(abilityToken_, flags.bitData, actions.bitData); in UpdateExtWindowFlags() 1123 SingletonContainer::Get<WindowAdapter>().GetHostWindowRect(hostWindowId, rect); in GetHostWindowRect() 1153 SingletonContainer::Get<WindowAdapter>().ProcessModalExtensionPointDown(abilityToken_, in ConsumePointerEvent() 1193 SingletonContainer::Get<WindowAdapter>().GetFreeMultiWindowEnableState(enable); in GetFreeMultiWindowModeEnabledState() 1279 WMError ret = SingletonContainer::Get<WindowAdapter>().IsPcOrPadFreeMultiWindowMode(isPcOrPadFreeMultiWindowMode); in IsPcOrPadFreeMultiWindowMode()
|
H A D | window_scene_session_impl.cpp | 354 SingletonContainer::Get<WindowAdapter>().CreateAndConnectSpecificSession(iSessionStage, eventChannel, in CreateAndConnectSpecificSession() 361 WMError errCode = SingletonContainer::Get<WindowAdapter>().GetDisplayIdByPersistentId(property_->GetParentId(), in CreateAndConnectSpecificSession() 372 SingletonContainer::Get<WindowAdapter>().CreateAndConnectSpecificSession(iSessionStage, eventChannel, in CreateAndConnectSpecificSession() 385 SingletonContainer::Get<WindowAdapter>().CreateAndConnectSpecificSession(iSessionStage, eventChannel, in CreateAndConnectSpecificSession() 510 SingletonContainer::Get<WindowAdapter>().RecoverAndConnectSpecificSession( in RecoverAndConnectSpecificSession() 557 auto ret = SingletonContainer::Get<WindowAdapter>().RecoverAndReconnectSceneSession( in RecoverAndReconnectSceneSession() 759 SingletonContainer::Get<WindowAdapter>().RegisterSessionRecoverCallbackFunc(GetPersistentId(), callbackFunc); in RegisterSessionRecoverListener() 1386 ret = SingletonContainer::Get<WindowAdapter>().DestroyAndDisconnectSpecificSession(persistentId); in SyncDestroyAndDisconnectSpecificSession() 1390 ret = SingletonContainer::Get<WindowAdapter>().DestroyAndDisconnectSpecificSessionWithDetachCallback(persistentId, in SyncDestroyAndDisconnectSpecificSession() 1418 SingletonContainer::Get<WindowAdapter>() in Destroy() [all...] |
H A D | window_session_impl.cpp | 958 return SingletonContainer::Get<WindowAdapter>().RequestFocusStatus(GetPersistentId(), true); in RequestFocus() 2335 SingletonContainer::Get<WindowAdapter>().UpdateSessionAvoidAreaListener(persistentId, true); in RecoverSessionListener() 2342 SingletonContainer::Get<WindowAdapter>().UpdateSessionTouchOutsideListener(persistentId, true); in RecoverSessionListener() 2349 SingletonContainer::Get<WindowAdapter>().UpdateSessionWindowVisibilityListener(persistentId, true); in RecoverSessionListener() 3042 ret = SingletonContainer::Get<WindowAdapter>().UpdateSessionAvoidAreaListener(persistentId, true); in RegisterAvoidAreaChangeListener() 3069 ret = SingletonContainer::Get<WindowAdapter>().UpdateSessionAvoidAreaListener(persistentId, false); in UnregisterAvoidAreaChangeListener() 3178 ret = SingletonContainer::Get<WindowAdapter>().UpdateSessionTouchOutsideListener(persistentId, true); in RegisterTouchOutsideListener() 3207 ret = SingletonContainer::Get<WindowAdapter>().UpdateSessionTouchOutsideListener(persistentId, false); in UnregisterTouchOutsideListener() 3252 ret = SingletonContainer::Get<WindowAdapter>().UpdateSessionWindowVisibilityListener(persistentId, true); in RegisterWindowVisibilityChangeListener() 3273 ret = SingletonContainer::Get<WindowAdapter>() in UnregisterWindowVisibilityChangeListener() [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_adapter_test.cpp | 61 * @tc.desc: WindowAdapter/AddWindow 67 WindowAdapter windowAdapter; in HWTEST_F() 76 * @tc.desc: WindowAdapter/RemoveWindow 83 WindowAdapter windowAdapter; in HWTEST_F() 92 * @tc.desc: WindowAdapter/RequestFocus 98 WindowAdapter windowAdapter; in HWTEST_F() 107 * @tc.desc: WindowAdapter/GetUIContentRemoteObj 112 WindowAdapter windowAdapter; in HWTEST_F() 122 * @tc.desc: WindowAdapter/CheckWindowId 129 WindowAdapter windowAdapte in HWTEST_F() [all...] |
H A D | gtx_input_event_sender_test.cpp | 27 using WindowMocker = SingletonMocker<WindowAdapter, MockWindowAdapter>;
|
H A D | input_transfer_station_test.cpp | 28 using WindowMocker = SingletonMocker<WindowAdapter, MockWindowAdapter>;
|
H A D | window_input_channel_test.cpp | 27 using WindowMocker = SingletonMocker<WindowAdapter, MockWindowAdapter>;
|
H A D | window_scene_session_impl_test2.cpp | 33 using Mocker = SingletonMocker<WindowAdapter, MockWindowAdapter>; 1585 ASSERT_EQ(SingletonContainer::Get<WindowAdapter>().sessionRecoverCallbackFuncMap_.size(), 0); in HWTEST_F() 1604 ASSERT_EQ(SingletonContainer::Get<WindowAdapter>().sessionRecoverCallbackFuncMap_.size(), 0); in HWTEST_F() 1623 ASSERT_EQ(SingletonContainer::Get<WindowAdapter>().sessionRecoverCallbackFuncMap_.size(), 0); in HWTEST_F() 1641 ASSERT_EQ(SingletonContainer::Get<WindowAdapter>().sessionRecoverCallbackFuncMap_.size(), 1); in HWTEST_F() 1642 SingletonContainer::Get<WindowAdapter>().sessionRecoverCallbackFuncMap_.clear(); in HWTEST_F() 1660 ASSERT_EQ(SingletonContainer::Get<WindowAdapter>().sessionRecoverCallbackFuncMap_.size(), 1); in HWTEST_F() 1661 SingletonContainer::Get<WindowAdapter>().sessionRecoverCallbackFuncMap_.clear(); in HWTEST_F()
|
H A D | window_effect_test.cpp | 27 using Mocker = SingletonMocker<WindowAdapter, MockWindowAdapter>;
|
H A D | window_scene_session_impl_test4.cpp | 33 using Mocker = SingletonMocker<WindowAdapter, MockWindowAdapter>; 123 WindowAdapter& windowAdapter = SingletonContainer::Get<WindowAdapter>(); in HWTEST_F()
|
H A D | window_manager_test.cpp | 31 using Mocker = SingletonMocker<WindowAdapter, MockWindowAdapter>;
|
H A D | window_impl_test3.cpp | 29 using Mocker = SingletonMocker<WindowAdapter, MockWindowAdapter>;
|
H A D | window_impl_test5.cpp | 29 using Mocker = SingletonMocker<WindowAdapter, MockWindowAdapter>;
|
H A D | window_impl_test2.cpp | 29 using Mocker = SingletonMocker<WindowAdapter, MockWindowAdapter>;
|
H A D | window_impl_test.cpp | 29 using Mocker = SingletonMocker<WindowAdapter, MockWindowAdapter>;
|
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_touch_outside_test.cpp | 121 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(firstWindow->GetWindowId());
in HWTEST_F() 143 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(secondWindow->GetWindowId());
in HWTEST_F() 165 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(secondWindow->GetWindowId());
in HWTEST_F() 194 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(thirdWindow->GetWindowId());
in HWTEST_F()
|
H A D | window_recover_test.cpp | 35 using Mocker = SingletonMocker<WindowAdapter, MockWindowAdapter>;
|
H A D | window_layout_test.cpp | 56 SingletonContainer::Get<WindowAdapter>().MinimizeAllAppWindows(0);
in SetUpTestCase()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/animation/window_animation_manager/ |
H A D | rs_window_animation_manager.cpp | 114 SingletonContainer::Get<WindowAdapter>().SetWindowAnimationController(controller); in OnSetController() 173 SingletonContainer::Get<WindowAdapter>().MinimizeWindowsByLauncher(windowIds, true, finishedCallback); in OnMinimizeWindowWithAnimation() 255 SingletonContainer::Get<WindowAdapter>().GetWindowAnimationTargets(missionIds, targets); in OnGetWindowAnimationTargets()
|
/foundation/window/window_manager/wm/include/ |
H A D | window_adapter.h | 37 class WindowAdapter { class 38 WM_DECLARE_SINGLE_INSTANCE(WindowAdapter); 150 static inline SingletonDelegator<WindowAdapter> delegator;
|
/foundation/window/window_manager/test/common/mock/ |
H A D | mock_window_adapter.h | 24 class MockWindowAdapter : public WindowAdapter {
|