Searched refs:mTextureView (Results 1 – 7 of 7) sorted by relevance
45 private TextureView mTextureView; field in TextureViewCameraActivity54 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 …]
56 private TextureView mTextureView; field in TextureViewCtsActivity94 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()
31 private TextureView[] mTextureView = new TextureView[MAX_TEXTURE_VIEWS]; field in Camera2MultiViewCtsActivity38 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()
25 private TextureView mTextureView; field in CameraExtensionTestActivity31 mTextureView = new TextureView(this); in onCreate()32 setContentView(mTextureView); in onCreate()36 return mTextureView; in getTextureView()
84 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 …]
48 protected TextureView mTextureView; field in ProjectionActivity96 mTextureView = (TextureView) view.findViewById(R.id.texture_view); in setContentViewAndInfoResources()97 mTextureView.setSurfaceTextureListener(this); in setContentViewAndInfoResources()98 mTextureView.setOnTouchListener(new OnTouchListener() { in setContentViewAndInfoResources()
78 protected TextureView[] mTextureView = field in Camera2MultiViewTestCase103 mTextureView[i] = activity.getTextureView(i); in setUp()105 assertNotNull("Unable to get texture view", mTextureView); in setUp()