Home
last modified time | relevance | path

Searched refs:absDisplay (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/
H A Dabstract_display_test.cpp39 sptr<AbstractDisplay> absDisplay; member in OHOS::Rosen::AbstractDisplayTest
122 absDisplay->GetRefreshRate();
133 absDisplay->SetOffsetX(offsetX);
144 absDisplay->SetOffsetY(offsetY);
157 absDisplay->UpdateXDpi();
170 absDisplay->UpdateYDpi();
181 absDisplay->SetId(id);
182 ASSERT_EQ(1, absDisplay->GetId());
203 absDisplay->SetId(id);
204 absDisplay->GetRotation();
[all …]
H A Ddisplay_cutout_controller_test.cpp226 sptr<AbstractDisplay> absDisplay = new AbstractDisplay(id, info, absScreen); variable
227 absDisplay->RequestRotation(Rotation::ROTATION_0);
228 displayController->abstractDisplayMap_.insert((std::make_pair(id, absDisplay)));
245 absDisplay->RequestRotation(Rotation::ROTATION_180);
248 absDisplay->RequestRotation(Rotation::ROTATION_90);
251 absDisplay->RequestRotation(Rotation::ROTATION_270);
H A Ddisplay_manager_service_test.cpp190 sptr<AbstractDisplay> absDisplay = new AbstractDisplay(0, info, absScreen); variable
196 {0, absDisplay}
198 ASSERT_EQ(absDisplay->name_, dms_->GetDefaultDisplayInfo()->name_);
201 ASSERT_EQ(absDisplay->name_, dms_->GetDisplayInfoById(0)->name_);
204 ASSERT_EQ(absDisplay->name_, dms_->GetDisplayInfoByScreen(0)->name_);
206 absDisplay->screenId_ = 0;
H A Ddisplay_dumper_test.cpp484 sptr<AbstractDisplay> absDisplay = new AbstractDisplay(0, info, absScreen); variable
485 displayDumper->GetDisplayInfo(absDisplay, oss);
H A Dscreen_rotation_controller_test.cpp60 sptr<AbstractDisplay> absDisplay = new AbstractDisplay(0, info, absScreen); in SetUpTestCase() local
62 {0, absDisplay} in SetUpTestCase()
/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Dabstract_display_controller.cpp232 absDisplay = abstractDisplay; in ProcessNormalScreenDisconnected()
253 absDisplay = abstractDisplay; in ProcessExpandScreenDisconnected()
312 if (absDisplay == nullptr || absDisplay->GetId() != defaultDisplayId) { in ProcessDisplayCompression()
341 absDisplay->SetOffsetX(0); in ProcessDisplayCompression()
342 absDisplay->SetOffsetY(offsetY); in ProcessDisplayCompression()
349 absDisplay->SetOffsetX(0); in ProcessDisplayCompression()
350 absDisplay->SetOffsetY(0); in ProcessDisplayCompression()
450 if (absDisplay == nullptr || absDisplay->GetAbstractScreenId() != absScreen->dmsId_) { in ProcessDisplaySizeChange()
472 if (absDisplay == nullptr) { in UpdateDisplaySize()
483 width = absDisplay->GetHeight(); in UpdateDisplaySize()
[all …]
/ohos5.0/foundation/window/window_manager/dmserver/include/
H A Dabstract_display_controller.h65 …stractScreen> absScreen, sptr<AbstractScreenGroup> screenGroup, sptr<AbstractDisplay>& absDisplay);
67 …stractScreen> absScreen, sptr<AbstractScreenGroup> screenGroup, sptr<AbstractDisplay>& absDisplay);
68 bool UpdateDisplaySize(sptr<AbstractDisplay> absDisplay, sptr<SupportedScreenModes> info,