Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java129 final TextureView textureView = activity.getTextureView(); in testRotateScale() local
132 rotate.setRotate(180, textureView.getWidth() / 2, textureView.getHeight() / 2); in testRotateScale()
148 textureView.getLocationOnScreen(outLocation); in testRotateScale()
151 viewPos.right = viewPos.left + textureView.getWidth(); in testRotateScale()
152 viewPos.bottom = viewPos.top + textureView.getHeight(); in testRotateScale()
168 final TextureView textureView = activity.getTextureView(); in testTransformScale() local
190 textureView.getLocationOnScreen(outLocation); in testTransformScale()
193 viewPos.right = viewPos.left + textureView.getWidth(); in testTransformScale()
194 viewPos.bottom = viewPos.top + textureView.getHeight(); in testTransformScale()
302 final TextureView textureView = activity.getTextureView(); in testSamplingWithTransform() local
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java154 protected void updatePreviewDisplayRotation(Size previewSize, TextureView textureView) { in updatePreviewDisplayRotation() argument
194 Matrix transformMatrix = textureView.getTransform(null); in updatePreviewDisplayRotation()
195 int viewWidth = textureView.getWidth(); in updatePreviewDisplayRotation()
196 int viewHeight = textureView.getHeight(); in updatePreviewDisplayRotation()
233 handler.post(new TransformUpdater(textureView, transformMatrix)); in updatePreviewDisplayRotation()
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java745 private TextureView textureView; field in TextureViewFactory
752 textureView = DecodeAccuracyTestBase.checkNotNull(new TextureView(context)); in createView()
753 textureView.setSurfaceTextureListener(this); in createView()
754 return textureView; in createView()
759 textureView = null; in release()
769 return new Surface(textureView.getSurfaceTexture()); in getSurface()
774 return new TextureViewSnapshot(textureView); in getVideoViewSnapshot()
780 while (SystemClock.elapsedRealtime() - start < timeOutMs && !textureView.isAvailable()) { in waitForViewIsAvailable()
790 if (!textureView.isAvailable()) { in waitForViewIsAvailable()