/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | BlurTests.java | 112 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 …]
|
D | InputMethodVisibilityVerifier.java | 50 return Watermark.detect(uiAutomation.takeScreenshot()); in containsWatermark() 55 return !Watermark.detect(uiAutomation.takeScreenshot()); in notContainsWatermark()
|
D | LocationOnScreenTests.java | 156 final Bitmap screenshot = getInstrumentation().getUiAutomation().takeScreenshot(); in findTestColorsInScreenshot()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityTakeScreenshotTest.java | 132 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/ |
D | ScreenCaptureDisabledTest.java | 87 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/ |
D | AbstractAutoFillActivity.java | 90 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/ |
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 | PreferenceActivityLegacyFlowTest.java | 80 Bitmap before = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest() 85 Bitmap after = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest()
|
D | TestUtils.java | 67 Bitmap takeScreenshot() { in takeScreenshot() method in TestUtils 71 Bitmap bt = mAutomation.takeScreenshot(); in takeScreenshot()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | InputMethodVisibilityVerifier.java | 50 return Watermark.detect(uiAutomation.takeScreenshot()); in containsWatermark() 55 return !Watermark.detect(uiAutomation.takeScreenshot()); in notContainsWatermark()
|
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 | NavigationBarInfo.java | 188 final Bitmap fullBitmap = instrumentation.getUiAutomation().takeScreenshot(); in getBottomNavigationBarBitmapForActivity()
|
/cts/tests/tests/uirendering/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 278 Bitmap testCaseBitmap = takeScreenshot(testPositionInfo); in runWithAnimationVerifier()
|
/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/graphics/src/android/graphics/cts/ |
D | VulkanPreTransformTest.java | 146 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/ |
D | LightBarTestBase.java | 61 Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot(); in takeStatusBarScreenshot() 66 Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot(); in takeNavigationBarScreenshot()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 153 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/ |
D | InputMethodVisibilityVerifier.java | 44 return watermark.isContainedIn(uiAutomation.takeScreenshot()); in containsWatermark()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SurfaceViewTests.java | 114 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/ |
D | BitmapAsserter.java | 88 .getUiAutomation().takeScreenshot(); in onFailure()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | UiBot.java | 1160 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/ |
D | ASurfaceControlTestActivity.java | 117 mScreenshot = uiAutomation.takeScreenshot(getWindow()); in verifyTest()
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | AccessibilityDumper.java | 148 final Bitmap screenshot = automation.takeScreenshot(); in dumpScreen()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | NavigationBarColorTest.java | 281 final Bitmap bitmap = uiAutomation.takeScreenshot(); in getNavigationBarBitmap()
|