Searched refs:focusedSessionId (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/window/window_manager/window_scene/intention_event/src/ |
H A D | intention_event_manager.cpp | 214 int32_t focusedSessionId, std::shared_ptr<MMI::KeyEvent> keyEvent, bool consumed) const in DispatchKeyEventCallback() argument 218 ", consumed:%{public}" PRId32, focusedSessionId, consumed); in DispatchKeyEventCallback() 224 keyEvent->GetId(), focusedSessionId); in DispatchKeyEventCallback() 228 auto focusedSceneSession = SceneSessionManager::GetInstance().GetSceneSession(focusedSessionId); in DispatchKeyEventCallback() 256 auto focusedSessionId = SceneSessionManager::GetInstance().GetFocusedSessionId(); in OnInputEvent() local 257 if (focusedSessionId == INVALID_SESSION_ID) { in OnInputEvent() 262 auto focusedSceneSession = SceneSessionManager::GetInstance().GetSceneSession(focusedSessionId); in OnInputEvent() 272 eventId++, keyEvent->GetId(), keyEvent->GetTargetWindowId(), focusedSessionId, isSystem); in OnInputEvent() 292 this->DispatchKeyEventCallback(focusedSessionId, keyEvent, consumed); in OnInputEvent() 297 ret, keyEvent->GetId(), focusedSessionId); in OnInputEvent() [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | keyboard_session.cpp | 246 uint32_t focusedSessionId = static_cast<uint32_t>(session->GetFocusedSessionId()); in SetCallingSessionId() local 247 if (session->GetSceneSession(focusedSessionId) == nullptr) { in SetCallingSessionId() 248 …E(WmsLogTag::WMS_KEYBOARD, "Focused session is null, set id: %{public}d failed", focusedSessionId); in SetCallingSessionId() 251 … TLOGI(WmsLogTag::WMS_KEYBOARD, "Using focusedSession id: %{public}d", focusedSessionId); in SetCallingSessionId() 252 callingSessionId = focusedSessionId; in SetCallingSessionId() 510 uint32_t focusedSessionId = static_cast<uint32_t>(GetFocusedSessionId()); in UseFocusIdIfCallingSessionIdInvalid() local 511 if (GetSceneSession(focusedSessionId) == nullptr) { in UseFocusIdIfCallingSessionIdInvalid() 512 TLOGE(WmsLogTag::WMS_KEYBOARD, "Focused session is null, id: %{public}d", focusedSessionId); in UseFocusIdIfCallingSessionIdInvalid() 514 TLOGI(WmsLogTag::WMS_KEYBOARD, "Using focusedSession id: %{public}d", focusedSessionId); in UseFocusIdIfCallingSessionIdInvalid() 515 GetSessionProperty()->SetCallingSessionId(focusedSessionId); in UseFocusIdIfCallingSessionIdInvalid()
|
/ohos5.0/foundation/window/window_manager/window_scene/intention_event/include/ |
H A D | intention_event_manager.h | 50 int32_t focusedSessionId, std::shared_ptr<MMI::KeyEvent> keyEvent, bool consumed) const;
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | scene_input_manager.h | 50 void UpdateFocusedSessionId(int32_t focusedSessionId);
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_input_manager.cpp | 366 void SceneInputManager::UpdateFocusedSessionId(int32_t focusedSessionId) in UpdateFocusedSessionId() argument 368 auto focusedSceneSession = SceneSessionManager::GetInstance().GetSceneSession(focusedSessionId); in UpdateFocusedSessionId()
|