Home
last modified time | relevance | path

Searched refs:GetDisplayId (Results 1 – 25 of 136) sorted by relevance

123456

/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_root_test.cpp854 DisplayId displayId = displayInfo->GetDisplayId();
942 DisplayId displayId = displayInfo->GetDisplayId();
965 DisplayId displayId = displayInfo->GetDisplayId();
985 DisplayId displayId = displayInfo->GetDisplayId();
1008 DisplayId displayId = displayInfo->GetDisplayId();
1316 DisplayId displayId = displayInfo->GetDisplayId();
1430 DisplayId displayId = displayInfo->GetDisplayId();
1451 DisplayId displayId = displayInfo->GetDisplayId();
1490 DisplayId displayId = displayInfo->GetDisplayId();
1511 DisplayId displayId = displayInfo->GetDisplayId();
[all …]
H A Dwindow_layout_policy_test.cpp153 displayInfo->SetDisplayId((defaultDisplayInfo_->GetDisplayId() + 1)); in CreateDisplayInfo()
188 Rect expRect2 = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId());
250 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId());
279 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId());
309 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId());
332 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId());
357 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId());
383 auto displayRect = displayGroupInfo_.GetDisplayRect(defaultDisplayInfo_->GetDisplayId());
515 ASSERT_EQ(defaultDisplayInfo->GetDisplayId(), defaultDisplayInfo_->GetDisplayId());
516 auto displayId = defaultDisplayInfo->GetDisplayId();
[all …]
H A Dwindow_manager_service_test.cpp351 …wms->windowController_->windowRoot_->windowNodeContainerMap_[compNode->GetDisplayId()] = container;
352 …indowController_->windowRoot_->displayIdMap_[compNode->GetDisplayId()] = { compNode->GetDisplayId(…
384 …wms->windowController_->windowRoot_->windowNodeContainerMap_[appNode1->GetDisplayId()] = container;
385 …indowController_->windowRoot_->displayIdMap_[appNode1->GetDisplayId()] = { appNode1->GetDisplayId(…
421 …wms->windowController_->windowRoot_->windowNodeContainerMap_[compNode1->GetDisplayId()] = containe…
422 …ndowController_->windowRoot_->displayIdMap_[compNode1->GetDisplayId()] = { compNode1->GetDisplayId
471 …wms->windowController_->windowRoot_->windowNodeContainerMap_[compNode->GetDisplayId()] = container;
472 …indowController_->windowRoot_->displayIdMap_[compNode->GetDisplayId()] = { compNode->GetDisplayId(…
H A Ddisplay_group_controller_test.cpp347 ASSERT_EQ(0, node1->GetDisplayId());
367 ASSERT_EQ(0, node1->GetDisplayId());
387 ASSERT_EQ(0, node1->GetDisplayId());
406 ASSERT_EQ(0, node1->GetDisplayId());
425 ASSERT_EQ(1, node1->GetDisplayId());
529 ASSERT_EQ(1, node1->GetDisplayId());
585 ASSERT_EQ(1, node1->GetDisplayId());
609 ASSERT_EQ(0, node1->GetDisplayId());
/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/
H A Dinput_display_bind_helper.cpp67 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()
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()
624 infos_->UnbindDisplay(bindByDisplay.GetDisplayId()); in SetDisplayBind()
[all …]
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Ddisplay_group_controller.cpp118 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()
265 ChangeToRectInDisplayGroup(node, node->GetDisplayId()); in PreProcessWindowNode()
301 node->GetDisplayId(), newDisplayId); in UpdateWindowDisplayId()
315 if (node->GetDisplayId() != targetDisplayId) { in MoveCrossNodeToTargetDisplay()
406 DisplayId displayId = displayInfo->GetDisplayId(); in ProcessDisplayCreate()
430 DisplayId displayId = displayInfo->GetDisplayId(); in ProcessDisplayDestroy()
445 auto displayId = node->GetDisplayId(); in ProcessSystemBarRotation()
[all …]
H A Dwindow_layout_policy_cascade.cpp140 auto displayId = node->GetDisplayId(); in LayoutDivider()
186 LayoutWindowTree(node->GetDisplayId()); in PerformWindowLayout()
188 InitCascadeRect(node->GetDisplayId()); in PerformWindowLayout()
192 LayoutSplitNodes(node->GetDisplayId(), updateType); in PerformWindowLayout()
241 auto displayId = node->GetDisplayId(); in UpdateDividerPosition()
362 if (newRect.posY_ < limitRectMap_[node->GetDisplayId()].posY_ && in ComputeRectByAspectRatio()
419 winRect = cascadeRectsMap_[node->GetDisplayId()].dividerRect_; in ApplyWindowRectConstraints()
438 auto displayId = node->GetDisplayId(); in UpdateLayoutRect()
573 const DisplayId& displayId = node->GetDisplayId(); in GetCurCascadeRect()
642 rect = cascadeRectsMap_[node->GetDisplayId()].defaultCascadeRect_; in SetDefaultCascadeRect()
[all …]
H A Dwindow_root.cpp125 DisplayId displayId = displayInfo->GetDisplayId(); in CreateWindowNodeContainer()
285 auto container = GetOrCreateWindowNodeContainer(node->GetDisplayId()); in MinimizeStructuredAppWindowsExceptSelf()
696 DisplayId displayId = dstNode->GetDisplayId(); in GetDisplayRectWithoutSystemBarAreas()
700 if (node && (node->GetDisplayId() == displayId) && in GetDisplayRectWithoutSystemBarAreas()
764 auto container = GetOrCreateWindowNodeContainer(node->GetDisplayId()); in LayoutWhenAddWindowNode()
799 auto container = GetOrCreateWindowNodeContainer(node->GetDisplayId()); in AddWindowNode()
863 auto container = GetOrCreateWindowNodeContainer(node->GetDisplayId()); in RemoveWindowNode()
904 auto container = GetOrCreateWindowNodeContainer(node->GetDisplayId()); in UpdateDisplayOrientationWhenHideWindow()
1271 return container->IsVerticalDisplay(node->GetDisplayId()); in IsVerticalDisplay()
1581 DisplayId displayId = displayInfo->GetDisplayId(); in ProcessExpandDisplayCreate()
[all …]
H A Dwindow_layout_policy_tile.cpp132 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 Dwindow_controller.cpp208 focusInfo.displayId_ = windowNode->GetDisplayId(); in GetFocusWindowInfo()
655 displayId = node->GetDisplayId(); in DestroyWindow()
706 if (windowRoot_->IsForbidDockSliceMove(node->GetDisplayId())) { in ResizeRect()
798 FlushWindowInfoWithDisplayId(displayInfo->GetDisplayId()); in NotifyDisplayStateChange()
832 if (displayInfo->GetDisplayId() != defaultDisplayId) { in SetDefaultDisplayInfo()
869 auto displayId = displayInfo->GetDisplayId(); in ProcessDisplayChange()
881 DisplayId displayId = displayInfo->GetDisplayId(); in ProcessDisplayCompression()
1167 windowRoot_->TakeWindowPairSnapshot(node->GetDisplayId()); in ProcessPointDown()
1194 DisplayId displayId = node->GetDisplayId(); in ProcessPointUp()
1198 windowRoot_->ClearWindowPairSnapshot(node->GetDisplayId()); in ProcessPointUp()
[all …]
H A Dwindow_system_effect.cpp53 …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 Dinput_window_monitor.cpp56 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 Dwindow_layout_policy.cpp56 Rect displayRect = DisplayGroupInfo::GetInstance().GetDisplayRect(node->GetDisplayId()); in LimitWindowToBottomRightCorner()
357 UpdateDisplayLimitRect(node, limitRectMap_[node->GetDisplayId()]); in LayoutWindowNode()
418 rect = DisplayGroupInfo::GetInstance().GetDisplayRect(node->GetDisplayId()); in CalcEntireWindowHotZone()
430 …tualPixelRatio = DisplayGroupInfo::GetInstance().GetDisplayVirtualPixelRatio(node->GetDisplayId()); in CalcAndSetNodeHotZone()
499 const auto& displayRect = DisplayGroupInfo::GetInstance().GetDisplayRect(node->GetDisplayId()); in UpdateWindowSizeLimits()
500 …tualPixelRatio = DisplayGroupInfo::GetInstance().GetDisplayVirtualPixelRatio(node->GetDisplayId()); in UpdateWindowSizeLimits()
572 auto avoidPosType = GetAvoidPosType(layoutRect, node->GetDisplayId()); in UpdateDisplayLimitRect()
672 displayGroupInfo.GetDisplayInfo(node->GetDisplayId())); in SetBounds()
676 displayGroupInfo.GetDisplayInfo(node->GetDisplayId())); in SetBounds()
703 auto disInfo = DisplayGroupInfo::GetInstance().GetDisplayInfo(node->GetDisplayId()); in UpdateSurfaceBounds()
[all …]
H A Daccessibility_connection.cpp34 auto container = windowRoot_->GetOrCreateWindowNodeContainer(node->GetDisplayId()); in NotifyAccessibilityWindowInfo()
102 info->displayId_ = node->GetDisplayId(); in FillAccessibilityWindowInfo()
H A Dstarting_window.cpp116 property->SetDisplayId(info->GetDisplayId()); in InitializeWindowProperty()
137 auto displayInfo = DisplayGroupInfo::GetInstance().GetDisplayInfo(info->GetDisplayId()); in ChangePropertyByApiVersion()
182 …if (RemoteAnimation::CheckRemoteAnimationEnabled(node->GetDisplayId()) && node->leashWinSurfaceNod… in DrawStartingWindow()
357 DisplayId displayId = node->GetDisplayId(); in UpdateRSTree()
H A Dwindow_node_container.cpp72 DisplayId displayId = displayInfo->GetDisplayId(); in WindowNodeContainer()
225 RemoteAnimation::IsRemoteAnimationEnabledAndFirst(node->GetDisplayId()) && in LayoutWhenAddWindowNode()
265 auto windowPair = displayGroupController_->GetWindowPairByDisplayId(node->GetDisplayId()); in AddWindowNode()
343 SwitchLayoutPolicy(WindowLayoutMode::CASCADE, node->GetDisplayId()); in UpdateWindowNode()
497 DisplayManagerServiceInner::GetInstance().SetOrientationFromWindow(node->GetDisplayId(), in SetDisplayOrientationFromWindow()
613 auto windowPair = displayGroupController_->GetWindowPairByDisplayId(node->GetDisplayId()); in HandleRemoveWindow()
1306 NotifyIfSystemBarRegionChanged(node->GetDisplayId()); in NotifyIfAvoidAreaChanged()
1308 NotifyIfSystemBarTintChanged(node->GetDisplayId()); in NotifyIfAvoidAreaChanged()
1773 auto windowPair = displayGroupController_->GetWindowPairByDisplayId(node->GetDisplayId()); in RaiseSplitRelatedWindowToTop()
2085 backupDisplaySplitWindowMode_[appNode->GetDisplayId()].insert(windowMode); in BackUpAllAppWindows()
[all …]
H A Dwindow_group_mgr.cpp93 displayIds.insert(windowNode->GetDisplayId()); in MoveMissionsToBackground()
132 displayIds.insert(windowNode->GetDisplayId()); in MoveMissionToForeground()
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_video_capture_info_adapter_impl.cpp23 uint64_t ArkVideoCaptureInfoAdapterImpl::GetDisplayId() in GetDisplayId() function in OHOS::ArkWeb::ArkVideoCaptureInfoAdapterImpl
25 return real_->GetDisplayId(); in GetDisplayId()
H A Dark_video_capture_info_adapter_impl.h27 uint64_t GetDisplayId() override;
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_video_capture_info_adapter_wrapper.cpp26 uint64_t ArkVideoCaptureInfoAdapterWrapper::GetDisplayId() in GetDisplayId() function in OHOS::ArkWeb::ArkVideoCaptureInfoAdapterWrapper
28 return ctocpp_->GetDisplayId(); in GetDisplayId()
H A Dark_video_capture_info_adapter_wrapper.h29 uint64_t GetDisplayId() override;
/ohos5.0/foundation/multimodalinput/input/service/window_manager/test/
H A Dmock.h55 virtual int32_t GetDisplayId() = 0;
71 MOCK_METHOD0(GetDisplayId, int32_t());
/ohos5.0/foundation/window/window_manager/dm_lite/src/
H A Ddisplay_manager_lite.cpp97 if (displayInfo == nullptr || displayInfo->GetDisplayId() == DISPLAY_ID_INVALID) { in OnDisplayCreate()
112 listener->OnCreate(displayInfo->GetDisplayId()); in OnDisplayCreate()
139 if (displayInfo == nullptr || displayInfo->GetDisplayId() == DISPLAY_ID_INVALID) { in OnDisplayChange()
147 …nDisplayChange: display %{public}" PRIu64", event %{public}u", displayInfo->GetDisplayId(), event); in OnDisplayChange()
155 listener->OnChange(displayInfo->GetDisplayId()); in OnDisplayChange()
321 DisplayId displayId = displayInfo->GetDisplayId(); in UpdateDisplayInfoLocked()
497 auto displayId = displayInfo->GetDisplayId(); in GetDefaultDisplay()
694 return info->GetDisplayId(); in GetDefaultDisplayId()
/ohos5.0/foundation/multimedia/av_session/services/session/server/
H A Dhw_cast_display_listener.cpp42 if (!curDisplayInfo || curDisplayInfo->GetDisplayId() != displayId) { in OnDisconnect()
74 castDisplayInfo.displayId = displayInfo->GetDisplayId(); in ReportCastDisplay()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/test/unittest/utils/
H A Ddscreen_maprelation_test.cpp45 uint64_t actual = dscreenMapRelation->GetDisplayId();
142 EXPECT_EQ(displayId, jsonDScreenMapRelation.GetDisplayId());
167 EXPECT_EQ(displayId, jsonDScreenMapRelation.GetDisplayId());

123456