Searched refs:textureView (Results 1 – 5 of 5) sorted by relevance
183 final TextureView textureView = activity.getTextureView(); in testRotateScale() local186 rotate.setRotate(180, textureView.getWidth() / 2, textureView.getHeight() / 2); in testRotateScale()202 textureView.getLocationInWindow(outLocation); in testRotateScale()205 viewPos.right = viewPos.left + textureView.getWidth(); in testRotateScale()206 viewPos.bottom = viewPos.top + textureView.getHeight(); in testRotateScale()222 final TextureView textureView = activity.getTextureView(); in testTransformScale() local244 textureView.getLocationInWindow(outLocation); in testTransformScale()247 viewPos.right = viewPos.left + textureView.getWidth(); in testTransformScale()248 viewPos.bottom = viewPos.top + textureView.getHeight(); in testTransformScale()303 TextureView textureView = activity.getTextureView(); in testSDRFromSurfaceViewAndTextureView() local[all …]
151 protected void updatePreviewDisplayRotation(Size previewSize, TextureView textureView) { in updatePreviewDisplayRotation() argument192 Matrix transformMatrix = textureView.getTransform(null); in updatePreviewDisplayRotation()193 int viewWidth = textureView.getWidth(); in updatePreviewDisplayRotation()194 int viewHeight = textureView.getHeight(); in updatePreviewDisplayRotation()231 handler.post(new TransformUpdater(textureView, transformMatrix)); in updatePreviewDisplayRotation()
750 private TextureView textureView; field in TextureViewFactory757 textureView = DecodeAccuracyTestBase.checkNotNull(new TextureView(context)); in createView()758 textureView.setSurfaceTextureListener(this); in createView()759 return textureView; in createView()764 textureView = null; in release()774 return new Surface(textureView.getSurfaceTexture()); in getSurface()779 return new TextureViewSnapshot(textureView); in getVideoViewSnapshot()785 while (SystemClock.elapsedRealtime() - start < timeOutMs && !textureView.isAvailable()) { in waitForViewIsAvailable()795 if (!textureView.isAvailable()) { in waitForViewIsAvailable()
1173 TextureView textureView, int mirrorMode) throws Exception { in textureViewPreviewWithMirroring() argument1177 textureView.setSurfaceTextureListener(previewListener); in textureViewPreviewWithMirroring()1179 WAIT_FOR_COMMAND_TO_COMPLETE, textureView); in textureViewPreviewWithMirroring()1183 updatePreviewDisplayRotation(previewSize, textureView); in textureViewPreviewWithMirroring()1200 textureView.setSurfaceTextureListener(null); in textureViewPreviewWithMirroring()
195 TextureView textureView = mActivityRule.getActivity().getTextureView(); in updatePreviewSurfaceTexture() local196 mSurfaceTexture = getAvailableSurfaceTexture(WAIT_FOR_COMMAND_TO_COMPLETE_MS, textureView); in updatePreviewSurfaceTexture()