Home
last modified time | relevance | path

Searched refs:defaultDisplayId_ (Results 1 - 21 of 21) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_screen_mode_demo.cpp36 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 Drender_service_client_rs_demo.cpp183 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 Dsurface_capture_test.cpp178 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 Dconfiguration.cpp33 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 Ddisplay_change_unit_test.cpp51 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 Ddisplay_test.cpp39 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 Ddisplay_group_controller.cpp112 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 Ddisplay_group_info.cpp123 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 Drs_interfaces_virtual_screen_test.cpp38 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 Drs_interfaces_system_test.cpp38 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 Ddisplay_change_test.cpp73 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 Dscreen_manager_test.cpp55 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 Dscreen_rotation_controller.cpp29 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 Dabstract_display_controller_test.cpp45 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 Dscreen_rotation_controller_test.cpp485 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 Dscreen_rotation_controller.h85 static DisplayId defaultDisplayId_; member in OHOS::Rosen::ScreenRotationController
/foundation/window/window_manager/wmserver/include/
H A Ddisplay_group_info.h63 DisplayId defaultDisplayId_ { 0 };
H A Ddisplay_group_controller.h83 DisplayId defaultDisplayId_ { 0 };
/foundation/ability/ability_base/interfaces/kits/native/configuration/include/
H A Dconfiguration.h206 int defaultDisplayId_ {0};
/foundation/window/window_manager/dm/src/
H A Ddisplay_manager.cpp119 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 Ddisplay_group_controller_test.cpp77 displayGroupController_->defaultDisplayId_ = 0; in TearDown()

Completed in 18 milliseconds