Lines Matching refs:property_
101 property_ = new (std::nothrow) WindowProperty(); in WindowImpl()
102 if (property_ == nullptr) { in WindowImpl()
114 property_->SetSystemBarProperty(it.first, it.second); in WindowImpl()
118 surfaceNode_ = CreateSurfaceNode(property_->GetWindowName(), option->GetWindowType()); in WindowImpl()
128 ++g_constructorCnt, property_->GetWindowName().c_str()); in WindowImpl()
137 property_->SetWindowName(option->GetWindowName()); in InitWindowProperty()
138 property_->SetRequestRect(option->GetWindowRect()); in InitWindowProperty()
139 property_->SetWindowType(option->GetWindowType()); in InitWindowProperty()
141 property_->SetWindowMode(WindowMode::WINDOW_MODE_FLOATING); in InitWindowProperty()
143 property_->SetWindowMode(option->GetWindowMode()); in InitWindowProperty()
145 property_->SetFullScreen(option->GetWindowMode() == WindowMode::WINDOW_MODE_FULLSCREEN); in InitWindowProperty()
146 property_->SetFocusable(option->GetFocusable()); in InitWindowProperty()
147 property_->SetTouchable(option->GetTouchable()); in InitWindowProperty()
148 property_->SetDisplayId(option->GetDisplayId()); in InitWindowProperty()
149 property_->SetCallingWindow(option->GetCallingWindow()); in InitWindowProperty()
150 property_->SetWindowFlags(option->GetWindowFlags()); in InitWindowProperty()
151 property_->SetHitOffset(option->GetHitOffset()); in InitWindowProperty()
152 property_->SetRequestedOrientation(option->GetRequestedOrientation()); in InitWindowProperty()
153 property_->SetTurnScreenOn(option->IsTurnScreenOn()); in InitWindowProperty()
154 property_->SetKeepScreenOn(option->IsKeepScreenOn()); in InitWindowProperty()
155 property_->SetBrightness(option->GetBrightness()); in InitWindowProperty()
316 return property_->GetWindowRect(); in GetRect()
321 return property_->GetRequestRect(); in GetRequestRect()
326 return property_->GetWindowType(); in GetType()
331 return property_->GetWindowMode(); in GetMode()
336 return property_->GetAlpha(); in GetAlpha()
349 property_->SetFocusable(isFocusable); in SetFocusable()
358 return property_->GetFocusable(); in GetFocusable()
366 property_->SetTouchable(isTouchable); in SetTouchable()
375 return property_->GetTouchable(); in GetTouchable()
385 return property_->GetWindowId(); in GetWindowId()
390 return property_->GetDisplayId(); in GetDisplayId()
395 return property_->GetWindowFlags(); in GetWindowFlags()
400 return property_->GetRequestWindowModeSupportType(); in GetRequestWindowModeSupportType()
405 return property_->GetWindowModeSupportType(); in GetWindowModeSupportType()
415 auto curProperties = property_->GetSystemBarProperty(); in GetSystemBarPropertyByType()
425 uint32_t windowId = property_->GetWindowId(); in GetAvoidAreaByType()
429 static_cast<int32_t>(ret), property_->GetWindowId(), static_cast<uint32_t>(type)); in GetAvoidAreaByType()
436 …WLOGFD("window id: %{public}u, type:%{public}u.", property_->GetWindowId(), static_cast<uint32_t>(… in SetWindowType()
450 property_->SetWindowType(type); in SetWindowType()
455 if (property_->GetWindowType() != type) { in SetWindowType()
463 … WLOGI("Window %{public}u mode %{public}u", property_->GetWindowId(), static_cast<uint32_t>(mode)); in SetWindowMode()
469 property_->GetWindowId(), static_cast<uint32_t>(mode)); in SetWindowMode()
475 WindowMode lastMode = property_->GetWindowMode(); in SetWindowMode()
476 property_->SetWindowMode(mode); in SetWindowMode()
480 property_->SetWindowMode(lastMode); in SetWindowMode()
486 if (property_->GetWindowMode() != mode) { in SetWindowMode()
487 WLOGFE("set window mode filed! id: %{public}u.", property_->GetWindowId()); in SetWindowMode()
495 WLOGI("Window %{public}u alpha %{public}f", property_->GetWindowId(), alpha); in SetAlpha()
503 property_->SetAlpha(alpha); in SetAlpha()
511 WLOGI("Window %{public}u", property_->GetWindowId()); in SetTransform()
515 Transform oriTrans = property_->GetTransform(); in SetTransform()
516 property_->SetTransform(trans); in SetTransform()
520 static_cast<int32_t>(ret), property_->GetWindowId()); in SetTransform()
521 property_->SetTransform(oriTrans); // reset to ori transform when update failed in SetTransform()
523 if (property_->IsDisplayZoomOn()) { in SetTransform()
524 TransformSurfaceNode(property_->GetZoomTransform()); in SetTransform()
533 return property_->GetTransform(); in GetTransform()
538 return property_->GetZoomTransform(); in GetZoomTransform()
547 …WLOGFE("Only support add show when locked when window create, id: %{public}u", property_->GetWindo… in AddWindowFlag()
554 uint32_t updateFlags = property_->GetWindowFlags() | (static_cast<uint32_t>(flag)); in AddWindowFlag()
564 …WLOGFE("Only support remove show when locked when window create, id: %{public}u", property_->GetWi… in RemoveWindowFlag()
571 uint32_t updateFlags = property_->GetWindowFlags() & (~(static_cast<uint32_t>(flag))); in RemoveWindowFlag()
577 WLOGI("Window %{public}u flags %{public}u", property_->GetWindowId(), flags); in SetWindowFlags()
581 if (property_->GetWindowFlags() == flags) { in SetWindowFlags()
584 auto oriFlags = property_->GetWindowFlags(); in SetWindowFlags()
585 property_->SetWindowFlags(flags); in SetWindowFlags()
592 static_cast<int32_t>(ret), property_->GetWindowId()); in SetWindowFlags()
593 property_->SetWindowFlags(oriFlags); in SetWindowFlags()
600 WLOGI("Window [name:%{public}s, id:%{public}u]", name_.c_str(), property_->GetWindowId()); in OnNewWant()
647 WLOGFE("fail to NapiSetUIContent id: %{public}u", property_->GetWindowId()); in SetUIContentInner()
696 SingletonContainer::Get<DisplayManager>().GetDisplayById(property_->GetDisplayId()); in SetUIContentInner()
698 …"get display failed displayId:%{public}" PRIu64", window id:%{public}u", property_->GetDisplayId(), in SetUIContentInner()
699 property_->GetWindowId()); in SetUIContentInner()
724 SingletonContainer::Get<DisplayManager>().GetDisplayById(property_->GetDisplayId()); in GetVirtualPixelRatio()
727 property_->GetDisplayId(), property_->GetWindowId()); in GetVirtualPixelRatio()
780 WLOGFE("fail to GetContentInfo id: %{public}u", property_->GetWindowId()); in GetContentInfo()
861 pixelMap = SingletonContainer::Get<WindowAdapter>().GetSnapshot(property_->GetWindowId()); in Snapshot()
889 property_->GetWindowId(), static_cast<uint32_t>(type), property.enable_, in SetSystemBarProperty()
897 property_->SetSystemBarProperty(type, property); in SetSystemBarProperty()
904 static_cast<int32_t>(ret), property_->GetWindowId()); in SetSystemBarProperty()
930 if (property_ != nullptr) { in GetSystemBarProperties()
948 static_cast<int32_t>(WMError::WM_ERROR_INVALID_WINDOW), property_->GetWindowId()); in UpdateSystemBarProperty()
967 property_->SetSystemBarProperty(WindowType::WINDOW_TYPE_STATUS_BAR, statusProperty); in UpdateSystemBarProperty()
970 property_->SetSystemBarProperty(WindowType::WINDOW_TYPE_NAVIGATION_BAR, naviProperty); in UpdateSystemBarProperty()
979 static_cast<int32_t>(ret), property_->GetWindowId()); in UpdateSystemBarProperty()
986 WLOGI("Window %{public}u status: %{public}u", property_->GetWindowId(), status); in SetLayoutFullScreen()
989 …WLOGFE("invalid window or fullscreen mode is not be supported, winId:%{public}u", property_->GetWi… in SetLayoutFullScreen()
1000 static_cast<int32_t>(ret), property_->GetWindowId()); in SetLayoutFullScreen()
1015 static_cast<int32_t>(ret), property_->GetWindowId()); in SetLayoutFullScreen()
1022 static_cast<int32_t>(ret), property_->GetWindowId()); in SetLayoutFullScreen()
1033 WLOGI("Window %{public}u status: %{public}d", property_->GetWindowId(), status); in SetFullScreen()
1036 …WLOGFE("invalid window or fullscreen mode is not be supported, winId:%{public}u", property_->GetWi… in SetFullScreen()
1042 static_cast<int32_t>(ret), property_->GetWindowId()); in SetFullScreen()
1047 static_cast<int32_t>(ret), property_->GetWindowId()); in SetFullScreen()
1054 … WLOGFI("id:%{public}d SetFloatingMaximize status: %{public}d", property_->GetWindowId(), isEnter); in SetFloatingMaximize()
1057 …WLOGFE("invalid window or maximize mode is not be supported, winId:%{public}u", property_->GetWind… in SetFloatingMaximize()
1064 property_->SetMaximizeMode(MaximizeMode::MODE_FULL_FILL); in SetFloatingMaximize()
1070 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in SetFloatingMaximize()
1074 …property_->SetMaximizeMode(isEnter ? MaximizeMode::MODE_AVOID_SYSTEM_BAR : MaximizeMode::MODE_RECO… in SetFloatingMaximize()
1075 property_->SetWindowSizeChangeReason(WindowSizeChangeReason::RESIZE); in SetFloatingMaximize()
1090 property_->SetAspectRatio(ratio); in SetAspectRatio()
1092 …WLOGFD("window is hidden or created! id: %{public}u, ratio: %{public}f ", property_->GetWindowId()… in SetAspectRatio()
1114 property_->SetAspectRatio(0.0); in ResetAspectRatio()
1116 WLOGFD("window is hidden or created! id: %{public}u", property_->GetWindowId()); in ResetAspectRatio()
1163 return SingletonContainer::Get<WindowAdapter>().UpdateProperty(property_, action); in UpdateProperty()
1170 WLOGFE("id:%{public}u is not ability Window", property_->GetWindowId()); in GetConfigurationFromAbilityInfo()
1175 WLOGFE("id:%{public}u Ability window get ability info failed", property_->GetWindowId()); in GetConfigurationFromAbilityInfo()
1196 property_->SetSizeLimits(sizeLimits); in GetConfigurationFromAbilityInfo()
1203 WLOGFE("id:%{public}u Do not support this Orientation type", property_->GetWindowId()); in GetConfigurationFromAbilityInfo()
1211 property_->SetRequestedOrientation(orientation); in GetConfigurationFromAbilityInfo()
1259 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in SetSystemConfig()
1261 property_->SetDecorEnable(windowSystemConfig_.isSystemDecorEnable_); in SetSystemConfig()
1263 property_->SetStretchable(windowSystemConfig_.isStretchable_); in SetSystemConfig()
1265 if (property_->GetWindowMode() == WindowMode::WINDOW_MODE_UNDEFINED) { in SetSystemConfig()
1267 property_->SetWindowMode(windowSystemConfig_.defaultWindowMode_); in SetSystemConfig()
1269 if (property_->GetLastWindowMode() == WindowMode::WINDOW_MODE_UNDEFINED) { in SetSystemConfig()
1270 property_->SetLastWindowMode(windowSystemConfig_.defaultWindowMode_); in SetSystemConfig()
1291 if (CheckCameraFloatingWindowMultiCreated(property_->GetWindowType())) { in WindowCreateCheck()
1296 if (WindowHelper::IsSystemSubWindow(property_->GetWindowType()) || in WindowCreateCheck()
1297 WindowHelper::IsSubWindow(property_->GetWindowType())) { in WindowCreateCheck()
1303 if (property_->GetWindowType() == WindowType::WINDOW_TYPE_APP_COMPONENT) { in WindowCreateCheck()
1304 property_->SetParentId(parentId); in WindowCreateCheck()
1309 property_->SetParentId(parentId); in WindowCreateCheck()
1314 if (WindowHelper::IsSystemSubWindow(property_->GetWindowType())) { in WindowCreateCheck()
1323 if (property_->GetParentId() != parentId) { in WindowCreateCheck()
1339 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in ChangePropertyByApiVersion()
1342 … property_->SetSystemBarProperty(WindowType::WINDOW_TYPE_STATUS_BAR, statusSystemBarProperty); in ChangePropertyByApiVersion()
1343 …property_->SetSystemBarProperty(WindowType::WINDOW_TYPE_NAVIGATION_BAR, navigationSystemBarPropert… in ChangePropertyByApiVersion()
1350 auto displayId = property_->GetDisplayId(); in SetDefaultDisplayIdIfNeed()
1355 property_->SetDisplayId(defaultDisplayId); in SetDefaultDisplayIdIfNeed()
1375 property_->SetTokenState(true); in Create()
1381 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in Create()
1383 } else if (property_->GetWindowMode() == WindowMode::WINDOW_MODE_UNDEFINED) { in Create()
1384 property_->SetWindowMode(WindowMode::WINDOW_MODE_FULLSCREEN); in Create()
1387 if (property_->GetWindowType() == WindowType::WINDOW_TYPE_VOLUME_OVERLAY && surfaceNode_) { in Create()
1391 … ret = SingletonContainer::Get<WindowAdapter>().CreateWindow(windowAgent, property_, surfaceNode_, in Create()
1398 property_->SetWindowId(windowId); in Create()
1405 subWindowMap_[property_->GetParentId()].push_back(window); in Create()
1436 property_->SetAbilityInfo(info); in InitAbilityInfo()
1460 uint32_t windowId = property_->GetWindowId(); in BindDialogTarget()
1531 if (subWindowMap_.count(property_->GetParentId()) > 0) { // remove from subWindowMap_ in DestroySubWindow()
1532 auto& subWindows = subWindowMap_.at(property_->GetParentId()); in DestroySubWindow()
1577 WLOGI("Window %{public}u Destroy", property_->GetWindowId()); in Destroy()
1586 ret = SingletonContainer::Get<WindowAdapter>().DestroyWindow(property_->GetWindowId()); in Destroy()
1599 InputTransferStation::GetInstance().RemoveInputWindow(property_->GetWindowId()); in Destroy()
1618 if (!WindowHelper::IsMainWindow(property_->GetWindowType())) { in NeedToStopShowing()
1627 property_->GetWindowId(), GetWindowModeSupportType(), GetMode()); in NeedToStopShowing()
1636 property_->GetWindowId(), isAdd); in UpdateSurfaceNodeAfterCustomAnimation()
1640 if (!WindowHelper::IsSystemWindow(property_->GetWindowType())) { in UpdateSurfaceNodeAfterCustomAnimation()
1651 ret = SingletonContainer::Get<WindowAdapter>().UpdateRsTree(property_->GetWindowId(), isAdd); in UpdateSurfaceNodeAfterCustomAnimation()
1663 WindowType winType = property_->GetWindowType(); in AdjustWindowAnimationFlag()
1667 property_->SetAnimationFlag(static_cast<uint32_t>(WindowAnimation::CUSTOM)); in AdjustWindowAnimationFlag()
1670 property_->SetAnimationFlag(static_cast<uint32_t>(WindowAnimation::DEFAULT)); in AdjustWindowAnimationFlag()
1672 property_->SetAnimationFlag(static_cast<uint32_t>(WindowAnimation::INPUTE)); in AdjustWindowAnimationFlag()
1675 property_->SetAnimationFlag(static_cast<uint32_t>(WindowAnimation::NONE)); in AdjustWindowAnimationFlag()
1682 … WLOGFE("window is frozen, can not be shown, windowId: %{public}u", property_->GetWindowId()); in PreProcessShow()
1702 …"withAnimation:%{public}d", name_.c_str(), property_->GetWindowId(), GetMode(), reason, withAnimat… in Show()
1714 if (property_->GetWindowType() == WindowType::WINDOW_TYPE_DESKTOP) { in Show()
1715 … SingletonContainer::Get<WindowAdapter>().MinimizeAllAppWindows(property_->GetDisplayId()); in Show()
1717 WLOGI("window is already shown id: %{public}u", property_->GetWindowId()); in Show()
1718 … SingletonContainer::Get<WindowAdapter>().ProcessPointDown(property_->GetWindowId(), false); in Show()
1721 sptr<Window> parent = FindWindowById(property_->GetParentId()); in Show()
1737 ret = SingletonContainer::Get<WindowAdapter>().AddWindow(property_); in Show()
1743 …WLOGFE("show window id:%{public}u errCode:%{public}d", property_->GetWindowId(), static_cast<int32… in Show()
1746 if (property_->GetRequestedOrientation() == Orientation::HORIZONTAL in Show()
1747 || property_->GetRequestedOrientation() == Orientation::REVERSE_HORIZONTAL) { in Show()
1757 property_->GetWindowId(), reason, withAnimation); in Hide()
1770 WLOGI("already hidden, id: %{public}u", property_->GetWindowId()); in Hide()
1775 if (WindowHelper::IsSystemWindow(property_->GetWindowType())) { in Hide()
1784 …ret = SingletonContainer::Get<WindowAdapter>().RemoveWindow(property_->GetWindowId(), isFromInnerk… in Hide()
1787 …WLOGFE("hide errCode:%{public}d for winId:%{public}u", static_cast<int32_t>(ret), property_->GetWi… in Hide()
1791 uint32_t animationFlag = property_->GetAnimationFlag(); in Hide()
1803 property_->GetWindowId(), x, y); in MoveTo()
1809 GetRect() : property_->GetRequestRect(); in MoveTo()
1811 property_->SetRequestRect(moveRect); in MoveTo()
1817 … "movePos: [%{public}d, %{public}d]", property_->GetWindowId(), rect.posX_, rect.posY_, x, y); in MoveTo()
1826 property_->SetWindowSizeChangeReason(WindowSizeChangeReason::MOVE); in MoveTo()
1833 property_->GetWindowId(), width, height); in Resize()
1839 GetRect() : property_->GetRequestRect(); in Resize()
1841 property_->SetRequestRect(resizeRect); in Resize()
1842 property_->SetDecoStatus(false); in Resize()
1848 "resizeRect: [%{public}u, %{public}u]", property_->GetWindowId(), rect.width_, in Resize()
1858 property_->SetWindowSizeChangeReason(WindowSizeChangeReason::RESIZE); in Resize()
1865 property_->GetWindowId(), gravity, percent); in SetWindowGravity()
1867 …return SingletonContainer::Get<WindowAdapter>().SetWindowGravity(property_->GetWindowId(), gravity… in SetWindowGravity()
1875 property_->SetKeepScreenOn(keepScreenOn); in SetKeepScreenOn()
1887 return property_->IsKeepScreenOn(); in IsKeepScreenOn()
1895 property_->SetTurnScreenOn(turnScreenOn); in SetTurnScreenOn()
1907 return property_->IsTurnScreenOn(); in IsTurnScreenOn()
1914 auto abilityInfo = property_->GetAbilityInfo(); in SetBackgroundColor()
1915 if (isAlphaZero && WindowHelper::IsMainWindow(property_->GetWindowType())) { in SetBackgroundColor()
2008 property_->SetBrightness(brightness); in SetBrightness()
2017 return property_->GetBrightness(); in GetBrightness()
2025 property_->SetCallingWindow(windowId); in SetCallingWindow()
2081 property_->SetPrivacyMode(isPrivacyMode); in SetPrivacyMode()
2090 return property_->GetPrivacyMode(); in IsPrivacyMode()
2096 property_->SetSystemPrivacyMode(isSystemPrivacyMode); in SetSystemPrivacyMode()
2109 property_->SetSnapshotSkip(isSkip); in SetSnapshotSkip()
2112 GetWindowId(), isSkip, property_->GetSystemPrivacyMode(), ret); in SetSnapshotSkip()
2124 auto parentId = property_->GetParentId(); in RaiseToAppTop()
2130 if (!WindowHelper::IsSubWindow(property_->GetWindowType())) { in RaiseToAppTop()
2152 if (!WindowHelper::IsMainWindow(property_->GetWindowType())) { in DisableAppWindowDecor()
2165 WindowHelper::IsMainWindow(property_->GetWindowType()); in IsDecorEnable()
2172 WLOGI("id: %{public}u Maximize", property_->GetWindowId()); in Maximize()
2176 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in Maximize()
2186 WLOGI("id: %{public}u MaximizeFloating", property_->GetWindowId()); in MaximizeFloating()
2190 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in MaximizeFloating()
2200 WLOGI("id: %{public}u SetGlobalMaximizeMode: %{public}u", property_->GetWindowId(), in SetGlobalMaximizeMode()
2205 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in SetGlobalMaximizeMode()
2222 property_->GetWindowId(), static_cast<uint32_t>(enable)); in SetImmersiveModeEnabledState()
2226 property_->GetWindowId()); in SetImmersiveModeEnabledState()
2260 WLOGFE("id:%{public}d is not ability Window", property_->GetWindowId()); in NotifyWindowTransition()
2269 fromInfo->SetWindowMode(property_->GetWindowMode()); in NotifyWindowTransition()
2270 fromInfo->SetWindowRect(property_->GetWindowRect()); in NotifyWindowTransition()
2272 fromInfo->SetWindowType(property_->GetWindowType()); in NotifyWindowTransition()
2273 fromInfo->SetDisplayId(property_->GetDisplayId()); in NotifyWindowTransition()
2280 WLOGI("id: %{public}u Minimize", property_->GetWindowId()); in Minimize()
2284 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in Minimize()
2300 WLOGI("id: %{public}u Normalize", property_->GetWindowId()); in Recover()
2304 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in Recover()
2305 if (property_->GetWindowMode() == WindowMode::WINDOW_MODE_FLOATING && in Recover()
2306 property_->GetMaximizeMode() == MaximizeMode::MODE_AVOID_SYSTEM_BAR) { in Recover()
2317 WLOGI("id: %{public}u Close", property_->GetWindowId()); in Close()
2321 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in Close()
2361 return SingletonContainer::Get<WindowAdapter>().RequestFocus(property_->GetWindowId()); in RequestFocus()
2404 … SingletonContainer::Get<WindowAdapter>().UpdateAvoidAreaListener(property_->GetWindowId(), true); in RegisterAvoidAreaChangeListener()
2415 … SingletonContainer::Get<WindowAdapter>().UpdateAvoidAreaListener(property_->GetWindowId(), false); in UnregisterAvoidAreaChangeListener()
2493 wptr<WindowProperty> propertyToken(property_); in RegisterAnimationTransitionController()
2722 property_->SetRequestWindowModeSupportType(windowModeSupportType); in SetRequestWindowModeSupportType()
2728 property_->SetWindowModeSupportType(windowModeSupportType); in SetWindowModeSupportType()
2739 SingletonContainer::Get<DisplayManager>().GetDisplayById(property_->GetDisplayId()); in UpdateRect()
2741 …WLOGFE("get display failed displayId:%{public}" PRIu64", window id:%{public}u", property_->GetDisp… in UpdateRect()
2742 property_->GetWindowId()); in UpdateRect()
2745 Rect lastOriRect = property_->GetWindowRect(); in UpdateRect()
2747 property_->SetDecoStatus(decoStatus); in UpdateRect()
2749 property_->SetRequestRect(rect); in UpdateRect()
2752 property_->SetWindowRect(rect); in UpdateRect()
2756 property_->SetOriginRect(rect); in UpdateRect()
2760 property_->GetWindowId(), rect.posX_, rect.posY_, rect.width_, rect.height_, reason); in UpdateRect()
2765 rectToAce = property_->GetOriginRect(); in UpdateRect()
2767 property_->SetOriginRect(rect); in UpdateRect()
2818 property_->SetWindowMode(mode); in UpdateMode()
2864 if (!WindowHelper::IsMainWindow(window->property_->GetWindowType())) { in PerformBack()
2878 window->property_->GetWindowId(), needMoveToBackground); in PerformBack()
2882 …bool shouldTerminateAbility = WindowHelper::IsFullScreenWindow(window->property_->GetWindowMode()); in PerformBack()
2889 window->property_->GetWindowId(), static_cast<uint32_t>(shouldTerminateAbility)); in PerformBack()
2917 property_->GetMaximizeMode() == MaximizeMode::MODE_FULL_FILL && in ConsumeKeyEvent()
2948 …auto res = SingletonContainer::Get<WindowAdapter>().GetModeChangeHotZones(property_->GetDisplayId(… in HandleModeChangeHotZones()
2975 const Rect& originRect = property_->GetOriginRect(); in UpdatePointerEventForStretchableWindow()
3009 if (property_->isNeedComputerTransform()) { in CalculateStartRectExceptHotZone()
3010 property_->ComputeTransform(); in CalculateStartRectExceptHotZone()
3011 hotZoneScale = WindowHelper::CalculateHotZoneScale(property_->GetTransformMat()); in CalculateStartRectExceptHotZone()
3068 SingletonContainer::Get<WindowAdapter>().NotifyServerReadyToMoveOrDrag(property_->GetWindowId(), in StartMove()
3069 property_, moveDragProperty_); in StartMove()
3081 UpdateRect(GetRect(), property_->GetDecoStatus(), WindowSizeChangeReason::DRAG_END); in ResetMoveOrDragState()
3104 moveDragProperty_->targetDisplayId_, property_->GetWindowId()); in ReadyToMoveOrDragWindow()
3110 moveDragProperty_->targetDisplayId_, property_->GetWindowId()); in ReadyToMoveOrDragWindow()
3121 … SingletonContainer::Get<WindowAdapter>().NotifyServerReadyToMoveOrDrag(property_->GetWindowId(), in ReadyToMoveOrDragWindow()
3122 property_, moveDragProperty_); in ReadyToMoveOrDragWindow()
3124 && property_->GetMaximizeMode() != MaximizeMode::MODE_AVOID_SYSTEM_BAR) { in ReadyToMoveOrDragWindow()
3127 … SingletonContainer::Get<WindowAdapter>().NotifyServerReadyToMoveOrDrag(property_->GetWindowId(), in ReadyToMoveOrDragWindow()
3128 property_, moveDragProperty_); in ReadyToMoveOrDragWindow()
3263 property_->GetDisplayId(), property_->GetWindowId()); in HandlePointerStyle()
3269 property_->GetMaximizeMode() != MaximizeMode::MODE_AVOID_SYSTEM_BAR) { in HandlePointerStyle()
3312 SingletonContainer::Get<DisplayManager>().GetDisplayById(property_->GetDisplayId()); in PerfLauncherHotAreaIfNeed()
3329 if (property_) { in ConsumePointerEvent()
3330 property_->UpdatePointerEvent(pointerEvent); in ConsumePointerEvent()
3361 if (property_ != nullptr) { in ConsumePointerEvent()
3362 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(property_->GetWindowId()); in ConsumePointerEvent()
3410 WLOGFD("IsFocused: %{public}d, id: %{public}u", focused, property_->GetWindowId()); in UpdateFocusStatus()
3419 "BUNDLE_NAME", property_->GetAbilityInfo().bundleName_); in UpdateFocusStatus()
3456 WLOGI("Update AvoidArea, id: %{public}u", property_->GetWindowId()); in UpdateAvoidArea()
3458 SingletonContainer::Get<DisplayManager>().GetDisplayById(property_->GetDisplayId()); in UpdateAvoidArea()
3483 property_->GetWindowId(), rect.posX_, rect.posY_, rect.width_, rect.height_); in UpdateViewportConfig()
3489 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in UpdateDecorEnable()
3493 property_->SetDecorEnable(enable); in UpdateDecorEnable()
3495 property_->SetDecorEnable(false); in UpdateDecorEnable()
3499 uiContent_->UpdateWindowMode(GetMode(), property_->GetDecorEnable()); in UpdateDecorEnable()
3502 NotifyModeChange(GetMode(), property_->GetDecorEnable()); in UpdateDecorEnable()
3574 if (WindowHelper::IsMainWindow(property_->GetWindowType()) || in UpdateWindowStateWhenShow()
3575 WindowHelper::IsSystemMainWindow(property_->GetWindowType())) { in UpdateWindowStateWhenShow()
3583 uint32_t parentId = property_->GetParentId(); in UpdateWindowStateWhenShow()
3606 if (WindowHelper::IsSystemMainWindow(property_->GetWindowType()) || in UpdateWindowStateWhenHide()
3607 WindowHelper::IsMainWindow(property_->GetWindowType())) { in UpdateWindowStateWhenHide()
3615 uint32_t parentId = property_->GetParentId(); in UpdateWindowStateWhenHide()
3666 return property_; in GetWindowProperty()
3700 property_->SetDisplayId(to); in UpdateDisplayId()
3706 WLOGFD("Update OccupiedArea, id: %{public}u", property_->GetWindowId()); in UpdateOccupiedAreaChangeInfo()
3712 WLOGFD("window active status: %{public}d, id: %{public}u", isActive, property_->GetWindowId()); in UpdateActiveStatus()
3742 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(property_->GetWindowId()); in NotifyTouchDialogTarget()
3803 …"rotateZ:%{public}f", property_->GetWindowName().c_str(), trans.pivotX_, trans.pivotY_, trans.scal… in UpdateZoomTransform()
3806 property_->SetZoomTransform(trans); in UpdateZoomTransform()
3807 property_->SetDisplayZoomState(isDisplayZoomOn); in UpdateZoomTransform()
3989 SingletonContainer::Get<DisplayManager>().GetDisplayById(property_->GetDisplayId()); in GetSystemAlarmWindowDefaultSize()
3991 …WLOGFE("get display failed displayId:%{public}" PRIu64", window id:%{public}u", property_->GetDisp… in GetSystemAlarmWindowDefaultSize()
3992 property_->GetWindowId()); in GetSystemAlarmWindowDefaultSize()
3998 width, height, property_->GetDisplayId()); in GetSystemAlarmWindowDefaultSize()
4011 switch (property_->GetWindowType()) { in SetDefaultOption()
4017 property_->SetWindowMode(WindowMode::WINDOW_MODE_FLOATING); in SetDefaultOption()
4018 property_->SetFocusable(false); in SetDefaultOption()
4022 property_->SetRequestRect(GetSystemAlarmWindowDefaultSize(property_->GetRequestRect())); in SetDefaultOption()
4023 property_->SetWindowMode(WindowMode::WINDOW_MODE_FLOATING); in SetDefaultOption()
4028 property_->SetWindowMode(WindowMode::WINDOW_MODE_FULLSCREEN); in SetDefaultOption()
4032 property_->SetWindowFlags(0); in SetDefaultOption()
4036 property_->SetWindowMode(WindowMode::WINDOW_MODE_FLOATING); in SetDefaultOption()
4037 property_->SetAnimationFlag(static_cast<uint32_t>(WindowAnimation::NONE)); in SetDefaultOption()
4050 property_->SetWindowMode(WindowMode::WINDOW_MODE_FLOATING); in SetDefaultOption()
4055 property_->SetFocusable(false); in SetDefaultOption()
4059 property_->SetWindowMode(WindowMode::WINDOW_MODE_FLOATING); in SetDefaultOption()
4060 property_->SetFocusable(false); in SetDefaultOption()
4064 property_->SetWindowMode(WindowMode::WINDOW_MODE_FLOATING); in SetDefaultOption()
4065 property_->SetTouchable(false); in SetDefaultOption()
4066 property_->SetFocusable(false); in SetDefaultOption()
4108 if (property_->GetRequestedOrientation() == orientation) { in SetRequestedOrientation()
4111 property_->SetRequestedOrientation(orientation); in SetRequestedOrientation()
4123 return property_->GetRequestedOrientation(); in GetRequestedOrientation()
4129 property_->GetTouchHotAreas(lastTouchHotAreas); in SetTouchHotAreas()
4131 property_->SetTouchHotAreas(rects); in SetTouchHotAreas()
4134 property_->SetTouchHotAreas(lastTouchHotAreas); in SetTouchHotAreas()
4141 property_->GetTouchHotAreas(rects); in GetRequestedTouchHotAreas()
4182 property_->SetAccessTokenId(accessTokenId); in CheckCameraFloatingWindowMultiCreated()
4299 SingletonContainer::Get<DisplayManager>().GetDisplayById(property_->GetDisplayId()); in SetBackdropBlurStyle()
4301 …"get display failed displayId:%{public}" PRIu64", window id:%{public}u", property_->GetDisplayId(), in SetBackdropBlurStyle()
4302 property_->GetWindowId()); in SetBackdropBlurStyle()
4314 WLOGFD("id: %{public}u, notify memory level: %{public}d", property_->GetWindowId(), level); in NotifyMemoryLevel()
4327 auto windowType = property_->GetWindowType(); in IsAllowHaveSystemSubWindow()
4344 property_->SetTextFieldPositionY(textFieldPositionY); in SetTextFieldAvoidInfo()
4345 property_->SetTextFieldHeight(textFieldHeight); in SetTextFieldAvoidInfo()