Home
last modified time | relevance | path

Searched refs:mTextureView (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DTextureViewCameraActivity.java45 private TextureView mTextureView; field in TextureViewCameraActivity
54 Assert.assertTrue(mTextureView.getLayerType() == View.LAYER_TYPE_HARDWARE); in onSurfaceTextureAvailable()
55 Assert.assertTrue(mTextureView.isAvailable()); in onSurfaceTextureAvailable()
56 Assert.assertNotNull(mTextureView.getSurfaceTexture()); in onSurfaceTextureAvailable()
57 Assert.assertTrue(mTextureView.getSurfaceTextureListener() == this); in onSurfaceTextureAvailable()
58 Assert.assertTrue(mTextureView.isOpaque()); in onSurfaceTextureAvailable()
101 Bitmap bitmap = mTextureView.getBitmap(); in onSurfaceTextureUpdated()
111 Matrix transformMatrix = mTextureView.getTransform(null); in onSurfaceTextureUpdated()
114 mTextureView.setTransform(transformMatrix); in onSurfaceTextureUpdated()
124 mTextureView = new TextureView(this); in onCreate()
[all …]
DTextureViewCtsActivity.java55 private TextureView mTextureView; field in TextureViewCtsActivity
93 mTextureView = new TextureView(this); in onCreate()
94 mTextureView.setSurfaceTextureListener(this); in onCreate()
98 content.addView(mTextureView, in onCreate()
195 return mTextureView; in getTextureView()
251 mTextureView.setTransform(transform); in drawFrame()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCamera2MultiViewCtsActivity.java31 private TextureView[] mTextureView = new TextureView[MAX_TEXTURE_VIEWS]; field in Camera2MultiViewCtsActivity
38 mTextureView[0] = (TextureView) findViewById(R.id.texture_view_1); in onCreate()
39 mTextureView[1] = (TextureView) findViewById(R.id.texture_view_2); in onCreate()
40 mTextureView[2] = (TextureView) findViewById(R.id.texture_view_3); in onCreate()
41 mTextureView[3] = (TextureView) findViewById(R.id.texture_view_4); in onCreate()
42 mTextureView[4] = (TextureView) findViewById(R.id.texture_view_5); in onCreate()
55 return mTextureView[index]; in getTextureView()
DMultiViewTest.java71 List<TextureView> views = Arrays.asList(mTextureView[0]); in testTextureViewPreview()
112 List<TextureView> views = Arrays.asList(mTextureView[0]); in testTextureViewPreviewWithImageReader()
150 List<TextureView> views = Arrays.asList(mTextureView[0], mTextureView[1]); in testDualTextureViewPreview()
191 List<TextureView> views = Arrays.asList(mTextureView[0], mTextureView[1]); in testDualTextureViewAndImageReaderPreview()
226 List<TextureView> views = Arrays.asList(mTextureView[i]); in testDualCameraPreview()
284 mTextureView[i].setSurfaceTextureListener(previewListener[i]); in testSharedSurfaceBasicByCamera()
286 WAIT_FOR_COMMAND_TO_COMPLETE, mTextureView[i]); in testSharedSurfaceBasicByCamera()
290 updatePreviewDisplayRotation(previewSize, mTextureView[i]); in testSharedSurfaceBasicByCamera()
422 mTextureView[0].setSurfaceTextureListener(previewListener); in testSharedSurfaceImageReaderSwitch()
424 mTextureView[0]); in testSharedSurfaceImageReaderSwitch()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionActivity.java48 protected TextureView mTextureView; field in ProjectionActivity
96 mTextureView = (TextureView) view.findViewById(R.id.texture_view); in setContentViewAndInfoResources()
97 mTextureView.setSurfaceTextureListener(this); in setContentViewAndInfoResources()
98 mTextureView.setOnTouchListener(new OnTouchListener() { in setContentViewAndInfoResources()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java69 protected TextureView[] mTextureView = field in Camera2MultiViewTestCase
103 mTextureView[i] = activity.getTextureView(i); in setUp()
105 assertNotNull("Unable to get texture view", mTextureView); in setUp()