Home
last modified time | relevance | path

Searched refs:focusedSceneSession (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/window/window_manager/window_scene/intention_event/src/
H A Dintention_event_manager.cpp228 auto focusedSceneSession = SceneSessionManager::GetInstance().GetSceneSession(focusedSessionId); in DispatchKeyEventCallback() local
229 if (focusedSceneSession == nullptr) { in DispatchKeyEventCallback()
241 focusedSceneSession->SendKeyEventToUI(keyEvent); in DispatchKeyEventCallback()
262 auto focusedSceneSession = SceneSessionManager::GetInstance().GetSceneSession(focusedSessionId); in OnInputEvent() local
263 if (focusedSceneSession == nullptr) { in OnInputEvent()
268 auto isSystem = focusedSceneSession->GetSessionInfo().isSystem_; in OnInputEvent()
274 WSError ret = focusedSceneSession->TransferKeyEvent(keyEvent); in OnInputEvent()
275 …if ((ret != WSError::WS_OK || static_cast<int32_t>(getprocpid()) != focusedSceneSession->GetCallin… in OnInputEvent()
281 bool isConsumed = focusedSceneSession->SendKeyEventToUI(keyEvent, true); in OnInputEvent()
309 focusedSceneSession->SendKeyEventToUI(keyEvent); in OnInputEvent()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_input_manager.cpp368 auto focusedSceneSession = SceneSessionManager::GetInstance().GetSceneSession(focusedSessionId); in UpdateFocusedSessionId() local
369 if (focusedSceneSession == nullptr) { in UpdateFocusedSessionId()
373 if (auto modalUIExtensionEventInfo = focusedSceneSession->GetLastModalUIExtensionEventInfo()) { in UpdateFocusedSessionId()