Searched refs:mTextureView (Results 1 – 5 of 5) sorted by relevance
186 private TextureView mTextureView; field in OverlayDisplayWindow.JellybeanMr1Impl244 mTextureView.getLayoutParams().width = mWidth; in updateAspectRatio()245 mTextureView.getLayoutParams().height = mWidth * height / width; in updateAspectRatio()247 mTextureView.getLayoutParams().width = mHeight * width / height; in updateAspectRatio()248 mTextureView.getLayoutParams().height = mHeight; in updateAspectRatio()272 mTextureView = (TextureView)mWindowContent.findViewById( in createWindow()274 mTextureView.setPivotX(0); in createWindow()275 mTextureView.setPivotY(0); in createWindow()276 mTextureView.getLayoutParams().width = mWidth; in createWindow()277 mTextureView.getLayoutParams().height = mHeight; in createWindow()[all …]
101 private AutoFitTextureView mTextureView; field in Camera2VideoFragment194 if (null != mTextureView) {195 configureTransform(mTextureView.getWidth(), mTextureView.getHeight());284 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); in onViewCreated()294 if (mTextureView.isAvailable()) { in onResume()295 openCamera(mTextureView.getWidth(), mTextureView.getHeight()); in onResume()297 mTextureView.setSurfaceTextureListener(mSurfaceTextureListener); in onResume()444 mTextureView.setAspectRatio(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in openCamera()446 mTextureView.setAspectRatio(mPreviewSize.getHeight(), mPreviewSize.getWidth()); in openCamera()487 if (null == mCameraDevice || !mTextureView.isAvailable() || null == mPreviewSize) { in startPreview()[all …]
237 private AutoFitTextureView mTextureView; field in Camera2RawFragment367 if (mPreviewSize != null && mTextureView.isAvailable()) {612 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); in onViewCreated()621 if (mTextureView != null && mTextureView.isAvailable()) { in onViewCreated()622 configureTransform(mTextureView.getWidth(), mTextureView.getHeight()); in onViewCreated()638 if (mTextureView.isAvailable()) { in onResume()639 configureTransform(mTextureView.getWidth(), mTextureView.getHeight()); in onResume()641 mTextureView.setSurfaceTextureListener(mSurfaceTextureListener); in onResume()922 SurfaceTexture texture = mTextureView.getSurfaceTexture(); in createCameraPreviewSessionLocked()1040 if (null == mTextureView || null == activity) { in configureTransform()[all …]
167 private AutoFitTextureView mTextureView; field in Camera2BasicFragment431 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); in onViewCreated()449 if (mTextureView.isAvailable()) { in onResume()450 openCamera(mTextureView.getWidth(), mTextureView.getHeight()); in onResume()452 mTextureView.setSurfaceTextureListener(mSurfaceTextureListener); in onResume()575 mTextureView.setAspectRatio( in setUpCameraOutputs()578 mTextureView.setAspectRatio( in setUpCameraOutputs()677 SurfaceTexture texture = mTextureView.getSurfaceTexture(); in createCameraPreviewSession()742 if (null == mTextureView || null == mPreviewSize || null == activity) { in configureTransform()762 mTextureView.setTransform(matrix); in configureTransform()
103 private TextureView mTextureView; field in FoldingLayoutActivity121 mTextureView = new TextureView(this); in onCreate()122 mTextureView.setSurfaceTextureListener(mSurfaceTextureListener); in onCreate()297 mFoldLayout.addView(mTextureView, new ViewGroup.LayoutParams( in onOptionsItemSelected()300 mFoldLayout.removeView(mTextureView); in onOptionsItemSelected()