Searched refs:textureView (Results 1 – 3 of 3) sorted by relevance
129 final TextureView textureView = activity.getTextureView(); in testRotateScale() local132 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() local190 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 …]
154 protected void updatePreviewDisplayRotation(Size previewSize, TextureView textureView) { in updatePreviewDisplayRotation() argument194 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()
745 private TextureView textureView; field in TextureViewFactory752 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()