/foundation/graphic/standard/frameworks/wmserver/src/ |
D | screen_info.c | 136 void FreeScreensInfo(struct ScreenInfo **screens) in FreeScreensInfo() argument 138 if (!screens) { in FreeScreensInfo() 142 for (int i = 0; screens[i]; i++) { in FreeScreensInfo() 143 FreeScreenInfo(screens[i]); in FreeScreensInfo() 145 free(screens); in FreeScreensInfo() 286 struct ScreenInfo **screens = (struct ScreenInfo **)calloc(screenNum + 1, sizeof(intptr_t)); in GetScreensInfo() local 287 if (!screens) { in GetScreensInfo() 295 screens[index] = GetScreenInfo(pWmsScreen); in GetScreensInfo() 296 if (!screens[index]) { in GetScreensInfo() 298 FreeScreensInfo(screens); in GetScreensInfo() [all …]
|
D | screen_info.h | 70 void FreeScreensInfo(struct ScreenInfo **screens);
|
/foundation/windowmanager/dm/src/ |
D | screen_manager.cpp | 212 std::vector<sptr<Screen>> screens; in GetAllScreens() local 216 screens.emplace_back(screenMap_[info->GetScreenId()]); in GetAllScreens() 220 for (auto screen: screens) { in GetAllScreens() 223 return screens; in GetAllScreens() 383 void ScreenManager::RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) in RemoveVirtualScreenFromGroup() argument 385 if (screens.empty()) { in RemoveVirtualScreenFromGroup() 389 if (screens.size() > MAX_SCREEN_SIZE) { in RemoveVirtualScreenFromGroup() 393 SingletonContainer::Get<ScreenManagerAdapter>().RemoveVirtualScreenFromGroup(screens); in RemoveVirtualScreenFromGroup()
|
D | display_manager_adapter.cpp | 346 void ScreenManagerAdapter::RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) in RemoveVirtualScreenFromGroup() argument 350 displayManagerServiceProxy_->RemoveVirtualScreenFromGroup(screens); in RemoveVirtualScreenFromGroup()
|
/foundation/windowmanager/dm/test/systemtest/ |
D | screen_manager_test.cpp | 401 std::vector<sptr<Screen>> screens = ScreenManager::GetInstance().GetAllScreens(); variable 402 sptr<Screen> defaultScreen = screens.front(); 582 std::vector<sptr<Screen>> screens = ScreenManager::GetInstance().GetAllScreens(); variable 583 sptr<Screen> DefaultScreen = screens.front(); 621 std::vector<sptr<Screen>> screens = ScreenManager::GetInstance().GetAllScreens(); variable 622 sptr<Screen> DefaultScreen = screens.front(); 673 std::vector<sptr<Screen>> screens = ScreenManager::GetInstance().GetAllScreens(); variable 674 sptr<Screen> defaultScreen = screens.front(); 699 auto screens = ScreenManager::GetInstance().GetAllScreens(); variable 706 screens[0]->SetOrientation(static_cast<Orientation>(orientation)); [all …]
|
D | screen_gamut_test.cpp | 38 auto screens = ScreenManager::GetInstance().GetAllScreens(); in SetUpTestCase() local 39 if (screens.size() > 0) { in SetUpTestCase() 40 defaultScreen_ = screens[0]; in SetUpTestCase()
|
/foundation/windowmanager/dmserver/include/ |
D | abstract_screen_controller.h | 65 bool MakeMirror(ScreenId, std::vector<ScreenId> screens); 67 void RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens); 94 void ChangeScreenGroup(sptr<AbstractScreenGroup> group, const std::vector<ScreenId>& screens,
|
D | display_manager_proxy.h | 72 void RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) override;
|
D | display_manager_interface.h | 113 virtual void RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) = 0;
|
D | display_manager_service.h | 83 void RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) override;
|
/foundation/windowmanager/interfaces/kits/napi/display_runtime/napi/ |
D | js_screen_manager.cpp | 91 … std::vector<sptr<Screen>> screens = SingletonContainer::Get<ScreenManager>().GetAllScreens(); in OnGetAllScreen() local 92 if (!screens.empty()) { in OnGetAllScreen() 93 task.Resolve(engine, CreateJsScreenVectorObject(engine, screens)); in OnGetAllScreen() 107 NativeValue* CreateJsScreenVectorObject(NativeEngine& engine, std::vector<sptr<Screen>>& screens) in CreateJsScreenVectorObject() argument 109 NativeValue* arrayValue = engine.CreateArray(screens.size()); in CreateJsScreenVectorObject() 112 for (auto& screen : screens) { in CreateJsScreenVectorObject()
|
/foundation/distributedhardware/distributedscreen/screenhandler/src/ |
D | dscreen_handler.cpp | 109 std::vector<sptr<Rosen::Screen>> screens = Rosen::ScreenManager::GetInstance().GetAllScreens(); in Query() local 110 sptr<Rosen::Screen> screen = screens[SCREEN_ID_DEFAULT]; in Query()
|
/foundation/windowmanager/dmserver/src/ |
D | abstract_screen_controller.cpp | 318 std::vector<ScreenId> screens; in ProcessScreenDisconnected() local 321 screens.emplace_back(screen->dmsId_); in ProcessScreenDisconnected() 324 MakeMirror(defaultScreenId, screens); in ProcessScreenDisconnected() 707 bool AbstractScreenController::MakeMirror(ScreenId screenId, std::vector<ScreenId> screens) in MakeMirror() argument 732 startPoints.insert(startPoints.begin(), screens.size(), point); in MakeMirror() 736 …ChangeScreenGroup(group, screens, startPoints, filterMirroredScreen, ScreenCombination::SCREEN_MIR… in MakeMirror() 741 …ontroller::ChangeScreenGroup(sptr<AbstractScreenGroup> group, const std::vector<ScreenId>& screens, in ChangeScreenGroup() argument 748 for (uint64_t i = 0; i != screens.size(); i++) { in ChangeScreenGroup() 749 ScreenId screenId = screens[i]; in ChangeScreenGroup() 828 void AbstractScreenController::RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) in RemoveVirtualScreenFromGroup() argument [all …]
|
D | display_manager_service.cpp | 420 void DisplayManagerService::RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) in RemoveVirtualScreenFromGroup() argument 422 abstractScreenController_->RemoveVirtualScreenFromGroup(screens); in RemoveVirtualScreenFromGroup()
|
D | display_manager_proxy.cpp | 896 void DisplayManagerProxy::RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) in RemoveVirtualScreenFromGroup() argument 911 bool res = data.WriteUInt64Vector(screens); in RemoveVirtualScreenFromGroup()
|
/foundation/windowmanager/interfaces/innerkits/dm/ |
D | screen_manager.h | 52 void RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens);
|