Home
last modified time | relevance | path

Searched refs:SubWindowModalType (Results 1 - 14 of 14) sorted by relevance

/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_dirty_manager.cpp300 SubWindowModalType modalType = session->GetSubWindowModalType(); in AddDialogSessionMapItem()
301 SubWindowModalType targetModalType = targetSession->GetSubWindowModalType(); in AddDialogSessionMapItem()
311 } else if (modalType == SubWindowModalType::TYPE_WINDOW_MODALITY && in AddDialogSessionMapItem()
312 targetModalType == SubWindowModalType::TYPE_APPLICATION_MODALITY) { in AddDialogSessionMapItem()
341 SubWindowModalType modalType = session->GetSubWindowModalType(); in AddCallingPidMapItem()
342 if (modalType == SubWindowModalType::TYPE_DIALOG || in AddCallingPidMapItem()
343 modalType == SubWindowModalType::TYPE_WINDOW_MODALITY) { in AddCallingPidMapItem()
391 SubWindowModalType modalType = session->GetSubWindowModalType(); in GetDialogSessionMap()
392 if (modalType == SubWindowModalType::TYPE_DIALOG || in GetDialogSessionMap()
393 modalType == SubWindowModalType in GetDialogSessionMap()
[all...]
/foundation/window/window_manager/window_scene/session/host/include/zidl/
H A Dsession_proxy.h103 WSError OnSessionModalTypeChange(SubWindowModalType subWindowModalType) override;
H A Dsession_interface.h288 * @param subWindowModalType Indicates the {@link SubWindowModalType}
291 virtual WSError OnSessionModalTypeChange(SubWindowModalType subWindowModalType) { return WSError::WS_OK; } in OnSessionModalTypeChange()
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_test3.cpp495 ASSERT_EQ(result, SubWindowModalType::TYPE_TOAST); in HWTEST_F()
514 ASSERT_EQ(result, SubWindowModalType::TYPE_WINDOW_MODALITY); in HWTEST_F()
533 ASSERT_EQ(result, SubWindowModalType::TYPE_NORMAL); in HWTEST_F()
H A Dscene_session_test2.cpp1958 NotifySessionModalTypeChangeFunc func = [](SubWindowModalType subWindowModalType) { in HWTEST_F()
1979 NotifySessionModalTypeChangeFunc func = [](SubWindowModalType subWindowModalType) { in HWTEST_F()
1984 EXPECT_EQ(sceneSession->OnSessionModalTypeChange(SubWindowModalType::TYPE_WINDOW_MODALITY), WSError::WS_OK); in HWTEST_F()
2002 ASSERT_EQ(result, SubWindowModalType::TYPE_UNDEFINED); in HWTEST_F()
2009 ASSERT_EQ(result, SubWindowModalType::TYPE_DIALOG); in HWTEST_F()
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_scene_utils.cpp1282 static_cast<int32_t>(SubWindowModalType::TYPE_UNDEFINED))); in SubWindowModalTypeInit()
1284 static_cast<int32_t>(SubWindowModalType::TYPE_NORMAL))); in SubWindowModalTypeInit()
1286 static_cast<int32_t>(SubWindowModalType::TYPE_DIALOG))); in SubWindowModalTypeInit()
1288 static_cast<int32_t>(SubWindowModalType::TYPE_WINDOW_MODALITY))); in SubWindowModalTypeInit()
1290 static_cast<int32_t>(SubWindowModalType::TYPE_TOAST))); in SubWindowModalTypeInit()
1292 static_cast<int32_t>(SubWindowModalType::TYPE_APPLICATION_MODALITY))); in SubWindowModalTypeInit()
H A Djs_scene_session.h278 void OnSessionModalTypeChange(SubWindowModalType subWindowModalType);
H A Djs_scene_session.cpp1300 [weakThis = wptr(this), where](SubWindowModalType subWindowModalType) { in ProcessSessionModalTypeChangeRegister()
2984 void JsSceneSession::OnSessionModalTypeChange(SubWindowModalType subWindowModalType) in OnSessionModalTypeChange()
/foundation/window/window_manager/window_scene/session/host/include/
H A Dscene_session.h55 using NotifySessionModalTypeChangeFunc = std::function<void(const SubWindowModalType subWindowModalType)>;
271 WSError OnSessionModalTypeChange(SubWindowModalType subWindowModalType) override;
318 SubWindowModalType GetSubWindowModalType() const;
/foundation/window/window_manager/window_scene/session/host/src/
H A Dscene_session.cpp542 WSError SceneSession::OnSessionModalTypeChange(SubWindowModalType subWindowModalType) in OnSessionModalTypeChange()
581 SubWindowModalType SceneSession::GetSubWindowModalType() const in GetSubWindowModalType()
583 SubWindowModalType modalType = SubWindowModalType::TYPE_UNDEFINED; in GetSubWindowModalType()
591 return SubWindowModalType::TYPE_TOAST; in GetSubWindowModalType()
594 modalType = SubWindowModalType::TYPE_DIALOG; in GetSubWindowModalType()
597 modalType = SubWindowModalType::TYPE_APPLICATION_MODALITY; in GetSubWindowModalType()
599 modalType = SubWindowModalType::TYPE_WINDOW_MODALITY; in GetSubWindowModalType()
602 modalType = SubWindowModalType::TYPE_NORMAL; in GetSubWindowModalType()
/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwm_common.h140 enum class SubWindowModalType : uint32_t { class in OHOS::Rosen::WindowType::WindowModeType
/foundation/window/window_manager/wm/src/
H A Dwindow_session_impl.cpp1917 SubWindowModalType subWindowModalType = SubWindowModalType::TYPE_NORMAL; in SetSubWindowModal()
1920 SubWindowModalType::TYPE_WINDOW_MODALITY : in SetSubWindowModal()
1921 SubWindowModalType::TYPE_APPLICATION_MODALITY; in SetSubWindowModal()
/foundation/window/window_manager/window_scene/session/host/src/zidl/
H A Dsession_proxy.cpp2001 WSError SessionProxy::OnSessionModalTypeChange(SubWindowModalType subWindowModalType) in OnSessionModalTypeChange()
H A Dsession_stub.cpp1214 WSError errCode = OnSessionModalTypeChange(static_cast<SubWindowModalType>(subWindowModalType)); in HandleSessionModalTypeChange()

Completed in 41 milliseconds