Lines Matching defs:const

166 WindowSessionImpl::WindowSessionImpl(const sptr<WindowOption>& option)
206 bool WindowSessionImpl::IsPcOrPadCapabilityEnabled() const
211 bool WindowSessionImpl::IsPcOrPadFreeMultiWindowMode() const
239 RSSurfaceNode::SharedPtr WindowSessionImpl::CreateSurfaceNode(const std::string& name, WindowType type)
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
383 const auto& name = property_->GetWindowName();
394 for (const auto& item : windowSessionMap_) {
443 void WindowSessionImpl::ConsumePointerEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
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)
474 const auto& subWindows = iter->second;
559 const int32_t persistentId = GetPersistentId();
664 WSError WindowSessionImpl::UpdateRect(const WSRect& rect, SizeChangeReason reason,
665 const SceneAnimationConfig& config)
696 void WindowSessionImpl::UpdateRectForRotation(const Rect& wmRect, const Rect& preRect,
697 WindowSizeChangeReason wmReason, const SceneAnimationConfig& config)
705 const std::shared_ptr<RSTransaction>& rsTransaction = config.rsTransaction_;
750 void WindowSessionImpl::UpdateRectForOtherReason(const Rect& wmRect, const Rect& preRect,
751 WindowSizeChangeReason wmReason, const std::shared_ptr<RSTransaction>& rsTransaction)
875 for (const auto& winPair : windowSessionMap_) {
892 for (const auto& window : windowExtensionSessionSet_) {
941 bool WindowSessionImpl::IsFocused() const
952 WMError WindowSessionImpl::RequestFocus() const
962 WMError WindowSessionImpl::RequestFocusByClient(bool isFocused) const
1038 void WindowSessionImpl::UpdateViewportConfig(const Rect& rect, WindowSizeChangeReason reason,
1039 const std::shared_ptr<RSTransaction>& rsTransaction, const sptr<DisplayInfo>& info,
1040 const std::map<AvoidAreaType, AvoidArea>& avoidAreas)
1088 for (const auto& [type, avoidArea] : avoidAreasToUpdate) {
1111 for (const auto& winPair : windowSessionMap_) {
1122 Rect WindowSessionImpl::GetRect() const
1162 WMError WindowSessionImpl::NapiSetUIContent(const std::string& contentInfo, napi_env env, napi_value storage,
1171 const std::string& contentInfo, napi_env env, napi_value storage, AppExecFwk::Ability* ability)
1178 const std::string& contentInfo, napi_env env, napi_value storage, AppExecFwk::Ability* ability)
1191 WMError WindowSessionImpl::InitUIContent(const std::string& contentInfo, napi_env env, napi_value storage,
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)
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
1501 bool WindowSessionImpl::GetFocusable() const
1534 bool WindowSessionImpl::IsTopmost() const
1552 bool WindowSessionImpl::IsMainWindowTopmost() const
1632 bool WindowSessionImpl::IsFloatingWindowAppType() const
1640 bool WindowSessionImpl::GetTouchable() const
1677 float WindowSessionImpl::GetBrightness() const
1721 WMError WindowSessionImpl::SetRestoredRouterStack(const std::string& routerStack)
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)
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)
2049 const sptr<IWindowTitleButtonRectChangedListener>& listener)
2106 const sptr<IWindowTitleButtonRectChangedListener>& listener)
2165 WMError WindowSessionImpl::RegisterWindowRectChangeListener(const sptr<IWindowRectChangeListener>& listener)
2179 WMError WindowSessionImpl::UnregisterWindowRectChangeListener(const sptr<IWindowRectChangeListener>& listener)
2204 WMError WindowSessionImpl::RegisterSubWindowCloseListeners(const sptr<ISubWindowCloseListener>& listener)
2219 WMError WindowSessionImpl::UnregisterSubWindowCloseListeners(const sptr<ISubWindowCloseListener>& listener)
2242 WMError WindowSessionImpl::RegisterMainWindowCloseListeners(const sptr<IMainWindowCloseListener>& listener)
2264 WMError WindowSessionImpl::UnregisterMainWindowCloseListeners(const sptr<IMainWindowCloseListener>& listener)
2297 WMError WindowSessionImpl::RegisterSwitchFreeMultiWindowListener(const sptr<ISwitchFreeMultiWindowListener>& listener)
2312 WMError WindowSessionImpl::UnregisterSwitchFreeMultiWindowListener(const sptr<ISwitchFreeMultiWindowListener>& listener)
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)
2508 void WindowSessionImpl::RegisterWindowDestroyedListener(const NotifyNativeWinDestroyFunc& func)
2520 void WindowSessionImpl::SetInputEventConsumer(const std::shared_ptr<IInputEventConsumer>& inputEventConsumer)
2562 WMError WindowSessionImpl::SetWindowContainerColor(const std::string& activeColor, const std::string& inactiveColor)
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)
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)
3154 WMError WindowSessionImpl::RegisterTouchOutsideListener(const sptr<ITouchOutsideListener>& listener)
3183 WMError WindowSessionImpl::UnregisterTouchOutsideListener(const sptr<ITouchOutsideListener>& listener)
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)
3336 WSError WindowSessionImpl::NotifyNoInteractionTimeout(const IWindowNoInteractionListenerSptr& listener)
3349 void WindowSessionImpl::NotifyPointerEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
3405 bool WindowSessionImpl::FilterKeyEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent)
3420 void WindowSessionImpl::DispatchKeyEventCallback(const std::shared_ptr<MMI::KeyEvent>& keyEvent, bool& isConsumed)
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)
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)
3663 const bool isAlphaZero = !(color & 0xff000000);
3715 uint32_t WindowSessionImpl::GetBackgroundColor() const
3746 WMError WindowSessionImpl::SetSystemBarProperty(WindowType type, const SystemBarProperty& property)
3751 WMError WindowSessionImpl::SetSpecificBarProperty(WindowType type, const SystemBarProperty& property)
3778 const std::shared_ptr<RSTransaction>& rsTransaction)
3810 void WindowSessionImpl::DumpSessionElementInfo(const std::vector<std::string>& params)
3820 WMError WindowSessionImpl::TransferAccessibilityEvent(const Accessibility::AccessibilityEventInfo& info,
3851 void WindowSessionImpl::UpdatePiPRect(const Rect& rect, WindowSizeChangeReason reason)
3920 void WindowSessionImpl::NotifyTransformChange(const Transform& transform)
3929 const IWindowNoInteractionListenerSptr& listener)
3959 for (const auto& listenerItem : noInteractionListeners) {
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
4027 void WindowSessionImpl::SetForceSplitEnable(bool isForceSplit, const std::string& homePage)