Home
last modified time | relevance | path

Searched refs:mSurfaceTexture (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSurfaceTextureScreenNail.java37 private SurfaceTexture mSurfaceTexture; field in SurfaceTextureScreenNail
48 mSurfaceTexture = new SurfaceTexture(mExtTexture.getId()); in acquireSurfaceTexture()
49 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight); in acquireSurfaceTexture()
50 mSurfaceTexture.setOnFrameAvailableListener(this); in acquireSurfaceTexture()
72 return mSurfaceTexture; in getSurfaceTexture()
81 releaseSurfaceTexture(mSurfaceTexture); in releaseSurfaceTexture()
82 mSurfaceTexture = null; in releaseSurfaceTexture()
93 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight); in resizeTexture()
111 mSurfaceTexture.updateTexImage(); in draw()
112 mSurfaceTexture.getTransformMatrix(mTransform); in draw()
/packages/apps/Camera2/src/com/android/camera/burst/
DSurfaceTextureContainer.java29 private final SurfaceTexture mSurfaceTexture; field in SurfaceTextureContainer
33 mSurfaceTexture = surfaceTexture; in SurfaceTextureContainer()
34 mSurface = new Surface(mSurfaceTexture); in SurfaceTextureContainer()
38 return mSurfaceTexture; in getSurfaceTexture()
47 mSurfaceTexture.release(); in close()
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceSurfaceTextureImpl.java38 private final SurfaceTexture mSurfaceTexture; field in ResourceSurfaceTextureImpl
70 mSurfaceTexture = surfaceTexture; in ResourceSurfaceTextureImpl()
83 return new Surface(mSurfaceTexture); in createPreviewSurface()
115 mSurfaceTexture.setDefaultBufferSize(mPreviewSize.width(), mPreviewSize.height()); in setPreviewSize()
134 mSurfaceTexture.setDefaultBufferSize(defaultBufferSize.width(), defaultBufferSize.height()); in updateSurfaceTextureDefaultBufferSize()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java162 private SurfaceTexture mSurfaceTexture; field in PanoramaActivity
480 if (mSurfaceTexture != null) { in onMosaicSurfaceCreated()
481 mSurfaceTexture.release(); in onMosaicSurfaceCreated()
483 mSurfaceTexture = new SurfaceTexture(textureID); in onMosaicSurfaceCreated()
485 mSurfaceTexture.setOnFrameAvailableListener(PanoramaActivity.this); in onMosaicSurfaceCreated()
527 mSurfaceTexture.updateTexImage(); in onFrameAvailable()
528 mSurfaceTexture.getTransformMatrix(mTransformMatrix); in onFrameAvailable()
616 mSurfaceTexture.setOnFrameAvailableListener(null); in stopCapture()
761 if (mPausing || mThreadRunning || mSurfaceTexture == null) return; in onShutterButtonClick()
900 if (mPausing || mSurfaceTexture == null) return; in onCancelButtonClicked()
[all …]
/packages/apps/Camera2/src/com/android/camera/captureintent/event/
DEventOnSurfaceTextureAvailable.java24 private final SurfaceTexture mSurfaceTexture; field in EventOnSurfaceTextureAvailable
27 mSurfaceTexture = surfaceTexture; in EventOnSurfaceTextureAvailable()
31 return mSurfaceTexture; in getSurfaceTexture()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/qrcode/
DQrCameraTest.java50 private SurfaceTexture mSurfaceTexture; field in QrCameraTest
99 mSurfaceTexture = mock(SurfaceTexture.class); in setUp()
108 mCamera.start(mSurfaceTexture); in testCamera_Init_Callback()
/packages/apps/DevCamera/src/com/android/devcamera/
DApi2Camera.java110 SurfaceTexture mSurfaceTexture; field in Api2Camera
252 mSurfaceTexture = new SurfaceTexture(texture_id); in InitializeAllTheThings()
253 mSurfaceTexture.setDefaultBufferSize(320, 240); in InitializeAllTheThings()
254 mSurfaceTexture.setOnFrameAvailableListener(this); in InitializeAllTheThings()
255 mSurfaceTextureSurface = new Surface(mSurfaceTexture); in InitializeAllTheThings()