Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/common/src/
H A Dscreen_manager_adapter.cpp161 std::shared_ptr<DScreenMapRelation> mapRelation = std::make_shared<DScreenMapRelation>(); in GetMapRelation() local
172 mapRelation->SetDisplayId(display->GetId()); in GetMapRelation()
173 mapRelation->SetScreenId(screenId); in GetMapRelation()
179 mapRelation->SetDisplayRect(displayRect); in GetMapRelation()
180 mapRelation->SetScreenRect(screenRect); in GetMapRelation()
181 return mapRelation; in GetMapRelation()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/1.0/src/
H A Dscreenregion_test.cpp61 std::shared_ptr<DScreenMapRelation> mapRelation = std::make_shared<DScreenMapRelation>(); variable
62 screenRegion_->SetMapRelation(mapRelation);
63 EXPECT_EQ(mapRelation, screenRegion_->mapRelation_);
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/src/
H A Dscreenregion.cpp58 void ScreenRegion::SetMapRelation(std::shared_ptr<DScreenMapRelation> &mapRelation) in SetMapRelation() argument
60 mapRelation_ = mapRelation; in SetMapRelation()
H A Dscreenregionmgr.cpp150 std::shared_ptr<DScreenMapRelation> mapRelation = in HandleNotifySetUp() local
156 screenRegion->SetMapRelation(mapRelation); in HandleNotifySetUp()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/
H A Ddscreen_manager.cpp141 …std::shared_ptr<DScreenMapRelation> mapRelation = ScreenMgrAdapter::GetInstance().GetMapRelation(s… in AddToGroup() local
142 if (mapRelation == nullptr) { in AddToGroup()
152 DisplayRect displayRect = mapRelation->GetDisplayRect(); in AddToGroup()
159 mapRelations_[screenId] = mapRelation; in AddToGroup()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/
H A Ddscreen.cpp474 auto mapRelation = ScreenMgrAdapter::GetInstance().GetMapRelation(screenId_); in SetUp() local
475 if (mapRelation == nullptr) { in SetUp()
479 DisplayRect displayRect = mapRelation->GetDisplayRect(); in SetUp()
487 paramJson[KEY_MAPRELATION] = *mapRelation; in SetUp()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/include/
H A Dscreenregion.h48 void SetMapRelation(std::shared_ptr<DScreenMapRelation> &mapRelation);