Home
last modified time | relevance | path

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

12

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DScreenCaptureDisabledTest.java59 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/
DBlurTests.java145 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/
DHelper.java53 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/
DInputMethodVisibilityVerifier.java50 return Watermark.detect(uiAutomation.takeScreenshot()); in containsWatermark()
55 return !Watermark.detect(uiAutomation.takeScreenshot()); in notContainsWatermark()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTakeScreenshotTest.java148 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/
DAbstractAutoFillActivity.java92 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/
DBitmapPixelChecker.java102 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/
DPreferenceActivityLegacyFlowTest.java80 Bitmap before = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest()
85 Bitmap after = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest()
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()
DTestUtils.java69 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/
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/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java154 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/
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()
DInputMethodVisibilityVerifier.java52 final Bitmap screenshot = uiAutomation.takeScreenshot(); in containsWatermark()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DScreenshotUtil.java57 .takeScreenshot(screenshotFile); in captureScreenshot()
/cts/tests/translation/src/android/translation/cts/
DHelper.java196 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/
DSurfaceViewTests.java165 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/
DVulkanPreTransformTest.java154 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/
DLightBarTestBase.java55 Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot(); in takeStatusBarScreenshot()
61 Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot(); in takeNavigationBarScreenshot()
/cts/tests/tests/uirendering/src/android/uirendering/cts/runner/
DUiRenderingRunner.java79 .getUiAutomation().takeScreenshot(); in onCreate()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodVisibilityVerifier.java44 return watermark.isContainedIn(uiAutomation.takeScreenshot()); in containsWatermark()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedVectorDrawableParameterizedTest.java160 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/
DUiAutomationTest.java372 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/
DGameServiceTestService.java174 focusedGameSession.takeScreenshot(Runnable::run, callback);

12