/foundation/window/window_manager/wmserver/src/zidl/ |
H A D | window_manager_stub.cpp | 306 ModeChangeHotZones hotZones = { { 0, 0, 0, 0 }, { 0, 0, 0, 0 }, { 0, 0, 0, 0 } }; in OnRemoteRequest() local 307 WMError errCode = GetModeChangeHotZones(displayId, hotZones); in OnRemoteRequest() 310 reply.WriteInt32(hotZones.fullscreen_.posX_); in OnRemoteRequest() 311 reply.WriteInt32(hotZones.fullscreen_.posY_); in OnRemoteRequest() 312 reply.WriteUint32(hotZones.fullscreen_.width_); in OnRemoteRequest() 313 reply.WriteUint32(hotZones.fullscreen_.height_); in OnRemoteRequest() 315 reply.WriteInt32(hotZones.primary_.posX_); in OnRemoteRequest() 316 reply.WriteInt32(hotZones.primary_.posY_); in OnRemoteRequest() 317 reply.WriteUint32(hotZones.primary_.width_); in OnRemoteRequest() 318 reply.WriteUint32(hotZones in OnRemoteRequest() [all...] |
H A D | window_manager_proxy.cpp | 770 WMError WindowManagerProxy::GetModeChangeHotZones(DisplayId displayId, ModeChangeHotZones& hotZones) in GetModeChangeHotZones() argument 796 hotZones.fullscreen_.posX_ = reply.ReadInt32(); in GetModeChangeHotZones() 797 hotZones.fullscreen_.posY_ = reply.ReadInt32(); in GetModeChangeHotZones() 798 hotZones.fullscreen_.width_ = reply.ReadUint32(); in GetModeChangeHotZones() 799 hotZones.fullscreen_.height_ = reply.ReadUint32(); in GetModeChangeHotZones() 801 hotZones.primary_.posX_ = reply.ReadInt32(); in GetModeChangeHotZones() 802 hotZones.primary_.posY_ = reply.ReadInt32(); in GetModeChangeHotZones() 803 hotZones.primary_.width_ = reply.ReadUint32(); in GetModeChangeHotZones() 804 hotZones.primary_.height_ = reply.ReadUint32(); in GetModeChangeHotZones() 806 hotZones in GetModeChangeHotZones() [all...] |
/foundation/window/window_manager/test/common/mock/ |
H A D | mock_window_adapter.h | 43 MOCK_METHOD2(GetModeChangeHotZones, WMError(DisplayId displayId, ModeChangeHotZones& hotZones));
|
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_manager_stub_impl.h | 116 WMError GetModeChangeHotZones(DisplayId displayId, ModeChangeHotZones& hotZones) in GetModeChangeHotZones() argument
|
H A D | window_manager_proxy_test.cpp | 151 ModeChangeHotZones hotZones; in HWTEST_F() local 152 WMError err = windowManagerProxy_->GetModeChangeHotZones(displayId, hotZones); in HWTEST_F()
|
H A D | window_node_container_test.cpp | 197 ModeChangeHotZones hotZones; in HWTEST_F() local 198 container_->GetModeChangeHotZones(0, hotZones, hotZonesConfig); in HWTEST_F() 199 ASSERT_EQ(hotZones.fullscreen_.height_, 10); in HWTEST_F() 200 ASSERT_EQ(hotZones.primary_.width_, 20); in HWTEST_F() 201 ASSERT_EQ(hotZones.secondary_.width_, 30); in HWTEST_F()
|
/foundation/window/window_manager/wmserver/include/zidl/ |
H A D | window_manager_proxy.h | 63 WMError GetModeChangeHotZones(DisplayId displayId, ModeChangeHotZones& hotZones) override;
|
H A D | window_manager_interface.h | 125 virtual WMError GetModeChangeHotZones(DisplayId displayId, ModeChangeHotZones& hotZones) = 0;
|
/foundation/window/window_manager/wmserver/include/ |
H A D | window_manager_service.h | 130 WMError GetModeChangeHotZones(DisplayId displayId, ModeChangeHotZones& hotZones) override; 183 void ConfigHotZones(const std::vector<int>& hotZones);
|
H A D | window_root.h | 93 ModeChangeHotZones& hotZones, const ModeChangeHotZonesConfig& config);
|
H A D | window_controller.h | 68 ModeChangeHotZones& hotZones, const ModeChangeHotZonesConfig& config);
|
H A D | window_node_container.h | 99 ModeChangeHotZones& hotZones, const ModeChangeHotZonesConfig& config);
|
/foundation/window/window_manager/wm/src/ |
H A D | window_impl.cpp | 2912 ModeChangeHotZones hotZones; in HandleModeChangeHotZones() local 2913 auto res = SingletonContainer::Get<WindowAdapter>().GetModeChangeHotZones(property_->GetDisplayId(), hotZones); in HandleModeChangeHotZones() 2916 WLOGD("[HotZone] Fullscreen [%{public}d, %{public}d, %{public}u, %{public}u]", hotZones.fullscreen_.posX_, in HandleModeChangeHotZones() 2917 hotZones.fullscreen_.posY_, hotZones.fullscreen_.width_, hotZones.fullscreen_.height_); in HandleModeChangeHotZones() 2918 WLOGD("[HotZone] Primary [%{public}d, %{public}d, %{public}u, %{public}u]", hotZones.primary_.posX_, in HandleModeChangeHotZones() 2919 hotZones.primary_.posY_, hotZones.primary_.width_, hotZones in HandleModeChangeHotZones() [all...] |
H A D | window_adapter.cpp | 271 WMError WindowAdapter::GetModeChangeHotZones(DisplayId displayId, ModeChangeHotZones& hotZones) in GetModeChangeHotZones() argument 277 return wmsProxy->GetModeChangeHotZones(displayId, hotZones); in GetModeChangeHotZones()
|
/foundation/window/window_manager/wmserver/src/ |
H A D | window_node_container.cpp | 2565 void WindowNodeContainer::GetModeChangeHotZones(DisplayId displayId, ModeChangeHotZones& hotZones, in GetModeChangeHotZones() argument 2570 hotZones.fullscreen_.width_ = displayRect.width_; in GetModeChangeHotZones() 2571 hotZones.fullscreen_.height_ = config.fullscreenRange_; in GetModeChangeHotZones() 2573 hotZones.primary_.width_ = config.primaryRange_; in GetModeChangeHotZones() 2574 hotZones.primary_.height_ = displayRect.height_; in GetModeChangeHotZones() 2576 hotZones.secondary_.posX_ = static_cast<int32_t>(displayRect.width_) - config.secondaryRange_; in GetModeChangeHotZones() 2577 hotZones.secondary_.width_ = config.secondaryRange_; in GetModeChangeHotZones() 2578 hotZones.secondary_.height_ = displayRect.height_; in GetModeChangeHotZones()
|
H A D | window_manager_service.cpp | 1495 WMError WindowManagerService::GetModeChangeHotZones(DisplayId displayId, ModeChangeHotZones& hotZones) in GetModeChangeHotZones() argument 1501 return windowController_->GetModeChangeHotZones(displayId, hotZones, hotZonesConfig_); in GetModeChangeHotZones()
|
H A D | window_root.cpp | 1801 ModeChangeHotZones& hotZones, const ModeChangeHotZonesConfig& config) in GetModeChangeHotZones() 1808 container->GetModeChangeHotZones(displayId, hotZones, config); in GetModeChangeHotZones() 1800 GetModeChangeHotZones(DisplayId displayId, ModeChangeHotZones& hotZones, const ModeChangeHotZonesConfig& config) GetModeChangeHotZones() argument
|
H A D | window_controller.cpp | 1706 ModeChangeHotZones& hotZones, const ModeChangeHotZonesConfig& config) in GetModeChangeHotZones() 1708 return windowRoot_->GetModeChangeHotZones(displayId, hotZones, config); in GetModeChangeHotZones() 1705 GetModeChangeHotZones(DisplayId displayId, ModeChangeHotZones& hotZones, const ModeChangeHotZonesConfig& config) GetModeChangeHotZones() argument
|
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_adapter_test.cpp | 462 ModeChangeHotZones hotZones; in HWTEST_F() local 463 auto ret = windowAdapter.GetModeChangeHotZones(displayId, hotZones); in HWTEST_F()
|
/foundation/window/window_manager/window_scene/session_manager/include/zidl/ |
H A D | scene_session_manager_interface.h | 226 WMError GetModeChangeHotZones(DisplayId displayId, ModeChangeHotZones& hotZones) override { return WMError::WM_OK; }
|
/foundation/window/window_manager/wm/include/ |
H A D | window_adapter.h | 61 virtual WMError GetModeChangeHotZones(DisplayId displayId, ModeChangeHotZones& hotZones);
|