Home
last modified time | relevance | path

Searched refs:testOffset (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java123 public Bitmap takeScreenshot(Point testOffset) { in takeScreenshot() argument
128 Rect srcRect = new Rect(testOffset.x, testOffset.y, in takeScreenshot()
129 testOffset.x + TEST_WIDTH, testOffset.y + TEST_HEIGHT); in takeScreenshot()
135 return mScreenshotter.takeScreenshot(testOffset); in takeScreenshot()
140 Point testOffset = getActivity().enqueueRenderSpecAndWait( in runRenderSpec() local
151 return testOffset; in runRenderSpec()
158 Point testOffset = runRenderSpec(testCase); in captureRenderSpec() local
159 return takeScreenshot(testOffset); in captureRenderSpec()
233 Point testOffset = runRenderSpec(testCase); in runWithAnimationVerifier() local
241 Bitmap testCaseBitmap = takeScreenshot(testOffset); in runWithAnimationVerifier()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java114 Screenshotter screenshotter = testOffset -> { in testMovingWhiteSurfaceView()
116 return Bitmap.createBitmap(source, testOffset.x, testOffset.y, TEST_WIDTH, TEST_HEIGHT); in testMovingWhiteSurfaceView()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPointFTest.java90 public void testOffset() { in testOffset() method in PointFTest
DPointTest.java84 public void testOffset() { in testOffset() method in PointTest
DOutlineTest.java213 public void testOffset() {
DRectTest.java421 public void testOffset() { in testOffset() method in RectTest
DRectFTest.java339 public void testOffset() { in testOffset() method in RectFTest