Home
last modified time | relevance | path

Searched refs:mResourceSurfaceTexture (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateStartingPreview.java52 private final RefCountBase<ResourceSurfaceTexture> mResourceSurfaceTexture; field in StateStartingPreview
90 mResourceSurfaceTexture = resourceSurfaceTexture; in StateStartingPreview()
91 mResourceSurfaceTexture.addRef(); // Will be balanced in onLeave(). in StateStartingPreview()
105 mResourceSurfaceTexture)); in registerEventHandlers()
115 mResourceSurfaceTexture.get().setPreviewLayoutSize(event.getLayoutSize()); in registerEventHandlers()
135 mResourceSurfaceTexture, in registerEventHandlers()
186 mResourceSurfaceTexture.get().setPreviewSize(previewSize); in onEnter()
204 mResourceSurfaceTexture.get().createPreviewSurface(), captureReadyCallback); in onEnter()
211 mResourceSurfaceTexture.close(); in onLeave()
DStateBackgroundWithSurfaceTexture.java40 private final RefCountBase<ResourceSurfaceTexture> mResourceSurfaceTexture; field in StateBackgroundWithSurfaceTexture
61 mResourceSurfaceTexture = resourceSurfaceTexture; in StateBackgroundWithSurfaceTexture()
62 mResourceSurfaceTexture.addRef(); // Will be balanced in onLeave(). in StateBackgroundWithSurfaceTexture()
74 mResourceSurfaceTexture)); in registerEventHandlers()
101 mResourceSurfaceTexture.close(); in onLeave()
106 return mResourceSurfaceTexture; in getResourceSurfaceTexture()
DStateForegroundWithSurfaceTexture.java36 private final RefCountBase<ResourceSurfaceTexture> mResourceSurfaceTexture; field in StateForegroundWithSurfaceTexture
56 mResourceSurfaceTexture = resourceSurfaceTexture; in StateForegroundWithSurfaceTexture()
57 mResourceSurfaceTexture.addRef(); in StateForegroundWithSurfaceTexture()
74 mResourceSurfaceTexture, cameraFacing, key, characteristics)); in onEnter()
83 mResourceSurfaceTexture.close(); in onLeave()
88 return mResourceSurfaceTexture; in getResourceSurfaceTexture()
DStateOpeningCamera.java60 private final RefCountBase<ResourceSurfaceTexture> mResourceSurfaceTexture; field in StateOpeningCamera
111 mResourceSurfaceTexture = resourceSurfaceTexture; in StateOpeningCamera()
112 mResourceSurfaceTexture.addRef(); // Will be balanced in onLeave(). in StateOpeningCamera()
144 mResourceSurfaceTexture)); in registerEventHandlers()
158 mResourceSurfaceTexture, in registerEventHandlers()
221 mResourceSurfaceTexture.close(); in onLeave()
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceCaptureToolsImpl.java47 private final RefCountBase<ResourceSurfaceTexture> mResourceSurfaceTexture; field in ResourceCaptureToolsImpl
94 mResourceSurfaceTexture = resourceSurfaceTexture; in ResourceCaptureToolsImpl()
95 mResourceSurfaceTexture.addRef(); // Will be balanced in close(). in ResourceCaptureToolsImpl()
112 mResourceSurfaceTexture.close(); in close()
126 return mResourceSurfaceTexture; in getResourceSurfaceTexture()