Searched refs:textureView (Results 1 – 4 of 4) sorted by relevance
133 final TextureView textureView = activity.getTextureView(); in testRotateScale() local136 rotate.setRotate(180, textureView.getWidth() / 2, textureView.getHeight() / 2); in testRotateScale()152 textureView.getLocationInWindow(outLocation); in testRotateScale()155 viewPos.right = viewPos.left + textureView.getWidth(); in testRotateScale()156 viewPos.bottom = viewPos.top + textureView.getHeight(); in testRotateScale()172 final TextureView textureView = activity.getTextureView(); in testTransformScale() local194 textureView.getLocationInWindow(outLocation); in testTransformScale()197 viewPos.right = viewPos.left + textureView.getWidth(); in testTransformScale()198 viewPos.bottom = viewPos.top + textureView.getHeight(); in testTransformScale()306 final TextureView textureView = activity.getTextureView(); in testSamplingWithTransform() local[all …]
141 protected void updatePreviewDisplayRotation(Size previewSize, TextureView textureView) { in updatePreviewDisplayRotation() argument181 Matrix transformMatrix = textureView.getTransform(null); in updatePreviewDisplayRotation()182 int viewWidth = textureView.getWidth(); in updatePreviewDisplayRotation()183 int viewHeight = textureView.getHeight(); in updatePreviewDisplayRotation()220 handler.post(new TransformUpdater(textureView, transformMatrix)); in updatePreviewDisplayRotation()
747 private TextureView textureView; field in TextureViewFactory754 textureView = DecodeAccuracyTestBase.checkNotNull(new TextureView(context)); in createView()755 textureView.setSurfaceTextureListener(this); in createView()756 return textureView; in createView()761 textureView = null; in release()771 return new Surface(textureView.getSurfaceTexture()); in getSurface()776 return new TextureViewSnapshot(textureView); in getVideoViewSnapshot()782 while (SystemClock.elapsedRealtime() - start < timeOutMs && !textureView.isAvailable()) { in waitForViewIsAvailable()792 if (!textureView.isAvailable()) { in waitForViewIsAvailable()
122 TextureView textureView = mActivityRule.getActivity().getTextureView(); in updatePreviewSurfaceTexture() local123 mSurfaceTexture = getAvailableSurfaceTexture(WAIT_FOR_COMMAND_TO_COMPLETE_MS, textureView); in updatePreviewSurfaceTexture()