Home
last modified time | relevance | path

Searched refs:enableDrag (Results 1 - 13 of 13) sorted by relevance

/foundation/window/window_manager/window_scene/session/host/include/zidl/
H A Dsession_proxy.h99 WMError SetSystemWindowEnableDrag(bool enableDrag) override;
H A Dsession_interface.h70 virtual WMError SetSystemWindowEnableDrag(bool enableDrag) { return WMError::WM_OK; } in SetSystemWindowEnableDrag() argument
/foundation/window/window_manager/window_scene/test/unittest/
H A Dsession_proxy_test.cpp329 bool enableDrag = false; in HWTEST_F() local
330 WMError res = sProxy->SetSystemWindowEnableDrag(enableDrag); in HWTEST_F()
/foundation/window/window_manager/window_scene/session/host/src/zidl/
H A Dsession_proxy.cpp1580 WMError SessionProxy::SetSystemWindowEnableDrag(bool enableDrag) in SetSystemWindowEnableDrag() argument
1582 TLOGI(WmsLogTag::WMS_LAYOUT, "enableDrag: %{public}d", enableDrag); in SetSystemWindowEnableDrag()
1590 if (!data.WriteBool(enableDrag)) { in SetSystemWindowEnableDrag()
1591 TLOGE(WmsLogTag::WMS_LAYOUT, "write enableDrag failed"); in SetSystemWindowEnableDrag()
H A Dsession_stub.cpp995 bool enableDrag = data.ReadBool(); in HandleSetSystemEnableDrag() local
996 TLOGI(WmsLogTag::WMS_LAYOUT, "handle, enableDrag: %{public}d", enableDrag); in HandleSetSystemEnableDrag()
997 WMError errcode = SetSystemWindowEnableDrag(enableDrag); in HandleSetSystemEnableDrag()
/foundation/window/window_manager/previewer/include/
H A Dwindow.h317 virtual WMError EnableDrag(bool enableDrag) { return WMError::WM_ERROR_DEVICE_NOT_SUPPORT; }; in EnableDrag() argument
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
H A Djs_window.h334 NapiAsyncTask::ExecuteCallback GetEnableDragExecuteCallback(bool enableDrag, const wptr<Window>& weakToken,
H A Djs_window.cpp5982 bool enableDrag = false; in OnEnableDrag() local
5983 napi_get_value_bool(env, nativeVal, &enableDrag); in OnEnableDrag()
5986 NapiAsyncTask::ExecuteCallback execute = GetEnableDragExecuteCallback(enableDrag, weakToken, errCodePtr); in OnEnableDrag()
5995 NapiAsyncTask::ExecuteCallback JsWindow::GetEnableDragExecuteCallback(bool enableDrag, const wptr<Window>& weakToken, in GetEnableDragExecuteCallback() argument
5999 [weakToken, enableDrag, errCodePtr]() { in GetEnableDragExecuteCallback()
6008 *errCodePtr = WM_JS_TO_ERROR_CODE_MAP.at(window->EnableDrag(enableDrag)); in GetEnableDragExecuteCallback()
7028 BindNativeFunction(env, object, "enableDrag", moduleName, JsWindow::EnableDrag); in BindFunctions()
/foundation/window/window_manager/wm/include/
H A Dwindow_session_impl.h281 virtual WMError EnableDrag(bool enableDrag) override;
/foundation/window/window_manager/wm/src/
H A Dwindow_session_impl.cpp1816 WMError WindowSessionImpl::EnableDrag(bool enableDrag) in EnableDrag() argument
1818 TLOGI(WmsLogTag::WMS_LAYOUT, "enableDrag: %{public}d", enableDrag); in EnableDrag()
1819 property_->SetDragEnabled(enableDrag); in EnableDrag()
1822 WMError errorCode = hostSession->SetSystemWindowEnableDrag(enableDrag); in EnableDrag()
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow.h1965 * @param enableDrag The value true means to enable window dragging, and false means the opposite.
1968 virtual WMError EnableDrag(bool enableDrag) { return WMError::WM_ERROR_DEVICE_NOT_SUPPORT; } in EnableDrag() argument
/foundation/window/window_manager/window_scene/session/host/include/
H A Dscene_session.h244 WMError SetSystemWindowEnableDrag(bool enableDrag) override;
/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_session.cpp4694 WMError SceneSession::SetSystemWindowEnableDrag(bool enableDrag) in SetSystemWindowEnableDrag() argument
4696 TLOGI(WmsLogTag::WMS_LAYOUT, "enableDrag : %{public}d", enableDrag); in SetSystemWindowEnableDrag()
4707 auto task = [weakThis = wptr(this), enableDrag]() { in SetSystemWindowEnableDrag()
4715 TLOGI(WmsLogTag::WMS_LAYOUT, "task id: %{public}d, enableDrag: %{public}d", in SetSystemWindowEnableDrag()
4716 session->GetPersistentId(), enableDrag); in SetSystemWindowEnableDrag()
4721 sessionProperty->SetDragEnabled(enableDrag); in SetSystemWindowEnableDrag()

Completed in 50 milliseconds