Lines Matching refs:WindowSessionImpl
57 constexpr HiviewDFX::HiLogLabel LABEL = {LOG_CORE, HILOG_DOMAIN_WINDOW, "WindowSessionImpl"};
82 std::map<int32_t, std::vector<sptr<IWindowLifeCycle>>> WindowSessionImpl::lifecycleListeners_;
83 std::map<int32_t, std::vector<sptr<IDisplayMoveListener>>> WindowSessionImpl::displayMoveListeners_;
84 std::map<int32_t, std::vector<sptr<IWindowChangeListener>>> WindowSessionImpl::windowChangeListeners_;
85 std::map<int32_t, std::vector<sptr<IAvoidAreaChangedListener>>> WindowSessionImpl::avoidAreaChangeListeners_;
86 std::map<int32_t, std::vector<sptr<IDialogDeathRecipientListener>>> WindowSessionImpl::dialogDeathRecipientListeners_;
87 std::map<int32_t, std::vector<sptr<IDialogTargetTouchListener>>> WindowSessionImpl::dialogTargetTouchListener_;
88 std::map<int32_t, std::vector<sptr<IOccupiedAreaChangeListener>>> WindowSessionImpl::occupiedAreaChangeListeners_;
89 std::map<int32_t, std::vector<sptr<IScreenshotListener>>> WindowSessionImpl::screenshotListeners_;
90 std::map<int32_t, std::vector<sptr<ITouchOutsideListener>>> WindowSessionImpl::touchOutsideListeners_;
91 std::map<int32_t, std::vector<IWindowVisibilityListenerSptr>> WindowSessionImpl::windowVisibilityChangeListeners_;
92 std::map<int32_t, std::vector<IWindowNoInteractionListenerSptr>> WindowSessionImpl::windowNoInteractionListeners_;
94 WindowSessionImpl::windowTitleButtonRectChangeListeners_;
95 std::map<int32_t, std::vector<sptr<IWindowRectChangeListener>>> WindowSessionImpl::windowRectChangeListeners_;
96 std::map<int32_t, sptr<ISubWindowCloseListener>> WindowSessionImpl::subWindowCloseListeners_;
97 std::map<int32_t, sptr<IMainWindowCloseListener>> WindowSessionImpl::mainWindowCloseListeners_;
98 std::map<int32_t, std::vector<sptr<ISwitchFreeMultiWindowListener>>> WindowSessionImpl::switchFreeMultiWindowListeners_;
99 std::recursive_mutex WindowSessionImpl::lifeCycleListenerMutex_;
100 std::recursive_mutex WindowSessionImpl::windowChangeListenerMutex_;
101 std::recursive_mutex WindowSessionImpl::avoidAreaChangeListenerMutex_;
102 std::recursive_mutex WindowSessionImpl::dialogDeathRecipientListenerMutex_;
103 std::recursive_mutex WindowSessionImpl::dialogTargetTouchListenerMutex_;
104 std::recursive_mutex WindowSessionImpl::occupiedAreaChangeListenerMutex_;
105 std::recursive_mutex WindowSessionImpl::screenshotListenerMutex_;
106 std::recursive_mutex WindowSessionImpl::touchOutsideListenerMutex_;
107 std::recursive_mutex WindowSessionImpl::windowVisibilityChangeListenerMutex_;
108 std::recursive_mutex WindowSessionImpl::windowNoInteractionListenerMutex_;
109 std::recursive_mutex WindowSessionImpl::windowStatusChangeListenerMutex_;
110 std::recursive_mutex WindowSessionImpl::windowTitleButtonRectChangeListenerMutex_;
111 std::mutex WindowSessionImpl::displayMoveListenerMutex_;
112 std::mutex WindowSessionImpl::windowRectChangeListenerMutex_;
113 std::mutex WindowSessionImpl::subWindowCloseListenersMutex_;
114 std::mutex WindowSessionImpl::mainWindowCloseListenersMutex_;
115 std::mutex WindowSessionImpl::switchFreeMultiWindowListenerMutex_;
116 std::map<std::string, std::pair<int32_t, sptr<WindowSessionImpl>>> WindowSessionImpl::windowSessionMap_;
117 std::shared_mutex WindowSessionImpl::windowSessionMutex_;
118 std::set<sptr<WindowSessionImpl>> WindowSessionImpl::windowExtensionSessionSet_;
119 std::shared_mutex WindowSessionImpl::windowExtensionSessionMutex_;
120 std::map<int32_t, std::vector<sptr<WindowSessionImpl>>> WindowSessionImpl::subWindowSessionMap_;
121 std::map<int32_t, std::vector<sptr<IWindowStatusChangeListener>>> WindowSessionImpl::windowStatusChangeListeners_;
122 bool WindowSessionImpl::isUIExtensionAbilityProcess_ = false;
166 WindowSessionImpl::WindowSessionImpl(const sptr<WindowOption>& option)
206 bool WindowSessionImpl::IsPcOrPadCapabilityEnabled() const
208 return WindowSessionImpl::IsPcOrPadFreeMultiWindowMode() || property_->GetIsPcAppInPad();
211 bool WindowSessionImpl::IsPcOrPadFreeMultiWindowMode() const
216 void WindowSessionImpl::MakeSubOrDialogWindowDragableAndMoveble()
239 RSSurfaceNode::SharedPtr WindowSessionImpl::CreateSurfaceNode(const std::string& name, WindowType type)
267 WindowSessionImpl::~WindowSessionImpl()
273 uint32_t WindowSessionImpl::GetWindowId() const
278 uint64_t WindowSessionImpl::GetDisplayId() const
283 int32_t WindowSessionImpl::GetParentId() const
290 bool WindowSessionImpl::IsWindowSessionInvalid() const
301 bool WindowSessionImpl::IsMainHandlerAvailable() const
308 int32_t WindowSessionImpl::GetPersistentId() const
313 sptr<WindowSessionProperty> WindowSessionImpl::GetProperty() const
318 SystemSessionConfig WindowSessionImpl::GetSystemSessionConfig() const
323 sptr<ISession> WindowSessionImpl::GetHostSession() const
329 ColorSpace WindowSessionImpl::GetColorSpaceFromSurfaceGamut(GraphicColorGamut colorGamut)
341 GraphicColorGamut WindowSessionImpl::GetSurfaceGamutFromColorSpace(ColorSpace colorSpace)
353 bool WindowSessionImpl::IsSupportWideGamut()
358 void WindowSessionImpl::SetColorSpace(ColorSpace colorSpace)
368 ColorSpace WindowSessionImpl::GetColorSpace()
378 WMError WindowSessionImpl::WindowSessionCreateCheck()
408 void WindowSessionImpl::SetDefaultDisplayIdIfNeed()
421 WMError WindowSessionImpl::Connect()
443 void WindowSessionImpl::ConsumePointerEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
448 void WindowSessionImpl::ConsumeKeyEvent(std::shared_ptr<MMI::KeyEvent>& keyEvent)
454 bool WindowSessionImpl::PreNotifyKeyEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent)
462 bool WindowSessionImpl::NotifyOnKeyPreImeEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent)
467 void WindowSessionImpl::UpdateSubWindowStateAndNotify(int32_t parentPersistentId, const WindowState newState)
504 WMError WindowSessionImpl::Show(uint32_t reason, bool withAnimation, bool withFocus)
535 WMError WindowSessionImpl::Hide(uint32_t reason, bool withAnimation, bool isFromInnerkits)
556 void WindowSessionImpl::DestroySubWindow()
610 WMError WindowSessionImpl::Destroy(bool needNotifyServer, bool needClearListener)
647 WMError WindowSessionImpl::Destroy()
652 WSError WindowSessionImpl::SetActive(bool active)
664 WSError WindowSessionImpl::UpdateRect(const WSRect& rect, SizeChangeReason reason,
682 "WindowSessionImpl::UpdateRect id: %d [%d, %d, %u, %u] reason: %u hasRSTransaction: %u", GetPersistentId(),
696 void WindowSessionImpl::UpdateRectForRotation(const Rect& wmRect, const Rect& preRect,
700 HITRACE_METER_NAME(HITRACE_TAG_WINDOW_MANAGER, "WindowSessionImpl::UpdateRectForRotation");
740 bool WindowSessionImpl::CheckIfNeedCommitRsTransaction(WindowSizeChangeReason wmReason)
750 void WindowSessionImpl::UpdateRectForOtherReason(const Rect& wmRect, const Rect& preRect,
784 void WindowSessionImpl::NotifyRotationAnimationEnd()
807 void WindowSessionImpl::GetTitleButtonVisible(bool isPC, bool& hideMaximizeButton, bool& hideMinimizeButton,
831 void WindowSessionImpl::UpdateDensity()
839 void WindowSessionImpl::SetUniqueVirtualPixelRatio(bool useUniqueDensity, float virtualPixelRatio)
861 void WindowSessionImpl::CopyUniqueDensityParameter(sptr<WindowSessionImpl> parentWindow)
869 sptr<WindowSessionImpl> WindowSessionImpl::FindMainWindowWithContext()
886 sptr<WindowSessionImpl> WindowSessionImpl::FindExtensionWindowWithContext()
900 void WindowSessionImpl::SetUniqueVirtualPixelRatioForSub(bool useUniqueDensity, float virtualPixelRatio)
910 WSError WindowSessionImpl::UpdateOrientation()
916 WSError WindowSessionImpl::UpdateDisplayId(uint64_t displayId)
922 WSError WindowSessionImpl::UpdateFocus(bool isFocused)
941 bool WindowSessionImpl::IsFocused() const
952 WMError WindowSessionImpl::RequestFocus() const
962 WMError WindowSessionImpl::RequestFocusByClient(bool isFocused) const
978 bool WindowSessionImpl::IsNotifyInteractiveDuplicative(bool interactive)
990 void WindowSessionImpl::NotifyForegroundInteractiveStatus(bool interactive)
1008 WSError WindowSessionImpl::UpdateWindowMode(WindowMode mode)
1013 float WindowSessionImpl::GetVirtualPixelRatio()
1029 float WindowSessionImpl::GetVirtualPixelRatio(sptr<DisplayInfo> displayInfo)
1038 void WindowSessionImpl::UpdateViewportConfig(const Rect& rect, WindowSizeChangeReason reason,
1105 int32_t WindowSessionImpl::GetFloatingWindowParentId()
1122 Rect WindowSessionImpl::GetRect() const
1127 void WindowSessionImpl::UpdateTitleButtonVisibility()
1162 WMError WindowSessionImpl::NapiSetUIContent(const std::string& contentInfo, napi_env env, napi_value storage,
1170 WMError WindowSessionImpl::SetUIContentByName(
1177 WMError WindowSessionImpl::SetUIContentByAbc(
1184 void WindowSessionImpl::DestroyExistUIContent()
1191 WMError WindowSessionImpl::InitUIContent(const std::string& contentInfo, napi_env env, napi_value storage,
1243 void WindowSessionImpl::RegisterFrameLayoutCallback()
1272 WMError WindowSessionImpl::SetUIContentInner(const std::string& contentInfo, napi_env env, napi_value storage,
1353 std::shared_ptr<std::vector<uint8_t>> WindowSessionImpl::GetAbcContent(const std::string& abcPath)
1382 void WindowSessionImpl::UpdateDecorEnableToAce(bool isDecorEnable)
1408 void WindowSessionImpl::UpdateDecorEnable(bool needNotify, WindowMode mode)
1431 void WindowSessionImpl::NotifyModeChange(WindowMode mode, bool hasDeco)
1451 std::shared_ptr<RSSurfaceNode> WindowSessionImpl::GetSurfaceNode() const
1458 const std::shared_ptr<AbilityRuntime::Context> WindowSessionImpl::GetContext() const
1465 Rect WindowSessionImpl::GetRequestRect() const
1470 WindowType WindowSessionImpl::GetType() const
1475 const std::string& WindowSessionImpl::GetWindowName() const
1480 WindowState WindowSessionImpl::GetWindowState() const
1485 WindowState WindowSessionImpl::GetRequestWindowState() const
1490 WMError WindowSessionImpl::SetFocusable(bool isFocusable)
1501 bool WindowSessionImpl::GetFocusable() const
1509 WMError WindowSessionImpl::SetTouchable(bool isTouchable)
1520 WMError WindowSessionImpl::SetTopmost(bool topmost)
1534 bool WindowSessionImpl::IsTopmost() const
1540 WMError WindowSessionImpl::SetMainWindowTopmost(bool isTopmost)
1552 bool WindowSessionImpl::IsMainWindowTopmost() const
1557 WMError WindowSessionImpl::SetResizeByDragEnabled(bool dragEnabled)
1579 WMError WindowSessionImpl::SetRaiseByClickEnabled(bool raiseEnabled)
1590 WMError WindowSessionImpl::HideNonSystemFloatingWindows(bool shouldHide)
1600 WMError WindowSessionImpl::SetLandscapeMultiWindow(bool isLandscapeMultiWindow)
1614 WMError WindowSessionImpl::SetSingleFrameComposerEnabled(bool enable)
1632 bool WindowSessionImpl::IsFloatingWindowAppType() const
1640 bool WindowSessionImpl::GetTouchable() const
1645 WMError WindowSessionImpl::SetWindowType(WindowType type)
1661 WMError WindowSessionImpl::SetBrightness(float brightness)
1677 float WindowSessionImpl::GetBrightness() const
1682 void WindowSessionImpl::SetRequestedOrientation(Orientation orientation)
1698 Orientation WindowSessionImpl::GetRequestedOrientation()
1707 std::string WindowSessionImpl::GetContentInfo(BackupAndRestoreType type)
1721 WMError WindowSessionImpl::SetRestoredRouterStack(const std::string& routerStack)
1728 std::string WindowSessionImpl::GetRestoredRouterStack()
1734 Ace::UIContent* WindowSessionImpl::GetUIContent() const
1739 std::shared_ptr<Ace::UIContent> WindowSessionImpl::GetUIContentSharedPtr() const
1745 Ace::UIContent* WindowSessionImpl::GetUIContentWithId(uint32_t winId) const
1755 void WindowSessionImpl::OnNewWant(const AAFwk::Want& want)
1764 WMError WindowSessionImpl::SetAPPWindowLabel(const std::string& label)
1776 WMError WindowSessionImpl::SetAPPWindowIcon(const std::shared_ptr<Media::PixelMap>& icon)
1792 WMError WindowSessionImpl::RegisterLifeCycleListener(const sptr<IWindowLifeCycle>& listener)
1799 WMError WindowSessionImpl::RegisterDisplayMoveListener(sptr<IDisplayMoveListener>& listener)
1806 WMError WindowSessionImpl::UnregisterDisplayMoveListener(sptr<IDisplayMoveListener>& listener)
1816 WMError WindowSessionImpl::EnableDrag(bool enableDrag)
1828 WMError WindowSessionImpl::RegisterOccupiedAreaChangeListener(const sptr<IOccupiedAreaChangeListener>& listener)
1835 WMError WindowSessionImpl::UnregisterOccupiedAreaChangeListener(const sptr<IOccupiedAreaChangeListener>& listener)
1842 WMError WindowSessionImpl::UnregisterLifeCycleListener(const sptr<IWindowLifeCycle>& listener)
1849 WMError WindowSessionImpl::RegisterWindowChangeListener(const sptr<IWindowChangeListener>& listener)
1856 WMError WindowSessionImpl::UnregisterWindowChangeListener(const sptr<IWindowChangeListener>& listener)
1863 WMError WindowSessionImpl::RegisterWindowStatusChangeListener(const sptr<IWindowStatusChangeListener>& listener)
1870 WMError WindowSessionImpl::UnregisterWindowStatusChangeListener(const sptr<IWindowStatusChangeListener>& listener)
1877 WMError WindowSessionImpl::SetDecorVisible(bool isVisible)
1892 WMError WindowSessionImpl::SetSubWindowModal(bool isModal, ModalityType modalityType)
1927 WMError WindowSessionImpl::SetDecorHeight(int32_t decorHeight)
1958 WMError WindowSessionImpl::GetDecorHeight(int32_t& height)
1994 WMError WindowSessionImpl::GetTitleButtonArea(TitleButtonRect& titleButtonRect)
2037 WSError WindowSessionImpl::GetUIContentRemoteObj(sptr<IRemoteObject>& uiContentRemoteObj)
2048 WMError WindowSessionImpl::RegisterWindowTitleButtonRectChangeListener(
2105 WMError WindowSessionImpl::UnregisterWindowTitleButtonRectChangeListener(
2134 std::vector<sptr<IWindowTitleButtonRectChangedListener>>> WindowSessionImpl::GetListeners()
2143 void WindowSessionImpl::NotifyWindowTitleButtonRectChange(TitleButtonRect titleButtonRect)
2156 std::vector<sptr<IWindowRectChangeListener>>> WindowSessionImpl::GetListeners()
2165 WMError WindowSessionImpl::RegisterWindowRectChangeListener(const sptr<IWindowRectChangeListener>& listener)
2179 WMError WindowSessionImpl::UnregisterWindowRectChangeListener(const sptr<IWindowRectChangeListener>& listener)
2197 EnableIfSame<T, ISubWindowCloseListener, sptr<ISubWindowCloseListener>> WindowSessionImpl::GetListeners()
2204 WMError WindowSessionImpl::RegisterSubWindowCloseListeners(const sptr<ISubWindowCloseListener>& listener)
2219 WMError WindowSessionImpl::UnregisterSubWindowCloseListeners(const sptr<ISubWindowCloseListener>& listener)
2235 EnableIfSame<T, IMainWindowCloseListener, sptr<IMainWindowCloseListener>> WindowSessionImpl::GetListeners()
2242 WMError WindowSessionImpl::RegisterMainWindowCloseListeners(const sptr<IMainWindowCloseListener>& listener)
2264 WMError WindowSessionImpl::UnregisterMainWindowCloseListeners(const sptr<IMainWindowCloseListener>& listener)
2288 std::vector<sptr<ISwitchFreeMultiWindowListener>>> WindowSessionImpl::GetListeners()
2297 WMError WindowSessionImpl::RegisterSwitchFreeMultiWindowListener(const sptr<ISwitchFreeMultiWindowListener>& listener)
2312 WMError WindowSessionImpl::UnregisterSwitchFreeMultiWindowListener(const sptr<ISwitchFreeMultiWindowListener>& listener)
2327 void WindowSessionImpl::RecoverSessionListener()
2364 EnableIfSame<T, IWindowLifeCycle, std::vector<sptr<IWindowLifeCycle>>> WindowSessionImpl::GetListeners()
2374 EnableIfSame<T, IWindowChangeListener, std::vector<sptr<IWindowChangeListener>>> WindowSessionImpl::GetListeners()
2385 std::vector<sptr<IOccupiedAreaChangeListener>>> WindowSessionImpl::GetListeners()
2395 WMError WindowSessionImpl::RegisterListener(std::vector<sptr<T>>& holder, const sptr<T>& listener)
2410 WMError WindowSessionImpl::UnregisterListener(std::vector<sptr<T>>& holder, const sptr<T>& listener)
2424 void WindowSessionImpl::ClearUselessListeners(std::map<int32_t, T>& listeners, int32_t persistentId)
2430 EnableIfSame<T, IWindowStatusChangeListener, std::vector<sptr<IWindowStatusChangeListener>>> WindowSessionImpl::GetListeners()
2439 void WindowSessionImpl::ClearListenersById(int32_t persistentId)
2502 void WindowSessionImpl::ClearSwitchFreeMultiWindowListenersById(int32_t persistentId)
2508 void WindowSessionImpl::RegisterWindowDestroyedListener(const NotifyNativeWinDestroyFunc& func)
2513 void WindowSessionImpl::ClearVsyncStation()
2520 void WindowSessionImpl::SetInputEventConsumer(const std::shared_ptr<IInputEventConsumer>& inputEventConsumer)
2527 WMError WindowSessionImpl::SetTitleButtonVisible(bool isMaximizeVisible, bool isMinimizeVisible, bool isSplitVisible,
2547 WSError WindowSessionImpl::SetSplitButtonVisible(bool isVisible)
2562 WMError WindowSessionImpl::SetWindowContainerColor(const std::string& activeColor, const std::string& inactiveColor)
2591 void WindowSessionImpl::NotifyAfterForeground(bool needNotifyListeners, bool needNotifyUiContent)
2615 void WindowSessionImpl::NotifyAfterBackground(bool needNotifyListeners, bool needNotifyUiContent)
2651 void WindowSessionImpl::NotifyUIContentFocusStatus()
2679 void WindowSessionImpl::NotifyAfterFocused()
2689 void WindowSessionImpl::NotifyAfterUnfocused(bool needNotifyUiContent)
2701 void WindowSessionImpl::NotifyWindowAfterFocused()
2708 void WindowSessionImpl::NotifyWindowAfterUnfocused()
2716 void WindowSessionImpl::NotifyBeforeDestroy(std::string windowName)
2743 void WindowSessionImpl::NotifyAfterDestroy()
2750 void WindowSessionImpl::NotifyAfterActive()
2757 void WindowSessionImpl::NotifyAfterInactive()
2764 void WindowSessionImpl::NotifyForegroundFailed(WMError ret)
2771 void WindowSessionImpl::NotifyBackgroundFailed(WMError ret)
2778 void WindowSessionImpl::NotifyAfterResumed()
2785 void WindowSessionImpl::NotifyAfterPaused()
2792 WSError WindowSessionImpl::MarkProcessed(int32_t eventId)
2803 void WindowSessionImpl::RegisterDialogDeathRecipientListener(const sptr<IDialogDeathRecipientListener>& listener)
2815 void WindowSessionImpl::UnregisterDialogDeathRecipientListener(const sptr<IDialogDeathRecipientListener>& listener)
2823 WMError WindowSessionImpl::RegisterDialogTargetTouchListener(const sptr<IDialogTargetTouchListener>& listener)
2835 WMError WindowSessionImpl::UnregisterDialogTargetTouchListener(const sptr<IDialogTargetTouchListener>& listener)
2843 WMError WindowSessionImpl::RegisterScreenshotListener(const sptr<IScreenshotListener>& listener)
2850 WMError WindowSessionImpl::UnregisterScreenshotListener(const sptr<IScreenshotListener>& listener)
2858 EnableIfSame<T, IDialogDeathRecipientListener, std::vector<sptr<IDialogDeathRecipientListener>>> WindowSessionImpl::
2870 std::vector<sptr<IDialogTargetTouchListener>>> WindowSessionImpl::GetListeners()
2880 EnableIfSame<T, IScreenshotListener, std::vector<sptr<IScreenshotListener>>> WindowSessionImpl::GetListeners()
2889 WSError WindowSessionImpl::NotifyDestroy()
2908 EnableIfSame<T, IDisplayMoveListener, std::vector<sptr<IDisplayMoveListener>>> WindowSessionImpl::GetListeners()
2917 void WindowSessionImpl::NotifyDisplayMove(DisplayId from, DisplayId to)
2929 WSError WindowSessionImpl::NotifyCloseExistPipWindow()
2939 void WindowSessionImpl::NotifyTouchDialogTarget(int32_t posX, int32_t posY)
2954 void WindowSessionImpl::NotifyScreenshot()
2966 void WindowSessionImpl::NotifySizeChange(Rect rect, WindowSizeChangeReason reason)
2988 void WindowSessionImpl::NotifySubWindowClose(bool& terminateCloseProcess)
2998 WMError WindowSessionImpl::NotifyMainWindowClose(bool& terminateCloseProcess)
3009 void WindowSessionImpl::NotifySwitchFreeMultiWindow(bool enable)
3020 WMError WindowSessionImpl::RegisterAvoidAreaChangeListener(sptr<IAvoidAreaChangedListener>& listener)
3047 WMError WindowSessionImpl::UnregisterAvoidAreaChangeListener(sptr<IAvoidAreaChangedListener>& listener)
3074 WMError WindowSessionImpl::RegisterExtensionAvoidAreaChangeListener(sptr<IAvoidAreaChangedListener>& listener)
3082 WMError WindowSessionImpl::UnregisterExtensionAvoidAreaChangeListener(sptr<IAvoidAreaChangedListener>& listener)
3092 std::vector<sptr<IAvoidAreaChangedListener>>> WindowSessionImpl::GetListeners()
3101 void WindowSessionImpl::NotifyAvoidAreaChange(const sptr<AvoidArea>& avoidArea, AvoidAreaType type)
3115 WSError WindowSessionImpl::NotifyTransferComponentData(const AAFwk::WantParams& wantParams)
3120 WSErrorCode WindowSessionImpl::NotifyTransferComponentDataSync(const AAFwk::WantParams& wantParams,
3126 WSError WindowSessionImpl::UpdateAvoidArea(const sptr<AvoidArea>& avoidArea, AvoidAreaType type)
3133 WSError WindowSessionImpl::SetPipActionEvent(const std::string& action, int32_t status)
3143 WSError WindowSessionImpl::SetPiPControlEvent(WsPiPControlType controlType, WsPiPControlStatus status)
3154 WMError WindowSessionImpl::RegisterTouchOutsideListener(const sptr<ITouchOutsideListener>& listener)
3183 WMError WindowSessionImpl::UnregisterTouchOutsideListener(const sptr<ITouchOutsideListener>& listener)
3213 EnableIfSame<T, ITouchOutsideListener, std::vector<sptr<ITouchOutsideListener>>> WindowSessionImpl::GetListeners()
3222 WSError WindowSessionImpl::NotifyTouchOutside()
3236 WMError WindowSessionImpl::RegisterWindowVisibilityChangeListener(const IWindowVisibilityListenerSptr& listener)
3257 WMError WindowSessionImpl::UnregisterWindowVisibilityChangeListener(const IWindowVisibilityListenerSptr& listener)
3278 WMError WindowSessionImpl::RegisterWindowNoInteractionListener(const IWindowNoInteractionListenerSptr& listener)
3291 WMError WindowSessionImpl::UnregisterWindowNoInteractionListener(const IWindowNoInteractionListenerSptr& listener)
3303 EnableIfSame<T, IWindowVisibilityChangedListener, std::vector<IWindowVisibilityListenerSptr>> WindowSessionImpl::GetListeners()
3313 EnableIfSame<T, IWindowNoInteractionListener, std::vector<IWindowNoInteractionListenerSptr>> WindowSessionImpl::GetListeners()
3322 WSError WindowSessionImpl::NotifyWindowVisibility(bool isVisible)
3336 WSError WindowSessionImpl::NotifyNoInteractionTimeout(const IWindowNoInteractionListenerSptr& listener)
3349 void WindowSessionImpl::NotifyPointerEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
3391 WMError WindowSessionImpl::SetKeyEventFilter(KeyEventFilterFunc filter)
3398 WMError WindowSessionImpl::ClearKeyEventFilter()
3405 bool WindowSessionImpl::FilterKeyEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent)
3420 void WindowSessionImpl::DispatchKeyEventCallback(const std::shared_ptr<MMI::KeyEvent>& keyEvent, bool& isConsumed)
3472 WSError WindowSessionImpl::HandleBackEvent()
3511 wptr<WindowSessionImpl> weak = this;
3527 void WindowSessionImpl::NotifyKeyEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent, bool& isConsumed,
3571 bool WindowSessionImpl::IsKeyboardEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent) const
3582 void WindowSessionImpl::RequestVsync(const std::shared_ptr<VsyncCallback>& vsyncCallback)
3591 int64_t WindowSessionImpl::GetVSyncPeriod()
3600 void WindowSessionImpl::FlushFrameRate(uint32_t rate, int32_t animatorExpectedFrameRate, uint32_t rateType)
3609 WMError WindowSessionImpl::UpdateProperty(WSPropertyChangeAction action)
3621 sptr<Window> WindowSessionImpl::Find(const std::string& name)
3633 void WindowSessionImpl::SetAceAbilityHandler(const sptr<IAceAbilityHandler>& handler)
3642 WMError WindowSessionImpl::SetBackgroundColor(const std::string& color)
3658 WMError WindowSessionImpl::SetBackgroundColor(uint32_t color)
3689 sptr<Window> WindowSessionImpl::FindWindowById(uint32_t winId)
3706 std::vector<sptr<Window>> WindowSessionImpl::GetSubWindow(int parentId)
3715 uint32_t WindowSessionImpl::GetBackgroundColor() const
3728 WMError WindowSessionImpl::SetLayoutFullScreenByApiVersion(bool status)
3733 WMError WindowSessionImpl::SetWindowGravity(WindowGravity gravity, uint32_t percent)
3746 WMError WindowSessionImpl::SetSystemBarProperty(WindowType type, const SystemBarProperty& property)
3751 WMError WindowSessionImpl::SetSpecificBarProperty(WindowType type, const SystemBarProperty& property)
3756 void WindowSessionImpl::NotifyOccupiedAreaChangeInfoInner(sptr<OccupiedAreaChangeInfo> info)
3777 void WindowSessionImpl::NotifyOccupiedAreaChangeInfo(sptr<OccupiedAreaChangeInfo> info,
3805 KeyboardAnimationConfig WindowSessionImpl::GetKeyboardAnimationConfig()
3810 void WindowSessionImpl::DumpSessionElementInfo(const std::vector<std::string>& params)
3815 WSError WindowSessionImpl::UpdateMaximizeMode(MaximizeMode mode)
3820 WMError WindowSessionImpl::TransferAccessibilityEvent(const Accessibility::AccessibilityEventInfo& info,
3826 void WindowSessionImpl::NotifySessionForeground(uint32_t reason, bool withAnimation)
3831 void WindowSessionImpl::NotifySessionBackground(uint32_t reason, bool withAnimation, bool isFromInnerkits)
3836 WSError WindowSessionImpl::UpdateTitleInTargetPos(bool isShow, int32_t height)
3841 WSError WindowSessionImpl::SwitchFreeMultiWindow(bool enable)
3846 WSError WindowSessionImpl::NotifyDialogStateChange(bool isForeground)
3851 void WindowSessionImpl::UpdatePiPRect(const Rect& rect, WindowSizeChangeReason reason)
3862 void WindowSessionImpl::UpdatePiPControlStatus(PiPControlType controlType, PiPControlStatus status)
3875 void WindowSessionImpl::SetAutoStartPiP(bool isAutoStart)
3886 WindowStatus WindowSessionImpl::GetWindowStatusInner(WindowMode mode)
3907 void WindowSessionImpl::NotifyWindowStatusChange(WindowMode mode)
3920 void WindowSessionImpl::NotifyTransformChange(const Transform& transform)
3928 void WindowSessionImpl::SubmitNoInteractionMonitorTask(int32_t eventId,
3950 void WindowSessionImpl::RefreshNoInteractionTimeoutMonitor()
3964 bool WindowSessionImpl::IsUserOrientation(Orientation orientation) const
3975 bool WindowSessionImpl::IsVerticalOrientation(Orientation orientation) const
3988 WMError WindowSessionImpl::GetCallingWindowWindowStatus(WindowStatus& windowStatus) const
3998 WMError WindowSessionImpl::GetCallingWindowRect(Rect& rect) const
4007 void WindowSessionImpl::SetUiDvsyncSwitch(bool dvsyncSwitch)
4016 WMError WindowSessionImpl::GetAppForceLandscapeConfig(AppForceLandscapeConfig& config)
4027 void WindowSessionImpl::SetForceSplitEnable(bool isForceSplit, const std::string& homePage)
4039 void WindowSessionImpl::SetFrameLayoutCallbackEnable(bool enable)
4044 void WindowSessionImpl::UpdateFrameLayoutCallbackIfNeeded(WindowSizeChangeReason wmReason)
4055 WMError WindowSessionImpl::SetContinueState(int32_t continueState)
4065 void WindowSessionImpl::SetUIContentComplete()
4076 void WindowSessionImpl::AddSetUIContentTimeoutCheck()
4108 void WindowSessionImpl::NotifySetUIContentComplete()