Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java183 final TextureView textureView = activity.getTextureView(); in testRotateScale() local
186 rotate.setRotate(180, textureView.getWidth() / 2, textureView.getHeight() / 2); in testRotateScale()
202 textureView.getLocationInWindow(outLocation); in testRotateScale()
205 viewPos.right = viewPos.left + textureView.getWidth(); in testRotateScale()
206 viewPos.bottom = viewPos.top + textureView.getHeight(); in testRotateScale()
222 final TextureView textureView = activity.getTextureView(); in testTransformScale() local
244 textureView.getLocationInWindow(outLocation); in testTransformScale()
247 viewPos.right = viewPos.left + textureView.getWidth(); in testTransformScale()
248 viewPos.bottom = viewPos.top + textureView.getHeight(); in testTransformScale()
303 TextureView textureView = activity.getTextureView(); in testSDRFromSurfaceViewAndTextureView() local
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java151 protected void updatePreviewDisplayRotation(Size previewSize, TextureView textureView) { in updatePreviewDisplayRotation() argument
192 Matrix transformMatrix = textureView.getTransform(null); in updatePreviewDisplayRotation()
193 int viewWidth = textureView.getWidth(); in updatePreviewDisplayRotation()
194 int viewHeight = textureView.getHeight(); in updatePreviewDisplayRotation()
231 handler.post(new TransformUpdater(textureView, transformMatrix)); in updatePreviewDisplayRotation()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTestBase.java750 private TextureView textureView; field in TextureViewFactory
757 textureView = DecodeAccuracyTestBase.checkNotNull(new TextureView(context)); in createView()
758 textureView.setSurfaceTextureListener(this); in createView()
759 return textureView; in createView()
764 textureView = null; in release()
774 return new Surface(textureView.getSurfaceTexture()); in getSurface()
779 return new TextureViewSnapshot(textureView); in getVideoViewSnapshot()
785 while (SystemClock.elapsedRealtime() - start < timeOutMs && !textureView.isAvailable()) { in waitForViewIsAvailable()
795 if (!textureView.isAvailable()) { in waitForViewIsAvailable()
/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiViewTest.java1173 TextureView textureView, int mirrorMode) throws Exception { in textureViewPreviewWithMirroring() argument
1177 textureView.setSurfaceTextureListener(previewListener); in textureViewPreviewWithMirroring()
1179 WAIT_FOR_COMMAND_TO_COMPLETE, textureView); in textureViewPreviewWithMirroring()
1183 updatePreviewDisplayRotation(previewSize, textureView); in textureViewPreviewWithMirroring()
1200 textureView.setSurfaceTextureListener(null); in textureViewPreviewWithMirroring()
DCameraExtensionSessionTest.java195 TextureView textureView = mActivityRule.getActivity().getTextureView(); in updatePreviewSurfaceTexture() local
196 mSurfaceTexture = getAvailableSurfaceTexture(WAIT_FOR_COMMAND_TO_COMPLETE_MS, textureView); in updatePreviewSurfaceTexture()