Lines Matching defs:const
52 const std::string PARAM_DUMP_HELP = "-h";
78 const WindowImpl::ColorSpaceConvertMap WindowImpl::colorSpaceConvertMap[] = {
98 WindowImpl::WindowImpl(const sptr<WindowOption>& option)
126 void WindowImpl::InitWindowProperty(const sptr<WindowOption>& option)
184 sptr<Window> WindowImpl::Find(const std::string& name)
193 const std::shared_ptr<AbilityRuntime::Context> WindowImpl::GetContext() const
230 sptr<Window> WindowImpl::GetTopWindowWithContext(const std::shared_ptr<AbilityRuntime::Context>& context)
268 void WindowImpl::UpdateConfigurationForAll(const std::shared_ptr<AppExecFwk::Configuration>& configuration)
270 for (const auto& winPair : windowMap_) {
276 std::shared_ptr<RSSurfaceNode> WindowImpl::GetSurfaceNode() const
281 Rect WindowImpl::GetRect() const
286 Rect WindowImpl::GetRequestRect() const
291 WindowType WindowImpl::GetType() const
296 WindowMode WindowImpl::GetMode() const
301 float WindowImpl::GetAlpha() const
306 WindowState WindowImpl::GetWindowState() const
323 bool WindowImpl::GetFocusable() const
340 bool WindowImpl::GetTouchable() const
345 const std::string& WindowImpl::GetWindowName() const
350 uint32_t WindowImpl::GetWindowId() const
355 uint64_t WindowImpl::GetDisplayId() const
360 uint32_t WindowImpl::GetWindowFlags() const
365 uint32_t WindowImpl::GetRequestModeSupportInfo() const
370 uint32_t WindowImpl::GetModeSupportInfo() const
375 bool WindowImpl::IsMainHandlerAvailable() const
380 SystemBarProperty WindowImpl::GetSystemBarPropertyByType(WindowType type) const
476 WMError WindowImpl::SetTransform(const Transform& trans)
498 const Transform& WindowImpl::GetTransform() const
503 const Transform& WindowImpl::GetZoomTransform() const
565 void WindowImpl::OnNewWant(const AAFwk::Want& want)
573 WMError WindowImpl::NapiSetUIContent(const std::string& contentInfo, napi_env env, napi_value storage,
582 const std::string& contentInfo, napi_env env, napi_value storage, AppExecFwk::Ability* ability)
589 const std::string& contentInfo, napi_env env, napi_value storage, AppExecFwk::Ability* ability)
595 WMError WindowImpl::SetUIContentInner(const std::string& contentInfo, napi_env env, napi_value storage,
700 std::shared_ptr<std::vector<uint8_t>> WindowImpl::GetAbcContent(const std::string& abcPath)
729 Ace::UIContent* WindowImpl::GetUIContent() const
734 Ace::UIContent* WindowImpl::GetUIContentWithId(uint32_t winId) const
753 WMError WindowImpl::SetRestoredRouterStack(const std::string& routerStack)
838 void WindowImpl::DumpInfo(const std::vector<std::string>& params, std::vector<std::string>& info)
853 WMError WindowImpl::SetSystemBarProperty(WindowType type, const SystemBarProperty& property)
876 WMError WindowImpl::SetSystemBarProperties(const std::map<WindowType, SystemBarProperty>& properties,
877 const std::map<WindowType, SystemBarPropertyFlag>& propertyFlags)
906 WMError WindowImpl::SetSpecificBarProperty(WindowType type, const SystemBarProperty& property)
1097 for (const auto& winPair : windowMap_) {
1116 for (const auto& winPair : windowMap_) {
1207 for (const auto& winPair : windowMap_) {
1273 for (const auto& winPair : windowMap_) {
1326 WMError WindowImpl::Create(uint32_t parentId, const std::shared_ptr<AbilityRuntime::Context>& context)
1384 bool WindowImpl::PreNotifyKeyEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent)
1405 std::shared_ptr<AppExecFwk::AbilityInfo> WindowImpl::GetOriginalAbilityInfo() const
1845 bool WindowImpl::IsKeepScreenOn() const
1865 bool WindowImpl::IsTurnScreenOn() const
1876 const bool isAlphaZero = !(color & 0xff000000);
1897 uint32_t WindowImpl::GetBackgroundColor() const
1910 WMError WindowImpl::SetBackgroundColor(const std::string& color)
1945 bool WindowImpl::IsTransparent() const
1978 float WindowImpl::GetBrightness() const
1992 void WindowImpl::RecordLifeCycleExceptionEvent(LifeCycleEvent event, WMError errCode) const
2015 std::string WindowImpl::TransferLifeCycleEventToString(LifeCycleEvent type) const
2048 bool WindowImpl::IsPrivacyMode() const
2125 bool WindowImpl::IsDecorEnable() const
2177 MaximizeMode WindowImpl::GetGlobalMaximizeMode() const
2192 const WindowType curWindowType = GetType();
2198 const WindowMode mode = GetMode();
2205 bool WindowImpl::GetImmersiveModeEnabledState() const
2319 WMError WindowImpl::RequestFocus() const
2327 void WindowImpl::SetInputEventConsumer(const std::shared_ptr<IInputEventConsumer>& inputEventConsumer)
2333 WMError WindowImpl::RegisterLifeCycleListener(const sptr<IWindowLifeCycle>& listener)
2340 WMError WindowImpl::UnregisterLifeCycleListener(const sptr<IWindowLifeCycle>& listener)
2347 WMError WindowImpl::RegisterWindowChangeListener(const sptr<IWindowChangeListener>& listener)
2354 WMError WindowImpl::UnregisterWindowChangeListener(const sptr<IWindowChangeListener>& listener)
2383 WMError WindowImpl::RegisterDragListener(const sptr<IWindowDragListener>& listener)
2390 WMError WindowImpl::UnregisterDragListener(const sptr<IWindowDragListener>& listener)
2411 void WindowImpl::RegisterWindowDestroyedListener(const NotifyNativeWinDestroyFunc& func)
2417 WMError WindowImpl::RegisterOccupiedAreaChangeListener(const sptr<IOccupiedAreaChangeListener>& listener)
2424 WMError WindowImpl::UnregisterOccupiedAreaChangeListener(const sptr<IOccupiedAreaChangeListener>& listener)
2431 WMError WindowImpl::RegisterTouchOutsideListener(const sptr<ITouchOutsideListener>& listener)
2438 WMError WindowImpl::UnregisterTouchOutsideListener(const sptr<ITouchOutsideListener>& listener)
2445 WMError WindowImpl::RegisterAnimationTransitionController(const sptr<IAnimationTransitionController>& listener)
2475 WMError WindowImpl::RegisterScreenshotListener(const sptr<IScreenshotListener>& listener)
2482 WMError WindowImpl::UnregisterScreenshotListener(const sptr<IScreenshotListener>& listener)
2489 WMError WindowImpl::RegisterDialogTargetTouchListener(const sptr<IDialogTargetTouchListener>& listener)
2496 WMError WindowImpl::UnregisterDialogTargetTouchListener(const sptr<IDialogTargetTouchListener>& listener)
2503 void WindowImpl::RegisterDialogDeathRecipientListener(const sptr<IDialogDeathRecipientListener>& listener)
2514 void WindowImpl::UnregisterDialogDeathRecipientListener(const sptr<IDialogDeathRecipientListener>& listener)
2522 WMError WindowImpl::RegisterListener(std::vector<sptr<T>>& holder, const sptr<T>& listener)
2537 WMError WindowImpl::UnregisterListener(std::vector<sptr<T>>& holder, const sptr<T>& listener)
2674 void WindowImpl::SetAceAbilityHandler(const sptr<IAceAbilityHandler>& handler)
2694 void WindowImpl::UpdateRect(const struct Rect& rect, bool decoStatus, WindowSizeChangeReason reason,
2695 const std::shared_ptr<RSTransaction>& rsTransaction)
2736 void WindowImpl::ScheduleUpdateRectTask(const Rect& rectToAce, const Rect& lastOriRect, WindowSizeChangeReason reason,
2737 const std::shared_ptr<RSTransaction>& rsTransaction, const sptr<class Display>& display)
2794 void WindowImpl::HandleBackKeyPressedEvent(const std::shared_ptr<MMI::KeyEvent>& keyEvent)
2933 void WindowImpl::UpdatePointerEventForStretchableWindow(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
2940 const Rect& originRect = property_->GetOriginRect();
2953 const auto& startRectExceptCorner = moveDragProperty_->startRectExceptCorner_;
2979 const auto& startPointRect = GetRect();
3049 void WindowImpl::ReadyToMoveOrDragWindow(const std::shared_ptr<MMI::PointerEvent>& pointerEvent,
3050 const MMI::PointerEvent::PointerItem& pointerItem)
3118 void WindowImpl::ConsumeMoveOrDragEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
3137 const auto& rect = GetRect();
3170 void WindowImpl::TransferPointerEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
3208 void WindowImpl::HandlePointerStyle(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
3263 void WindowImpl::PerfLauncherHotAreaIfNeed(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
3291 void WindowImpl::ConsumePointerEvent(const std::shared_ptr<MMI::PointerEvent>& pointerEvent)
3346 void WindowImpl::RequestVsync(const std::shared_ptr<VsyncCallback>& vsyncCallback)
3388 bool WindowImpl::IsFocused() const
3398 void WindowImpl::UpdateConfiguration(const std::shared_ptr<AppExecFwk::Configuration>& configuration)
3412 void WindowImpl::UpdateAvoidArea(const sptr<AvoidArea>& avoidArea, AvoidAreaType type)
3421 void WindowImpl::UpdateViewportConfig(const Rect& rect, const sptr<Display>& display, WindowSizeChangeReason reason,
3422 const std::shared_ptr<RSTransaction>& rsTransaction,
3423 const std::map<AvoidAreaType, AvoidArea>& avoidAreas)
3638 void WindowImpl::UpdateDragEvent(const PointInfo& point, DragEvent event)
3643 void WindowImpl::NotifyDragEvent(const PointInfo& point, DragEvent event)
3661 void WindowImpl::UpdateOccupiedAreaChangeInfo(const sptr<OccupiedAreaChangeInfo>& info,
3662 const std::shared_ptr<RSTransaction>& rsTransaction)
3740 void WindowImpl::TransformSurfaceNode(const Transform& trans)
3757 void WindowImpl::UpdateZoomTransform(const Transform& trans, bool isDisplayZoomOn)
3888 const std::shared_ptr<RSTransaction>& rsTransaction)
3898 void WindowImpl::NotifyAvoidAreaChange(const sptr<AvoidArea>& avoidArea, AvoidAreaType type)
3928 void WindowImpl::NotifyOccupiedAreaChange(const sptr<OccupiedAreaChangeInfo>& info,
3929 const std::shared_ptr<RSTransaction>& rsTransaction)
4032 bool WindowImpl::IsWindowValid() const
4041 bool WindowImpl::IsLayoutFullScreen() const
4050 bool WindowImpl::IsFullScreen() const
4084 WMError WindowImpl::SetTouchHotAreas(const std::vector<Rect>& rects)
4097 void WindowImpl::GetRequestedTouchHotAreas(std::vector<Rect>& rects) const
4102 WMError WindowImpl::SetAPPWindowLabel(const std::string& label)
4113 WMError WindowImpl::SetAPPWindowIcon(const std::shared_ptr<Media::PixelMap>& icon)