Home
last modified time | relevance | path

Searched refs:GetWindowType (Results 1 - 25 of 92) sorted by relevance

1234

/foundation/window/window_manager/wmserver/src/
H A Dwindow_node_container.cpp110 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 Dwindow_root.cpp58 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 Dwindow_controller.cpp211 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 Dwindow_pair.cpp208 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 Davoid_area_controller.cpp74 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 Dwindow_layout_policy.cpp177 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 Dstarting_window.cpp117 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 Dinput_window_monitor.cpp52 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 Ddisplay_group_controller.cpp331 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 Ddisplay_zoom_controller.cpp43 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 Dwindow_layout_policy_cascade.cpp64 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 Dwindow_layout_policy_tile.cpp121 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 Dwindow_system_effect.cpp90 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 Danomaly_detection.cpp50 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 Dscene_session_manager.cpp595 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 Dsystem_session.cpp55 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 Dscb_system_session.cpp52 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 Dsub_session.cpp110 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 Dwindow.cpp53 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 Dwindow_impl.cpp113 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 Dwindow_manager_impl.cpp58 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 Dmock_ace_container.cpp48 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 Dwindow_node.cpp143 (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 Dsystem_window_scene.cpp91 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 Daccessibility_window_info.h164 uint32_t GetWindowType() const;

Completed in 35 milliseconds

1234