Home
last modified time | relevance | path

Searched refs:mResourceOpenedCamera (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateStartingPreview.java53 private final RefCountBase<ResourceOpenedCamera> mResourceOpenedCamera; field in StateStartingPreview
92 mResourceOpenedCamera = ResourceOpenedCameraImpl.create( in StateStartingPreview()
136 mResourceOpenedCamera)); in registerEventHandlers()
159 final List<Size> supportedPreviewSizes = mResourceOpenedCamera.get() in onEnter()
167 mResourceOpenedCamera.get().getCameraId(), in onEnter()
168 mResourceOpenedCamera.get().getCameraFacing()); in onEnter()
203 mResourceOpenedCamera.get().startPreview( in onEnter()
212 mResourceOpenedCamera.close(); in onLeave()
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceCaptureToolsImpl.java48 private final RefCountBase<ResourceOpenedCamera> mResourceOpenedCamera; field in ResourceCaptureToolsImpl
96 mResourceOpenedCamera = resourceOpenedCamera; in ResourceCaptureToolsImpl()
97 mResourceOpenedCamera.addRef(); // Will be balanced in close(). in ResourceCaptureToolsImpl()
113 mResourceOpenedCamera.close(); in close()
131 return mResourceOpenedCamera; in getResourceOpenedCamera()
154 final ResourceOpenedCamera openedCamera = mResourceOpenedCamera.get(); in takePictureNow()
227 return mResourceOpenedCamera.get().getCamera(); in getCamera()