Home
last modified time | relevance | path

Searched refs:takeScreenshot (Results 1 – 25 of 33) sorted by relevance

12

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DBlurTests.java112 assertBackgroundBlur(takeScreenshot(), windowFrame); in testBackgroundBlurSimple()
121 final Bitmap screenshot = takeScreenshot(); in testBlurBehindSimple()
168 Bitmap screenshot = takeScreenshot(); in testBackgroundBlurActivatesFallbackDynamically()
169 assertBackgroundBlur(takeScreenshot(), windowFrame); in testBackgroundBlurActivatesFallbackDynamically()
175 screenshot = takeScreenshot(); in testBackgroundBlurActivatesFallbackDynamically()
182 screenshot = takeScreenshot(); in testBackgroundBlurActivatesFallbackDynamically()
183 assertBackgroundBlur(takeScreenshot(), windowFrame); in testBackgroundBlurActivatesFallbackDynamically()
194 Bitmap screenshot = takeScreenshot(); in testBlurBehindDisabledDynamically()
201 screenshot = takeScreenshot(); in testBlurBehindDisabledDynamically()
208 screenshot = takeScreenshot(); in testBlurBehindDisabledDynamically()
[all …]
DInputMethodVisibilityVerifier.java50 return Watermark.detect(uiAutomation.takeScreenshot()); in containsWatermark()
55 return !Watermark.detect(uiAutomation.takeScreenshot()); in notContainsWatermark()
DLocationOnScreenTests.java156 final Bitmap screenshot = getInstrumentation().getUiAutomation().takeScreenshot(); in findTestColorsInScreenshot()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTakeScreenshotTest.java132 takeScreenshot(Display.DEFAULT_DISPLAY); in testTakeScreenshot_GetScreenshotResult()
141 takeScreenshot(Display.DEFAULT_DISPLAY); in testTakeScreenshot_RequestIntervalTime()
148 takeScreenshot(Display.DEFAULT_DISPLAY); in testTakeScreenshot_RequestIntervalTime()
156 takeScreenshot(Display.DEFAULT_DISPLAY); in testTakeScreenshot_RequestIntervalTime()
173 takeScreenshot(virtualDisplayId); in testTakeScreenshotOnVirtualDisplay_GetScreenshotResult()
192 takeScreenshot(virtualDisplayId); in testTakeScreenshotOnPrivateDisplay_GetErrorCode()
225 takeScreenshot(Display.DEFAULT_DISPLAY); in testTakeScreenshotWithSecureWindow_GetScreenshotAndVerifyBitmap()
258 private void takeScreenshot(int displayId) { in takeScreenshot() method in AccessibilityTakeScreenshotTest
260 mService.takeScreenshot(displayId, mContext.getMainExecutor(), in takeScreenshot()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DScreenCaptureDisabledTest.java87 screenshot = takeScreenshot(); in testScreenCaptureImpossible()
98 screenshot = takeScreenshot(); in testScreenCapturePossible()
104 private Bitmap takeScreenshot() { in takeScreenshot() method in ScreenCaptureDisabledTest
105 Bitmap screenshot = getInstrumentation().getUiAutomation().takeScreenshot(); in takeScreenshot()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DAbstractAutoFillActivity.java90 public Bitmap takeScreenshot() { in takeScreenshot() method in AbstractAutoFillActivity
91 return takeScreenshot(findViewById(android.R.id.content).getRootView()); in takeScreenshot()
97 public Bitmap takeScreenshot(View view) { in takeScreenshot() method in AbstractAutoFillActivity
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceActivityFlowTest.java313 Bitmap before = mTestUtils.takeScreenshot(); in startWithFragmentAndRecreateInner()
321 Bitmap after = mTestUtils.takeScreenshot(); in startWithFragmentAndRecreateInner()
423 Bitmap before = mTestUtils.takeScreenshot(); in recreateTest()
430 Bitmap after = mTestUtils.takeScreenshot(); in recreateTest()
462 Bitmap before = mTestUtils.takeScreenshot(); in recreateInnerFragmentTest()
478 Bitmap after = mTestUtils.takeScreenshot(); in recreateInnerFragmentTest()
DPreferenceActivityLegacyFlowTest.java80 Bitmap before = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest()
85 Bitmap after = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest()
DTestUtils.java67 Bitmap takeScreenshot() { in takeScreenshot() method in TestUtils
71 Bitmap bt = mAutomation.takeScreenshot(); in takeScreenshot()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DInputMethodVisibilityVerifier.java50 return Watermark.detect(uiAutomation.takeScreenshot()); in containsWatermark()
55 return !Watermark.detect(uiAutomation.takeScreenshot()); in notContainsWatermark()
DLightNavigationBarVerifier.java48 Bitmap takeScreenshot(@ColorInt int navigationBarColor, boolean lightMode) throws Exception; in takeScreenshot() method
143 screenshotSupplier.takeScreenshot(Color.BLACK, false)); in verify()
145 screenshotSupplier.takeScreenshot(Color.BLACK, true)); in verify()
DNavigationBarColorVerifier.java88 Bitmap takeScreenshot(@ColorInt int navigationBarColor) throws Exception; in takeScreenshot() method
96 screenShots.add(new ScreenShot(color, screenshotSupplier.takeScreenshot(color))); in verify()
DNavigationBarInfo.java188 final Bitmap fullBitmap = instrumentation.getUiAutomation().takeScreenshot(); in getBottomNavigationBarBitmapForActivity()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java127 private Bitmap takeScreenshot(TestPositionInfo testPositionInfo) { in takeScreenshot() method in ActivityTestBase
141 return mScreenshotter.takeScreenshot(testPositionInfo); in takeScreenshot()
167 return takeScreenshot(runRenderSpec(testCase)); in captureRenderSpec()
197 Bitmap takeScreenshot(TestPositionInfo params); in takeScreenshot() method
278 Bitmap testCaseBitmap = takeScreenshot(testPositionInfo); in runWithAnimationVerifier()
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java127 private Bitmap takeScreenshot(TestPositionInfo testPositionInfo) { in takeScreenshot() method in ActivityTestBase
141 return mScreenshotter.takeScreenshot(testPositionInfo); in takeScreenshot()
167 return takeScreenshot(runRenderSpec(testCase)); in captureRenderSpec()
197 Bitmap takeScreenshot(TestPositionInfo params); in takeScreenshot() method
269 Bitmap testCaseBitmap = takeScreenshot(testPositionInfo); in runWithAnimationVerifier()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanPreTransformTest.java146 private static Bitmap takeScreenshot(int width, int height) { in takeScreenshot() method in VulkanPreTransformTest
168 Bitmap bitmap = takeScreenshot(width, height); in validatePixelValuesAfterRotation()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java61 Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot(); in takeStatusBarScreenshot()
66 Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot(); in takeNavigationBarScreenshot()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedVectorDrawableParameterizedTest.java153 Bitmap screenShot = takeScreenshot(srcRect); in testAnimationOnLayer()
313 Bitmap screenShot = takeScreenshot(srcRect); in testInfiniteAVD()
341 private Bitmap takeScreenshot(Rect srcRect) { in takeScreenshot() method in AnimatedVectorDrawableParameterizedTest
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodVisibilityVerifier.java44 return watermark.isContainedIn(uiAutomation.takeScreenshot()); in containsWatermark()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java114 Bitmap source = getInstrumentation().getUiAutomation().takeScreenshot(); in testMovingWhiteSurfaceView()
135 public Bitmap takeScreenshot(TestPositionInfo testPositionInfo) { in takeScreenshot() method in SurfaceViewTests.SurfaceViewHelper
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DBitmapAsserter.java88 .getUiAutomation().takeScreenshot(); in onFailure()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DUiBot.java1160 public Bitmap takeScreenshot() {
1164 public Bitmap takeScreenshot(@NonNull Activity activity) {
1172 final Bitmap bitmap = mAutoman.takeScreenshot();
1196 final Bitmap screenshot = takeScreenshot();
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DASurfaceControlTestActivity.java117 mScreenshot = uiAutomation.takeScreenshot(getWindow()); in verifyTest()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DAccessibilityDumper.java148 final Bitmap screenshot = automation.takeScreenshot(); in dumpScreen()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DNavigationBarColorTest.java281 final Bitmap bitmap = uiAutomation.takeScreenshot(); in getNavigationBarBitmap()

12