Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java180 final TextureView textureView = activity.getTextureView(); in testRotateScale() local
183 rotate.setRotate(180, textureView.getWidth() / 2, textureView.getHeight() / 2); in testRotateScale()
199 textureView.getLocationInWindow(outLocation); in testRotateScale()
202 viewPos.right = viewPos.left + textureView.getWidth(); in testRotateScale()
203 viewPos.bottom = viewPos.top + textureView.getHeight(); in testRotateScale()
219 final TextureView textureView = activity.getTextureView(); in testTransformScale() local
241 textureView.getLocationInWindow(outLocation); in testTransformScale()
244 viewPos.right = viewPos.left + textureView.getWidth(); in testTransformScale()
245 viewPos.bottom = viewPos.top + textureView.getHeight(); in testTransformScale()
313 TextureView textureView = activity.getTextureView(); in testSDRFromSurfaceViewAndTextureView() local
[all …]
/cts/tests/tests/security/CameraPermissionTestApp/src/
DOpenCameraActivity.kt41 private lateinit var textureView: TextureView in <lambda>() variable in android.security.cts.camera.open.OpenCameraActivity
53 textureView = TextureView(this) in <lambda>()
54 textureView.layoutParams = ViewGroup.LayoutParams(MATCH_PARENT, MATCH_PARENT) in <lambda>()
55 setContentView(textureView) in <lambda>()
58 cameraOpener = CameraOpener(context = this, keys, textureView, surfaceTexture = null) in <lambda>()
DCameraOpener.kt52 private val textureView: TextureView?, in <lambda>() constant in android.security.cts.camera.open.CameraOpener
240 if (textureView?.surfaceTexture != null) { in <lambda>()
241 surfaceTexture = textureView.surfaceTexture in <lambda>()
246 } else if (textureView != null) { in <lambda>()
247 textureView.setSurfaceTextureListener( in <lambda>()
DCameraOpenerService.kt113 context = this, keys, textureView = null, surfaceTexture = cameraSurfaceTexture) in onCreate()
/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.java1233 TextureView textureView, int mirrorMode) throws Exception { in textureViewPreviewWithMirroring() argument
1237 textureView.setSurfaceTextureListener(previewListener); in textureViewPreviewWithMirroring()
1239 WAIT_FOR_COMMAND_TO_COMPLETE, textureView); in textureViewPreviewWithMirroring()
1243 updatePreviewDisplayRotation(previewSize, textureView); in textureViewPreviewWithMirroring()
1260 textureView.setSurfaceTextureListener(null); in textureViewPreviewWithMirroring()
DCameraExtensionSessionTest.java170 TextureView textureView = mActivityRule.getActivity().getTextureView(); in updatePreviewSurfaceTexture() local
171 mSurfaceTexture = getAvailableSurfaceTexture(WAIT_FOR_COMMAND_TO_COMPLETE_MS, textureView); in updatePreviewSurfaceTexture()