Home
last modified time | relevance | path

Searched refs:captureToBitmapAsync (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DDialogScreenshotTest.kt74 return window.decorView.captureToBitmapAsync().get(10, TimeUnit.SECONDS) in toBitmap()
DExternalViewScreenshotTestRule.kt67 .setScreenshotProvider { view.captureToBitmapAsync().get(10, TimeUnit.SECONDS) } in <lambda>()
DFragmentScreenshotTestRule.kt102 return contentView?.captureToBitmapAsync()?.get(10, TimeUnit.SECONDS) in <lambda>()
DViewScreenshotTestRule.kt118 return targetView?.captureToBitmapAsync()?.get(10, TimeUnit.SECONDS) in <lambda>()
DViewCapture.kt114 fun View.captureToBitmapAsync(rect: Rect? = null): ListenableFuture<Bitmap> { in View() method
/platform_testing/libraries/screenshot/utils/compose/src/platform/test/screenshot/utils/compose/
DComposeScreenshotTestRule.kt49 import platform.test.screenshot.captureToBitmapAsync
138 val bitmap = view.captureToBitmapAsync().get(10, TimeUnit.SECONDS)
/platform_testing/libraries/motion/src/platform/test/motion/view/
DViewToolkit.kt38 import platform.test.screenshot.captureToBitmapAsync in <lambda>()
77 visualCapture = { screenshotView.captureToBitmapAsync().get(10, TimeUnit.SECONDS) }, in <lambda>()