/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | main_session.cpp | 158 WSError MainSession::SetTopmost(bool topmost) in SetTopmost() argument 160 TLOGI(WmsLogTag::WMS_HIERARCHY, "SetTopmost id: %{public}d, topmost: %{public}d", GetPersistentId(), topmost); in SetTopmost() 161 auto task = [weakThis = wptr(this), topmost]() { in SetTopmost() 169 TLOGI(WmsLogTag::WMS_HIERARCHY, "Notify session topmost change, id: %{public}d, topmost: %{public}u", in SetTopmost() 170 session->GetPersistentId(), topmost); in SetTopmost() 171 property->SetTopmost(topmost); in SetTopmost() 173 session->sessionChangeCallback_->onSessionTopmostChange_(topmost); in SetTopmost() 192 "Notify session topmost chang in SetMainWindowTopmost() [all...] |
/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | main_session.h | 38 WSError SetTopmost(bool topmost) override;
|
H A D | scene_session.h | 54 using NotifySessionTopmostChangeFunc = std::function<void(const bool topmost)>; 264 virtual WSError SetTopmost(bool topmost) { return WSError::WS_ERROR_INVALID_CALLING; } in SetTopmost() argument
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_animation.cpp | 971 auto topmost = container->GetAt(0); in DestroyAllAnimationTracks() local 972 if (auto track = interface_pointer_cast<IEcsTrackAnimation>(topmost)) { in DestroyAllAnimationTracks() 975 container->Remove(topmost); in DestroyAllAnimationTracks()
|
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_session.h | 276 void OnSessionTopmostChange(bool topmost);
|
H A D | js_scene_session.cpp | 1259 sessionchangeCallback->onSessionTopmostChange_ = [weakThis = wptr(this)](bool topmost) { in ProcessSessionTopmostChangeRegister() 1265 jsSceneSession->OnSessionTopmostChange(topmost); in ProcessSessionTopmostChangeRegister() 2939 void JsSceneSession::OnSessionTopmostChange(bool topmost) in OnSessionTopmostChange() argument 2941 TLOGI(WmsLogTag::WMS_HIERARCHY, "[NAPI]State: %{public}u", topmost); in OnSessionTopmostChange() 2942 auto task = [weakThis = wptr(this), persistentId = persistentId_, topmost, env = env_] { in OnSessionTopmostChange() 2954 napi_value jsSessionTouchableObj = CreateJsValue(env, topmost); in OnSessionTopmostChange() 2958 taskScheduler_->PostMainThreadTask(task, "OnSessionTopmostChange: state " + std::to_string(topmost)); in OnSessionTopmostChange()
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | window_session_property_test.cpp | 189 bool topmost = true; in HWTEST_F() local 191 windowSessionProperty.SetTopmost(topmost); in HWTEST_F()
|
/foundation/window/window_manager/previewer/include/ |
H A D | window.h | 304 virtual WMError SetTopmost(bool topmost) { return WMError::WM_OK; } in SetTopmost() argument
|
/foundation/window/window_manager/window_scene/common/include/ |
H A D | window_session_property.h | 82 void SetTopmost(bool topmost);
|
/foundation/window/window_manager/wm/include/ |
H A D | window_session_impl.h | 100 WMError SetTopmost(bool topmost) override;
|
/foundation/window/window_manager/window_scene/common/src/ |
H A D | window_session_property.cpp | 367 void WindowSessionProperty::SetTopmost(bool topmost) in SetTopmost() argument 369 topmost_ = topmost; in SetTopmost()
|
/foundation/window/window_manager/interfaces/innerkits/wm/ |
H A D | window.h | 739 * @brief Set whether the window is topmost 741 * @param topmost whether window is topmost 744 virtual WMError SetTopmost(bool topmost) { return WMError::WM_OK; } in SetTopmost() argument 746 * @brief Get whether window is topmost 748 * @return True means window is topmost 752 * @brief Set whether the main window is topmost 754 * @param isTopmost whether main window is topmost 759 * @brief Get whether main window is topmost 761 * @return True means main window is topmost [all...] |
/foundation/window/window_manager/wm/src/ |
H A D | window_session_impl.cpp | 1520 WMError WindowSessionImpl::SetTopmost(bool topmost) in SetTopmost() argument 1522 TLOGD(WmsLogTag::WMS_HIERARCHY, "%{public}d", topmost); in SetTopmost() 1529 property_->SetTopmost(topmost); in SetTopmost()
|
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/ |
H A D | js_window.cpp | 3657 TLOGE(WmsLogTag::WMS_HIERARCHY, "Argc is invalid: %{public}zu. Failed to convert parameter to topmost", argc);
in OnSetTopmost() 3660 bool topmost = false;
in OnSetTopmost() local 3661 napi_get_value_bool(env, argv[0], &topmost);
in OnSetTopmost() 3665 NapiAsyncTask::ExecuteCallback execute = [weakToken, topmost, errCodePtr]() {
in OnSetTopmost() 3674 *errCodePtr = WM_JS_TO_ERROR_CODE_MAP.at(window->SetTopmost(topmost));
in OnSetTopmost() 3675 TLOGI(WmsLogTag::WMS_HIERARCHY, "Window [%{public}u, %{public}s] set topmost end",
in OnSetTopmost() 3687 task.Reject(env, JsErrUtils::CreateJsError(env, *errCodePtr, "Window set topmost failed"));
in OnSetTopmost() 3716 "Argc is invalid: %{public}zu. Failed to convert parameter to topmost", argc);
in OnSetWindowTopmost() 3739 task.Reject(env, JsErrUtils::CreateJsError(env, *errCodePtr, "Window set main window topmost failed"));
in OnSetWindowTopmost() 6900 TLOGE(WmsLogTag::WMS_SUB, "Modal subwindow has topmost, bu in OnCreateSubWindowWithOptions() [all...] |