/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_screen_mode_demo.cpp | 36 std::cout << "The default screen id is " << defaultDisplayId_ << std::endl; in TestRun() 40 std::cout << "The default screen id is " << defaultDisplayId_ << in TestRun() 44 std::cout << "The default screen id is " << defaultDisplayId_ << in TestRun() 51 RSScreenModeInfo currScreenMode = rsInterface_.GetScreenActiveMode(defaultDisplayId_); in TestRun() 62 rsInterface_.SetScreenActiveMode(defaultDisplayId_, defaultModeId_); in TestRun() 63 RSScreenModeInfo currScreenMode = rsInterface_.GetScreenActiveMode(defaultDisplayId_); in TestRun() 74 defaultDisplayId_ = rsInterface_.GetDefaultScreenId(); in RSScreenModeTestCase() 75 supportedModes_ = rsInterface_.GetScreenSupportedModes(defaultDisplayId_); in RSScreenModeTestCase() 76 RSScreenModeInfo defaultScreenMode = rsInterface_.GetScreenActiveMode(defaultDisplayId_); in RSScreenModeTestCase() 104 rsInterface_.SetScreenActiveMode(defaultDisplayId_, newScreenModeI in ChangeScreenActiveMode() 110 ScreenId defaultDisplayId_ = 0; global() member in RSScreenModeTestCase [all...] |
H A D | render_service_client_rs_demo.cpp | 183 DisplayId defaultDisplayId_; member in OHOS::Rosen::DmsMock 208 defaultDisplayId_ = rsInterface_.GetDefaultScreenId(); in Init() 209 displays_[defaultDisplayId_] = in Init() 210 Display { defaultDisplayId_, rsInterface_.GetScreenActiveMode(defaultDisplayId_) }; in Init() 225 return defaultDisplayId_; in GetDefaultDisplayId() 253 if (id == defaultDisplayId_) { in OnDisplayDisConnected() 254 defaultDisplayId_ = rsInterface_.GetDefaultScreenId(); in OnDisplayDisConnected() 255 std::cout << "DmsMock: DefaultDisplayId changed, new DefaultDisplayId is" << defaultDisplayId_ << "." in OnDisplayDisConnected()
|
H A D | surface_capture_test.cpp | 178 return defaultDisplayId_;
in GetDefaultDisplayId() 206 if (id == defaultDisplayId_) {
in OnDisplayDisConnected() 207 defaultDisplayId_ = rsInterface_.GetDefaultScreenId();
in OnDisplayDisConnected() 208 std::cout << "MyDMS: DefaultDisplayId changed, new DefaultDisplayId is" << defaultDisplayId_ << "."
in OnDisplayDisConnected() 221 DisplayId defaultDisplayId_;
member in MyDMS 241 defaultDisplayId_ = rsInterface_.GetDefaultScreenId();
in Init() 242 displays_[defaultDisplayId_] =
in Init() 243 Display { defaultDisplayId_, rsInterface_.GetScreenActiveMode(defaultDisplayId_) };
in Init()
|
/foundation/ability/ability_base/interfaces/kits/native/configuration/src/ |
H A D | configuration.cpp | 33 Configuration::Configuration(const Configuration &other) : defaultDisplayId_(other.defaultDisplayId_) in Configuration() 45 defaultDisplayId_ = other.defaultDisplayId_; in operator =() 221 return AddItem(defaultDisplayId_, key, value); in AddItem() 226 return GetItem(defaultDisplayId_, key); in GetItem() 231 return RemoveItem(defaultDisplayId_, key); in RemoveItem() 244 defaultDisplayId_ = parcel.ReadInt32(); in ReadFromParcel() 294 parcel.WriteInt32(defaultDisplayId_); in Marshalling()
|
/foundation/window/window_manager/dm/test/unittest/ |
H A D | display_change_unit_test.cpp | 51 static DisplayId defaultDisplayId_; member in OHOS::Rosen::DisplayChangeUnitTest 55 DisplayId DisplayChangeUnitTest::defaultDisplayId_ = DISPLAY_ID_INVALID; member in OHOS::Rosen::DisplayChangeUnitTest 60 defaultDisplayId_ = DisplayManager::GetInstance().GetDefaultDisplayId(); in SetUpTestCase() 61 sptr<Display> defaultDisplay = DisplayManager::GetInstance().GetDisplayById(defaultDisplayId_); in SetUpTestCase()
|
H A D | display_test.cpp | 39 static DisplayId defaultDisplayId_; member in OHOS::Rosen::DisplayTest 42 DisplayId DisplayTest::defaultDisplayId_ = DISPLAY_ID_INVALID; member in OHOS::Rosen::DisplayTest 47 defaultDisplayId_ = static_cast<DisplayId>(defaultDisplay_->GetId()); in SetUpTestCase()
|
/foundation/window/window_manager/wmserver/src/ |
H A D | display_group_controller.cpp | 112 defaultDisplayId_ = defaultDisplayId; in ProcessCrossNodes() 273 ChangeToRectInDisplayGroup(node, defaultDisplayId_); in PreProcessWindowNode() 329 const Rect& dstDisplayRect = DisplayGroupInfo::GetInstance().GetDisplayRect(defaultDisplayId_); in MoveNotCrossNodeToDefaultDisplay() 341 std::vector<DisplayId> newShowingDisplays = { defaultDisplayId_ }; in MoveNotCrossNodeToDefaultDisplay() 344 UpdateWindowDisplayId(node, defaultDisplayId_); in MoveNotCrossNodeToDefaultDisplay() 354 if (displayId == defaultDisplayId_) { in ProcessNotCrossNodesOnDestroyedDisplay() 392 windowNodeContainer_->RemoveNodeFromRSTree(node, displayId, defaultDisplayId_, in ProcessNotCrossNodesOnDestroyedDisplay() 394 windowNodeContainer_->AddNodeOnRSTree(node, defaultDisplayId_, defaultDisplayId_, in ProcessNotCrossNodesOnDestroyedDisplay() 403 defaultDisplayId_ in ProcessDisplayCreate() [all...] |
H A D | display_group_info.cpp | 123 defaultDisplayId_ = defaultDisplayId; in SetDefaultDisplayId() 189 if (displayInfosMap_.find(defaultDisplayId_) != displayInfosMap_.end()) { in GetDefaultDisplayInfo() 190 return displayInfosMap_[defaultDisplayId_]; in GetDefaultDisplayInfo() 234 return defaultDisplayId_; in GetDefaultDisplayId()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/systemtest/ |
H A D | rs_interfaces_virtual_screen_test.cpp | 38 static DisplayId defaultDisplayId_; member in OHOS::Rosen::RSInterfacesVirtualScreenTest 50 DisplayId RSInterfacesVirtualScreenTest::defaultDisplayId_ = DISPLAY_ID_INVALID; member in OHOS::Rosen::RSInterfacesVirtualScreenTest 64 defaultDisplayId_ = defaultDisplay_->GetId(); in SetUpTestCase()
|
H A D | rs_interfaces_system_test.cpp | 38 static DisplayId defaultDisplayId_;
member in OHOS::Rosen::RSInterfacesSystemTest 50 DisplayId RSInterfacesSystemTest::defaultDisplayId_ = DISPLAY_ID_INVALID;
member in OHOS::Rosen::RSInterfacesSystemTest 65 defaultDisplayId_ = defaultDisplay_->GetId();
in SetUpTestCase()
|
/foundation/window/window_manager/test/systemtest/dms/ |
H A D | display_change_test.cpp | 73 static DisplayId defaultDisplayId_; member in OHOS::Rosen::DisplayChangeTest 79 DisplayId DisplayChangeTest::defaultDisplayId_ = DISPLAY_ID_INVALID; member in OHOS::Rosen::DisplayChangeTest 86 defaultDisplayId_ = DisplayManager::GetInstance().GetDefaultDisplayId(); in SetUpTestCase() 87 ASSERT_NE(DISPLAY_ID_INVALID, defaultDisplayId_); in SetUpTestCase() 88 sptr<Display> defaultDisplay = DisplayManager::GetInstance().GetDisplayById(defaultDisplayId_); in SetUpTestCase() 294 sptr<Display> defaultDisplay = DisplayManager::GetInstance().GetDisplayById(defaultDisplayId_); in HWTEST_F() 314 GetDisplayById(defaultDisplayId_)->GetVirtualPixelRatio() * BASELINE_DENSITY); in HWTEST_F()
|
H A D | screen_manager_test.cpp | 55 static DisplayId defaultDisplayId_;
member in OHOS::Rosen::ScreenManagerTest 117 DisplayId ScreenManagerTest::defaultDisplayId_ = DISPLAY_ID_INVALID;
member in OHOS::Rosen::ScreenManagerTest 133 defaultDisplayId_ = defaultDisplay_->GetId();
in SetUpTestCase() 1078 std::vector<ExpandOption> options = {{defaultDisplayId_, 0, 0}, {virtualScreenId, defaultWidth_, 0}};
in HWTEST_F() 1117 std::vector<ExpandOption> options = {{defaultDisplayId_, 0, 0}, {virtualScreenId, defaultWidth_, 0}};
in HWTEST_F() 1156 std::vector<ExpandOption> options = {{defaultDisplayId_, 0, 0}, {virtualScreenId, defaultWidth_, 0}};
in HWTEST_F()
|
/foundation/window/window_manager/dmserver/src/ |
H A D | screen_rotation_controller.cpp | 29 DisplayId ScreenRotationController::defaultDisplayId_ = 0; 46 defaultDisplayId_ = DisplayManagerServiceInner::GetInstance().GetDefaultDisplayId(); in Init() 47 if (defaultDisplayId_ == DISPLAY_ID_INVALID) { in Init() 48 WLOGFE("defaultDisplayId_ is invalid"); in Init() 120 sptr<ScreenInfo> screenInfo = DisplayManagerServiceInner::GetInstance().GetScreenInfoByDisplayId(defaultDisplayId_); in GetPreferredOrientation() 191 DisplayManagerServiceInner::GetInstance().SetRotationFromWindow(defaultDisplayId_, targetRotation, withAnimation); in SetScreenRotation() 350 DisplayManagerServiceInner::GetInstance().GetScreenModesByDisplayId(defaultDisplayId_); in ProcessRotationMapping()
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | abstract_display_controller_test.cpp | 45 DisplayId defaultDisplayId_ = 0; member in OHOS::Rosen::AbstractDisplayControllerTest 76 defaultDisplayId_ = absDisplay_->GetId(); in SetUp() 352 auto display = absDisplayController_->abstractDisplayMap_.at(defaultDisplayId_); in HWTEST_F() 357 absDisplayController_->abstractDisplayMap_[defaultDisplayId_] = nullptr; in HWTEST_F() 415 auto display = absDisplayController_->abstractDisplayMap_.at(defaultDisplayId_); in HWTEST_F()
|
H A D | screen_rotation_controller_test.cpp | 485 ScreenRotationController::defaultDisplayId_ = 1003; in HWTEST_F() member in OHOS::Rosen::__anon12036::ScreenRotationController 488 ScreenRotationController::defaultDisplayId_ = DisplayManagerServiceInner::GetInstance().GetDefaultDisplayId(); in HWTEST_F() member in OHOS::Rosen::__anon12036::ScreenRotationController
|
/foundation/window/window_manager/dmserver/include/ |
H A D | screen_rotation_controller.h | 85 static DisplayId defaultDisplayId_; member in OHOS::Rosen::ScreenRotationController
|
/foundation/window/window_manager/wmserver/include/ |
H A D | display_group_info.h | 63 DisplayId defaultDisplayId_ { 0 };
|
H A D | display_group_controller.h | 83 DisplayId defaultDisplayId_ { 0 };
|
/foundation/ability/ability_base/interfaces/kits/native/configuration/include/ |
H A D | configuration.h | 206 int defaultDisplayId_ {0};
|
/foundation/window/window_manager/dm/src/ |
H A D | display_manager.cpp | 119 DisplayId defaultDisplayId_ = DISPLAY_ID_INVALID;
member in OHOS::Rosen::DisplayManager::Impl 578 if (defaultDisplayId_ != DISPLAY_ID_INVALID && interval < MAX_INTERVAL_US) {
in GetDefaultDisplaySync() 580 auto iter = displayMap_.find(defaultDisplayId_);
in GetDefaultDisplaySync() 582 return displayMap_[defaultDisplayId_];
in GetDefaultDisplaySync() 609 defaultDisplayId_ = displayId;
in GetDefaultDisplaySync()
|
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | display_group_controller_test.cpp | 77 displayGroupController_->defaultDisplayId_ = 0; in TearDown()
|