Home
last modified time | relevance | path

Searched refs:textureView (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java133 final TextureView textureView = activity.getTextureView(); in testRotateScale() local
136 rotate.setRotate(180, textureView.getWidth() / 2, textureView.getHeight() / 2); in testRotateScale()
152 textureView.getLocationInWindow(outLocation); in testRotateScale()
155 viewPos.right = viewPos.left + textureView.getWidth(); in testRotateScale()
156 viewPos.bottom = viewPos.top + textureView.getHeight(); in testRotateScale()
172 final TextureView textureView = activity.getTextureView(); in testTransformScale() local
194 textureView.getLocationInWindow(outLocation); in testTransformScale()
197 viewPos.right = viewPos.left + textureView.getWidth(); in testTransformScale()
198 viewPos.bottom = viewPos.top + textureView.getHeight(); in testTransformScale()
306 final TextureView textureView = activity.getTextureView(); in testSamplingWithTransform() local
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java141 protected void updatePreviewDisplayRotation(Size previewSize, TextureView textureView) { in updatePreviewDisplayRotation() argument
181 Matrix transformMatrix = textureView.getTransform(null); in updatePreviewDisplayRotation()
182 int viewWidth = textureView.getWidth(); in updatePreviewDisplayRotation()
183 int viewHeight = textureView.getHeight(); in updatePreviewDisplayRotation()
220 handler.post(new TransformUpdater(textureView, transformMatrix)); in updatePreviewDisplayRotation()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java747 private TextureView textureView; field in TextureViewFactory
754 textureView = DecodeAccuracyTestBase.checkNotNull(new TextureView(context)); in createView()
755 textureView.setSurfaceTextureListener(this); in createView()
756 return textureView; in createView()
761 textureView = null; in release()
771 return new Surface(textureView.getSurfaceTexture()); in getSurface()
776 return new TextureViewSnapshot(textureView); in getVideoViewSnapshot()
782 while (SystemClock.elapsedRealtime() - start < timeOutMs && !textureView.isAvailable()) { in waitForViewIsAvailable()
792 if (!textureView.isAvailable()) { in waitForViewIsAvailable()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraExtensionSessionTest.java122 TextureView textureView = mActivityRule.getActivity().getTextureView(); in updatePreviewSurfaceTexture() local
123 mSurfaceTexture = getAvailableSurfaceTexture(WAIT_FOR_COMMAND_TO_COMPLETE_MS, textureView); in updatePreviewSurfaceTexture()