/foundation/window/window_manager/wmserver/src/ |
H A D | window_node_container.cpp | 110 if (windowNode->GetWindowType() == windowType && !windowNode->startingWindowShown_) { in GetWindowCountByType() 124 WindowType windowType = windowNode->GetWindowType(); in GetMainFloatingWindowCount() 138 sptr<WindowNode> root = FindRoot(node->GetWindowType()); in AddWindowNodeOnWindowTree() 139 if (root == nullptr && !(WindowHelper::IsSystemSubWindow(node->GetWindowType()) && in AddWindowNodeOnWindowTree() 146 if (WindowHelper::IsSystemSubWindow(node->GetWindowType()) || in AddWindowNodeOnWindowTree() 147 node->GetWindowType() == WindowType::WINDOW_TYPE_APP_COMPONENT) { in AddWindowNodeOnWindowTree() 148 if (WindowHelper::IsSubWindow(parentNode->GetWindowType()) || in AddWindowNodeOnWindowTree() 149 WindowHelper::IsSystemSubWindow(parentNode->GetWindowType()) || in AddWindowNodeOnWindowTree() 150 parentNode->GetWindowType() == WindowType::WINDOW_TYPE_APP_COMPONENT || in AddWindowNodeOnWindowTree() 151 parentNode->GetWindowType() in AddWindowNodeOnWindowTree() [all...] |
H A D | window_root.cpp | 58 if (iter.second->GetWindowType() == WindowType::WINDOW_TYPE_DESKTOP || in GetWindowForDumpAceHelpInfo() 59 iter.second->GetWindowType() == WindowType::WINDOW_TYPE_NAVIGATION_BAR || in GetWindowForDumpAceHelpInfo() 60 iter.second->GetWindowType() == WindowType::WINDOW_TYPE_STATUS_BAR || in GetWindowForDumpAceHelpInfo() 61 iter.second->GetWindowType() == WindowType::WINDOW_TYPE_KEYGUARD) { in GetWindowForDumpAceHelpInfo() 217 if ((WindowHelper::IsMainWindow(pair.second->GetWindowType())) || in FindWindowNodeWithToken() 218 (pair.second->GetWindowType() == WindowType::WINDOW_TYPE_DESKTOP)) { in FindWindowNodeWithToken() 261 if (WindowHelper::IsMainWindow(node->GetWindowType())) { in SaveWindow() 276 if (WindowHelper::IsMainWindow(node->GetWindowType())) { in SaveWindow() 298 if (windowNode->GetWindowType() == WindowType::WINDOW_TYPE_APP_MAIN_WINDOW) { in MinimizeTargetWindows() 302 windowNode->GetWindowId(), static_cast<uint32_t>(windowNode->GetWindowType())); in MinimizeTargetWindows() [all...] |
H A D | window_controller.cpp | 211 focusInfo.windowType_ = windowNode->GetWindowType(); in GetFocusWindowInfo() 219 if (WindowHelper::IsSubWindow(property->GetWindowType())) { in CheckParentWindowValid() 229 } else if (WindowHelper::IsSystemSubWindow(property->GetWindowType())) { in CheckParentWindowValid() 235 if (parentWindow == nullptr || !WindowHelper::IsSystemWindow(parentWindow->GetWindowType())) { in CheckParentWindowValid() 260 if (property->GetWindowType() != WindowType::WINDOW_TYPE_BOOT_ANIMATION) { in CreateWindow() 265 if (node != nullptr && WindowHelper::IsMainWindow(property->GetWindowType()) && node->startingWindowShown_) { in CreateWindow() 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()] in AddWindowNode() [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() 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() 336 if (iter.second->GetWindowType() == WindowType::WINDOW_TYPE_STATUS_BAR) { in GetAvoidAreaSystemType() 339 if (iter.second->GetWindowType() == WindowType::WINDOW_TYPE_NAVIGATION_BAR) { in GetAvoidAreaSystemType() 353 iter.second->GetWindowType() == WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT) { in GetAvoidAreaKeyboardType()
|
H A D | window_layout_policy.cpp | 177 if (WindowHelper::IsMainFloatingWindow(node->GetWindowType(), node->GetWindowMode())) { in UpdateRectInDisplayGroupForAllNodes() 316 if (WindowHelper::IsMainFullScreenWindow(node->GetWindowType(), node->GetWindowMode())) { in NotifyAnimationSizeChangeIfNeeded() 319 if (WindowHelper::IsMainFloatingWindow(node->GetWindowType(), node->GetWindowMode())) { in NotifyAnimationSizeChangeIfNeeded() 356 if (WindowHelper::IsSystemBarWindow(node->GetWindowType())) { in LayoutWindowNode() 376 auto type = node->GetWindowType(); in NotifyClientAndAnimation() 387 if ((reason != WindowSizeChangeReason::MOVE) && (node->GetWindowType() != WindowType::WINDOW_TYPE_DOCK_SLICE)) { 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() 419 } else if (WindowHelper::IsMainFloatingWindow(node->GetWindowType(), node->GetWindowMode())) { in CalcEntireWindowHotZone() 470 if (node->GetWindowType() in GetSystemSizeLimits() [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() 358 if (!WindowHelper::IsMainWindow(node->GetWindowType())) { in UpdateRSTree() 360 node->GetWindowId(), static_cast<uint32_t>(node->GetWindowType())); in UpdateRSTree() 376 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 WLOGI("skip 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 | window_layout_policy_cascade.cpp | 64 if (node == nullptr || node->GetWindowType() != WindowType::WINDOW_TYPE_APP_MAIN_WINDOW) { in Reorder() 171 const auto& windowType = node->GetWindowType(); in PerformWindowLayout() 317 if (!WindowHelper::IsMainFloatingWindow(node->GetWindowType(), node->GetWindowMode()) || in ComputeRectByAspectRatio() 415 if (node->GetWindowType() == WindowType::WINDOW_TYPE_DOCK_SLICE && in ApplyWindowRectConstraints() 439 "%{public}d, %{public}u, %{public}u]", node->GetWindowId(), mode, node->GetWindowType(), winRect.posX_, in UpdateLayoutRect() 466 if (node->GetWindowType() == WindowType::WINDOW_TYPE_APP_COMPONENT) { in UpdateLayoutRect() 581 if ((*iter)->GetWindowType() == WindowType::WINDOW_TYPE_APP_MAIN_WINDOW && in GetCurCascadeRect() 639 if (WindowHelper::IsAppWindow(property->GetWindowType()) && isFirstAppWindow) { in SetDefaultCascadeRect() 643 } else if (WindowHelper::IsAppWindow(property->GetWindowType()) && !isFirstAppWindow) { in SetDefaultCascadeRect() 671 if (node->GetWindowType() ! in GetDockWindowShowState() [all...] |
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 "%{public}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()
|
/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 | 595 bool isUiExtSubWindow = WindowHelper::IsSubWindow(property->GetWindowType()) && in SwitchFreeMultiWindow() 597 if (WindowHelper::IsMainWindow(sceneSession->GetWindowType()) || isUiExtSubWindow) { in SwitchFreeMultiWindow() 1271 if (sceneSession && sceneSession->GetWindowType() == type) { in GetSceneSessionByType() 1289 if (sceneSession->GetWindowType() == type && in GetSceneSessionVectorByType() 1312 if (property->GetWindowType() == WindowType::WINDOW_TYPE_DIALOG && parentPersistentId != INVALID_SESSION_ID) { in UpdateParentSessionForDialog() 1506 } else if (property != nullptr && SessionHelper::IsSubWindow(property->GetWindowType())) { in CreateSceneSession() 1508 TLOGI(WmsLogTag::WMS_SUB, "Create SubSession, type: %{public}d", property->GetWindowType()); in CreateSceneSession() 1509 } else if (property != nullptr && property->GetWindowType() == WindowType::WINDOW_TYPE_INPUT_METHOD_FLOAT) { in CreateSceneSession() 1513 TLOGI(WmsLogTag::WMS_KEYBOARD, "Create KeyboardSession, type: %{public}d", property->GetWindowType()); in CreateSceneSession() 1514 } else if (property != nullptr && SessionHelper::IsSystemWindow(property->GetWindowType())) { in CreateSceneSession() [all...] |
/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() 61 } else if (GetWindowType() == WindowType::WINDOW_TYPE_PIP && GetWindowMode() == WindowMode::WINDOW_MODE_PIP) { in UpdateCameraWindowStatus() 81 auto type = GetWindowType(); in Show() 120 auto type = GetWindowType(); in Hide() 178 const auto& type = GetWindowType(); in ProcessPointDownSession() 214 if (GetWindowType() == WindowType::WINDOW_TYPE_DIALOG) { in TransferKeyEvent() 240 if (GetWindowType() == WindowType::WINDOW_TYPE_DIALOG && !dialogSessionBackGestureEnabled_) { in ProcessBackEvent() 323 bool isDialog = WindowHelper::IsDialogWindow(GetWindowType()); in CheckPointerEventDispatch() 353 if (GetWindowType() == WindowType::WINDOW_TYPE_DIALOG && in IsVisibleForeground() 354 parentSession_ && WindowHelper::IsMainWindow(parentSession_->GetWindowType())) { in IsVisibleForeground() [all...] |
H A D | scb_system_session.cpp | 52 const auto& type = GetWindowType(); in ProcessPointDownSession() 77 if (session->GetWindowType() == WindowType::WINDOW_TYPE_KEYBOARD_PANEL && in NotifyClientToUpdateRect() 120 WLOGFI("PresentFocusIfPointDown, id: %{public}d, type: %{public}d", GetPersistentId(), GetWindowType()); in PresentFocusIfPointDown() 236 if (GetWindowType() == WindowType::WINDOW_TYPE_KEYBOARD_PANEL && in NotifyClientToUpdateAvoidArea()
|
H A D | sub_session.cpp | 110 WLOGFI("id: %{public}d, type: %{public}d", id, GetWindowType()); in ProcessPointDownSession() 114 WLOGFI("Has dialog foreground, id: %{public}d, type: %{public}d", id, GetWindowType()); in ProcessPointDownSession() 201 isModal = WindowHelper::IsModalSubWindow(property->GetWindowType(), property->GetWindowFlags()); in IsModal() 208 if (parentSession_ && WindowHelper::IsMainWindow(parentSession_->GetWindowType())) { in IsVisibleForeground()
|
/foundation/window/window_manager/wm/src/ |
H A D | window.cpp | 53 windowSessionImpl->SetWindowType(option->GetWindowType()); in CreateWindowWithSession() 81 WindowType type = option->GetWindowType(); in Create() 128 WindowType type = option->GetWindowType(); in Create() 152 if (!WindowHelper::IsPipWindow(option->GetWindowType())) { in CreatePiP()
|
H A D | window_impl.cpp | 113 surfaceNode_ = CreateSurfaceNode(property_->GetWindowName(), option->GetWindowType()); in WindowImpl() 134 property_->SetWindowType(option->GetWindowType()); in InitWindowProperty() 135 if (WindowHelper::IsAppFloatingWindow(option->GetWindowType())) { in InitWindowProperty() 293 return property_->GetWindowType(); in GetType() 422 if (property_->GetWindowType() != type) { in SetWindowType() 1037 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in SetFloatingMaximize() 1225 if (WindowHelper::IsMainWindow(property_->GetWindowType())) { in SetSystemConfig() 1257 if (CheckCameraFloatingWindowMultiCreated(property_->GetWindowType())) { in WindowCreateCheck() 1262 if (WindowHelper::IsSystemSubWindow(property_->GetWindowType()) || in WindowCreateCheck() 1263 WindowHelper::IsSubWindow(property_->GetWindowType())) { in WindowCreateCheck() [all...] |
/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()
|
/foundation/arkui/ace_engine/test/mock/adapter/ |
H A D | mock_ace_container.cpp | 48 uint32_t AceContainer::GetWindowType() const in GetWindowType() function in OHOS::Ace::Platform::AceContainer
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/ |
H A D | window_node.cpp | 143 (pattern->GetSession()->GetWindowType() != Rosen::WindowType::WINDOW_TYPE_APP_MAIN_WINDOW && in ConvertHotRect() 144 pattern->GetSession()->GetWindowType() != Rosen::WindowType::WINDOW_TYPE_APP_SUB_WINDOW)) { in ConvertHotRect()
|
H A D | system_window_scene.cpp | 91 session_->GetPersistentId(), host->GetId(), session_->GetWindowType(), session_->GetWindowName().c_str()); in OnAttachToFrameNode() 94 session_->GetPersistentId(), host->GetId(), session_->GetWindowType(), session_->GetWindowName().c_str()); in OnAttachToFrameNode() 138 session_->GetPersistentId(), frameNode->GetId(), session_->GetWindowType(), session_->GetWindowName().c_str()); in OnDetachFromFrameNode() 141 session_->GetPersistentId(), frameNode->GetId(), session_->GetWindowType(), session_->GetWindowName().c_str()); in OnDetachFromFrameNode()
|
/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/ |
H A D | accessibility_window_info.h | 164 uint32_t GetWindowType() const;
|