Home
last modified time | relevance | path

Searched refs:windowProperty (Results 1 - 25 of 50) sorted by relevance

12

/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/src/
H A Dscreenregion.cpp96 std::shared_ptr<WindowProperty> windowProperty = std::make_shared<WindowProperty>(); in SetUpWindow() local
97 windowProperty->displayId = displayId_; in SetUpWindow()
103 windowProperty->startX = screenRect.startX; in SetUpWindow()
104 windowProperty->startY = screenRect.startY; in SetUpWindow()
105 windowProperty->width = screenRect.width; in SetUpWindow()
106 windowProperty->height = screenRect.height; in SetUpWindow()
107 windowProperty_ = windowProperty; in SetUpWindow()
109 windowId_ = ScreenClient::GetInstance().AddWindow(windowProperty); in SetUpWindow()
H A Dscreenregionmgr.cpp252 const std::string &remoteDevId, const int32_t &windowId, std::shared_ptr<WindowProperty> windowProperty) in PublishMessage()
265 messageJosn[SINK_PROJ_SHOW_WIDTH] = windowProperty->width; in PublishMessage()
266 messageJosn[SINK_PROJ_SHOW_HEIGHT] = windowProperty->height; in PublishMessage()
267 messageJosn[SINK_WIN_SHOW_X] = windowProperty->startX; in PublishMessage()
268 messageJosn[SINK_WIN_SHOW_Y] = windowProperty->startY; in PublishMessage()
251 PublishMessage(const DHTopic topic, const uint64_t &screenId, const std::string &remoteDevId, const int32_t &windowId, std::shared_ptr<WindowProperty> windowProperty) PublishMessage() argument
/foundation/distributedhardware/distributed_screen/services/screenclient/src/
H A Dscreen_client_window_adapter.cpp30 sptr<Surface> ScreenClientWindowAdapter::CreateWindow(std::shared_ptr<WindowProperty> &windowProperty, in CreateWindow() argument
33 if (windowProperty == nullptr) { in CreateWindow()
34 DHLOGE("windowProperty is nullptr."); in CreateWindow()
44 option->SetDisplayId(windowProperty->displayId); in CreateWindow()
63 if (window->Resize(windowProperty->width, windowProperty->height) != OHOS::Rosen::WMError::WM_OK) { in CreateWindow()
68 if (window->MoveTo(windowProperty->startX, windowProperty->startY) != OHOS::Rosen::WMError::WM_OK) { in CreateWindow()
H A Dscreen_client.cpp25 int32_t ScreenClient::AddWindow(std::shared_ptr<WindowProperty> &windowProperty) in AddWindow() argument
27 if (windowProperty == nullptr) { in AddWindow()
28 DHLOGE("windowProperty is nullptr."); in AddWindow()
32 sptr<Surface> surface = ScreenClientWindowAdapter::GetInstance().CreateWindow(windowProperty, windowId); in AddWindow()
/foundation/window/window_manager/wmserver/src/zidl/
H A Dwindow_manager_stub.cpp45 sptr<WindowProperty> windowProperty = data.ReadStrongParcelable<WindowProperty>(); in OnRemoteRequest() local
49 if (windowProperty && windowProperty->GetTokenState()) { in OnRemoteRequest()
52 WMError errCode = CreateWindow(windowProxy, windowProperty, surfaceNode, windowId, token); in OnRemoteRequest()
55 if (windowProperty) { in OnRemoteRequest()
56 reply.WriteUint32(windowProperty->GetWindowFlags()); in OnRemoteRequest()
57 reply.WriteUint32(windowProperty->GetApiCompatibleVersion()); in OnRemoteRequest()
62 sptr<WindowProperty> windowProperty = data.ReadStrongParcelable<WindowProperty>(); in OnRemoteRequest() local
63 WMError errCode = AddWindow(windowProperty); in OnRemoteRequest()
154 sptr<WindowProperty> windowProperty in OnRemoteRequest() local
230 sptr<WindowProperty> windowProperty = new WindowProperty(); OnRemoteRequest() local
[all...]
/foundation/window/window_manager/test/common/mock/
H A Dmock_window_adapter.h26 MOCK_METHOD5(CreateWindow, WMError(sptr<IWindow>& window, sptr<WindowProperty>& windowProperty,
28 MOCK_METHOD1(AddWindow, WMError(sptr<WindowProperty>& windowProperty));
32 MOCK_METHOD2(UpdateProperty, WMError(sptr<WindowProperty>& windowProperty, PropertyChangeAction action));
44 MOCK_METHOD3(NotifyServerReadyToMoveOrDrag, void(uint32_t windowId, sptr<WindowProperty>& windowProperty,
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/1.0/src/
H A Dscreenregionmgr_test.cpp101 std::shared_ptr<WindowProperty> windowProperty = std::make_shared<WindowProperty>(); in HWTEST_F() local
102 windowProperty->startX = 0; in HWTEST_F()
103 windowProperty->startY = 0; in HWTEST_F()
104 windowProperty->width = VIDEO_DATA_NUM; in HWTEST_F()
105 windowProperty->height = VIDEO_DATA_NUM; in HWTEST_F()
106 ScreenRegionManager::GetInstance().PublishMessage(topic, screenId, remoteDevId, windowId, windowProperty); in HWTEST_F()
/foundation/distributedhardware/distributed_screen/services/screendemo/
H A Dtest.cpp312 shared_ptr<WindowProperty> windowProperty = make_shared<WindowProperty>(); in CreateWindow() local
313 windowProperty->displayId = defaultDisplay->GetId(); in CreateWindow()
314 windowProperty->startX = 0; in CreateWindow()
315 windowProperty->startY = 0; in CreateWindow()
316 windowProperty->width = windowWidth; in CreateWindow()
317 windowProperty->height = windowHeight; in CreateWindow()
318 int32_t windowId = ScreenClient::GetInstance().AddWindow(windowProperty); in CreateWindow()
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/2.0/src/
H A Dscreenregion.cpp178 std::shared_ptr<WindowProperty> windowProperty = std::make_shared<WindowProperty>(WindowProperty { in ConfigWindow() local
185 windowProperty_ = windowProperty; in ConfigWindow()
186 windowId_ = ScreenClient::GetInstance().AddWindow(windowProperty); in ConfigWindow()
265 const std::string &remoteDevId, const int32_t &windowId, std::shared_ptr<WindowProperty> windowProperty) in PublishMessage()
273 if (windowProperty == nullptr) { in PublishMessage()
274 DHLOGE("windowProperty is nullptr."); in PublishMessage()
283 messageJosn[SINK_PROJ_SHOW_WIDTH] = windowProperty->width; in PublishMessage()
284 messageJosn[SINK_PROJ_SHOW_HEIGHT] = windowProperty->height; in PublishMessage()
285 messageJosn[SINK_WIN_SHOW_X] = windowProperty->startX; in PublishMessage()
286 messageJosn[SINK_WIN_SHOW_Y] = windowProperty in PublishMessage()
264 PublishMessage(const DHTopic topic, const uint64_t &screenId, const std::string &remoteDevId, const int32_t &windowId, std::shared_ptr<WindowProperty> windowProperty) PublishMessage() argument
[all...]
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/
H A Drtsp_param_info.cpp89 void ParamInfo::SetWindowProperty(WindowProperty &windowProperty) in SetWindowProperty() argument
91 this->windowProperty_ = windowProperty; in SetWindowProperty()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/
H A Drtsp_param_info.cpp89 void ParamInfo::SetWindowProperty(WindowProperty &windowProperty) in SetWindowProperty() argument
91 this->windowProperty_ = windowProperty; in SetWindowProperty()
/foundation/window/window_manager/wmserver/test/unittest/
H A Dstarting_window_test.cpp301 sptr<WindowProperty> windowProperty = new WindowProperty(); in HWTEST_F() local
302 StartingWindow::HandleClientWindowCreate(node_, iWindow, windowId, surfaceNode, windowProperty, 0, 0); in HWTEST_F()
306 StartingWindow::HandleClientWindowCreate(node_, iWindow, windowId, surfaceNode, windowProperty, 0, 0); in HWTEST_F()
325 sptr<WindowProperty> windowProperty = new WindowProperty(); in HWTEST_F() local
327 StartingWindow::HandleClientWindowCreate(node, iWindow, windowId, surfaceNode, windowProperty, 0, 0); in HWTEST_F()
342 sptr<WindowProperty> windowProperty = new WindowProperty(); in HWTEST_F() local
344 StartingWindow::HandleClientWindowCreate(node_, iWindow, windowId, surfaceNode, windowProperty, 0, 0); in HWTEST_F()
H A Dinput_window_monitor_test.cpp129 WindowProperty windowProperty; in HWTEST_F() local
130 auto result = windowProperty.isNeedComputerTransform(); in HWTEST_F()
H A Dwindow_manager_stub_impl.h56 void NotifyServerReadyToMoveOrDrag(uint32_t windowId, sptr<WindowProperty>& windowProperty, in NotifyServerReadyToMoveOrDrag() argument
72 WMError UpdateProperty(sptr<WindowProperty>& windowProperty, PropertyChangeAction action, in UpdateProperty() argument
H A Dwindow_manager_stub_test.cpp167 sptr<WindowProperty> windowProperty = new WindowProperty(); in HWTEST_F() local
168 data.WriteParcelable(windowProperty.GetRefPtr()); in HWTEST_F()
312 sptr<WindowProperty> windowProperty = new WindowProperty(); in HWTEST_F() local
313 windowProperty->Write(data, PropertyChangeAction::ACTION_UPDATE_ANIMATION_FLAG); in HWTEST_F()
/foundation/window/window_manager/wmserver/src/
H A Dwindow_manager_service.cpp1225 void WindowManagerService::NotifyServerReadyToMoveOrDrag(uint32_t windowId, sptr<WindowProperty>& windowProperty, in NotifyServerReadyToMoveOrDrag() argument
1228 if (windowProperty == nullptr || moveDragProperty == nullptr) { in NotifyServerReadyToMoveOrDrag()
1229 WLOGFE("windowProperty or moveDragProperty is invalid"); in NotifyServerReadyToMoveOrDrag()
1233 auto task = [this, windowId, windowProperty, moveDragProperty]() mutable { in NotifyServerReadyToMoveOrDrag()
1236 windowProperty, moveDragProperty); in NotifyServerReadyToMoveOrDrag()
1326 WMError WindowManagerService::UpdateProperty(sptr<WindowProperty>& windowProperty, PropertyChangeAction action, in UpdateProperty() argument
1329 if (windowProperty == nullptr) { in UpdateProperty()
1330 WLOGFE("windowProperty is nullptr"); in UpdateProperty()
1334 if ((windowProperty->GetWindowFlags() == static_cast<uint32_t>(WindowFlag::WINDOW_FLAG_FORBID_SPLIT_MOVE) || in UpdateProperty()
1341 WindowType type = windowProperty in UpdateProperty()
[all...]
/foundation/window/window_manager/window_scene/test/unittest/
H A Dsystem_session_test.cpp395 auto windowProperty = sptr<WindowSessionProperty>::MakeSptr(); in HWTEST_F() local
396 ASSERT_NE(windowProperty, nullptr); in HWTEST_F()
397 windowProperty->animationFlag_ = static_cast<uint32_t>(WindowAnimation::CUSTOM); in HWTEST_F()
402 systemSession_->Show(windowProperty); in HWTEST_F()
418 auto windowProperty = sptr<WindowSessionProperty>::MakeSptr(); in HWTEST_F() local
419 ASSERT_NE(windowProperty, nullptr); in HWTEST_F()
420 windowProperty->animationFlag_ = static_cast<uint32_t>(WindowAnimation::CUSTOM); in HWTEST_F()
422 sysSession->property_ = windowProperty; in HWTEST_F()
435 windowProperty->animationFlag_ = static_cast<uint32_t>(WindowAnimation::DEFAULT); in HWTEST_F()
/foundation/distributedhardware/distributed_screen/services/screenclient/include/
H A Dscreen_client.h38 int32_t AddWindow(std::shared_ptr<WindowProperty> &windowProperty);
H A Dscreen_client_window_adapter.h41 sptr<Surface> CreateWindow(std::shared_ptr<WindowProperty> &windowProperty, int32_t windowId);
/foundation/window/window_manager/wmserver/include/zidl/
H A Dwindow_manager_proxy.h43 void NotifyServerReadyToMoveOrDrag(uint32_t windowId, sptr<WindowProperty>& windowProperty,
50 WMError UpdateProperty(sptr<WindowProperty>& windowProperty, PropertyChangeAction action,
/foundation/window/window_manager/wmserver/include/
H A Ddrag_controller.h75 void HandleReadyToMoveOrDrag(uint32_t windowId, sptr<WindowProperty>& windowProperty,
87 void SetWindowProperty(const sptr<WindowProperty>& windowProperty);
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_adapter_test.cpp66 sptr<WindowProperty> windowProperty = nullptr; in HWTEST_F() local
69 windowAdapter.AddWindow(windowProperty); in HWTEST_F()
191 sptr<WindowProperty> windowProperty = nullptr; in HWTEST_F() local
195 windowAdapter.NotifyServerReadyToMoveOrDrag(windowId, windowProperty, moveDragProperty); in HWTEST_F()
476 sptr<WindowProperty> windowProperty = sptr<WindowProperty>::MakeSptr(); in HWTEST_F() local
478 auto ret = windowAdapter.UpdateProperty(windowProperty, action); in HWTEST_F()
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/include/
H A Dscreenregionmgr.h38 const int32_t &windowId, std::shared_ptr<WindowProperty> windowProperty);
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/
H A Dnapi_castengine_utils.cpp225 WindowProperty windowProperty = WindowProperty(); in GetWindowPropertyFromJS() local
229 napi_status status = napi_has_named_property(env, object, "windowProperty", &hasProperty); in GetWindowPropertyFromJS()
231 status = napi_get_named_property(env, object, "windowProperty", &windowPropertyCallback); in GetWindowPropertyFromJS()
234 return windowProperty; in GetWindowPropertyFromJS()
241 windowProperty.startX = startX; in GetWindowPropertyFromJS()
242 windowProperty.startY = startY; in GetWindowPropertyFromJS()
243 windowProperty.width = width; in GetWindowPropertyFromJS()
244 windowProperty.height = height; in GetWindowPropertyFromJS()
246 return windowProperty; in GetWindowPropertyFromJS()
362 WindowProperty windowProperty in GetCastSessionPropertyFromJS() local
[all...]
/foundation/window/window_manager/wm/include/
H A Dwindow_adapter.h42 virtual WMError CreateWindow(sptr<IWindow>& window, sptr<WindowProperty>& windowProperty,
44 virtual WMError AddWindow(sptr<WindowProperty>& windowProperty);
51 virtual void NotifyServerReadyToMoveOrDrag(uint32_t windowId, sptr<WindowProperty>& windowProperty,
58 virtual WMError UpdateProperty(sptr<WindowProperty>& windowProperty, PropertyChangeAction action);

Completed in 15 milliseconds

12