/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_root_test.cpp | 388 windowRoot_->windowNodeContainerMap_.insert(std::make_pair(node->GetDisplayId(), container)); in HWTEST_F() 494 windowRoot_->windowNodeContainerMap_.insert(std::make_pair(node->GetDisplayId(), container)); in HWTEST_F() 518 windowRoot_->windowNodeContainerMap_.insert(std::make_pair(node->GetDisplayId(), container)); in HWTEST_F() 559 windowNode->SetDisplayId(displayInfo->GetDisplayId()); in HWTEST_F() 684 windowRoot_->windowNodeContainerMap_.insert(std::make_pair(node->GetDisplayId(), container)); in HWTEST_F() 704 windowRoot_->windowNodeContainerMap_.insert(std::make_pair(node->GetDisplayId(), container)); in HWTEST_F() 854 DisplayId displayId = displayInfo->GetDisplayId(); in HWTEST_F() 942 DisplayId displayId = displayInfo->GetDisplayId(); in HWTEST_F() 965 DisplayId displayId = displayInfo->GetDisplayId(); in HWTEST_F() 985 DisplayId displayId = displayInfo->GetDisplayId(); in HWTEST_F() [all...] |
H A D | window_layout_policy_test.cpp | 153 displayInfo->SetDisplayId((defaultDisplayInfo_->GetDisplayId() + 1)); in CreateDisplayInfo() 188 Rect expRect2 = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId()); in HWTEST_F() 250 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId()); in HWTEST_F() 279 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId()); in HWTEST_F() 309 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId()); in HWTEST_F() 332 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId()); in HWTEST_F() 357 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId()); in HWTEST_F() 383 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId()); in HWTEST_F() 418 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId()); in HWTEST_F() 439 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId()); in HWTEST_F() [all...] |
H A D | window_manager_service_test.cpp | 351 wms->windowController_->windowRoot_->windowNodeContainerMap_[compNode->GetDisplayId()] = container; in HWTEST_F() 352 wms->windowController_->windowRoot_->displayIdMap_[compNode->GetDisplayId()] = { compNode->GetDisplayId() }; in HWTEST_F() 384 wms->windowController_->windowRoot_->windowNodeContainerMap_[appNode1->GetDisplayId()] = container; in HWTEST_F() 385 wms->windowController_->windowRoot_->displayIdMap_[appNode1->GetDisplayId()] = { appNode1->GetDisplayId() }; in HWTEST_F() 421 wms->windowController_->windowRoot_->windowNodeContainerMap_[compNode1->GetDisplayId()] = container; in HWTEST_F() 422 wms->windowController_->windowRoot_->displayIdMap_[compNode1->GetDisplayId()] = { compNode1->GetDisplayId() }; in HWTEST_F() 471 wms->windowController_->windowRoot_->windowNodeContainerMap_[compNode->GetDisplayId()] in HWTEST_F() [all...] |
/foundation/window/window_manager/wmserver/src/ |
H A D | display_group_controller.cpp | 72 std::vector<sptr<WindowNode>>* rootNodeVectorPtr = GetWindowNodesByDisplayIdAndRootType(node->GetDisplayId(), in AddWindowNodeOnWindowTree() 77 "rootType: %{public}d", node->GetDisplayId(), node->GetWindowId(), rootType); in AddWindowNodeOnWindowTree() 118 node->GetWindowId(), node->GetDisplayId()); in ProcessCrossNodes() 126 newDisplayId = node->GetDisplayId(); in ProcessCrossNodes() 187 DisplayId newDisplayId = node->GetDisplayId(); in UpdateWindowDisplayIdIfNeeded() 223 if (node->GetDisplayId() != newDisplayId) { in UpdateWindowDisplayIdIfNeeded() 243 std::vector<DisplayId> curShowingDisplays = { node->GetDisplayId() }; in ChangeToRectInDisplayGroup() 251 std::vector<DisplayId> curShowingDisplays = { node->GetDisplayId() }; in PreProcessWindowNode() 265 ChangeToRectInDisplayGroup(node, node->GetDisplayId()); in PreProcessWindowNode() 301 node->GetDisplayId(), newDisplayI in UpdateWindowDisplayId() [all...] |
H A D | window_root.cpp | 125 DisplayId displayId = displayInfo->GetDisplayId(); in CreateWindowNodeContainer() 179 wptr<WindowNodeContainer> container = GetWindowNodeContainer(it.second->GetDisplayId()); in GetBackgroundNodesByScreenId() 285 auto container = GetOrCreateWindowNodeContainer(node->GetDisplayId()); in MinimizeStructuredAppWindowsExceptSelf() 529 sptr<WindowNodeContainer> container = GetOrCreateWindowNodeContainer(node->GetDisplayId()); in GetAvoidAreaByType() 695 DisplayId displayId = dstNode->GetDisplayId(); in GetDisplayRectWithoutSystemBarAreas() 699 if (node && (node->GetDisplayId() == displayId) && in GetDisplayRectWithoutSystemBarAreas() 763 auto container = GetOrCreateWindowNodeContainer(node->GetDisplayId()); in LayoutWhenAddWindowNode() 798 auto container = GetOrCreateWindowNodeContainer(node->GetDisplayId()); in AddWindowNode() 862 auto container = GetOrCreateWindowNodeContainer(node->GetDisplayId()); in RemoveWindowNode() 903 auto container = GetOrCreateWindowNodeContainer(node->GetDisplayId()); in UpdateDisplayOrientationWhenHideWindow() [all...] |
H A D | window_layout_policy_cascade.cpp | 139 auto displayId = node->GetDisplayId(); in LayoutDivider() 185 LayoutWindowTree(node->GetDisplayId()); in PerformWindowLayout() 187 InitCascadeRect(node->GetDisplayId()); in PerformWindowLayout() 191 LayoutSplitNodes(node->GetDisplayId(), updateType); in PerformWindowLayout() 204 const auto& presetRect = cascadeRectsMap_[node->GetDisplayId()].dividerRect_; in SetInitialDividerRect() 240 auto displayId = node->GetDisplayId(); in UpdateDividerPosition() 285 float vpr = DisplayGroupInfo::GetInstance().GetDisplayVirtualPixelRatio(node->GetDisplayId()); in CheckAspectRatioBySizeLimits() 328 float vpr = DisplayGroupInfo::GetInstance().GetDisplayVirtualPixelRatio(node->GetDisplayId()); in ComputeRectByAspectRatio() 361 if (newRect.posY_ < limitRectMap_[node->GetDisplayId()].posY_ && in ComputeRectByAspectRatio() 387 float virtualPixelRatio = DisplayGroupInfo::GetInstance().GetDisplayVirtualPixelRatio(node->GetDisplayId()); in ComputeDecoratedRequestRect() [all...] |
H A D | window_layout_policy_tile.cpp | 132 const auto& displayId = node->GetDisplayId(); in IsTileRectSatisfiedWithSizeLimits() 170 PushBackNodeInTileQueue(node, node->GetDisplayId()); in PerformWindowLayout() 171 LayoutTileQueue(node->GetDisplayId()); in PerformWindowLayout() 179 LayoutTileQueue(node->GetDisplayId()); in PerformWindowLayout() 200 auto& foregroundNodes = foregroundNodesMap_[node->GetDisplayId()]; in IsWindowAlreadyInTileQueue() 244 DisplayId displayId = node->GetDisplayId(); in RemoveNodeFromTileQueue() 358 const auto& displayRect = DisplayGroupInfo::GetInstance().GetDisplayRect(node->GetDisplayId()); in UpdateLayoutRect() 359 const auto& limitDisplayRect = limitRectMap_[node->GetDisplayId()]; in UpdateLayoutRect()
|
H A D | window_controller.cpp | 208 focusInfo.displayId_ = windowNode->GetDisplayId(); in GetFocusWindowInfo() 311 accessibilityConnection_->NotifyAccessibilityWindowInfo(node->GetDisplayId(), nodes, in NotifyAfterAddWindow() 419 auto container = windowRoot_->GetOrCreateWindowNodeContainer(node->GetDisplayId()); in RelayoutKeyboard() 426 bool res = GetNavigationBarHeight(node->GetDisplayId(), navigationBarHeight); in RelayoutKeyboard() 516 auto windowNodeContainer = windowRoot_->GetOrCreateWindowNodeContainer(node->GetDisplayId()); in ResizeSoftInputCallingWindowIfNeed() 518 WLOGFE("NodeContainer is null, displayId:%{public}" PRIu64"", node->GetDisplayId()); in ResizeSoftInputCallingWindowIfNeed() 621 accessibilityConnection_->NotifyAccessibilityWindowInfo(windowNode->GetDisplayId(), nodes, in RemoveWindowNode() 629 !windowRoot_->HasMainFullScreenWindowShown(windowNode->GetDisplayId())) { in RemoveWindowNode() 655 displayId = node->GetDisplayId(); in DestroyWindow() 673 accessibilityConnection_->NotifyAccessibilityWindowInfo(node->GetDisplayId(), node in DestroyWindow() [all...] |
H A D | window_system_effect.cpp | 53 if (needCheckAnimation && RemoteAnimation::IsRemoteAnimationEnabledAndFirst(node->GetDisplayId()) && in SetCornerRadius() 62 auto vpr = DisplayGroupInfo::GetInstance().GetDisplayVirtualPixelRatio(node->GetDisplayId()); in SetCornerRadius() 156 auto vpr = DisplayGroupInfo::GetInstance().GetDisplayVirtualPixelRatio(node->GetDisplayId()); in SetWindowShadow()
|
H A D | input_window_monitor.cpp | 56 DisplayId displayId = windowNode->GetDisplayId(); in UpdateInputWindow() 121 .id = static_cast<int32_t>(displayInfo->GetDisplayId()), in UpdateDisplayInfo() 127 .name = "display " + std::to_string(displayInfo->GetDisplayId()), in UpdateDisplayInfo() 128 .uniq = "default" + std::to_string(displayInfo->GetDisplayId()), in UpdateDisplayInfo()
|
H A D | accessibility_connection.cpp | 34 auto container = windowRoot_->GetOrCreateWindowNodeContainer(node->GetDisplayId()); in NotifyAccessibilityWindowInfo() 102 info->displayId_ = node->GetDisplayId(); in FillAccessibilityWindowInfo()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_display_bind_helper.cpp | 67 int32_t BindInfo::GetDisplayId() const in GetDisplayId() function in OHOS::MMI::BindInfo 182 return item.GetDisplayId(); in GetBindDisplayIdByInputDevice() 252 if (it->GetDisplayId() == displayId) { in UnbindDisplay() 363 if ((info.GetDisplayName() == name) && (info.GetDisplayId() == id)) { in IsDisplayAdd() 376 if (info.GetDisplayId() != -1) { in GetDisplayIdNames() 377 idNames.insert(std::make_pair(info.GetDisplayId(), info.GetDisplayName())); in GetDisplayIdNames() 572 .displayId = item.GetDisplayId(), in GetDisplayBindInfo() 600 if (item.GetDisplayId() == displayId) { in SetDisplayBind() 609 if (bindByDisplay.GetDisplayId() == -1) { in SetDisplayBind() 623 infos_->UnbindDisplay(bindByDevice.GetDisplayId()); in SetDisplayBind() [all...] |
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/mirror/src/ |
H A D | mirror_player_impl.cpp | 106 int32_t MirrorPlayerImpl::GetDisplayId(std::string &displayId) in GetDisplayId() function in OHOS::CastEngine::CastEngineService::MirrorPlayerImpl 108 CLOGD("GetDisplayId in"); in GetDisplayId() 114 return session->GetDisplayId(displayId); in GetDisplayId()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/mirror/src/ |
H A D | mirror_player_impl.cpp | 106 int32_t MirrorPlayerImpl::GetDisplayId(std::string &displayId) in GetDisplayId() function in OHOS::CastEngine::CastEngineService::MirrorPlayerImpl 108 CLOGD("GetDisplayId in"); in GetDisplayId() 114 return session->GetDisplayId(displayId); in GetDisplayId()
|
/foundation/CastEngine/castengine_cast_framework/client/src/ |
H A D | mirror_player.cpp | 92 int32_t MirrorPlayer::GetDisplayId(std::string &displayId) in GetDisplayId() function in OHOS::CastEngine::CastEngineClient::MirrorPlayer 94 return proxy_ ? proxy_->GetDisplayId(displayId) : CAST_ENGINE_ERROR; in GetDisplayId()
|
/foundation/multimodalinput/input/service/window_manager/test/ |
H A D | mock.h | 55 virtual int32_t GetDisplayId() = 0; 73 MOCK_METHOD0(GetDisplayId, int32_t());
|
/foundation/window/window_manager/dm_lite/src/ |
H A D | display_manager_lite.cpp | 97 if (displayInfo == nullptr || displayInfo->GetDisplayId() == DISPLAY_ID_INVALID) {
112 listener->OnCreate(displayInfo->GetDisplayId());
139 if (displayInfo == nullptr || displayInfo->GetDisplayId() == DISPLAY_ID_INVALID) {
147 WLOGD("onDisplayChange: display %{public}" PRIu64", event %{public}u", displayInfo->GetDisplayId(), event);
151 listener->OnChange(displayInfo->GetDisplayId());
317 DisplayId displayId = displayInfo->GetDisplayId();
in UpdateDisplayInfoLocked() 493 auto displayId = displayInfo->GetDisplayId();
in GetDefaultDisplay() 702 return info->GetDisplayId();
in GetDefaultDisplayId()
|
/foundation/distributedhardware/distributed_screen/services/common/test/unittest/utils/ |
H A D | dscreen_maprelation_test.cpp | 37 * @tc.desc: Verify the GetDisplayId function. 45 uint64_t actual = dscreenMapRelation->GetDisplayId(); in HWTEST_F() 142 EXPECT_EQ(displayId, jsonDScreenMapRelation.GetDisplayId()); in HWTEST_F() 167 EXPECT_EQ(displayId, jsonDScreenMapRelation.GetDisplayId()); in HWTEST_F()
|
/foundation/window/window_manager/test/demo/ |
H A D | demo_screenshot_listener.cpp | 34 << ", display=" << std::to_string(info.GetDisplayId()) << std::endl; in main()
|
/foundation/window/window_manager/utils/test/unittest/ |
H A D | display_info_test.cpp | 64 ASSERT_EQ(displayInfoDst->GetDisplayId(), 1); in HWTEST_F()
|
/foundation/CastEngine/castengine_cast_framework/interfaces/inner_api/include/ |
H A D | i_mirror_player.h | 43 virtual int32_t GetDisplayId(std::string &displayId) = 0;
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/mirror/include/ |
H A D | mirror_player_impl.h | 42 int32_t GetDisplayId(std::string &displayId) override;
|
/foundation/CastEngine/castengine_cast_plus_stream/src/mirror/include/ |
H A D | mirror_player_impl.h | 42 int32_t GetDisplayId(std::string &displayId) override;
|
/foundation/CastEngine/castengine_cast_framework/client/include/ |
H A D | mirror_player.h | 42 int32_t GetDisplayId(std::string &displayId) override;
|
H A D | mirror_player_impl_proxy.h | 42 int32_t GetDisplayId(std::string &displayId) override;
|