/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/ |
D | SynchronousPixelCopy.java | 110 public void onPixelCopyFinished(int copyResult) { in onPixelCopyFinished() argument 112 mStatus = copyResult; in onPixelCopyFinished() 138 public void accept(PixelCopy.Result copyResult) { in accept() argument 140 mResult = copyResult; in accept()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 860 int copyResult = PixelCopy.ERROR_SOURCE_NO_DATA; in testVideoProducer() local 862 copyResult = mCopyHelper.request(activity.getVideoView(), bitmap); in testVideoProducer() 863 if (copyResult != PixelCopy.ERROR_SOURCE_NO_DATA) { in testVideoProducer() 868 assertEquals(PixelCopy.SUCCESS, copyResult); in testVideoProducer() 875 copyResult = mCopyHelper.request(activity.getVideoView(), new Rect(0, 0, 50, 50), bitmap); in testVideoProducer() 876 assertEquals("Scaled copy request failed", PixelCopy.SUCCESS, copyResult); in testVideoProducer() 880 copyResult = mCopyHelper.request(activity.getVideoView(), new Rect(50, 0, 100, 50), bitmap); in testVideoProducer() 881 assertEquals("Scaled copy request failed", PixelCopy.SUCCESS, copyResult); in testVideoProducer() 885 copyResult = mCopyHelper.request(activity.getVideoView(), new Rect(0, 50, 50, 100), bitmap); in testVideoProducer() 886 assertEquals("Scaled copy request failed", PixelCopy.SUCCESS, copyResult); in testVideoProducer() [all …]
|
D | ViewAnimationMatrixTest.java | 125 copyResult -> { in captureView() 126 assertEquals(PixelCopy.SUCCESS, copyResult); in captureView()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | AbstractAutoFillActivity.java | 106 final int copyResult = copy.request(getWindow(), srcRect, dest); in takeScreenshot() local 107 assertThat(copyResult).isEqualTo(PixelCopy.SUCCESS); in takeScreenshot()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanPreTransformTest.java | 158 int copyResult = copy.request((SurfaceView) sActivity.findViewById(R.id.surfaceview), dest); in takeScreenshot() local 159 assertEquals("PixelCopy failed", 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 | 164 int copyResult = copy.request(getActivity().getWindow(), srcRect, dest); in takeScreenshot() local 165 Assert.assertEquals(PixelCopy.SUCCESS, copyResult); in takeScreenshot()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 352 int copyResult = copy.request(mActivity.getWindow(), srcRect, dest); in takeScreenshot() local 353 Assert.assertEquals(PixelCopy.SUCCESS, copyResult); in takeScreenshot()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecodeAccuracyTestBase.java | 1389 private int copyResult; field in SurfaceViewSnapshot 1395 this.copyResult = INITIAL_STATE; in SurfaceViewSnapshot() 1402 copyResult = INITIAL_STATE; in run() 1407 while ((copyResult = copyHelper.request(surfaceView, bitmap)) != PixelCopy.SUCCESS in run() 1429 return bitmap != null && copyResult == PixelCopy.SUCCESS; in isBitmapReady() 1476 public void onPixelCopyFinished(int copyResult) { in onPixelCopyFinished() argument 1478 status = copyResult; in onPixelCopyFinished()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SurfaceViewTests.java | 216 int copyResult = copy.request(mSurfaceView, srcRect, dest); 217 Assert.assertEquals(PixelCopy.SUCCESS, copyResult);
|