/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/ |
D | SynchronousPixelCopy.java | 48 public int request(Surface source, Rect srcRect, Bitmap dest) { in request() argument 50 PixelCopy.request(source, srcRect, dest, this, sHandler); in request() 62 public int request(SurfaceView source, Rect srcRect, Bitmap dest) { in request() argument 64 PixelCopy.request(source, srcRect, dest, this, sHandler); in request() 76 public int request(Window source, Rect srcRect, Bitmap dest) { in request() argument 78 PixelCopy.request(source, srcRect, dest, this, sHandler); in request()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AbstractAutoFillActivity.java | 95 final Rect srcRect = new Rect(); in takeScreenshot() local 96 syncRunOnUiThread(() -> view.getGlobalVisibleRect(srcRect)); in takeScreenshot() 98 srcRect.width(), srcRect.height(), Bitmap.Config.ARGB_8888); in takeScreenshot() 101 final int copyResult = copy.request(getWindow(), srcRect, dest); in takeScreenshot()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 144 final Rect srcRect = new Rect(); in testAnimationOnLayer() local 146 imageView[0].getGlobalVisibleRect(srcRect); in testAnimationOnLayer() 153 Bitmap screenShot = takeScreenshot(srcRect); in testAnimationOnLayer() 308 final Rect srcRect = new Rect(); in testInfiniteAVD() local 310 mActivity.findViewById(R.id.imageview).getGlobalVisibleRect(srcRect); in testInfiniteAVD() 316 Bitmap screenShot = takeScreenshot(srcRect); in testInfiniteAVD() 344 private Bitmap takeScreenshot(Rect srcRect) { in takeScreenshot() argument 347 srcRect.width(), srcRect.height(), Bitmap.Config.ARGB_8888); in takeScreenshot() 348 int copyResult = copy.request(mActivity.getWindow(), srcRect, dest); in takeScreenshot()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanPreTransformTest.java | 148 Rect srcRect = new Rect(); in takeScreenshot() local 149 sActivity.findViewById(R.id.surfaceview).getGlobalVisibleRect(srcRect); in takeScreenshot() 152 Bitmap.createBitmap(srcRect.width(), srcRect.height(), Bitmap.Config.ARGB_8888); in takeScreenshot() 154 copy.request((SurfaceView) sActivity.findViewById(R.id.surfaceview), srcRect, dest); in takeScreenshot()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewAnimationMatrixTest.java | 111 Rect srcRect = new Rect(0, 0, width, height); in captureView() local 112 srcRect.offset(offset[0], offset[1]); in captureView() 118 PixelCopy.request(mRule.getActivity().getWindow(), srcRect, dest, onCopyFinished, in captureView() local
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
D | ActivityTestBase.java | 134 Rect srcRect = new Rect(0, 0, TEST_WIDTH, TEST_HEIGHT); in takeScreenshot() local 135 srcRect.offset(testPositionInfo.surfaceOffset.x, testPositionInfo.surfaceOffset.y); in takeScreenshot() 136 Log.d(TAG, "capturing screenshot of " + srcRect.toShortString()); in takeScreenshot() 137 int copyResult = copy.request(getActivity().getWindow(), srcRect, dest); in takeScreenshot()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | ActivityTestBase.java | 134 Rect srcRect = new Rect(0, 0, TEST_WIDTH, TEST_HEIGHT); in takeScreenshot() local 135 srcRect.offset(testPositionInfo.surfaceOffset.x, testPositionInfo.surfaceOffset.y); in takeScreenshot() 136 Log.d(TAG, "capturing screenshot of " + srcRect.toShortString()); in takeScreenshot() 137 int copyResult = copy.request(getActivity().getWindow(), srcRect, dest); in takeScreenshot()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SurfaceViewTests.java | 141 Rect srcRect = new Rect(0, 0, TEST_WIDTH, TEST_HEIGHT); in takeScreenshot() local 142 int copyResult = copy.request(mSurfaceView, srcRect, dest); in takeScreenshot()
|