Home
last modified time | relevance | path

Searched refs:rsInterface_ (Results 1 – 8 of 8) sorted by relevance

/foundation/graphic/standard/rosen/modules/render_service_client/test/
Dsurface_capture_test.cpp168 MyDMS() : rsInterface_(RSInterfaces::GetInstance()) in MyDMS()
173 RSInterfaces& rsInterface_; member in MyDMS
194 displays_[id] = Display { id, rsInterface_.GetScreenActiveMode(id) }; in OnDisplayConnected()
207 defaultDisplayId_ = rsInterface_.GetDefaultScreenId(); in OnDisplayDisConnected()
226 (void)rsInterface_.SetScreenChangeCallback([this](ScreenId id, ScreenEvent event) { in Init()
241 defaultDisplayId_ = rsInterface_.GetDefaultScreenId(); in Init()
243 Display { defaultDisplayId_, rsInterface_.GetScreenActiveMode(defaultDisplayId_) }; in Init()
284 g_dms.rsInterface_.TakeSurfaceCapture(surfaceNode2, cb); in main()
287 g_dms.rsInterface_.TakeSurfaceCapture(displayNode, cb2); in main()
Drender_service_client_rs_demo.cpp203 RSInterfaces& rsInterface_; member in OHOS::Rosen::DmsMock
206 DmsMock() : rsInterface_(RSInterfaces::GetInstance()) in DmsMock()
214 (void)rsInterface_.SetScreenChangeCallback([this](ScreenId id, ScreenEvent event) { in Init()
229 defaultDisplayId_ = rsInterface_.GetDefaultScreenId(); in Init()
231 Display { defaultDisplayId_, rsInterface_.GetScreenActiveMode(defaultDisplayId_) }; in Init()
262 displays_[id] = Display { id, rsInterface_.GetScreenActiveMode(id) }; in OnDisplayConnected()
275 defaultDisplayId_ = rsInterface_.GetDefaultScreenId(); in OnDisplayDisConnected()
/foundation/windowmanager/wmserver/include/window_snapshot/
Dsnapshot_controller.h30 …SnapshotController(sptr<WindowRoot>& root) : windowRoot_(root), rsInterface_(RSInterfaces::GetInst… in SnapshotController()
31 SnapshotController() : windowRoot_(nullptr), rsInterface_(RSInterfaces::GetInstance()) {}; in SnapshotController()
41 RSInterfaces& rsInterface_; variable
/foundation/windowmanager/wmserver/src/window_snapshot/
Dsnapshot_controller.cpp35 rsInterface_.TakeSurfaceCapture(surfaceNode, callback, scaleW, scaleH); in TakeSnapshot()
/foundation/windowmanager/dmserver/src/
Dabstract_screen_controller.cpp38 : mutex_(mutex), rsInterface_(RSInterfaces::GetInstance()) in AbstractScreenController()
57 auto res = rsInterface_.SetScreenChangeCallback( in RegisterRsScreenConnectionChangeListener()
178 ScreenId rsDefaultId = rsInterface_.GetDefaultScreenId(); in GetDefaultAbstractScreenId()
332 std::vector<RSScreenModeInfo> allModes = rsInterface_.GetScreenSupportedModes(rsScreenId); in FillAbstractScreen()
345 int32_t activeModeId = rsInterface_.GetScreenActiveMode(rsScreenId).GetScreenModeId(); in FillAbstractScreen()
469 ScreenId rsId = rsInterface_.CreateVirtualScreen(option.name_, option.width_, in CreateVirtualScreen()
519 rsInterface_.RemoveVirtualScreen(rsScreenId); in DestroyVirtualScreen()
532 res = rsInterface_.SetVirtualScreenSurface(rsScreenId, surface); in SetVirtualScreenSurface()
568 if (!rsInterface_.RequestRotation(screenId, static_cast<ScreenRotation>(rotationAfter))) { in SetOrientation()
660 rsInterface_.SetScreenActiveMode(rsScreenId, modeId); in SetScreenActiveMode()
Dabstract_display_controller.cpp34 … : mutex_(mutex), rsInterface_(RSInterfaces::GetInstance()), displayStateChangeListener_(listener) in AbstractDisplayController()
62 return rsInterface_.GetDefaultScreenId(); in GetDefaultScreenId()
67 return rsInterface_.GetScreenActiveMode(id); in GetScreenActiveMode()
115 rsInterface_.TakeSurfaceCapture(displayNode, callback); in GetScreenSnapshot()
/foundation/windowmanager/dmserver/include/
Dabstract_display_controller.h70 OHOS::Rosen::RSInterfaces& rsInterface_; variable
Dabstract_screen_controller.h128 OHOS::Rosen::RSInterfaces& rsInterface_; variable