Home
last modified time | relevance | path

Searched refs:dragResizeType (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_adapter_test.cpp667 DragResizeType dragResizeType = DragResizeType::RESIZE_EACH_FRAME; variable
668 auto err = windowAdapter.SetGlobalDragResizeType(dragResizeType);
680 DragResizeType dragResizeType = DragResizeType::RESIZE_TYPE_UNDEFINED; variable
681 auto err = windowAdapter.GetGlobalDragResizeType(dragResizeType);
693 DragResizeType dragResizeType = DragResizeType::RESIZE_EACH_FRAME; variable
695 auto err = windowAdapter.SetAppDragResizeType(bundleName, dragResizeType);
707 DragResizeType dragResizeType = DragResizeType::RESIZE_TYPE_UNDEFINED; variable
709 auto err = windowAdapter.GetAppDragResizeType(bundleName, dragResizeType);
H A Dwindow_manager_test.cpp1453 DragResizeType dragResizeType = DragResizeType::RESIZE_EACH_FRAME; variable
1454 auto ret = WindowManager::GetInstance().SetGlobalDragResizeType(dragResizeType);
1465 DragResizeType dragResizeType = DragResizeType::RESIZE_TYPE_UNDEFINED; variable
1466 auto ret = WindowManager::GetInstance().GetGlobalDragResizeType(dragResizeType);
1477 DragResizeType dragResizeType = DragResizeType::RESIZE_EACH_FRAME; variable
1479 auto ret = WindowManager::GetInstance().SetAppDragResizeType(bundleName, dragResizeType);
1490 DragResizeType dragResizeType = DragResizeType::RESIZE_TYPE_UNDEFINED; variable
1492 auto ret = WindowManager::GetInstance().GetAppDragResizeType(bundleName, dragResizeType);
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/zidl/
H A Dscene_session_manager_stub.cpp1230 uint32_t dragResizeType; in HandleSetGlobalDragResizeType() local
1231 if (!data.ReadUint32(dragResizeType)) { in HandleSetGlobalDragResizeType()
1235 if (dragResizeType > static_cast<uint32_t>(DragResizeType::RESIZE_WHEN_DRAG_END)) { in HandleSetGlobalDragResizeType()
1249 DragResizeType dragResizeType = DragResizeType::RESIZE_TYPE_UNDEFINED; in HandleGetGlobalDragResizeType() local
1250 WMError errCode = GetGlobalDragResizeType(dragResizeType); in HandleGetGlobalDragResizeType()
1251 if (!reply.WriteUint32(static_cast<uint32_t>(dragResizeType))) { in HandleGetGlobalDragResizeType()
1269 uint32_t dragResizeType; in HandleSetAppDragResizeType() local
1270 if (!data.ReadUint32(dragResizeType)) { in HandleSetAppDragResizeType()
1293 DragResizeType dragResizeType = DragResizeType::RESIZE_TYPE_UNDEFINED; in HandleGetAppDragResizeType() local
1294 WMError errCode = GetAppDragResizeType(bundleName, dragResizeType); in HandleGetAppDragResizeType()
[all …]
H A Dscene_session_manager_proxy.cpp2466 WMError SceneSessionManagerProxy::SetGlobalDragResizeType(DragResizeType dragResizeType) in SetGlobalDragResizeType() argument
2475 if (!data.WriteUint32(static_cast<uint32_t>(dragResizeType))) { in SetGlobalDragResizeType()
2497 WMError SceneSessionManagerProxy::GetGlobalDragResizeType(DragResizeType& dragResizeType) in GetGlobalDragResizeType() argument
2525 dragResizeType = static_cast<DragResizeType>(obtainedDragResizeType); in GetGlobalDragResizeType()
2534 …ionManagerProxy::SetAppDragResizeType(const std::string& bundleName, DragResizeType dragResizeType) in SetAppDragResizeType() argument
2547 if (!data.WriteUint32(static_cast<uint32_t>(dragResizeType))) { in SetAppDragResizeType()
2569 …onManagerProxy::GetAppDragResizeType(const std::string& bundleName, DragResizeType& dragResizeType) in GetAppDragResizeType() argument
2601 dragResizeType = static_cast<DragResizeType>(obtainedDragResizeType); in GetAppDragResizeType()
/ohos5.0/foundation/window/window_manager/wm/include/
H A Dwindow_adapter.h150 virtual WMError SetGlobalDragResizeType(DragResizeType dragResizeType);
151 virtual WMError GetGlobalDragResizeType(DragResizeType& dragResizeType);
152 …virtual WMError SetAppDragResizeType(const std::string& bundleName, DragResizeType dragResizeType);
153 …irtual WMError GetAppDragResizeType(const std::string& bundleName, DragResizeType& dragResizeType);
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/zidl/
H A Dscene_session_manager_proxy.h131 WMError SetGlobalDragResizeType(DragResizeType dragResizeType) override;
132 WMError GetGlobalDragResizeType(DragResizeType& dragResizeType) override;
133 …WMError SetAppDragResizeType(const std::string& bundleName, DragResizeType dragResizeType) overrid…
134 …WMError GetAppDragResizeType(const std::string& bundleName, DragResizeType& dragResizeType) overri…
H A Dscene_session_manager_interface.h293 … WMError SetGlobalDragResizeType(DragResizeType dragResizeType) override { return WMError::WM_OK; } in SetGlobalDragResizeType() argument
294 …WMError GetGlobalDragResizeType(DragResizeType& dragResizeType) override { return WMError::WM_OK; } in GetGlobalDragResizeType() argument
296 DragResizeType dragResizeType) override { return WMError::WM_OK; } in SetAppDragResizeType() argument
298 DragResizeType& dragResizeType) override { return WMError::WM_OK; } in GetAppDragResizeType() argument
/ohos5.0/foundation/window/window_manager/wmserver/include/zidl/
H A Dwindow_manager_interface.h253 … virtual WMError SetGlobalDragResizeType(DragResizeType dragResizeType) { return WMError::WM_OK; } in SetGlobalDragResizeType() argument
254 … virtual WMError GetGlobalDragResizeType(DragResizeType& dragResizeType) { return WMError::WM_OK; } in GetGlobalDragResizeType() argument
256 DragResizeType dragResizeType) { return WMError::WM_OK; } in SetAppDragResizeType() argument
258 DragResizeType& dragResizeType) { return WMError::WM_OK; } in GetAppDragResizeType() argument
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow_manager.h831 WMError SetGlobalDragResizeType(DragResizeType dragResizeType);
840 WMError GetGlobalDragResizeType(DragResizeType& dragResizeType);
850 WMError SetAppDragResizeType(const std::string& bundleName, DragResizeType dragResizeType);
863 WMError GetAppDragResizeType(const std::string& bundleName, DragResizeType& dragResizeType);
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dwindow_adapter.cpp1005 WMError WindowAdapter::SetGlobalDragResizeType(DragResizeType dragResizeType) in SetGlobalDragResizeType() argument
1010 return wmsProxy->SetGlobalDragResizeType(dragResizeType); in SetGlobalDragResizeType()
1013 WMError WindowAdapter::GetGlobalDragResizeType(DragResizeType& dragResizeType) in GetGlobalDragResizeType() argument
1018 return wmsProxy->GetGlobalDragResizeType(dragResizeType); in GetGlobalDragResizeType()
1021 …r WindowAdapter::SetAppDragResizeType(const std::string& bundleName, DragResizeType dragResizeType) in SetAppDragResizeType() argument
1026 return wmsProxy->SetAppDragResizeType(bundleName, dragResizeType); in SetAppDragResizeType()
1029 … WindowAdapter::GetAppDragResizeType(const std::string& bundleName, DragResizeType& dragResizeType) in GetAppDragResizeType() argument
1034 return wmsProxy->GetAppDragResizeType(bundleName, dragResizeType); in GetAppDragResizeType()
H A Dwindow_manager.cpp1362 WMError WindowManager::SetGlobalDragResizeType(DragResizeType dragResizeType) in SetGlobalDragResizeType() argument
1364 WMError ret = SingletonContainer::Get<WindowAdapter>().SetGlobalDragResizeType(dragResizeType); in SetGlobalDragResizeType()
1371 WMError WindowManager::GetGlobalDragResizeType(DragResizeType& dragResizeType) in GetGlobalDragResizeType() argument
1373 WMError ret = SingletonContainer::Get<WindowAdapter>().GetGlobalDragResizeType(dragResizeType); in GetGlobalDragResizeType()
1380 …r WindowManager::SetAppDragResizeType(const std::string& bundleName, DragResizeType dragResizeType) in SetAppDragResizeType() argument
1382 …or ret = SingletonContainer::Get<WindowAdapter>().SetAppDragResizeType(bundleName, dragResizeType); in SetAppDragResizeType()
1389 … WindowManager::GetAppDragResizeType(const std::string& bundleName, DragResizeType& dragResizeType) in GetAppDragResizeType() argument
1391 …or ret = SingletonContainer::Get<WindowAdapter>().GetAppDragResizeType(bundleName, dragResizeType); in GetAppDragResizeType()
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_proxy_test.cpp1105 DragResizeType dragResizeType = DragResizeType::RESIZE_EACH_FRAME; variable
1106 sceneSessionManagerProxy->SetGlobalDragResizeType(dragResizeType);
1120 DragResizeType dragResizeType = DragResizeType::RESIZE_TYPE_UNDEFINED; variable
1121 sceneSessionManagerProxy->GetGlobalDragResizeType(dragResizeType);
1135 DragResizeType dragResizeType = DragResizeType::RESIZE_EACH_FRAME; variable
1137 sceneSessionManagerProxy->SetAppDragResizeType(bundleName, dragResizeType);
1152 DragResizeType dragResizeType = DragResizeType::RESIZE_TYPE_UNDEFINED; variable
1156 sceneSessionManagerProxy->GetAppDragResizeType(bundleName, dragResizeType);
H A Dscene_session_manager_test.cpp1838 DragResizeType dragResizeType = DragResizeType::RESIZE_EACH_FRAME; variable
1839 ASSERT_EQ(ssm_->SetGlobalDragResizeType(dragResizeType), WMError::WM_OK);
1849 DragResizeType dragResizeType = DragResizeType::RESIZE_TYPE_UNDEFINED; variable
1850 ASSERT_EQ(ssm_->GetGlobalDragResizeType(dragResizeType), WMError::WM_OK);
1867 DragResizeType dragResizeType = DragResizeType::RESIZE_EACH_FRAME; variable
1868 ASSERT_EQ(ssm_->SetAppDragResizeType(info.bundleName_, dragResizeType), WMError::WM_OK);
1885 DragResizeType dragResizeType = DragResizeType::RESIZE_TYPE_UNDEFINED; variable
1886 ASSERT_EQ(ssm_->GetAppDragResizeType(info.bundleName_, dragResizeType), WMError::WM_OK);
H A Dscene_session_manager_stub_test.cpp2144 DragResizeType dragResizeType = DragResizeType::RESIZE_EACH_FRAME; variable
2145 data.WriteUint32(static_cast<uint32_t>(dragResizeType));
2172 DragResizeType dragResizeType = DragResizeType::RESIZE_EACH_FRAME; variable
2175 data.WriteUint32(static_cast<uint32_t>(dragResizeType));
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/
H A Dscene_session_manager.h429 WMError SetGlobalDragResizeType(DragResizeType dragResizeType) override;
430 WMError GetGlobalDragResizeType(DragResizeType& dragResizeType) override;
431 …WMError SetAppDragResizeType(const std::string& bundleName, DragResizeType dragResizeType) overrid…
432 …WMError GetAppDragResizeType(const std::string& bundleName, DragResizeType& dragResizeType) overri…
433 WMError SetAppDragResizeTypeInner(const std::string& bundleName, DragResizeType dragResizeType);
956 void GetEffectiveDragResizeType(DragResizeType& dragResizeType);
957 … WMError GetAppDragResizeTypeInner(const std::string& bundleName, DragResizeType& dragResizeType);
/ohos5.0/foundation/window/window_manager/window_scene/session/host/include/
H A Dscene_session.h528 … void SetAppDragResizeType(DragResizeType dragResizeType) { appDragResizeType_ = dragResizeType; } in SetAppDragResizeType() argument
659 …id SetDragResizeTypeDuringDrag(DragResizeType dragResizeType) { dragResizeTypeDuringDrag_ = dragRe… in SetDragResizeTypeDuringDrag() argument
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager.cpp1739 globalDragResizeType_ = dragResizeType; in SetGlobalDragResizeType()
1759 dragResizeType = globalDragResizeType_; in GetGlobalDragResizeType()
1760 GetEffectiveDragResizeType(dragResizeType); in GetGlobalDragResizeType()
1768 dragResizeType, bundleName.c_str()); in SetAppDragResizeType()
1779 dragResizeType, bundleName.c_str()); in SetAppDragResizeTypeInner()
1785 appDragResizeTypeMap_[bundleName] = dragResizeType; in SetAppDragResizeTypeInner()
1786 GetAppDragResizeTypeInner(bundleName, dragResizeType); in SetAppDragResizeTypeInner()
1812 dragResizeType = globalDragResizeType_; in GetAppDragResizeTypeInner()
1817 dragResizeType = iter->second; in GetAppDragResizeTypeInner()
1819 GetEffectiveDragResizeType(dragResizeType); in GetAppDragResizeTypeInner()
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_utils.h191 bool ConvertDragResizeTypeFromJs(napi_env env, napi_value value, DragResizeType& dragResizeType);
H A Djs_scene_utils.cpp824 bool ConvertDragResizeTypeFromJs(napi_env env, napi_value value, DragResizeType& dragResizeType) in ConvertDragResizeTypeFromJs() argument
834 dragResizeType = static_cast<DragResizeType>(dragResizeTypeValue); in ConvertDragResizeTypeFromJs()
1351 …napi_set_named_property(env, objValue, "dragResizeType", CreateJsValue(env, param.dragResizeType)); in CreateJsSessionEventParam()
H A Djs_scene_session_manager.cpp3202 DragResizeType dragResizeType; in OnSetAppDragResizeType() local
3203 if (!ConvertDragResizeTypeFromJs(env, argv[ARGC_ONE], dragResizeType)) { in OnSetAppDragResizeType()
3210 dragResizeType, bundleName.c_str()); in OnSetAppDragResizeType()
3211 …ror err = SceneSessionManager::GetInstance().SetAppDragResizeTypeInner(bundleName, dragResizeType); in OnSetAppDragResizeType()
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/include/
H A Dws_common.h609 uint32_t dragResizeType = 0; member
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_session.cpp616 DragResizeType dragResizeType = DragResizeType::RESIZE_TYPE_UNDEFINED; in HandleSessionDragEvent() local
618 dragResizeType = GetAppDragResizeType(); in HandleSessionDragEvent()
619 SetDragResizeTypeDuringDrag(dragResizeType); in HandleSessionDragEvent()
622 static_cast<uint32_t>(dragResizeType)}); in HandleSessionDragEvent()