Home
last modified time | relevance | path

Searched refs:mTextureView (Results 1 – 7 of 7) 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.java56 private TextureView mTextureView; field in TextureViewCtsActivity
94 mTextureView = new TextureView(this); in onCreate()
95 mTextureView.setSurfaceTextureListener(this); in onCreate()
99 content.addView(mTextureView, in onCreate()
196 return mTextureView; in getTextureView()
252 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()
DCameraExtensionTestActivity.java25 private TextureView mTextureView; field in CameraExtensionTestActivity
31 mTextureView = new TextureView(this); in onCreate()
32 setContentView(mTextureView); in onCreate()
36 return mTextureView; in getTextureView()
DMultiViewTest.java84 List<TextureView> views = Arrays.asList(mTextureView[0]); in testTextureViewPreview()
126 List<TextureView> views = Arrays.asList(mTextureView[0]); in testTextureViewPreviewWithImageReader()
165 List<TextureView> views = Arrays.asList(mTextureView[0], mTextureView[1]); in testDualTextureViewPreview()
207 List<TextureView> views = Arrays.asList(mTextureView[0], mTextureView[1]); in testDualTextureViewAndImageReaderPreview()
243 List<TextureView> views = Arrays.asList(mTextureView[i]); in testDualCameraPreview()
307 mTextureView[i].setSurfaceTextureListener(previewListener[i]); in testSharedSurfaceBasicByCamera()
309 WAIT_FOR_COMMAND_TO_COMPLETE, mTextureView[i]); in testSharedSurfaceBasicByCamera()
313 updatePreviewDisplayRotation(previewSize, mTextureView[i]); in testSharedSurfaceBasicByCamera()
446 mTextureView[0].setSurfaceTextureListener(previewListener); in testSharedSurfaceImageReaderSwitch()
448 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.java78 protected TextureView[] mTextureView = field in Camera2MultiViewTestCase
103 mTextureView[i] = activity.getTextureView(i); in setUp()
105 assertNotNull("Unable to get texture view", mTextureView); in setUp()