/ohos5.0/foundation/window/window_manager/wmserver/src/ |
H A D | window_node_container.cpp | 124 WindowType windowType = windowNode->GetWindowType(); in GetMainFloatingWindowCount() 138 sptr<WindowNode> root = FindRoot(node->GetWindowType()); in AddWindowNodeOnWindowTree() 224 if (WindowHelper::IsMainWindow(node->GetWindowType()) && in LayoutWhenAddWindowNode() 284 if (WindowHelper::IsMainWindow(node->GetWindowType())) { in AddWindowNode() 304 if (WindowHelper::IsMainWindow(node->GetWindowType())) { in AddWindowNode() 450 if (WindowHelper::IsMainWindow(node->GetWindowType())) { in RemoveWindowNode() 620 auto type = node->GetWindowType(); in HandleRemoveWindow() 654 if (WindowHelper::IsMainWindow(node->GetWindowType())) { in DestroyWindowNode() 804 if (IsWindowFollowParent(node->GetWindowType())) { in AddNodeOnRSTree() 868 if (IsWindowFollowParent(node->GetWindowType())) { in RemoveNodeFromRSTree() [all …]
|
H A D | window_root.cpp | 261 if (WindowHelper::IsMainWindow(node->GetWindowType())) { in SaveWindow() 276 if (WindowHelper::IsMainWindow(node->GetWindowType())) { in SaveWindow() 616 if (WindowHelper::IsSubWindow(node->GetWindowType())) { in PostProcessAddWindowNode() 635 if (!WindowHelper::IsSystemBarWindow(node->GetWindowType())) { in PostProcessAddWindowNode() 648 node->GetWindowType(), WindowHelper::IsMainWindow(node->GetWindowType())); in PostProcessAddWindowNode() 677 if (!WindowHelper::IsMainWindow(node->GetWindowType())) { in CheckAddingModeAndSize() 781 if (node->GetWindowType() != WindowType::WINDOW_TYPE_DIALOG) { in BindDialogToParent() 976 if (!WindowHelper::IsAppWindow(node->GetWindowType())) { in SetBrightness() 1303 if (WindowHelper::IsSystemBarWindow(node->GetWindowType())) { in RequestActiveWindow() 1315 node->GetWindowType(), WindowHelper::IsMainWindow(node->GetWindowType())); in RequestActiveWindow() [all …]
|
H A D | window_controller.cpp | 211 focusInfo.windowType_ = windowNode->GetWindowType(); in GetFocusWindowInfo() 219 if (WindowHelper::IsSubWindow(property->GetWindowType())) { in CheckParentWindowValid() 292 node->stateMachine_.SetWindowType(property->GetWindowType()); in CreateWindow() 306 if ((iter->GetWindowType() == WindowType::WINDOW_TYPE_DIALOG) && in NotifyAfterAddWindow() 349 if (WindowHelper::IsSystemBarWindow(node->GetWindowType())) { in AddWindowNode() 350 sysBarWinId_[node->GetWindowType()] = node->GetWindowId(); in AddWindowNode() 359 if (WindowHelper::IsMainWindow(node->GetWindowType())) { in AddWindowNode() 364 } else if (WindowHelper::IsMainWindow(node->GetWindowType())) { in AddWindowNode() 660 if (node->GetWindowType() == WindowType::WINDOW_TYPE_DIALOG) { in DestroyWindow() 694 if (WindowHelper::IsSystemBarWindow(node->GetWindowType())) { in ResizeRect() [all …]
|
H A D | window_pair.cpp | 208 primary_->GetWindowType() != WindowType::WINDOW_TYPE_LAUNCHER_RECENT) { in Clear() 225 secondary_->GetWindowType() != WindowType::WINDOW_TYPE_LAUNCHER_RECENT) { in Clear() 250 (node->GetWindowType() == WindowType::WINDOW_TYPE_DOCK_SLICE); in IsSplitRelated() 258 if (child->GetWindowType() == WindowType::WINDOW_TYPE_DIALOG) { in CheckOrderedPairZorder() 268 if (child->GetWindowType() == WindowType::WINDOW_TYPE_DIALOG) { in CheckOrderedPairZorder() 277 node->GetWindowType() == WindowType::WINDOW_TYPE_DOCK_SLICE) { in CheckOrderedPairZorder() 370 if ((node->GetWindowType() == WindowType::WINDOW_TYPE_PLACEHOLDER) && in UpdateIfSplitRelated() 379 if (node->GetWindowType() == WindowType::WINDOW_TYPE_LAUNCHER_RECENT && node->IsSplitMode() && in UpdateIfSplitRelated() 506 } else if (node->GetWindowType() == WindowType::WINDOW_TYPE_DOCK_SLICE) { in Insert() 652 if (primary_->GetWindowType() == WindowType::WINDOW_TYPE_LAUNCHER_RECENT || in IsDuringSplit() [all …]
|
H A D | avoid_area_controller.cpp | 74 if (!WindowHelper::IsOverlayWindow(overlayNode->GetWindowType()) || in AddOrRemoveOverlayWindowIfNeed() 94 if (overlayNode->GetWindowType() == WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT) { in AddOrRemoveOverlayWindowIfNeed() 162 if (WindowHelper::IsOverlayWindow(node->GetWindowType()) && in UpdateOverlayWindowIfNeed() 164 AvoidAreaType type = WindowHelper::IsSystemBarWindow(node->GetWindowType()) ? in UpdateOverlayWindowIfNeed() 340 if (iter.second->GetWindowType() == WindowType::WINDOW_TYPE_STATUS_BAR) { in GetAvoidAreaSystemType() 343 if (iter.second->GetWindowType() == WindowType::WINDOW_TYPE_NAVIGATION_BAR) { in GetAvoidAreaSystemType() 357 iter.second->GetWindowType() == WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT) { in GetAvoidAreaKeyboardType()
|
H A D | window_layout_policy.cpp | 356 if (WindowHelper::IsSystemBarWindow(node->GetWindowType())) { in LayoutWindowNode() 376 auto type = node->GetWindowType(); in NotifyClientAndAnimation() 409 if (node->GetWindowType() == WindowType::WINDOW_TYPE_DOCK_SLICE) { in CalcEntireWindowHotZone() 417 } else if (node->GetWindowType() == WindowType::WINDOW_TYPE_LAUNCHER_RECENT) { in CalcEntireWindowHotZone() 470 if (node->GetWindowType() == WindowType::WINDOW_TYPE_FLOAT_CAMERA) { in GetSystemSizeLimits() 570 if (node->GetWindowType() == WindowType::WINDOW_TYPE_STATUS_BAR || in UpdateDisplayLimitRect() 571 node->GetWindowType() == WindowType::WINDOW_TYPE_NAVIGATION_BAR) { in UpdateDisplayLimitRect() 609 if (node->GetWindowType() == WindowType::WINDOW_TYPE_LAUNCHER_RECENT && in IsFullScreenRecentWindowExist() 649 if (node->GetWindowType() == WindowType::WINDOW_TYPE_APP_COMPONENT || in SetBounds() 761 if (!WindowHelper::IsMainWindow(node->GetWindowType())) { in GetStoragedAspectRatio() [all …]
|
H A D | window_layout_policy_cascade.cpp | 172 const auto& windowType = node->GetWindowType(); in PerformWindowLayout() 318 if (!WindowHelper::IsMainFloatingWindow(node->GetWindowType(), node->GetWindowMode()) || in ComputeRectByAspectRatio() 416 if (node->GetWindowType() == WindowType::WINDOW_TYPE_DOCK_SLICE && in ApplyWindowRectConstraints() 467 if (node->GetWindowType() == WindowType::WINDOW_TYPE_APP_COMPONENT) { in UpdateLayoutRect() 582 if ((*iter)->GetWindowType() == WindowType::WINDOW_TYPE_APP_MAIN_WINDOW && in GetCurCascadeRect() 640 if (WindowHelper::IsAppWindow(property->GetWindowType()) && isFirstAppWindow) { in SetDefaultCascadeRect() 672 if (node->GetWindowType() != WindowType::WINDOW_TYPE_LAUNCHER_DOCK) { in GetDockWindowShowState() 833 if ((!WindowHelper::IsSystemWindow(node->GetWindowType()) && in UpdateFloatingWindowSizeBySizeLimits() 834 (!WindowHelper::IsSubWindow(node->GetWindowType()))) || in UpdateFloatingWindowSizeBySizeLimits() 835 node->GetWindowType() == WindowType::WINDOW_TYPE_FLOAT_CAMERA || in UpdateFloatingWindowSizeBySizeLimits() [all …]
|
H A D | starting_window.cpp | 117 property->SetWindowType(info->GetWindowType()); in InitializeWindowProperty() 143 if (WindowHelper::IsMainWindow(property->GetWindowType())) { in ChangePropertyByApiVersion() 263 node->stateMachine_.SetWindowType(property->GetWindowType()); in HandleClientWindowCreate() 359 if (!WindowHelper::IsMainWindow(node->GetWindowType())) { in UpdateRSTree() 361 node->GetWindowId(), static_cast<uint32_t>(node->GetWindowType())); in UpdateRSTree() 377 if (IsWindowFollowParent(child->GetWindowType())) { in UpdateRSTree()
|
H A D | input_window_monitor.cpp | 52 if (INPUT_WINDOW_TYPE_SKIPPED.find(windowNode->GetWindowProperty()->GetWindowType()) != in UpdateInputWindow() 171 if (windowNode->GetWindowType() != WindowType::WINDOW_TYPE_DIALOG) { in TraverseWindowNodes() 181 …if (INPUT_WINDOW_TYPE_SKIPPED.find(windowNode->GetWindowType()) != INPUT_WINDOW_TYPE_SKIPPED.end()… in TraverseWindowNodes() 182 …kip node[id:%{public}u, type:%{public}d]", windowNode->GetWindowId(), windowNode->GetWindowType()); in TraverseWindowNodes()
|
H A D | display_group_controller.cpp | 331 if (node->GetWindowType() == WindowType::WINDOW_TYPE_POINTER) { in MoveNotCrossNodeToDefaultDisplay() 381 if (node->GetWindowType() == WindowType::WINDOW_TYPE_STATUS_BAR || in ProcessNotCrossNodesOnDestroyedDisplay() 382 node->GetWindowType() == WindowType::WINDOW_TYPE_NAVIGATION_BAR) { in ProcessNotCrossNodesOnDestroyedDisplay() 451 if (node->GetWindowType() == WindowType::WINDOW_TYPE_STATUS_BAR) { in ProcessSystemBarRotation() 453 } else if (node->GetWindowType() == WindowType::WINDOW_TYPE_NAVIGATION_BAR) { in ProcessSystemBarRotation() 477 if (node->GetWindowType() == WindowType::WINDOW_TYPE_DOCK_SLICE) { in UpdateNodeSizeChangeReasonWithRotation() 480 if (WindowHelper::IsSystemBarWindow(node->GetWindowType())) { in UpdateNodeSizeChangeReasonWithRotation()
|
H A D | display_zoom_controller.cpp | 43 if (displayZoomWindowTypeSkipped_.find(node->GetWindowProperty()->GetWindowType()) != in SetAnchorAndScale() 76 if (displayZoomWindowTypeSkipped_.find(node->GetWindowProperty()->GetWindowType()) != in SetAnchorOffset() 101 if (displayZoomWindowTypeSkipped_.find(node->GetWindowProperty()->GetWindowType()) != in OffWindowZoom() 152 if (node->GetWindowType() == WindowType::WINDOW_TYPE_DOCK_SLICE) { in UpdateWindowZoomInfo() 324 if (displayZoomWindowTypeSkipped_.find(node->GetWindowProperty()->GetWindowType()) != in HandleUpdateWindowZoomInfo()
|
H A D | remote_animation.cpp | 235 if (WindowHelper::IsMainWindow(dstInfo->GetWindowType())) { in GetTransitionEvent() 242 } else if (dstInfo->GetWindowType() == WindowType::WINDOW_TYPE_DESKTOP) { in GetTransitionEvent() 296 if (srcNode != nullptr && srcNode->GetWindowType() == WindowType::WINDOW_TYPE_DESKTOP) { in NotifyAnimationStartApp() 326 … if (WindowHelper::IsMainFullScreenWindow(dstNode->GetWindowType(), dstNode->GetWindowMode())) { in GetExpectRect() 553 if (!WindowHelper::IsMainWindow(srcNode->GetWindowType()) || in GetAnimationTargetsForHome() 728 …if (WindowHelper::IsMainWindow(windowNode->GetWindowType())) { // only starting window has ability… in CreateWindowAnimationTarget() 740 … if (WindowHelper::IsAppWindow(windowNode->GetWindowType()) && windowNode->leashWinSurfaceNode_) { in CreateWindowAnimationTarget() 747 windowNode->GetWindowId(), windowNode->GetWindowType()); in CreateWindowAnimationTarget() 784 if (WindowHelper::IsRotatableWindow(node->GetWindowType(), node->GetWindowMode())) { in PostProcessShowCallback()
|
H A D | window_layout_policy_tile.cpp | 121 if (WindowHelper::IsMainWindow(node->GetWindowType())) { in InitTileQueue() 129 if (!WindowHelper::IsMainWindow(node->GetWindowType())) { in IsTileRectSatisfiedWithSizeLimits() 161 const auto& windowType = node->GetWindowType(); in PerformWindowLayout() 354 …lic}d, %{public}u, %{public}u]", node->GetWindowId(), node->GetWindowMode(), node->GetWindowType(), in UpdateLayoutRect()
|
H A D | window_system_effect.cpp | 90 if (WindowHelper::IsAppWindow(node->GetWindowType())) { in IsAppMainOrSubOrFloatingWindow() 98 if (WindowHelper::IsAppFloatingWindow(node->GetWindowType()) && in IsAppMainOrSubOrFloatingWindow()
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | anomaly_detection.cpp | 50 if (session->GetWindowType() == WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT) { in SceneZOrderCheckProcess() 61 if (WindowHelper::IsSubWindow(session->GetWindowType()) || in SceneZOrderCheckProcess() 62 session->GetWindowType() == WindowType::WINDOW_TYPE_DIALOG) { in SceneZOrderCheckProcess() 70 if (session->GetWindowType() == WindowType::WINDOW_TYPE_KEYGUARD) { in SceneZOrderCheckProcess() 100 oss << " windowType: " << static_cast<uint32_t>(session->GetWindowType()) << ","; in ReportZOrderException() 113 oss << " windowType: " << static_cast<uint32_t>(session->GetWindowType()) << ","; in ReportFocusException()
|
H A D | scene_session_manager.cpp | 1361 if (sceneSession->GetWindowType() == type && in GetSceneSessionVectorByType() 2706 const auto& type = property->GetWindowType(); in CreateAndConnectSpecificSession() 2799 WindowType type = property->GetWindowType(); in CheckModalSubWindowPermission() 2819 WindowType type = property->GetWindowType(); in CheckSystemWindowPermission() 2949 ClosePipWindowIfExist(property->GetWindowType()); in RecoverAndConnectSpecificSession() 3004 auto windowType = property->GetWindowType(); in CacheSubSessionForRecovering() 5463 sceneSession->GetWindowType(), in NotifyFocusStatus() 5566 sceneSession->GetWindowType(), in UpdateFocus() 7694 info->type_ = sceneSession->GetWindowType(); in FillWindowInfo() 10810 persistentId, scnSession->GetWindowType()); in GetCallingWindowWindowStatus() [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | system_session.cpp | 55 if (GetWindowType() == WindowType::WINDOW_TYPE_FLOAT_CAMERA) { in UpdateCameraWindowStatus() 81 auto type = GetWindowType(); in Show() 120 auto type = GetWindowType(); in Hide() 178 const auto& type = GetWindowType(); in ProcessPointDownSession() 211 if (GetWindowType() == WindowType::WINDOW_TYPE_DIALOG) { in TransferKeyEvent() 232 if (GetWindowType() == WindowType::WINDOW_TYPE_DIALOG && !dialogSessionBackGestureEnabled_) { in ProcessBackEvent() 306 bool isDialog = WindowHelper::IsDialogWindow(GetWindowType()); in CheckPointerEventDispatch() 342 WindowType windowType = session->GetWindowType(); in SetDialogSessionBackGestureEnabled() 355 if (GetWindowType() == WindowType::WINDOW_TYPE_DIALOG && in IsVisibleForeground() 356 parentSession_ && WindowHelper::IsMainWindow(parentSession_->GetWindowType())) { in IsVisibleForeground() [all …]
|
H A D | sub_session.cpp | 125 WLOGFI("id: %{public}d, type: %{public}d", id, GetWindowType()); in ProcessPointDownSession() 128 WLOGFI("Has dialog foreground, id: %{public}d, type: %{public}d", id, GetWindowType()); in ProcessPointDownSession() 209 return WindowHelper::IsModalSubWindow(GetSessionProperty()->GetWindowType(), in IsModal() 215 return WindowHelper::IsApplicationModalSubWindow(GetSessionProperty()->GetWindowType(), in IsApplicationModal() 221 if (parentSession_ && WindowHelper::IsMainWindow(parentSession_->GetWindowType())) { in IsVisibleForeground()
|
H A D | scb_system_session.cpp | 62 const auto& type = GetWindowType(); in ProcessPointDownSession() 87 if (session->GetWindowType() == WindowType::WINDOW_TYPE_KEYBOARD_PANEL && in NotifyClientToUpdateRect() 125 …I("PresentFocusIfPointDown, id: %{public}d, type: %{public}d", GetPersistentId(), GetWindowType()); in PresentFocusIfPointDown() 241 if (GetWindowType() == WindowType::WINDOW_TYPE_KEYBOARD_PANEL && in NotifyClientToUpdateAvoidArea()
|
H A D | scene_session.cpp | 730 auto windowType = property->GetWindowType(); in GetSubWindowModalType() 1882 WindowType winType = GetWindowType(); in CheckGetAvoidAreaAvailable() 2147 auto windowType = Session::GetWindowType(); in HandleEnterWinwdowArea() 2274 auto windowType = property->GetWindowType(); in TransferPointerEvent() 2444 auto windowType = property->GetWindowType(); in IsDecorEnable() 2510 !WindowHelper::IsMainWindow(GetWindowType())) { in FixRectByAspectRatio() 3140 WindowType windowType = GetWindowType(); in IsAppOrLowerSystemSession() 3152 WindowType windowType = GetWindowType(); in IsSystemSessionAboveApp() 4501 if (!WindowHelper::IsPipWindow(GetWindowType())) { in UpdatePiPRect() 4535 if (!WindowHelper::IsPipWindow(GetWindowType())) { in UpdatePiPControlStatus() [all …]
|
H A D | session.cpp | 1042 if (SessionHelper::IsMainWindow(GetWindowType()) && in InitSessionPropertyWhenConnect() 1078 if (sessionProperty && SessionHelper::IsMainWindow(GetWindowType())) { in InitSessionPropertyWhenConnect() 1087 bool isDialog = WindowHelper::IsDialogWindow(property->GetWindowType()); in InitSystemSessionDragEnable() 1156 const auto& type = GetWindowType(); in HandleDialogBackground() 1180 const auto& type = GetWindowType(); in HandleDialogForeground() 1810 if (SessionHelper::IsMainWindow(GetWindowType())) { in GetMainSession() 2001 if (GetWindowType() == WindowType::WINDOW_TYPE_APP_MAIN_WINDOW) { in TransferPointerEvent() 2011 } else if (GetWindowType() == WindowType::WINDOW_TYPE_DIALOG) { in TransferPointerEvent() 2850 WindowType Session::GetWindowType() const in GetWindowType() function in OHOS::Rosen::Session 2854 return property->GetWindowType(); in GetWindowType() [all …]
|
/ohos5.0/foundation/window/window_manager/wm/src/ |
H A D | window.cpp | 54 windowSessionImpl->SetWindowType(option->GetWindowType()); in CreateWindowWithSession() 86 WindowType type = option->GetWindowType(); in Create() 133 WindowType type = option->GetWindowType(); in Create() 157 if (!WindowHelper::IsPipWindow(option->GetWindowType())) { in CreatePiP()
|
H A D | window_impl.cpp | 139 property_->SetWindowType(option->GetWindowType()); in InitWindowProperty() 140 if (WindowHelper::IsAppFloatingWindow(option->GetWindowType())) { in InitWindowProperty() 326 return property_->GetWindowType(); in GetType() 455 if (property_->GetWindowType() != type) { in SetWindowType() 1381 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in Create() 1663 WindowType winType = property_->GetWindowType(); in AdjustWindowAnimationFlag() 2130 if (!WindowHelper::IsSubWindow(property_->GetWindowType())) { in RaiseToAppTop() 2165 WindowHelper::IsMainWindow(property_->GetWindowType()); in IsDecorEnable() 2272 fromInfo->SetWindowType(property_->GetWindowType()); in NotifyWindowTransition() 4011 switch (property_->GetWindowType()) { in SetDefaultOption() [all …]
|
/ohos5.0/foundation/window/window_manager/interfaces/kits/cj/window_runtime/ |
H A D | window_manager_impl.cpp | 58 if (windowOption->GetWindowType() == WindowType::WINDOW_TYPE_FLOAT || in CreateNewSystemWindow() 59 windowOption->GetWindowType() == WindowType::WINDOW_TYPE_FLOAT_CAMERA) { in CreateNewSystemWindow() 100 if (WindowHelper::IsSystemWindow(option.GetWindowType())) { in CreateWindow()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/ |
H A D | system_window_scene.cpp | 94 …session_->GetPersistentId(), host->GetId(), session_->GetWindowType(), session_->GetWindowName().c… in OnAttachToFrameNode() 97 …session_->GetPersistentId(), host->GetId(), session_->GetWindowType(), session_->GetWindowName().c… in OnAttachToFrameNode() 141 …session_->GetPersistentId(), frameNode->GetId(), session_->GetWindowType(), session_->GetWindowNam… in OnDetachFromFrameNode() 144 …session_->GetPersistentId(), frameNode->GetId(), session_->GetWindowType(), session_->GetWindowNam… in OnDetachFromFrameNode()
|