/ohos5.0/foundation/window/window_manager/interfaces/innerkits/dm/ |
H A D | display_manager.h | 720 std::shared_ptr<Media::PixelMap> GetScreenCapture(const CaptureOption& captureOption, 730 std::shared_ptr<Media::PixelMap> GetScreenshotWithOption(const CaptureOption& captureOption, 743 std::shared_ptr<Media::PixelMap> GetScreenshotWithOption(const CaptureOption& captureOption,
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | js-apis-screenshot.md | 140 let captureOption: screenshot.CaptureOption = { 144 let promise = screenshot.capture(captureOption);
|
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/screenshot/ |
H A D | native_screenshot_module.cpp | 346 CaptureOption captureOption; in AsyncGetScreenCapture() local 347 captureOption.displayId_ = param->option.displayId; in AsyncGetScreenCapture() 348 captureOption.isNeedNotify_ = param->option.isNeedNotify; in AsyncGetScreenCapture() 349 GNAPI_LOG("capture option isNeedNotify=%{public}d", captureOption.isNeedNotify_); in AsyncGetScreenCapture() 350 param->image = DisplayManager::GetInstance().GetScreenCapture(captureOption, ¶m->wret); in AsyncGetScreenCapture()
|
/ohos5.0/foundation/window/window_manager/dm/src/ |
H A D | display_manager_adapter.cpp | 821 …ed_ptr<Media::PixelMap> DisplayManagerAdapter::GetScreenCapture(const CaptureOption& captureOption, in GetScreenCapture() argument 825 return displayManagerServiceProxy_->GetScreenCapture(captureOption, errorCode); in GetScreenCapture() 838 …::PixelMap> DisplayManagerAdapter::GetDisplaySnapshotWithOption(const CaptureOption& captureOption, in GetDisplaySnapshotWithOption() argument 842 return displayManagerServiceProxy_->GetDisplaySnapshotWithOption(captureOption, errorCode); in GetDisplaySnapshotWithOption()
|
H A D | display_manager.cpp | 2162 …d::shared_ptr<Media::PixelMap> DisplayManager::GetScreenCapture(const CaptureOption& captureOption, in GetScreenCapture() argument 2166 SingletonContainer::Get<DisplayManagerAdapter>().GetScreenCapture(captureOption, errorCode); in GetScreenCapture() 2174 …ed_ptr<Media::PixelMap> DisplayManager::GetScreenshotWithOption(const CaptureOption& captureOption, in GetScreenshotWithOption() argument 2177 if (captureOption.displayId_ == DISPLAY_ID_INVALID) { in GetScreenshotWithOption() 2182 …SingletonContainer::Get<DisplayManagerAdapter>().GetDisplaySnapshotWithOption(captureOption, error… in GetScreenshotWithOption() 2190 …ed_ptr<Media::PixelMap> DisplayManager::GetScreenshotWithOption(const CaptureOption& captureOption, in GetScreenshotWithOption() argument 2193 std::shared_ptr<Media::PixelMap> screenShot = GetScreenshotWithOption(captureOption, errorCode); in GetScreenshotWithOption()
|
/ohos5.0/foundation/window/window_manager/dm/include/ |
H A D | display_manager_adapter.h | 100 virtual std::shared_ptr<Media::PixelMap> GetScreenCapture(const CaptureOption& captureOption, 102 …l std::shared_ptr<Media::PixelMap> GetDisplaySnapshotWithOption(const CaptureOption& captureOption,
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-screenshot.md | 142 let captureOption: screenshot.CaptureOption = { 146 let promise = screenshot.capture(captureOption);
|
/ohos5.0/foundation/window/window_manager/dmserver/include/ |
H A D | display_manager_interface.h | 218 virtual std::shared_ptr<Media::PixelMap> GetScreenCapture(const CaptureOption& captureOption, 229 …l std::shared_ptr<Media::PixelMap> GetDisplaySnapshotWithOption(const CaptureOption& captureOption,
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/zidl/ |
H A D | screen_session_manager_proxy.h | 180 std::shared_ptr<Media::PixelMap> GetScreenCapture(const CaptureOption& captureOption, 182 … std::shared_ptr<Media::PixelMap> GetDisplaySnapshotWithOption(const CaptureOption& captureOption,
|
H A D | screen_session_manager_interface.h | 196 virtual std::shared_ptr<Media::PixelMap> GetScreenCapture(const CaptureOption& captureOption,
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
H A D | screen_session_manager_proxy.cpp | 3105 …tr<Media::PixelMap> ScreenSessionManagerProxy::GetScreenCapture(const CaptureOption& captureOption, in GetScreenCapture() argument 3120 if (!data.WriteUint64(captureOption.displayId_) || in GetScreenCapture() 3121 … !data.WriteBool(captureOption.isNeedNotify_) || !data.WriteBool(captureOption.isNeedPointer_)) { in GetScreenCapture() 3170 const CaptureOption& captureOption, DmErrorCode* errorCode) in GetDisplaySnapshotWithOption() argument 3186 if (!data.WriteUint64(captureOption.displayId_) || in GetDisplaySnapshotWithOption() 3187 … !data.WriteBool(captureOption.isNeedNotify_) || !data.WriteBool(captureOption.isNeedPointer_)) { in GetDisplaySnapshotWithOption()
|
/ohos5.0/foundation/window/window_manager/dm/test/unittest/ |
H A D | display_manager_test.cpp | 1165 CaptureOption captureOption; variable 1168 captureOption.displayId_ = display->GetId(); 1170 …hared_ptr<Media::PixelMap> pixelMap = DisplayManager::GetInstance().GetScreenCapture(captureOption,
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | screen_session_manager.h | 312 std::shared_ptr<Media::PixelMap> GetScreenCapture(const CaptureOption& captureOption, 316 … std::shared_ptr<Media::PixelMap> GetDisplaySnapshotWithOption(const CaptureOption& captureOption,
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | screen_session_manager.cpp | 5727 …red_ptr<Media::PixelMap> ScreenSessionManager::GetScreenCapture(const CaptureOption& captureOption, in GetScreenCapture() argument 5751 if (captureOption.displayId_ == DISPLAY_ID_INVALID) { in GetScreenCapture() 5756 …HITRACE_METER_FMT(HITRACE_TAG_WINDOW_MANAGER, "ssm:GetScreenCapture(%" PRIu64")", captureOption.di… in GetScreenCapture() 5757 auto res = GetScreenSnapshot(captureOption.displayId_, false); in GetScreenCapture() 5765 NotifyScreenshot(captureOption.displayId_); in GetScreenCapture()
|