Searched refs:testPositionInfo (Results 1 – 3 of 3) sorted by relevance
127 private Bitmap takeScreenshot(TestPositionInfo testPositionInfo) { in takeScreenshot() argument135 srcRect.offset(testPositionInfo.surfaceOffset.x, testPositionInfo.surfaceOffset.y); in takeScreenshot()141 return mScreenshotter.takeScreenshot(testPositionInfo); in takeScreenshot()146 TestPositionInfo testPositionInfo = getActivity().enqueueRenderSpecAndWait( in runRenderSpec() local160 return testPositionInfo; in runRenderSpec()270 TestPositionInfo testPositionInfo = runRenderSpec(testCase); in runWithAnimationVerifier() local278 Bitmap testCaseBitmap = takeScreenshot(testPositionInfo); in runWithAnimationVerifier()
127 private Bitmap takeScreenshot(TestPositionInfo testPositionInfo) { in takeScreenshot() argument135 srcRect.offset(testPositionInfo.surfaceOffset.x, testPositionInfo.surfaceOffset.y); in takeScreenshot()141 return mScreenshotter.takeScreenshot(testPositionInfo); in takeScreenshot()146 TestPositionInfo testPositionInfo = getActivity().enqueueRenderSpecAndWait( in runRenderSpec() local160 return testPositionInfo; in runRenderSpec()261 TestPositionInfo testPositionInfo = runRenderSpec(testCase); in runWithAnimationVerifier() local269 Bitmap testCaseBitmap = takeScreenshot(testPositionInfo); in runWithAnimationVerifier()
113 Screenshotter screenshotter = testPositionInfo -> { in testMovingWhiteSurfaceView()116 testPositionInfo.screenOffset.x, testPositionInfo.screenOffset.y, in testMovingWhiteSurfaceView()135 public Bitmap takeScreenshot(TestPositionInfo testPositionInfo) { in takeScreenshot() argument