Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/device/
DPortabilityCameraActions.java121 private final SingleDeviceOpenListener<CameraProxy> mOpenListener; field in PortabilityCameraActions.OpenCameraRunnable
133 mOpenListener = openListener; in OpenCameraRunnable()
142 new OpenCameraStateCallback(mOpenListener, mLogger)); in run()
144 mOpenListener.onDeviceOpenException(e); in run()
182 private final SingleDeviceOpenListener<CameraProxy> mOpenListener; field in PortabilityCameraActions.OpenCameraStateCallback
188 mOpenListener = openListener; in OpenCameraStateCallback()
196 mOpenListener.onDeviceOpened(camera); in onCameraOpened()
204 mOpenListener.onDeviceOpenException(new CameraOpenException(-1)); in onCameraDisabled()
213 mOpenListener.onDeviceOpenException(new CameraOpenException(-1)); in onDeviceOpenFailure()
222 mOpenListener.onDeviceOpenException(new CameraOpenException(-1)); in onDeviceOpenedAlready()
[all …]
DCamera2Actions.java87 private final SingleDeviceOpenListener<CameraDevice> mOpenListener; field in Camera2Actions.OpenCameraRunnable
99 mOpenListener = openListener; in OpenCameraRunnable()
107 mCameraManager.openCamera(mCameraId, new OpenCameraStateCallback(mOpenListener, in run()
111 mOpenListener.onDeviceOpenException(e); in run()
149 private final SingleDeviceOpenListener<CameraDevice> mOpenListener; field in Camera2Actions.OpenCameraStateCallback
155 mOpenListener = openListener; in OpenCameraStateCallback()
163 mOpenListener.onDeviceOpened(cameraDevice); in onOpened()
171 mOpenListener.onDeviceOpenException(cameraDevice); in onClosed()
179 mOpenListener.onDeviceOpenException(cameraDevice); in onDisconnected()
188 mOpenListener.onDeviceOpenException(new CameraOpenException(errorId)); in onError()