Home
last modified time | relevance | path

Searched refs:RequestSessionFocus (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_test9.cpp175 ssm_->RequestSessionFocus(1, false, FocusChangeReason::DEFAULT);
181 WSError ret = ssm_->RequestSessionFocus(1, false, FocusChangeReason::FOREGROUND);
187 ssm_->RequestSessionFocus(1, false, FocusChangeReason::DEFAULT);
192 ssm_->RequestSessionFocus(1, false, FocusChangeReason::DEFAULT);
197 ssm_->RequestSessionFocus(1, false, FocusChangeReason::DEFAULT);
H A Dscene_session_manager_test5.cpp375 HWTEST_F(SceneSessionManagerTest5, RequestSessionFocus, Function | SmallTest | Level3)
387 ssm_->RequestSessionFocus(0, true, reason);
388 ssm_->RequestSessionFocus(100, true, reason);
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager.cpp4841 RequestSessionFocus(persistentId, byForeground, reason); in RequestFocusStatus()
4873 if (RequestSessionFocus(persistentId, byForeground, reason) != WSError::WS_OK) { in RequestFocusStatusBySCB()
5003 RequestSessionFocus(lastFocusedSessionId_, false) == WSError::WS_OK) { in RequestSessionUnfocus()
5082 … if (RequestSessionFocus(lastFocusedAppSessionId_, false, FocusChangeReason::LAST_FOCUSED_APP) == in CheckLastFocusedAppSessionFocus()
5996 RequestSessionFocus(persistentId, true, FocusChangeReason::APP_FOREGROUND); in ProcessFocusWhenForeground()
5998 RequestSessionFocus(persistentId, true, FocusChangeReason::APP_FOREGROUND); in ProcessFocusWhenForeground()
6010RequestSessionFocus(sceneSession->GetPersistentId(), true, FocusChangeReason::APP_FOREGROUND); in ProcessFocusWhenForegroundScbCore()
6137 RequestSessionFocus(subSession->GetPersistentId(), true); in ProcessSubSessionForeground()
9711 ret = RequestSessionFocus(session->GetPersistentId(), true, in PostProcessFocus()
9802 RequestSessionFocus(persistentId, true, reason); in RaiseWindowToTop()
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/
H A Dscene_session_manager.h553 WSError RequestSessionFocus(int32_t persistentId, bool byForeground = true,