/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | ScreenCaptureDisabledTest.java | 59 screenshot = takeScreenshot(); in testScreenCaptureImpossible() 70 screenshot = takeScreenshot(); in testScreenCapturePossible() 76 private Bitmap takeScreenshot() { in takeScreenshot() method in ScreenCaptureDisabledTest 77 Bitmap screenshot = getInstrumentation().getUiAutomation().takeScreenshot(); in takeScreenshot()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | BlurTests.java | 145 assertBackgroundBlur(takeScreenshot(), windowFrame); in testBackgroundBlurSimple() 159 Bitmap screenshot = takeScreenshot(); in testBlurBehindSimple() 168 screenshot = takeScreenshot(); in testBlurBehindSimple() 190 assertBackgroundBlur(takeScreenshot(), windowFrame); in testNoBackgroundBlurWhenBlurDisabled() 224 final Bitmap screenshot = takeScreenshot(); in testNoBlurBehindWhenBlurDisabled() 253 Bitmap screenshot = takeScreenshot(); in testBackgroundBlurActivatesFallbackDynamically() 260 screenshot = takeScreenshot(); in testBackgroundBlurActivatesFallbackDynamically() 267 screenshot = takeScreenshot(); in testBackgroundBlurActivatesFallbackDynamically() 283 Bitmap screenshot = takeScreenshot(); in testBlurBehindDisabledDynamically() 292 screenshot = takeScreenshot(); in testBlurBehindDisabledDynamically() [all …]
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | Helper.java | 53 final Bitmap screenshot = takeScreenshot(); in takeScreenshotAndSave() 87 private static Bitmap takeScreenshot() { in takeScreenshot() method in Helper 90 return automan.takeScreenshot(); in takeScreenshot()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | InputMethodVisibilityVerifier.java | 50 return Watermark.detect(uiAutomation.takeScreenshot()); in containsWatermark() 55 return !Watermark.detect(uiAutomation.takeScreenshot()); in notContainsWatermark()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityTakeScreenshotTest.java | 148 takeScreenshot(Display.DEFAULT_DISPLAY); in testTakeScreenshot_GetScreenshotResult() 157 takeScreenshot(Display.DEFAULT_DISPLAY); in testTakeScreenshot_RequestIntervalTime() 164 takeScreenshot(Display.DEFAULT_DISPLAY); in testTakeScreenshot_RequestIntervalTime() 172 takeScreenshot(Display.DEFAULT_DISPLAY); in testTakeScreenshot_RequestIntervalTime() 189 takeScreenshot(virtualDisplayId); in testTakeScreenshotOnVirtualDisplay_GetScreenshotResult() 208 takeScreenshot(virtualDisplayId); in testTakeScreenshotOnPrivateDisplay_GetErrorCode() 241 takeScreenshot(Display.DEFAULT_DISPLAY); in testTakeScreenshotWithSecureWindow_GetScreenshotAndVerifyBitmap() 406 private void takeScreenshot(int displayId) { in takeScreenshot() method in AccessibilityTakeScreenshotTest 408 mService.takeScreenshot(displayId, mContext.getMainExecutor(), in takeScreenshot()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | AbstractAutoFillActivity.java | 92 public Bitmap takeScreenshot() { in takeScreenshot() method in AbstractAutoFillActivity 93 return takeScreenshot(findViewById(android.R.id.content).getRootView()); in takeScreenshot() 99 public Bitmap takeScreenshot(View view) { in takeScreenshot() method in AbstractAutoFillActivity
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | BitmapPixelChecker.java | 102 Bitmap swBitmap = takeScreenshot(activity); in validateScreenshot() 124 Bitmap swBitmap = takeScreenshot(activity); in validateScreenshot() 154 private static Bitmap takeScreenshot(Activity activity) { in takeScreenshot() method in BitmapPixelChecker 156 InstrumentationRegistry.getInstrumentation().getUiAutomation().takeScreenshot( in takeScreenshot()
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceActivityLegacyFlowTest.java | 80 Bitmap before = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest() 85 Bitmap after = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest()
|
D | PreferenceActivityFlowTest.java | 313 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()
|
D | TestUtils.java | 69 Bitmap takeScreenshot() { in takeScreenshot() method in TestUtils 73 Bitmap bt = mAutomation.takeScreenshot(mRule.getActivity().getWindow()); in takeScreenshot()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
D | ActivityTestBase.java | 127 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/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | ActivityTestBase.java | 154 private Bitmap takeScreenshot(TestPositionInfo testPositionInfo) { in takeScreenshot() method in ActivityTestBase 168 return mScreenshotter.takeScreenshot(testPositionInfo); in takeScreenshot() 197 return takeScreenshot(runRenderSpec(testCase)); in captureRenderSpec() 219 Bitmap takeScreenshot(TestPositionInfo params); in takeScreenshot() method 299 Bitmap testCaseBitmap = takeScreenshot(testPositionInfo); in runWithAnimationVerifier()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | LightNavigationBarVerifier.java | 48 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()
|
D | NavigationBarColorVerifier.java | 88 Bitmap takeScreenshot(@ColorInt int navigationBarColor) throws Exception; in takeScreenshot() method 96 screenShots.add(new ScreenShot(color, screenshotSupplier.takeScreenshot(color))); in verify()
|
D | InputMethodVisibilityVerifier.java | 52 final Bitmap screenshot = uiAutomation.takeScreenshot(); in containsWatermark()
|
/cts/common/device-side/interactive/src/main/java/com/android/interactive/ |
D | ScreenshotUtil.java | 57 .takeScreenshot(screenshotFile); in captureScreenshot()
|
/cts/tests/translation/src/android/translation/cts/ |
D | Helper.java | 196 final Bitmap screenshot = takeScreenshot(); in takeScreenshotAndSave() 210 private static Bitmap takeScreenshot() { in takeScreenshot() method in Helper 213 final Bitmap bitmap = automan.takeScreenshot(); in takeScreenshot()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SurfaceViewTests.java | 165 Bitmap source = getInstrumentation().getUiAutomation().takeScreenshot( 211 public Bitmap takeScreenshot(TestPositionInfo testPositionInfo) { 596 Bitmap screenshot = mScreenshotter.takeScreenshot(testInfo); 607 screenshot = mScreenshotter.takeScreenshot(testInfo); 661 Bitmap screenshot = mScreenshotter.takeScreenshot(testInfo); 697 Bitmap screenshot = mScreenshotter.takeScreenshot(testInfo); 734 Bitmap screenshot = mScreenshotter.takeScreenshot(testInfo); 771 Bitmap screenshot = mScreenshotter.takeScreenshot(testInfo); 809 Bitmap screenshot = mScreenshotter.takeScreenshot(testInfo); 847 Bitmap screenshot = mScreenshotter.takeScreenshot(testInfo);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanPreTransformTest.java | 154 private static Bitmap takeScreenshot(int width, int height) { in takeScreenshot() method in VulkanPreTransformTest 176 Bitmap bitmap = takeScreenshot(width, height); in validatePixelValuesAfterRotation()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTestBase.java | 55 Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot(); in takeStatusBarScreenshot() 61 Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot(); in takeNavigationBarScreenshot()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/runner/ |
D | UiRenderingRunner.java | 79 .getUiAutomation().takeScreenshot(); in onCreate()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InputMethodVisibilityVerifier.java | 44 return watermark.isContainedIn(uiAutomation.takeScreenshot()); in containsWatermark()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 160 Bitmap screenShot = takeScreenshot(srcRect); in testAnimationOnLayer() 320 Bitmap screenShot = takeScreenshot(srcRect); in testInfiniteAVD() 348 private Bitmap takeScreenshot(Rect srcRect) { in takeScreenshot() method in AnimatedVectorDrawableParameterizedTest
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTest.java | 372 mUiAutomation.takeScreenshot(); in testCallingPublicAPIsWithDontUseAccessibilityFlag_shouldNotThrowException() 442 Bitmap bitmap = mUiAutomation.takeScreenshot(null); in testTakeScreenshot() 446 final Bitmap screenshot = mUiAutomation.takeScreenshot(mActivity.getWindow()); in testTakeScreenshot()
|
/cts/tests/tests/gameservice/src/android/service/games/ |
D | GameServiceTestService.java | 174 focusedGameSession.takeScreenshot(Runnable::run, callback);
|