Home
last modified time | relevance | path

Searched refs:screens (Results 1 – 16 of 16) sorted by relevance

/foundation/graphic/standard/frameworks/wmserver/src/
Dscreen_info.c136 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 …]
Dscreen_info.h70 void FreeScreensInfo(struct ScreenInfo **screens);
/foundation/windowmanager/dm/src/
Dscreen_manager.cpp212 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()
Ddisplay_manager_adapter.cpp346 void ScreenManagerAdapter::RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) in RemoveVirtualScreenFromGroup() argument
350 displayManagerServiceProxy_->RemoveVirtualScreenFromGroup(screens); in RemoveVirtualScreenFromGroup()
/foundation/windowmanager/dm/test/systemtest/
Dscreen_manager_test.cpp401 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 …]
Dscreen_gamut_test.cpp38 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/
Dabstract_screen_controller.h65 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,
Ddisplay_manager_proxy.h72 void RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) override;
Ddisplay_manager_interface.h113 virtual void RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) = 0;
Ddisplay_manager_service.h83 void RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) override;
/foundation/windowmanager/interfaces/kits/napi/display_runtime/napi/
Djs_screen_manager.cpp91 … 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/
Ddscreen_handler.cpp109 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/
Dabstract_screen_controller.cpp318 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 …]
Ddisplay_manager_service.cpp420 void DisplayManagerService::RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) in RemoveVirtualScreenFromGroup() argument
422 abstractScreenController_->RemoveVirtualScreenFromGroup(screens); in RemoveVirtualScreenFromGroup()
Ddisplay_manager_proxy.cpp896 void DisplayManagerProxy::RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens) in RemoveVirtualScreenFromGroup() argument
911 bool res = data.WriteUInt64Vector(screens); in RemoveVirtualScreenFromGroup()
/foundation/windowmanager/interfaces/innerkits/dm/
Dscreen_manager.h52 void RemoveVirtualScreenFromGroup(std::vector<ScreenId> screens);