Home
last modified time | relevance | path

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

/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/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/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsQrCodeScanFragment.java106 private TextureView mTextureView; field in AudioStreamsQrCodeScanFragment
125 mTextureView = view.findViewById(R.id.preview_view); in onViewCreated()
129 mTextureView.setSurfaceTextureListener(this); in onViewCreated()
130 mTextureView.setOutlineProvider( in onViewCreated()
138 mTextureView.setClipToOutline(true); in onViewCreated()
191 return new Size(mTextureView.getWidth(), mTextureView.getHeight()); in getViewSize()
201 mTextureView.setTransform(transform); in setTransform()
230 mTextureView.setVisibility(View.INVISIBLE); in notifyUserForQrCodeRecognition()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DQrCodeScanModeFragment.java77 private TextureView mTextureView; field in QrCodeScanModeFragment
96 mTextureView = view.findViewById(R.id.preview_view); in onViewCreated()
99 mTextureView.setSurfaceTextureListener(this); in onViewCreated()
100 mTextureView.setOutlineProvider(new ViewOutlineProvider() { in onViewCreated()
106 mTextureView.setClipToOutline(true); in onViewCreated()
161 return new Size(mTextureView.getWidth(), mTextureView.getHeight()); in getViewSize()
171 mTextureView.setTransform(transform); in setTransform()
/packages/apps/Settings/src/com/android/settings/development/
DAdbQrcodeScannerFragment.java75 private TextureView mTextureView; field in AdbQrcodeScannerFragment
169 mTextureView = (TextureView) view.findViewById(R.id.preview_view); in onViewCreated()
170 mTextureView.setSurfaceTextureListener(this); in onViewCreated()
253 return new Size(mTextureView.getWidth(), mTextureView.getHeight()); in getViewSize()
258 mTextureView.setTransform(transform); in setTransform()
325 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/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DDeviceAsWebcamPreview.java101 private TextureView mTextureView; field in DeviceAsWebcamPreview
280 mTextureView.setLayoutParams(frameLayout); in setTextureViewScale()
295 mTextureView.setScaleX(texScaleX); in setTextureViewScale()
296 mTextureView.setScaleY(texScaleY); in setTextureViewScale()
426 mTextureView.setOnTouchListener( in setupZoomUiControl()
602 mTextureView = findViewById(R.id.texture_view); in onCreate()
688 if (mTextureView.isAvailable()) { in onResume()
695 mLocalFgService.setPreviewSurfaceTexture(mTextureView.getSurfaceTexture(), in onResume()
704 mTextureView.setSurfaceTextureListener(mSurfaceTextureListener); in onResume()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeScannerFragment.java105 private TextureView mTextureView; field in WifiDppQrCodeScannerFragment
452 mTextureView = view.findViewById(R.id.preview_view); in onViewCreated()
453 mTextureView.setSurfaceTextureListener(this); in onViewCreated()
508 return new Size(mTextureView.getWidth(), mTextureView.getHeight()); in getViewSize()
518 mTextureView.setTransform(transform); in setTransform()
785 final SurfaceTexture surfaceTexture = mTextureView.getSurfaceTexture(); in restartCamera()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java523 private TextureView mTextureView; field in CameraAppUI
618 if (mCameraRootView == null || mTextureView == null) {
680 if (mSurface == null || mTextureView == null) { in setDefaultBufferSizeToViewDimens()
684 mSurface.setDefaultBufferSize(mTextureView.getWidth(), mTextureView.getHeight()); in setDefaultBufferSizeToViewDimens()
945 mTextureView.requestLayout(); in initDisplayListener()
1120 return mTextureView.getTransform(m); in getPreviewTransform()
1316 mTextureView = (TextureView) mCameraRootView.findViewById(R.id.preview_content); in prepareModuleUI()
1317 mTextureViewHelper = new TextureViewHelper(mTextureView, mCaptureLayoutHelper, in prepareModuleUI()