Home
last modified time | relevance | path

Searched refs:mTextureView (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceEnrollPreviewFragment.java75 private FaceSquareTextureView mTextureView; field in FaceEnrollPreviewFragment
121 SurfaceTexture texture = mTextureView.getSurfaceTexture();
189 mTextureView = getActivity().findViewById(R.id.texture_view); in onCreate()
209 if (mTextureView.isAvailable()) { in onResume()
210 openCamera(mTextureView.getWidth(), mTextureView.getHeight()); in onResume()
212 mTextureView.setSurfaceTextureListener(mSurfaceTextureListener); in onResume()
306 if (mTextureView == null) { in configureTransform()
320 mTextureView.setTranslationX(getResources().getDimension(R.dimen.face_preview_translate_x)); in configureTransform()
321 mTextureView.setTranslationY(getResources().getDimension(R.dimen.face_preview_translate_y)); in configureTransform()
325 mTextureView.setScaleX(scaleX * scale.getFloat()); in configureTransform()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollPreviewFragment.java76 private FaceSquareTextureView mTextureView; field in FaceEnrollPreviewFragment
122 SurfaceTexture texture = mTextureView.getSurfaceTexture();
190 mTextureView = getActivity().findViewById(R.id.texture_view); in onCreate()
210 if (mTextureView.isAvailable()) { in onResume()
211 openCamera(mTextureView.getWidth(), mTextureView.getHeight()); in onResume()
213 mTextureView.setSurfaceTextureListener(mSurfaceTextureListener); in onResume()
307 if (mTextureView == null) { in configureTransform()
329 mTextureView.getTransform(transform); in configureTransform()
332 mTextureView.setTransform(transform); in configureTransform()
/packages/apps/Gallery2/src/com/android/photos/
DFullscreenViewer.java26 private TiledImageView mTextureView; field in FullscreenViewer
33 mTextureView = new TiledImageView(this); in onCreate()
34 mTextureView.setTileSource(new BitmapRegionTileSource(this, path, 0, 0), null); in onCreate()
35 setContentView(mTextureView); in onCreate()
41 mTextureView.destroy(); in onDestroy()
/packages/apps/Settings/src/com/android/settings/development/
DAdbQrcodeScannerFragment.java75 private TextureView mTextureView; field in AdbQrcodeScannerFragment
164 mTextureView = (TextureView) view.findViewById(R.id.preview_view); in onViewCreated()
165 mTextureView.setSurfaceTextureListener(this); in onViewCreated()
237 return new Size(mTextureView.getWidth(), mTextureView.getHeight()); in getViewSize()
242 mTextureView.setTransform(transform); in setTransform()
330 final SurfaceTexture surfaceTexture = mTextureView.getSurfaceTexture(); in restartCamera()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageView.java57 private BlockingGLTextureView mTextureView; field in TiledImageView
100 mTextureView = new BlockingGLTextureView(context); in TiledImageView()
101 mTextureView.setRenderer(new TileRenderer()); in TiledImageView()
102 view = mTextureView; in TiledImageView()
120 mTextureView.destroy(); in destroy()
196 mTextureView.render(); in dispatchDraw()
217 mTextureView.invalidate(); in invalidate()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeScannerFragment.java96 private TextureView mTextureView; field in WifiDppQrCodeScannerFragment
374 mTextureView = (TextureView) view.findViewById(R.id.preview_view); in onViewCreated()
375 mTextureView.setSurfaceTextureListener(this); in onViewCreated()
433 return new Size(mTextureView.getWidth(), mTextureView.getHeight()); in getViewSize()
443 mTextureView.setTransform(transform); in setTransform()
696 final SurfaceTexture surfaceTexture = mTextureView.getSurfaceTexture(); in restartCamera()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppQrCodeScannerFragment.java96 private TextureView mTextureView; field in WifiDppQrCodeScannerFragment
364 mTextureView = (TextureView) view.findViewById(R.id.preview_view); in onViewCreated()
365 mTextureView.setSurfaceTextureListener(this); in onViewCreated()
423 return new Size(mTextureView.getWidth(), mTextureView.getHeight()); in getViewSize()
433 mTextureView.setTransform(transform); in setTransform()
682 final SurfaceTexture surfaceTexture = mTextureView.getSurfaceTexture(); in restartCamera()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java522 private TextureView mTextureView; field in CameraAppUI
617 if (mCameraRootView == null || mTextureView == null) {
679 if (mSurface == null || mTextureView == null) { in setDefaultBufferSizeToViewDimens()
683 mSurface.setDefaultBufferSize(mTextureView.getWidth(), mTextureView.getHeight()); in setDefaultBufferSizeToViewDimens()
944 mTextureView.requestLayout(); in initDisplayListener()
1119 return mTextureView.getTransform(m); in getPreviewTransform()
1315 mTextureView = (TextureView) mCameraRootView.findViewById(R.id.preview_content); in prepareModuleUI()
1316 mTextureViewHelper = new TextureViewHelper(mTextureView, mCaptureLayoutHelper, in prepareModuleUI()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java151 final TextureView mTextureView; field in SendUi
226 mTextureView = (TextureView) mScreenshotLayout.findViewById(R.id.fireflies); in SendUi()
227 mTextureView.setSurfaceTextureListener(this); in SendUi()