/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/ |
D | SynchronousPixelCopy.java | 93 public void onPixelCopyFinished(int copyResult) { in onPixelCopyFinished() argument 95 mStatus = copyResult; in onPixelCopyFinished()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 724 int copyResult = PixelCopy.ERROR_SOURCE_NO_DATA; in testVideoProducer() local 726 copyResult = mCopyHelper.request(activity.getVideoView(), bitmap); in testVideoProducer() 727 if (copyResult != PixelCopy.ERROR_SOURCE_NO_DATA) { in testVideoProducer() 732 assertEquals(PixelCopy.SUCCESS, copyResult); in testVideoProducer() 739 copyResult = mCopyHelper.request(activity.getVideoView(), new Rect(0, 0, 50, 50), bitmap); in testVideoProducer() 740 assertEquals("Scaled copy request failed", PixelCopy.SUCCESS, copyResult); in testVideoProducer() 744 copyResult = mCopyHelper.request(activity.getVideoView(), new Rect(25, 25, 75, 75), bitmap); in testVideoProducer() 745 assertEquals("Scaled copy request failed", PixelCopy.SUCCESS, copyResult); in testVideoProducer() 749 … copyResult = mCopyHelper.request(activity.getVideoView(), new Rect(0, 50, 100, 100), bitmap); in testVideoProducer() 750 assertEquals("Scaled copy request failed", PixelCopy.SUCCESS, copyResult); in testVideoProducer() [all …]
|
D | ViewAnimationMatrixTest.java | 114 copyResult -> { in captureView() 115 assertEquals(PixelCopy.SUCCESS, copyResult); in captureView()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AbstractAutoFillActivity.java | 101 final int copyResult = copy.request(getWindow(), srcRect, dest); in takeScreenshot() local 102 assertThat(copyResult).isEqualTo(PixelCopy.SUCCESS); in takeScreenshot()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanPreTransformTest.java | 153 int copyResult = in takeScreenshot() local 155 assertEquals("PixelCopy failed", PixelCopy.SUCCESS, copyResult); in takeScreenshot()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SurfaceViewTests.java | 142 int copyResult = copy.request(mSurfaceView, srcRect, dest); in takeScreenshot() local 143 Assert.assertEquals(PixelCopy.SUCCESS, copyResult); in takeScreenshot()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
D | ActivityTestBase.java | 137 int copyResult = copy.request(getActivity().getWindow(), srcRect, dest); in takeScreenshot() local 138 Assert.assertEquals(PixelCopy.SUCCESS, copyResult); in takeScreenshot()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | ActivityTestBase.java | 137 int copyResult = copy.request(getActivity().getWindow(), srcRect, dest); in takeScreenshot() local 138 Assert.assertEquals(PixelCopy.SUCCESS, copyResult); in takeScreenshot()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 348 int copyResult = copy.request(mActivity.getWindow(), srcRect, dest); in takeScreenshot() local 349 Assert.assertEquals(PixelCopy.SUCCESS, copyResult); in takeScreenshot()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeAccuracyTestBase.java | 1372 private int copyResult; field in SurfaceViewSnapshot 1378 this.copyResult = INITIAL_STATE; in SurfaceViewSnapshot() 1385 copyResult = INITIAL_STATE; in run() 1390 while ((copyResult = copyHelper.request(surfaceView, bitmap)) != PixelCopy.SUCCESS in run() 1412 return bitmap != null && copyResult == PixelCopy.SUCCESS; in isBitmapReady() 1459 public void onPixelCopyFinished(int copyResult) { in onPixelCopyFinished() argument 1461 status = copyResult; in onPixelCopyFinished()
|