/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | ScreenCaptureDisabledTest.java | 53 if (getInstrumentation().getUiAutomation().takeScreenshot() == null) { in testScreenCaptureImpossible() 57 assertNull(getInstrumentation().getUiAutomation().takeScreenshot()); in testScreenCaptureImpossible() 64 if (getInstrumentation().getUiAutomation().takeScreenshot() != null) { in testScreenCapturePossible() 68 assertNotNull(getInstrumentation().getUiAutomation().takeScreenshot()); in testScreenCapturePossible()
|
/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 | 74 Bitmap before = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest() 79 Bitmap after = mTestUtils.takeScreenshot(); in legacyActivityRecreateTest()
|
D | TestUtils.java | 61 Bitmap takeScreenshot() { in takeScreenshot() method in TestUtils 65 Bitmap bt = mAutomation.takeScreenshot(); in takeScreenshot()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AbstractAutoFillActivity.java | 87 public Bitmap takeScreenshot() { in takeScreenshot() method in AbstractAutoFillActivity 88 return takeScreenshot(findViewById(android.R.id.content).getRootView()); in takeScreenshot() 94 public Bitmap takeScreenshot(View view) { in takeScreenshot() method in AbstractAutoFillActivity
|
D | UiBot.java | 1020 public Bitmap takeScreenshot() { 1022 final Bitmap bitmap = mAutoman.takeScreenshot(); 1037 final Bitmap screenshot = takeScreenshot();
|
D | LoginActivityTest.java | 547 final Bitmap usernameScreenshot1 = compareBitmaps ? mUiBot.takeScreenshot() : null; in testDatasetPickerPosition() 561 final Bitmap passwordScreenshot1 = compareBitmaps ? mUiBot.takeScreenshot() : null; in testDatasetPickerPosition() 575 final Bitmap usernameScreenshot2 = compareBitmaps ? mUiBot.takeScreenshot() : null; in testDatasetPickerPosition() 584 final Bitmap passwordScreenshot2 = compareBitmaps ? mUiBot.takeScreenshot() : null; in testDatasetPickerPosition()
|
D | SimpleSaveActivityTest.java | 1405 final Bitmap screenshotBefore = testBitmap ? mActivity.takeScreenshot(mActivity.mCommit) in explicitlySaveButtonTest() 1416 final Bitmap screenshotAfter = testBitmap ? mActivity.takeScreenshot(mActivity.mCommit) in explicitlySaveButtonTest()
|
/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 270 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/inputmethod/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 | NavigationBarInfo.java | 190 final Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot(); in getBottomNavigationBarBitmapForActivity()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanPreTransformTest.java | 146 private static Bitmap takeScreenshot() { in takeScreenshot() method in VulkanPreTransformTest 172 Bitmap bitmap = takeScreenshot(); 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() 316 Bitmap screenShot = takeScreenshot(srcRect); in testInfiniteAVD() 344 private Bitmap takeScreenshot(Rect srcRect) { in takeScreenshot() method in AnimatedVectorDrawableParameterizedTest
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SurfaceViewTests.java | 116 Bitmap source = getInstrumentation().getUiAutomation().takeScreenshot(); in testMovingWhiteSurfaceView() 137 public Bitmap takeScreenshot(TestPositionInfo testPositionInfo) { in takeScreenshot() method in SurfaceViewTests.SurfaceViewHelper
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SplashscreenTests.java | 45 final Bitmap image = takeScreenshot(); in testSplashscreenContent()
|
D | LocationOnScreenTests.java | 157 final Bitmap screenshot = getInstrumentation().getUiAutomation().takeScreenshot(); in findTestColorsInScreenshot()
|
D | EnsureBarContrastTest.java | 302 Bitmap fullBitmap = getInstrumentation().getUiAutomation().takeScreenshot();
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | NavigationBarColorTest.java | 275 final Bitmap bitmap = uiAutomation.takeScreenshot(); in getNavigationBarBitmap()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 570 protected Bitmap takeScreenshot() { in takeScreenshot() method in ActivityManagerTestBase 571 return getInstrumentation().getUiAutomation().takeScreenshot(); in takeScreenshot()
|
/cts/tools/release-parser/tests/resources/ |
D | CtsJniTestCases.apk.pb.txt | 2102 name: "takeScreenshot"
|