Home
last modified time | relevance | path

Searched refs:captureDisplay (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DImageCaptureImpl.kt45 override fun captureDisplay(displayId: Int, crop: Rect?): Bitmap? { in captureDisplay() method in com.android.systemui.screenshot.ImageCaptureImpl
50 val buffer = captureDisplay(displayToken, width, height, sourceCrop) in captureDisplay()
76 open fun captureDisplay( in captureDisplay() method in com.android.systemui.screenshot.ImageCaptureImpl
87 return SurfaceControl.captureDisplay(captureArgs) in captureDisplay()
DImageCapture.kt23 fun captureDisplay(displayId: Int, crop: Rect? = null): Bitmap? method
DScreenshotController.java408 mImageCapture.captureDisplay(mDisplayTracker.getDefaultDisplayId(), bounds)); in handleScreenshot()
712 Bitmap screenshot = mImageCapture.captureDisplay(mDisplayTracker.getDefaultDisplayId(), in takeScreenshotInternal()
901 Bitmap newScreenshot = mImageCapture.captureDisplay( in onScrollCaptureResponseReady()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageCaptureImplTest.kt49 capture.captureDisplay(Display.DEFAULT_DISPLAY, Rect(1, 2, 3, 4)) in captureDisplayWithCrop()
58 capture.captureDisplay(Display.DEFAULT_DISPLAY, null) in captureDisplayWithNullCrop()
81 override fun captureDisplay(displayToken: IBinder, width: Int, height: Int, crop: Rect): in captureDisplay() method
DFakeImageCapture.kt29 override fun captureDisplay(displayId: Int, crop: Rect?): Bitmap? { in captureDisplay() method in com.android.systemui.screenshot.FakeImageCapture
/frameworks/native/services/surfaceflinger/tests/utils/
DScreenshotUtils.h33 static status_t captureDisplay(DisplayCaptureArgs& captureArgs, in captureDisplay() function
40 binder::Status status = sf->captureDisplay(captureArgs, captureListener); in captureDisplay()
56 captureDisplay(sc, args); in captureScreen()
59 static void captureDisplay(std::unique_ptr<ScreenCapture>* sc, in captureDisplay() function
62 ASSERT_EQ(NO_ERROR, captureDisplay(captureArgs, captureResults)); in captureDisplay()
/frameworks/native/services/surfaceflinger/tests/
DScreenCapture_test.cpp93 ASSERT_EQ(PERMISSION_DENIED, ScreenCapture::captureDisplay(mCaptureArgs, mCaptureResults)); in TEST_F()
100 ASSERT_EQ(NO_ERROR, ScreenCapture::captureDisplay(mCaptureArgs, mCaptureResults)); in TEST_F()
113 ASSERT_EQ(NO_ERROR, ScreenCapture::captureDisplay(args, mCaptureResults)); in TEST_F()
148 ASSERT_EQ(NO_ERROR, ScreenCapture::captureDisplay(args, mCaptureResults)); in TEST_F()
605 ScreenCapture::captureDisplay(&mCapture, captureArgs); in TEST_F()
611 ASSERT_EQ(PERMISSION_DENIED, ScreenCapture::captureDisplay(captureArgs, mCaptureResults)); in TEST_F()
616 ScreenCapture::captureDisplay(&mCapture, captureArgs); in TEST_F()
635 ScreenCapture::captureDisplay(&mCapture, captureArgs); in TEST_F()
661 ScreenCapture::captureDisplay(&mCapture, captureArgs); in TEST_F()
674 ScreenCapture::captureDisplay(&mCapture, captureArgs); in TEST_F()
[all …]
DLayerTypeTransaction_test.cpp177 ASSERT_EQ(PERMISSION_DENIED, ScreenCapture::captureDisplay(args, captureResults)); in TEST_P()
181 ASSERT_EQ(NO_ERROR, ScreenCapture::captureDisplay(args, captureResults)); in TEST_P()
DCredentials_test.cpp286 return ScreenCapture::captureDisplay(captureArgs, captureResults); in TEST_F()
/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp301 static status_t captureDisplay(DisplayCaptureArgs& captureArgs, in captureDisplay() function in android::BLASTBufferQueueTest
307 binder::Status status = sf->captureDisplay(captureArgs, captureListener); in captureDisplay()
455 ASSERT_EQ(NO_ERROR, captureDisplay(mCaptureArgs, mCaptureResults)); in TEST_F()
538 ASSERT_EQ(NO_ERROR, captureDisplay(mCaptureArgs, mCaptureResults)); in TEST_F()
597 ASSERT_EQ(NO_ERROR, captureDisplay(mCaptureArgs, mCaptureResults)); in TEST_F()
660 ASSERT_EQ(NO_ERROR, captureDisplay(mCaptureArgs, mCaptureResults)); in TEST_F()
727 ASSERT_EQ(NO_ERROR, captureDisplay(mCaptureArgs, mCaptureResults)); in TEST_F()
775 ASSERT_EQ(NO_ERROR, captureDisplay(mCaptureArgs, mCaptureResults)); in TEST_F()
810 ASSERT_EQ(NO_ERROR, captureDisplay(mCaptureArgs, mCaptureResults)); in TEST_F()
845 ASSERT_EQ(NO_ERROR, captureDisplay(mCaptureArgs, mCaptureResults)); in TEST_F()
[all …]
DSurface_test.cpp208 static status_t captureDisplay(DisplayCaptureArgs& captureArgs, in captureDisplay() function in android::SurfaceTest
214 binder::Status status = sf->captureDisplay(captureArgs, captureListener); in captureDisplay()
273 ASSERT_EQ(NO_ERROR, captureDisplay(captureArgs, captureResults)); in TEST_F()
303 ASSERT_EQ(NO_ERROR, captureDisplay(captureArgs, captureResults)); in TEST_F()
949 binder::Status captureDisplay(const DisplayCaptureArgs&, in captureDisplay() function in android::FakeSurfaceComposerAIDL
/frameworks/base/packages/Shell/src/com/android/shell/
DScreenshooter.java47 SurfaceControl.captureDisplay(captureArgs); in takeScreenshot()
/frameworks/native/libs/gui/aidl/android/gui/
DISurfaceComposer.aidl112 void captureDisplay(in DisplayCaptureArgs args, IScreenCaptureListener listener); in captureDisplay() method
/frameworks/base/cmds/screencap/
Dscreencap.cpp189 status_t result = ScreenshotClient::captureDisplay(*displayId, captureListener); in main()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h728 static status_t captureDisplay(const DisplayCaptureArgs&, const sp<IScreenCaptureListener>&);
729 static status_t captureDisplay(DisplayId, const sp<IScreenCaptureListener>&);
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h560 status_t captureDisplay(const DisplayCaptureArgs&, const sp<IScreenCaptureListener>&);
561 status_t captureDisplay(DisplayId, const sp<IScreenCaptureListener>&);
1473 binder::Status captureDisplay(const DisplayCaptureArgs&,
DSurfaceFlinger.cpp6406 status_t SurfaceFlinger::captureDisplay(const DisplayCaptureArgs& args, in captureDisplay() function in android::SurfaceFlinger
6459 status_t SurfaceFlinger::captureDisplay(DisplayId displayId, in captureDisplay() function in android::SurfaceFlinger
7534 binder::Status SurfaceComposerAIDL::captureDisplay( in captureDisplay() function in android::SurfaceComposerAIDL
7536 status_t status = mFlinger->captureDisplay(args, captureListener); in captureDisplay()
7547 status = mFlinger->captureDisplay(*id, captureListener); in captureDisplayById()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java229 SurfaceControl.captureDisplay(captureArgs); in takeScreenshot()
/frameworks/base/core/java/android/view/
DSurfaceControl.java2467 public static int captureDisplay(@NonNull DisplayCaptureArgs captureArgs, in captureDisplay() method in SurfaceControl
2478 public static ScreenshotHardwareBuffer captureDisplay(DisplayCaptureArgs captureArgs) { in captureDisplay() method in SurfaceControl
2481 int status = captureDisplay(captureArgs, screenCaptureListener); in captureDisplay()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp2457 status_t ScreenshotClient::captureDisplay(const DisplayCaptureArgs& captureArgs, in captureDisplay() function in android::ScreenshotClient
2462 binder::Status status = s->captureDisplay(captureArgs, captureListener); in captureDisplay()
2466 status_t ScreenshotClient::captureDisplay(DisplayId displayId, in captureDisplay() function in android::ScreenshotClient
/frameworks/base/services/core/java/com/android/server/wm/
DScreenRotationAnimation.java195 screenshotBuffer = SurfaceControl.captureDisplay(captureArgs); in ScreenRotationAnimation()
DDisplayContent.java4992 SurfaceControl.captureDisplay(captureArgs); in screenshotDisplayLocked()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java2143 return SurfaceControl.captureDisplay(captureArgs);
2156 return SurfaceControl.captureDisplay(captureArgs);
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp516 return ScreenshotClient::captureDisplay(captureArgs, captureListener); in nativeCaptureDisplay()