/ohos5.0/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_focus_test.cpp | 157 subAppInfo_.parentId = window3->GetWindowId(); 206 subAppInfo_.parentId = mainWindow->GetWindowId(); 243 subAppInfo_.parentId = mainWindow1->GetWindowId(); 288 subAppInfo_.parentId = mainWindow1->GetWindowId(); 346 subAppInfo_.parentId = mainWindow2->GetWindowId(); 395 subAppInfo_.parentId = mainWindow->GetWindowId(); 406 subAppInfo_.parentId = mainWindow->GetWindowId(); 456 subAppInfo_.parentId = mainWindow1->GetWindowId(); 466 subAppInfo_.parentId = mainWindow2->GetWindowId(); 476 subAppInfo_.parentId = mainWindow3->GetWindowId(); [all …]
|
H A D | window_raisetoapptop_test.cpp | 89 fullInfo_.parentId = mainWindow->GetWindowId(); 98 fullInfo_.parentId = mainWindow->GetWindowId(); 130 fullInfo_.parentId = mainWindow->GetWindowId(); 139 fullInfo_.parentId = mainWindow->GetWindowId(); 178 fullInfo_.parentId = mainWindow->GetWindowId(); 190 fullInfo_.parentId = mainWindow->GetWindowId(); 230 fullInfo_.parentId = mainWindow->GetWindowId();
|
/ohos5.0/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_impl_listener_test.cpp | 63 ASSERT_EQ(window_->lifecycleListeners_[window_->GetWindowId()].size(), 1); 65 ASSERT_EQ(window_->lifecycleListeners_[window_->GetWindowId()].size(), 0); 69 ASSERT_EQ(window_->windowChangeListeners_[window_->GetWindowId()].size(), 1); 71 ASSERT_EQ(window_->windowChangeListeners_[window_->GetWindowId()].size(), 0); 75 ASSERT_EQ(window_->avoidAreaChangeListeners_[window_->GetWindowId()].size(), 1); 77 ASSERT_EQ(window_->avoidAreaChangeListeners_[window_->GetWindowId()].size(), 0); 99 ASSERT_EQ(window_->touchOutsideListeners_[window_->GetWindowId()].size(), 1); 101 ASSERT_EQ(window_->touchOutsideListeners_[window_->GetWindowId()].size(), 0); 105 ASSERT_EQ(window_->screenshotListeners_[window_->GetWindowId()].size(), 1); 107 ASSERT_EQ(window_->screenshotListeners_[window_->GetWindowId()].size(), 0); [all …]
|
H A D | root_scene_test.cpp | 75 ASSERT_EQ(1, rootScene.GetWindowId()); 98 ASSERT_EQ(1, rootScene.GetWindowId()); 117 ASSERT_EQ(1, rootScene.GetWindowId()); 138 ASSERT_EQ(1, rootScene.GetWindowId()); 150 ASSERT_EQ(1, rootScene.GetWindowId()); 163 ASSERT_EQ(1, rootScene.GetWindowId()); 175 ASSERT_EQ(1, rootScene.GetWindowId()); 189 ASSERT_EQ(1, rootScene.GetWindowId()); 206 ASSERT_EQ(1, rootScene.GetWindowId()); 219 ASSERT_EQ(1, rootScene.GetWindowId()); [all …]
|
H A D | screen_scene_test.cpp | 67 ASSERT_EQ(1, screenScene.GetWindowId()); 80 ASSERT_EQ(1, screenScene.GetWindowId()); 94 ASSERT_EQ(1, screenScene.GetWindowId()); 107 ASSERT_EQ(1, screenScene.GetWindowId()); 120 ASSERT_EQ(1, screenScene.GetWindowId()); 132 ASSERT_EQ(1, screenScene.GetWindowId()); 146 ASSERT_EQ(1, screenScene.GetWindowId()); 158 ASSERT_EQ(1, screenScene.GetWindowId()); 171 ASSERT_EQ(1, screenScene.GetWindowId());
|
/ohos5.0/foundation/window/window_manager/wm/src/ |
H A D | window_impl.cpp | 249 mainWinId = win->GetWindowId(); in GetTopWindowWithContext() 383 uint32_t WindowImpl::GetWindowId() const in GetWindowId() function in OHOS::Rosen::WindowImpl 385 return property_->GetWindowId(); in GetWindowId() 699 property_->GetWindowId()); in SetUIContentInner() 1137 GetWindowId(), win->GetWindowId(), GetType()); in MapFloatingWindowToAppIfNeeded() 1477 if ((*iter)->GetWindowId() == GetWindowId()) { in DestroyDialogWindow() 1507 if ((*iter)->GetWindowId() == GetWindowId()) { in DestroyFloatingWindow() 1537 if ((*iter)->GetWindowId() == GetWindowId()) { in DestroySubWindow() 2226 property_->GetWindowId()); in SetImmersiveModeEnabledState() 2742 property_->GetWindowId()); in UpdateRect() [all …]
|
H A D | window_input_channel.cpp | 34 …Name: %{public}s, windowId: %{public}d", window_->GetWindowName().c_str(), window_->GetWindowId()); in ~WindowInputChannel() 66 window_->GetWindowId(), keyEvent->GetKeyCode()); in HandleKeyEvent() 121 window_->GetWindowId(), action); in HandlePointerEvent() 139 window_->GetWindowId(), action); in HandlePointerEvent() 146 WLOGI("Destroy WindowInputChannel, windowId:%{public}u", window_->GetWindowId()); in Destroy()
|
H A D | window_scene_session_impl.cpp | 178 if (window && window->GetWindowId() == parentId) { in FindParentMainSession() 903 GetWindowId(), windowModeSupportType); in GetConfigurationFromAbilityInfo() 1513 GetWindowId(), GetMode()); in MoveToAsync() 1542 GetWindowId(), GetMode()); in MoveWindowToGlobal() 1754 GetWindowId(), GetMode()); in ResizeAsync() 1842 auto currentWindowId = GetWindowId(); in RaiseAboveTarget() 1893 GetWindowId(), static_cast<int32_t>(status)); in NotifyWindowNeedAvoid() 2915 mainWinId = win->GetWindowId(); in GetTopWindowWithContext() 2994 if (win && winId == win->GetWindowId()) { in GetWindowWithId() 3795 GetWindowId()); in UpdateNewSize() [all …]
|
/ohos5.0/foundation/window/window_manager/wmserver/src/ |
H A D | remote_animation.cpp | 324 dstNode->GetWindowName().c_str(), dstNode->GetWindowId(), in GetExpectRect() 392 srcNode->GetWindowId(), dstNode->GetWindowId()); in NotifyAnimationTransition() 410 winController->RemoveWindowNode(srcNode->GetWindowId(), true); in NotifyAnimationMinimize() 501 srcNode->GetWindowId(), dstNode->GetWindowId()); in NotifyAnimationBackTransition() 737 windowAnimationTarget->windowId_ = windowNode->GetWindowId(); in CreateWindowAnimationTarget() 747 windowNode->GetWindowId(), windowNode->GetWindowType()); in CreateWindowAnimationTarget() 780 node->GetWindowName().c_str(), node->GetWindowId(), in PostProcessShowCallback() 807 winRoot->UpdateRsTree(node->GetWindowId(), false); in ExecuteFinalStateTask() 814 winController->FlushWindowInfo(node->GetWindowId()); in ExecuteFinalStateTask() 883 node->GetWindowId(), node->GetWindowName().c_str(), in ProcessNodeStateTask() [all …]
|
H A D | avoid_area_controller.cpp | 40 lastUpdatedAvoidArea_.erase(windowNode->GetWindowId()); in UpdateAvoidAreaListener() 81 uint32_t overlayId = overlayNode->GetWindowId(); in AddOrRemoveOverlayWindowIfNeed() 115 if (window->GetWindowId() == callingWindowId) { in AddOrRemoveKeyboard() 118 if (window->GetWindowId() == focusedWindow_) { in AddOrRemoveKeyboard() 121 if (window->GetWindowId() == lastSoftInputKeyboardAreaUpdatedWindowId_) { in AddOrRemoveKeyboard() 185 lastSoftInputKeyboardAreaUpdatedWindowId_ = node->GetWindowId(); in UpdateOverlayWindowIfNeed() 198 auto iter = lastUpdatedAvoidArea_.find(node->GetWindowId()); in UpdateAvoidAreaIfNeed() 215 lastUpdatedAvoidArea_[node->GetWindowId()][avoidAreaType] = avoidArea; in UpdateAvoidAreaIfNeed() 224 if (node->GetWindowId() == overlayNode->GetWindowId()) { in CalculateOverlayRect() 359 if (callingWindowId != node->GetWindowId() && focusedWindow_ != node->GetWindowId()) { in GetAvoidAreaKeyboardType() [all …]
|
H A D | window_node_container.cpp | 205 node->GetWindowId()); in IsTileRectSatisfiedWithSizeLimits() 638 windowIds.push_back(node->GetWindowId()); in DestroyWindowNode() 962 if (node->GetWindowId() == id) { in FindWindowNodeById() 1490 if (windowNode->GetWindowId() == node->GetWindowId()) { in NotifyDockWindowStateChanged() 1554 return node->GetWindowId() == windowId; in IsTopWindow() 1561 uint32_t wid = (*iter)->GetWindowId(); in RaiseOrderedWindowToTop() 1640 if (node->GetWindowId() == windowNode->GetWindowId()) { in CheckWindowNodeWhetherInWindowTree() 1657 uint32_t windowId = node->GetWindowId(); in DumpScreenWindowTreeByWinId() 1789 …if (IsTopWindow(node->GetWindowId(), appWindowNode_) || IsTopWindow(node->GetWindowId(), aboveAppW… in RaiseZOrderForAppWindow() 1837 if (node->GetWindowId() == windowId) { in GetNextFocusableWindow() [all …]
|
H A D | starting_window.cpp | 155 rsSurfaceNodeConfig.SurfaceNodeName = "leashWindow" + std::to_string(node->GetWindowId()); in CreateLeashAndStartingSurfaceNode() 162 rsSurfaceNodeConfig.SurfaceNodeName = "startingWindow" + std::to_string(node->GetWindowId()); in CreateLeashAndStartingSurfaceNode() 213 "StartingWindowAnimate(%u)", weakNode->GetWindowId()); in SetStartingWindowAnimation() 222 weakNode->GetWindowId()); in SetStartingWindowAnimation() 233 weakNode->GetWindowId()); in SetStartingWindowAnimation() 234 WLOGFI("StartingWindow::Replace surfaceNode, id: %{public}u", weakNode->GetWindowId()); in SetStartingWindowAnimation() 239 "StartingWindowAnimate(%u)", weakNode->GetWindowId()); in SetStartingWindowAnimation() 260 windowId = node->GetWindowId(); in HandleClientWindowCreate() 265 node->GetWindowId(), node->GetRequestRect().posX_, node->GetRequestRect().posY_, in HandleClientWindowCreate() 310 [startWinSurface]: use_count: %{public}ld ", node->GetWindowId(), in ReleaseStartWinSurfaceNode() [all …]
|
H A D | window_layout_policy_tile.cpp | 154 node->GetWindowId(), tileRect.posX_, tileRect.posY_, tileRect.width_, tileRect.height_); in IsTileRectSatisfiedWithSizeLimits() 203 return foregroundNode->GetWindowId() == node->GetWindowId(); in IsWindowAlreadyInTileQueue() 206 WLOGFD("Window is already in tile queue, windowId: %{public}d", node->GetWindowId()); in IsWindowAlreadyInTileQueue() 223 … "windowModeSupportType: %{public}u", node->GetWindowId(), node->GetWindowModeSupportType()); in PushBackNodeInTileQueue() 231 …GFD("Minimize win in queue head for add new win, windowId: %{public}d", removeNode->GetWindowId()); in PushBackNodeInTileQueue() 236 displayId, node->GetWindowId()); in PushBackNodeInTileQueue() 248 WLOGFD("Remove win in tile for win id: %{public}d", node->GetWindowId()); in RemoveNodeFromTileQueue() 326 node->GetWindowId(), rect.posX_, rect.posY_, rect.width_, rect.height_); in ApplyPresetRectForTileWindows() 328 …WLOGFD("Minimize node which can't be applied to tileRect, winId: %{public}u", node->GetWindowId()); in ApplyPresetRectForTileWindows() 334 … WLOGFD("Cancel minimize node from minimizeList, winId: %{public}u", node->GetWindowId()); in ApplyPresetRectForTileWindows() [all …]
|
H A D | window_pair.cpp | 86 if (primary_ != nullptr && primary_->GetWindowId() == node->GetWindowId()) { in Find() 88 } else if (secondary_ != nullptr && secondary_->GetWindowId() == node->GetWindowId()) { in Find() 90 } else if (divider_ != nullptr && divider_->GetWindowId() == node->GetWindowId()) { in Find() 191 WLOGI("Exit Split Mode, Minimize Window %{public}u", hideNode->GetWindowId()); in ExitSplitMode() 367 WLOGFD("Window id: %{public}u is not split related and paired.", node->GetWindowId()); in UpdateIfSplitRelated() 377 status_, node->GetWindowId(), node->GetWindowMode()); in UpdateIfSplitRelated() 444 …primary_->GetWindowId(), primary_->GetWindowMode(), secondary_->GetWindowId(), secondary_->GetWind… in SwitchPosition() 498 WLOGI("Insert a window to pair id: %{public}u", node->GetWindowId()); in Insert() 523 WLOGI("[DumpPairInfo] primary id: %{public}u mode: %{public}u", primary_->GetWindowId(), in DumpPairInfo() 543 WLOGI("Resume unpaired split related window id: %{public}u", node->GetWindowId()); in HandleRemoveWindow() [all …]
|
H A D | window_root.cpp | 236 WLOGFD("Add for window: %{public}u", node->GetWindowId()); in AddDeathRecipient() 257 WLOGFD("save windowId %{public}u", node->GetWindowId()); in SaveWindow() 506 node->GetWindowId(), visibilityState); in NotifyWindowVisibilityChange() 630 container->SetFocusWindow(node->GetWindowId()); in PostProcessAddWindowNode() 1151 if (pair.second->GetWindowId() == node->GetWindowId()) { in DestroyWindowInner() 1173 windowNodeMap_.erase(node->GetWindowId()); in DestroyWindowInner() 1189 uint32_t windowId = node->GetWindowId(); in UpdateFocusWindowWithWindowRemoved() 1205 windowId = firstChild->GetWindowId(); in UpdateFocusWindowWithWindowRemoved() 1226 uint32_t windowId = node->GetWindowId(); in UpdateActiveWindowWithWindowRemoved() 1241 windowId = firstChild->GetWindowId(); in UpdateActiveWindowWithWindowRemoved() [all …]
|
H A D | minimize_app.cpp | 43 auto windowId = node->GetWindowId(); in AddNeedMinimizeApp() 50 return weakSrcNode->GetWindowId() == windowId; in AddNeedMinimizeApp() 53 WLOGI("[Minimize] Window %{public}u is already in minimize list", node->GetWindowId()); in AddNeedMinimizeApp() 57 …WLOGI("[Minimize] Add Window %{public}u to minimize list, reason %{public}u", node->GetWindowId(),… in AddNeedMinimizeApp() 135 node->GetWindowId(), reason); in IsNodeNeedMinimizeWithReason() 141 node->GetWindowId(), reason); in IsNodeNeedMinimizeWithReason()
|
H A D | window_group_mgr.cpp | 87 hideWindowIds.emplace_back(windowNode->GetWindowId()); in MoveMissionsToBackground() 88 backupWindowModes_[windowNode->GetWindowId()] = windowNode->GetWindowMode(); in MoveMissionsToBackground() 90 "mode: %{public}d ", windowNode->GetWindowId(), windowNode->abilityInfo_.missionId_, in MoveMissionsToBackground() 125 if (backupWindowModes_.count(windowNode->GetWindowId()) > 0) { in MoveMissionToForeground() 126 auto mode = backupWindowModes_.at(windowNode->GetWindowId()); in MoveMissionToForeground() 136 windowNode->GetWindowId(), windowNode->abilityInfo_.missionId_, in MoveMissionToForeground()
|
H A D | input_window_monitor.cpp | 177 dialogWindowMap.insert(std::make_pair(callerNode->GetWindowId(), windowNode)); in TraverseWindowNodes() 182 …WLOGI("skip node[id:%{public}u, type:%{public}d]", windowNode->GetWindowId(), windowNode->GetWindo… in TraverseWindowNodes() 195 .id = static_cast<int32_t>(windowNode->GetWindowId()), in TraverseWindowNodes() 200 .agentWindowId = static_cast<int32_t>(windowNode->GetWindowId()), in TraverseWindowNodes() 204 … dialogWindowMap.find(windowNode->GetWindowId()) : dialogWindowMap.find(windowNode->GetParentId()); in TraverseWindowNodes() 206 windowInfo.agentWindowId = static_cast<int32_t>(iter->second->GetWindowId()); in TraverseWindowNodes() 211 WLOGFD("window is not touchable: %{public}u", windowNode->GetWindowId()); in TraverseWindowNodes()
|
H A D | window_system_effect.cpp | 68 … node->GetWindowId(), node->GetWindowMode(), vpr, fullscreenRadius, splitRadius, floatRadius); in SetCornerRadius() 102 WLOGFD("not appWindow or app floating window, id: %{public}u!", node->GetWindowId()); in IsAppMainOrSubOrFloatingWindow() 121 WLOGFD("shadow elevation and radius are both 0.0, id: %{public}u", node->GetWindowId()); in SetWindowShadow() 142 WLOGFD("[WEffect]close shadow id: %{public}u", node->GetWindowId()); in SetWindowShadow() 153 node->GetWindowId(), static_cast<int32_t>(node->isFocused_), shadow.elevation_); in SetWindowShadow()
|
H A D | window_controller.cpp | 108 FlushWindowInfo(node->GetWindowId()); in StartingWindow() 127 WLOGFI("Id:%{public}u!", node->GetWindowId()); in CancelStartingWindow() 345 FlushWindowInfo(property->GetWindowId()); in AddWindowNode() 503 FlushWindowInfo(callingWindow->GetWindowId()); in NotifyInputCallingWindowRectAndOccupiedAreaChange() 1313 uint32_t windowId = node->GetWindowId(); in UpdateFocusIfNeededWhenRaiseWindow() 1319 if (node->parent_->GetWindowId() == focusWindow->GetWindowId() || in UpdateFocusIfNeededWhenRaiseWindow() 1438 uint32_t windowId = property->GetWindowId(); in UpdateProperty() 1745 FlushWindowInfo(node->GetWindowId()); in UpdateTouchHotAreas() 1776 windowNode->GetWindowId() == node->GetWindowId()) { in NotifyTouchOutside() 1798 if (windowNode->GetWindowId() == node->GetWindowId()) { in GetEmbedNodeId() [all …]
|
/ohos5.0/foundation/window/window_manager/interfaces/kits/cj/window_runtime/ |
H A D | window_impl.cpp | 152 weakWindow->GetWindowId(), weakWindow->GetWindowName().c_str(), ret); in ShowWindow() 277 wp.id = windowToken_->GetWindowId(); in GetWindowProperties() 318 weakWindow->GetWindowId(), weakWindow->GetWindowName().c_str()); in SetWindowBrightness() 363 windowToken_->GetWindowId(), windowToken_->GetWindowName().c_str(), in SetPreferredOrientation() 377 weakWindow->GetWindowId(), weakWindow->GetWindowName().c_str()); in SetWindowFocusable() 390 weakWindow->GetWindowId(), weakWindow->GetWindowName().c_str()); in SetWindowKeepScreenOn() 447 weakWindow->GetWindowId(), weakWindow->GetWindowName().c_str()); in SetWindowTouchable() 739 weakWindow->GetWindowId(), weakWindow->GetWindowName().c_str()); in SetResizeByDragEnabled() 753 weakWindow->GetWindowId(), weakWindow->GetWindowName().c_str()); in RaiseToAppTop() 766 weakWindow->GetWindowId(), weakWindow->GetWindowName().c_str()); in SetSnapshotSkip() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/test/unittest/common/ |
H A D | dialog_tdd_test.cpp | 299 EventInjector::GetInstance()->SetWindowId(window->GetWindowId() + 1); in DialogTest001() 329 EventInjector::GetInstance()->SetWindowId(window->GetWindowId() + 1); in DialogTest002() 347 EventInjector::GetInstance()->SetWindowId(window->GetWindowId() + 1); in DialogTest002() 377 EventInjector::GetInstance()->SetWindowId(window->GetWindowId() + 1); in DialogTest003() 395 EventInjector::GetInstance()->SetWindowId(window->GetWindowId() + 1); in DialogTest003() 413 EventInjector::GetInstance()->SetWindowId(window->GetWindowId() + 1); in DialogTest003() 443 EventInjector::GetInstance()->SetWindowId(window->GetWindowId() + 1); in DialogTest004() 461 EventInjector::GetInstance()->SetWindowId(window->GetWindowId() + 1); in DialogTest004() 479 EventInjector::GetInstance()->SetWindowId(window->GetWindowId() + 1); in DialogTest004() 509 EventInjector::GetInstance()->SetWindowId(window->GetWindowId() + 1); in DialogTest005()
|
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_controller_test.cpp | 345 property->SetWindowId(node_->GetWindowId()); 553 id = node_->GetWindowId(); 571 uint32_t windowId = windowNode->GetWindowId(); 846 windowId = windowNode->GetWindowId(); 983 uint32_t windowId = windowNode->GetWindowId(); 1016 uint32_t windowId = windowNode->GetWindowId(); 1049 uint32_t windowId = windowNode->GetWindowId(); 1081 uint32_t windowId = windowNode->GetWindowId(); 1118 uint32_t windowId = windowNode->GetWindowId(); 1162 uint32_t windowId = windowNode->GetWindowId(); [all …]
|
H A D | window_root_test.cpp | 467 ret = windowRoot_->RemoveWindowNode(node->GetWindowId(), true); 471 ret = windowRoot_->RemoveWindowNode(node->GetWindowId(), true); 534 windowRoot_->SetBrightness(node->GetWindowId(), 0); 1300 windowRoot_->UpdateFocusableProperty(windowNode->GetWindowId()); 1454 auto ret = windowRoot_->RequestFocus(windowNode->GetWindowId()); 1458 ret = windowRoot_->RequestFocus(windowNode->GetWindowId()); 1472 auto ret = windowRoot_->RequestActiveWindow(windowNode->GetWindowId()); 1631 uint32_t topWinId = windowNode1->GetWindowId(); 1752 auto res = windowRoot_->UpdateRsTree(windowNode->GetWindowId(), true); 1761 res = windowRoot_->UpdateRsTree(windowNode->GetWindowId(), true); [all …]
|
H A D | window_manager_service_test.cpp | 348 wms->windowController_->windowRoot_->windowNodeMap_[appNode->GetWindowId()] = appNode; 360 wms->DispatchKeyEvent(compNode->GetWindowId(), event); 392 wms->DispatchKeyEvent(appNode1->GetWindowId(), event); 417 wms->windowController_->windowRoot_->windowNodeMap_[appNode->GetWindowId()] = appNode; 432 wms->DispatchKeyEvent(compNode2->GetWindowId(), event); 468 wms->windowController_->windowRoot_->windowNodeMap_[appNode->GetWindowId()] = appNode; 1145 WMError res = wms->RemoveWindow(appNode->GetWindowId(), isFromInnerkits); 1147 res = wms->RemoveWindow(appNode->GetWindowId(), isFromInnerkits); 1166 uint32_t id = appNode->GetWindowId(); 1172 WMError res = wms->RemoveWindow(appNode->GetWindowId(), isFromInnerkits); [all …]
|