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 …]
194 private TextureView mTextureView; field in OverlayDisplayWindow.JellybeanMr1Impl252 mTextureView.getLayoutParams().width = mWidth; in updateAspectRatio()253 mTextureView.getLayoutParams().height = mWidth * height / width; in updateAspectRatio()255 mTextureView.getLayoutParams().width = mHeight * width / height; in updateAspectRatio()256 mTextureView.getLayoutParams().height = mHeight; in updateAspectRatio()263 return mTextureView.getBitmap(); in getSnapshot()285 mTextureView = (TextureView)mWindowContent.findViewById( in createWindow()287 mTextureView.setPivotX(0); in createWindow()288 mTextureView.setPivotY(0); in createWindow()289 mTextureView.getLayoutParams().width = mWidth; in createWindow()[all …]
78 private AutoFitTextureView mTextureView; field in Camera2VideoFragment175 if (null != mTextureView) {176 configureTransform(mTextureView.getWidth(), mTextureView.getHeight());263 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); in onViewCreated()273 if (mTextureView.isAvailable()) { in onResume()274 openCamera(mTextureView.getWidth(), mTextureView.getHeight()); in onResume()276 mTextureView.setSurfaceTextureListener(mSurfaceTextureListener); in onResume()359 mTextureView.setAspectRatio(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in openCamera()361 mTextureView.setAspectRatio(mPreviewSize.getHeight(), mPreviewSize.getWidth()); in openCamera()400 if (null == mCameraDevice || !mTextureView.isAvailable() || null == mPreviewSize) { in startPreview()[all …]
146 private AutoFitTextureView mTextureView; field in Camera2BasicFragment365 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); in onViewCreated()383 if (mTextureView.isAvailable()) { in onResume()384 openCamera(mTextureView.getWidth(), mTextureView.getHeight()); in onResume()386 mTextureView.setSurfaceTextureListener(mSurfaceTextureListener); in onResume()438 mTextureView.setAspectRatio( in setUpCameraOutputs()441 mTextureView.setAspectRatio( in setUpCameraOutputs()530 SurfaceTexture texture = mTextureView.getSurfaceTexture(); in createCameraPreviewSession()598 if (null == mTextureView || null == mPreviewSize || null == activity) { in configureTransform()616 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()