/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_impl_listener_test.cpp | 63 ASSERT_EQ(window_->lifecycleListeners_[window_->GetWindowId()].size(), 1); in HWTEST_F() 65 ASSERT_EQ(window_->lifecycleListeners_[window_->GetWindowId()].size(), 0); in HWTEST_F() 69 ASSERT_EQ(window_->windowChangeListeners_[window_->GetWindowId()].size(), 1); in HWTEST_F() 71 ASSERT_EQ(window_->windowChangeListeners_[window_->GetWindowId()].size(), 0); in HWTEST_F() 75 ASSERT_EQ(window_->avoidAreaChangeListeners_[window_->GetWindowId()].size(), 1); in HWTEST_F() 77 ASSERT_EQ(window_->avoidAreaChangeListeners_[window_->GetWindowId()].size(), 0); in HWTEST_F() 93 ASSERT_EQ(window_->occupiedAreaChangeListeners_[window_->GetWindowId()].size(), 1); in HWTEST_F() 95 ASSERT_EQ(window_->occupiedAreaChangeListeners_[window_->GetWindowId()].size(), 0); in HWTEST_F() 99 ASSERT_EQ(window_->touchOutsideListeners_[window_->GetWindowId()].size(), 1); in HWTEST_F() 101 ASSERT_EQ(window_->touchOutsideListeners_[window_->GetWindowId()] in HWTEST_F() [all...] |
H A D | root_scene_test.cpp | 75 ASSERT_EQ(1, rootScene.GetWindowId()); in HWTEST_F() 94 ASSERT_EQ(1, rootScene.GetWindowId()); in HWTEST_F() 109 ASSERT_EQ(1, rootScene.GetWindowId()); in HWTEST_F() 130 ASSERT_EQ(1, rootScene.GetWindowId()); in HWTEST_F() 142 ASSERT_EQ(1, rootScene.GetWindowId()); in HWTEST_F() 155 ASSERT_EQ(1, rootScene.GetWindowId()); in HWTEST_F() 167 ASSERT_EQ(1, rootScene.GetWindowId()); in HWTEST_F() 181 ASSERT_EQ(1, rootScene.GetWindowId()); in HWTEST_F() 194 ASSERT_EQ(1, rootScene.GetWindowId()); in HWTEST_F() 207 ASSERT_EQ(1, rootScene.GetWindowId()); in HWTEST_F() [all...] |
H A D | screen_scene_test.cpp | 67 ASSERT_EQ(1, screenScene.GetWindowId());
in HWTEST_F() 80 ASSERT_EQ(1, screenScene.GetWindowId());
in HWTEST_F() 94 ASSERT_EQ(1, screenScene.GetWindowId());
in HWTEST_F() 107 ASSERT_EQ(1, screenScene.GetWindowId());
in HWTEST_F() 120 ASSERT_EQ(1, screenScene.GetWindowId());
in HWTEST_F() 132 ASSERT_EQ(1, screenScene.GetWindowId());
in HWTEST_F() 146 ASSERT_EQ(1, screenScene.GetWindowId());
in HWTEST_F() 158 ASSERT_EQ(1, screenScene.GetWindowId());
in HWTEST_F() 171 ASSERT_EQ(1, screenScene.GetWindowId());
in HWTEST_F()
|
/foundation/window/window_manager/test/systemtest/wms/ |
H A D | window_focus_test.cpp | 156 subAppInfo_.parentId = window3->GetWindowId();
in HWTEST_F() 162 ASSERT_EQ(window3->GetWindowId(), testFocusChangedListener_->focusedWindow_);
in HWTEST_F() 167 ASSERT_EQ(window3->GetWindowId(), testFocusChangedListener_->focusedWindow_);
in HWTEST_F() 172 ASSERT_EQ(window3->GetWindowId(), testFocusChangedListener_->unfocusedWindow_);
in HWTEST_F() 173 ASSERT_EQ(window2->GetWindowId(), testFocusChangedListener_->focusedWindow_);
in HWTEST_F() 178 ASSERT_EQ(window2->GetWindowId(), testFocusChangedListener_->unfocusedWindow_);
in HWTEST_F() 179 ASSERT_EQ(subWindow->GetWindowId(), testFocusChangedListener_->focusedWindow_);
in HWTEST_F() 205 subAppInfo_.parentId = mainWindow->GetWindowId();
in HWTEST_F() 213 ASSERT_EQ(subWindow->GetWindowId(), testFocusChangedListener_->focusedWindow_);
in HWTEST_F() 218 ASSERT_EQ(mainWindow->GetWindowId(), testFocusChangedListener in HWTEST_F() [all...] |
H A D | window_raisetoapptop_test.cpp | 89 fullInfo_.parentId = mainWindow->GetWindowId(); in HWTEST_F() 98 fullInfo_.parentId = mainWindow->GetWindowId(); in HWTEST_F() 130 fullInfo_.parentId = mainWindow->GetWindowId(); in HWTEST_F() 139 fullInfo_.parentId = mainWindow->GetWindowId(); in HWTEST_F() 178 fullInfo_.parentId = mainWindow->GetWindowId(); in HWTEST_F() 190 fullInfo_.parentId = mainWindow->GetWindowId(); in HWTEST_F() 231 fullInfo_.parentId = mainWindow->GetWindowId(); in HWTEST_F()
|
H A D | window_touch_outside_test.cpp | 121 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(firstWindow->GetWindowId());
in HWTEST_F() 143 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(secondWindow->GetWindowId());
in HWTEST_F() 165 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(secondWindow->GetWindowId());
in HWTEST_F() 194 SingletonContainer::Get<WindowAdapter>().ProcessPointDown(thirdWindow->GetWindowId());
in HWTEST_F()
|
/foundation/window/window_manager/wm/src/ |
H A D | window_impl.cpp | 180 GetWindowName().c_str(), GetWindowId(), ++g_deConstructorCnt, static_cast<uint32_t>(surfaceNode_.use_count())); in ~WindowImpl() 240 mainWinId = win->GetWindowId(); in GetTopWindowWithContext() 350 uint32_t WindowImpl::GetWindowId() const in GetWindowId() function in OHOS::Rosen::WindowImpl 352 return property_->GetWindowId(); in GetWindowId() 392 uint32_t windowId = property_->GetWindowId(); in GetAvoidAreaByType() 396 static_cast<int32_t>(ret), property_->GetWindowId(), static_cast<uint32_t>(type)); in GetAvoidAreaByType() 403 WLOGFD("window id: %{public}u, type:%{public}u.", property_->GetWindowId(), static_cast<uint32_t>(type)); in SetWindowType() 430 WLOGI("Window %{public}u mode %{public}u", property_->GetWindowId(), static_cast<uint32_t>(mode)); in SetWindowMode() 436 property_->GetWindowId(), static_cast<uint32_t>(mode)); in SetWindowMode() 454 WLOGFE("set window mode filed! id: %{public}u.", property_->GetWindowId()); in SetWindowMode() [all...] |
H A D | window_input_channel.cpp | 34 WLOGI("windowName: %{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() 138 window_->GetWindowId(), action); in HandlePointerEvent() 145 WLOGI("Destroy WindowInputChannel, windowId:%{public}u", window_->GetWindowId()); in Destroy()
|
/foundation/window/window_manager/wmserver/src/ |
H A D | remote_animation.cpp | 147 WLOGFE("RSWindowAnimation: srcNode has no surface, winId: %{public}u", srcNode->GetWindowId()); in CheckTransition() 152 WLOGFE("RSWindowAnimation: dstNode has no surface, winId: %{public}u", dstNode->GetWindowId()); in CheckTransition() 160 "modeSupportInfo: %{public}u", dstNode->GetWindowId(), dstNode->GetWindowMode(), in CheckTransition() 191 WLOGFE("get surfaceSnapshot failed for window:%{public}u", srcNode->GetWindowId()); in GetAndDrawSnapShot() 196 rsSurfaceNodeConfig.SurfaceNodeName = "closeWin" + std::to_string(srcNode->GetWindowId()); in GetAndDrawSnapShot() 206 WLOGFI("Draw surface snapshot in starting window for window:%{public}u", srcNode->GetWindowId()); in GetAndDrawSnapShot() 209 WLOGFI("Draw startingWindow in starting window for window:%{public}u", srcNode->GetWindowId()); in GetAndDrawSnapShot() 218 WLOGFI("current window:%{public}u state: %{public}u transitionReason:%{public}u", srcNode->GetWindowId(), in GetTransitionEvent() 221 WLOGFE("srcNode is hiding or hidden id: %{public}u!", srcNode->GetWindowId()); in GetTransitionEvent() 233 WLOGFI("current window:%{public}u state: %{public}u", dstNode->GetWindowId(), in GetTransitionEvent() [all...] |
H A D | window_node_container.cpp | 183 WLOGFE("current window is visible, windowId: %{public}u", node->GetWindowId()); in ShowStartingWindow() 196 WLOGI("ShowStartingWindow windowId: %{public}u end", node->GetWindowId()); in ShowStartingWindow() 205 node->GetWindowId()); in IsTileRectSatisfiedWithSizeLimits() 223 node->GetWindowId(), static_cast<uint32_t>(node->stateMachine_.GetCurrentState())); in LayoutWhenAddWindowNode() 232 node->GetWindowId(), winRect.posX_, winRect.posY_, winRect.width_, winRect.height_); in LayoutWhenAddWindowNode() 278 MinimizeOldestMainFloatingWindow(node->GetWindowId()); in AddWindowNode() 282 DumpScreenWindowTreeByWinId(node->GetWindowId()); in AddWindowNode() 298 WLOGI("AddWindowNode Id: %{public}u end", node->GetWindowId()); in AddWindowNode() 350 WLOGD("UpdateNode Id: %{public}u end", node->GetWindowId()); in UpdateWindowNode() 370 WLOGFD("not remove from rs tree id:%{public}u", node->GetWindowId()); in RemoveFromRsTreeWhenRemoveWindowNode() [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() 148 lastSoftInputKeyboardAreaUpdatedWindowId_ = callingWindow->GetWindowId(); in AddOrRemoveKeyboard() 170 lastSoftInputKeyboardAreaUpdatedWindowId_ = appNode->GetWindowId(); in UpdateOverlayWindowIfNeed() 176 WLOGD("window: %{public}u is not in avoidAreaListenerNodes, don't update avoid area.", node->GetWindowId()); in UpdateOverlayWindowIfNeed() 185 lastSoftInputKeyboardAreaUpdatedWindowId_ = node->GetWindowId(); in UpdateOverlayWindowIfNeed() 194 auto iter = lastUpdatedAvoidArea_.find(node->GetWindowId()); in UpdateAvoidAreaIfNeed() [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() 169 WLOGI("Create leashWinSurfaceNode and startingWinSurfaceNode success with id:%{public}u!", node->GetWindowId()); in CreateLeashAndStartingSurfaceNode() 180 HITRACE_METER_FMT(HITRACE_TAG_WINDOW_MANAGER, "wms:DrawStartingWindow(%u)", node->GetWindowId()); in DrawStartingWindow() 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() [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 in SwitchPosition() [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(), reason); in AddNeedMinimizeApp() 135 node->GetWindowId(), reason); in IsNodeNeedMinimizeWithReason() 141 node->GetWindowId(), reason); in IsNodeNeedMinimizeWithReason()
|
H A D | window_layout_policy_tile.cpp | 154 node->GetWindowId(), tileRect.posX_, tileRect.posY_, tileRect.width_, tileRect.height_); in IsTileRectSatisfiedWithSizeLimits() 164 "requestRect: [%{public}d, %{public}d, %{public}u, %{public}u]", node->GetWindowId(), windowType, updateType, in PerformWindowLayout() 203 return foregroundNode->GetWindowId() == node->GetWindowId(); in IsWindowAlreadyInTileQueue() 206 WLOGFD("Window is already in tile queue, windowId: %{public}d", node->GetWindowId()); in IsWindowAlreadyInTileQueue() 223 "modeSupportInfo: %{public}u", node->GetWindowId(), node->GetModeSupportInfo()); in PushBackNodeInTileQueue() 231 WLOGFD("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(), rec in ApplyPresetRectForTileWindows() [all...] |
H A D | window_root.cpp | 236 WLOGFD("Add for window: %{public}u", node->GetWindowId()); in AddDeathRecipient() 239 windowIdMap_.insert(std::make_pair(remoteObject, node->GetWindowId())); in AddDeathRecipient() 257 WLOGFD("save windowId %{public}u", node->GetWindowId()); in SaveWindow() 258 windowNodeMap_.insert(std::make_pair(node->GetWindowId(), node)); in SaveWindow() 302 windowNode->GetWindowId(), static_cast<uint32_t>(windowNode->GetWindowType())); in MinimizeTargetWindows() 374 info->windowId_ = static_cast<int32_t>(windowNode->GetWindowId()); in FillUnreliableWindowInfo() 434 infos.emplace_back(new WindowVisibilityInfo(node->GetWindowId(), node->GetCallingPid(), in GetVisibilityWindowInfo() 499 windowVisibilityInfos.emplace_back(new WindowVisibilityInfo(node->GetWindowId(), node->GetCallingPid(), in NotifyWindowVisibilityChange() 502 memMgrWindowInfos.emplace_back(new Memory::MemMgrWindowInfo(node->GetWindowId(), node->GetCallingPid(), in NotifyWindowVisibilityChange() 506 node->GetWindowId(), visibilityStat in NotifyWindowVisibilityChange() [all...] |
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->GetWindowType()); 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_controller.cpp | 88 node->GetWindowId(), static_cast<uint32_t>(node->stateMachine_.GetCurrentState())); in StartingWindow() 108 FlushWindowInfo(node->GetWindowId()); in StartingWindow() 110 WLOGFI("Show success, id:%{public}u!", node->GetWindowId()); in StartingWindow() 121 WLOGFE("CancelStartingWindow failed because client window has shown id:%{public}u", node->GetWindowId()); in CancelStartingWindow() 124 HITRACE_METER_FMT(HITRACE_TAG_WINDOW_MANAGER, "wms:CancelStartingWindow(%u)", node->GetWindowId()); in CancelStartingWindow() 127 WLOGFI("Id:%{public}u!", node->GetWindowId()); in CancelStartingWindow() 129 WMError res = DestroyWindow(node->GetWindowId(), false); in CancelStartingWindow() 207 focusInfo.windowId_ = static_cast<int32_t>(windowNode->GetWindowId()); in GetFocusWindowInfo() 317 auto node = windowRoot_->GetWindowNode(property->GetWindowId()); in AddWindowNode() 324 WLOGFE("Current window is visible, windowId: %{public}u", node->GetWindowId()); in AddWindowNode() [all...] |
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()
|
/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() in DialogTest005() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/split_container/ |
H A D | render_row_split.cpp | 37 auto windowId = context->GetWindowId(); in HandleDragStart() 64 auto windowId = context->GetWindowId(); in HandleDragUpdate() 78 auto windowId = context->GetWindowId(); in HandleDragEnd()
|
H A D | render_column_split.cpp | 34 auto windowId = context->GetWindowId(); in HandleDragStart() 61 auto windowId = context->GetWindowId(); in HandleDragUpdate() 75 auto windowId = context->GetWindowId(); in HandleDragEnd()
|
/foundation/window/window_manager/interfaces/kits/cj/window_runtime/ |
H A D | window_impl.cpp | 114 "Window [%{public}u] hide end, ret = %{public}d", result.nativeWindow->GetWindowId(), ret); in Hide() 135 windowToken_->GetWindowId(), windowToken_->GetWindowName().c_str(), errCode); in HideWithAnimation() 152 weakWindow->GetWindowId(), weakWindow->GetWindowName().c_str(), ret); in ShowWindow() 173 windowToken_->GetWindowId(), windowToken_->GetWindowName().c_str(), ret); in ShowWithAnimation() 186 weakWindow->GetWindowId(), weakWindow->GetWindowName().c_str(), ret); in DestroyWindow() 200 weakWindow->GetWindowId(), weakWindow->GetWindowName().c_str(), ret); in MoveWindowTo() 217 weakWindow->GetWindowId(), weakWindow->GetWindowName().c_str(), ret); in Resize() 234 windowToken_->GetWindowId(), windowToken_->GetWindowName().c_str(), ret); in SetWindowMode() 277 wp.id = windowToken_->GetWindowId(); in GetWindowProperties() 291 weakWindow->GetWindowId(), weakWindo in SetWindowLayoutFullScreen() [all...] |
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_controller_test.cpp | 120 windowRoot_->windowNodeMap_.insert(std::make_pair(node_->GetWindowId(), node_)); in HWTEST_F() 171 windowRoot_->windowNodeMap_.insert(std::make_pair(srcNode->GetWindowId(), srcNode)); in HWTEST_F() 172 windowRoot_->windowNodeMap_.insert(std::make_pair(dstNode->GetWindowId(), dstNode)); in HWTEST_F() 236 windowRoot_->windowNodeMap_.insert(std::make_pair(node_->GetWindowId(), node_)); in HWTEST_F() 237 container->focusedWindow_ = node_->GetWindowId(); in HWTEST_F() 344 windowRoot_->windowNodeMap_.insert(std::make_pair(node_->GetWindowId(), node_)); in HWTEST_F() 345 property->SetWindowId(node_->GetWindowId()); in HWTEST_F() 385 windowRoot_->windowNodeMap_.insert(std::make_pair(node_->GetWindowId(), node_)); in HWTEST_F() 386 container->focusedWindow_ = node_->GetWindowId(); in HWTEST_F() 401 windowController_->callingWindowId_ = node_->GetWindowId(); in HWTEST_F() [all...] |