/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CameraDevice.java | 25 * <p>The CameraDevice class is an interface to a single camera connected to an 31 * in order to access camera devices.</p> 33 * <p>A given camera device may provide support at one of two levels: limited or 38 * provide substantially improved capabilities over the older camera 50 * Create a request suitable for a camera preview window. Specifically, this 113 * Get the ID of this camera device. 116 * this camera device.</p> 118 * <p>This ID can be used to query the camera device's {@link 125 * @return the ID for this camera device 133 * <p>Set up a new output set of Surfaces for the camera devic 628 onCaptureStarted(CameraDevice camera, CaptureRequest request, long timestamp) argument 658 onCapturePartial(CameraDevice camera, CaptureRequest request, CaptureResult result) argument 680 onCaptureCompleted(CameraDevice camera, CaptureRequest request, CaptureResult result) argument 709 onCaptureFailed(CameraDevice camera, CaptureRequest request, CaptureFailure failure) argument 732 onCaptureSequenceCompleted(CameraDevice camera, int sequenceId, int frameNumber) argument 831 onOpened(CameraDevice camera) argument 851 onUnconfigured(CameraDevice camera) argument 880 onActive(CameraDevice camera) argument 913 onBusy(CameraDevice camera) argument 928 onClosed(CameraDevice camera) argument 960 onIdle(CameraDevice camera) argument 991 onDisconnected(CameraDevice camera) argument 1020 onError(CameraDevice camera, int error) argument [all...] |
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
H A D | BlockingCameraManager.java | 78 * Thrown when camera device enters error state during open, or if 95 * Create a new blocking camera manager. 109 * Open the camera, blocking it until it succeeds or fails. 124 * highly unrecoverable, and all future calls to opening that camera will fail since the 128 * Id of the camera 130 * Listener to the camera. onOpened, onDisconnected, onError need not be implemented. 168 * <p>Time out after {@link #OPEN_TIME_OUT} and unblock. Clean up camera if it arrives 207 public void onOpened(CameraDevice camera) { argument 209 Log.v(TAG, "onOpened: camera " + ((camera ! 229 onDisconnected(CameraDevice camera) argument 252 onError(CameraDevice camera, int error) argument 278 onUnconfigured(CameraDevice camera) argument 283 onIdle(CameraDevice camera) argument 288 onActive(CameraDevice camera) argument 293 onBusy(CameraDevice camera) argument 298 onClosed(CameraDevice camera) argument [all...] |
H A D | BlockingStateListener.java | 32 * A camera device listener that implements blocking operations on state changes. 36 * the last wait, or that will be received from the camera device in the 135 public void onOpened(CameraDevice camera) { argument 137 if (mProxy != null) mProxy.onOpened(camera); 141 public void onDisconnected(CameraDevice camera) { argument 143 if (mProxy != null) mProxy.onDisconnected(camera); 147 public void onError(CameraDevice camera, int error) { argument 149 if (mProxy != null) mProxy.onError(camera, error); 153 public void onUnconfigured(CameraDevice camera) { argument 155 if (mProxy != null) mProxy.onUnconfigured(camera); 159 onIdle(CameraDevice camera) argument 165 onActive(CameraDevice camera) argument 171 onBusy(CameraDevice camera) argument 177 onClosed(CameraDevice camera) argument [all...] |
/frameworks/av/camera/tests/ |
H A D | Android.mk | 28 system/media/camera/include \ 29 frameworks/av/services/camera/libcameraservice \ 30 frameworks/av/include/camera \
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | Transform3dActivity.java | 59 final Camera camera = mCamera; 63 rotate(centerX, centerY, camera, matrix, 32.0f); 66 rotate(centerX, centerY, camera, matrix, 12.0f); 69 rotate(centerX, centerY, camera, matrix, 52.0f); 72 rotate(centerX, centerY, camera, matrix, 122.0f); 86 private void rotate(float centerX, float centerY, Camera camera, argument 88 camera.save(); 89 camera.rotateY(angle); 90 camera.getMatrix(matrix); 91 camera [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 33 #include <camera/Camera.h> 61 JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera); 114 sp<Camera> camera; local 118 camera = context->getCamera(); 120 ALOGV("get_native_camera: context=%p, camera=%p", context, camera.get()); 121 if (camera == 0) { 126 return camera; 129 JNICameraContext::JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera) argument 133 mCamera = camera; 476 sp<Camera> camera = Camera::connect(cameraId, clientName, local 515 sp<Camera> camera; local 544 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 565 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 590 sp<Camera> camera = get_native_camera(env, thiz, &context); local 612 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 646 sp<Camera> camera = get_native_camera(env, thiz, &context); local 692 sp<Camera> camera = get_native_camera(env, thiz, &context); local 722 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 740 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 754 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 766 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 777 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 788 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 804 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 816 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 828 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 848 sp<Camera> camera = get_native_camera(env, thiz, &context); local 864 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 875 sp<Camera> camera = get_native_camera(env, thiz, NULL); local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | CameraStressTestRunner.java | 22 import com.android.mediaframeworktest.functional.camera.CameraFunctionalTest; 23 import com.android.mediaframeworktest.functional.camera.CameraPairwiseTest;
|
/frameworks/av/include/camera/ |
H A D | Camera.h | 22 #include <system/camera.h> 23 #include <camera/ICameraClient.h> 24 #include <camera/ICameraRecordingProxy.h> 25 #include <camera/ICameraRecordingProxyListener.h> 26 #include <camera/ICameraService.h> 27 #include <camera/ICamera.h> 28 #include <camera/CameraBase.h> 71 // construct a camera client from an existing remote 72 static sp<Camera> create(const sp<ICamera>& camera); 83 // pass the buffered IGraphicBufferProducer to the camera servic [all...] |
H A D | ProCamera.h | 23 #include <system/camera.h> 24 #include <camera/IProCameraCallbacks.h> 25 #include <camera/IProCameraUser.h> 26 #include <camera/Camera.h> 27 #include <camera/CameraMetadata.h> 28 #include <camera/ICameraService.h> 36 #include <camera/CameraBase.h> 105 * Connect a shared camera. By default access is restricted to read only 114 * - We may request exclusive access to a camera if no other 115 * clients are using the camera 262 ProFrameListener(wp<ProCamera> camera, int streamID) argument [all...] |
H A D | ICameraClient.h | 25 #include <system/camera.h>
|
H A D | IProCameraCallbacks.h | 25 #include <system/camera.h>
|
/frameworks/av/include/camera/camera2/ |
H A D | CaptureRequest.h | 22 #include <camera/CameraMetadata.h>
|
H A D | ICameraDeviceCallbacks.h | 25 #include <system/camera.h>
|
/frameworks/av/camera/ |
H A D | ICameraService.cpp | 28 #include <camera/ICameraService.h> 29 #include <camera/ICameraServiceListener.h> 30 #include <camera/IProCameraUser.h> 31 #include <camera/IProCameraCallbacks.h> 32 #include <camera/ICamera.h> 33 #include <camera/ICameraClient.h> 34 #include <camera/camera2/ICameraDeviceUser.h> 35 #include <camera/camera2/ICameraDeviceCallbacks.h> 36 #include <camera/CameraMetadata.h> 106 // get information about a camera 285 sp<ICamera> camera; local 305 sp<IProCameraUser> camera; local 325 sp<ICameraDeviceUser> camera; local [all...] |
H A D | Camera.cpp | 27 #include <camera/Camera.h> 28 #include <camera/ICameraRecordingProxyListener.h> 29 #include <camera/ICameraService.h> 30 #include <camera/ICamera.h> 45 // construct a camera client from an existing camera remote 46 sp<Camera> Camera::create(const sp<ICamera>& camera) argument 49 if (camera == 0) { 50 ALOGE("camera remote is a NULL pointer"); 55 if (camera 344 RecordingProxy(const sp<Camera>& camera) argument [all...] |
H A D | Android.mk | 37 system/media/camera/include \
|
H A D | ICameraRecordingProxy.cpp | 19 #include <camera/ICameraRecordingProxy.h> 20 #include <camera/ICameraRecordingProxyListener.h>
|
/frameworks/av/include/media/stagefright/ |
H A D | CameraSource.h | 23 #include <camera/ICamera.h> 24 #include <camera/ICameraRecordingProxyListener.h> 25 #include <camera/CameraParameters.h> 41 * from the default camera. 52 * @param camera the video input frame data source. If it is NULL, 53 * we will try to connect to the camera with the given 56 * @param cameraId the id of the camera that the source will connect 57 * to if camera is NULL; otherwise ignored. 58 * @param clientName the package/process name of the camera-using 59 * application if camera i [all...] |
H A D | CameraSourceTimeLapse.h | 36 const sp<ICamera> &camera, 77 // Condition variable to wait on if camera is is not yet idle. Once the 78 // camera gets idle, this variable will be signalled. 81 // True if camera is in preview mode and ready for takePicture(). 86 // True if stop() is waiting for camera to get idle, i.e. for the last 112 const sp<ICamera> &camera, 135 // In the video camera case calls skipFrameAndModifyTimeStamp() to modify 146 // the function sets the camera's video/preview size to it and returns true. 150 // When video camera is used for time lapse capture, returns true
|
/frameworks/av/media/mediaserver/ |
H A D | Android.mk | 35 frameworks/av/services/camera/libcameraservice
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.h | 25 #include <camera/ICameraService.h> 26 #include <hardware/camera.h> 28 #include <camera/ICamera.h> 29 #include <camera/ICameraClient.h> 30 #include <camera/IProCameraUser.h> 31 #include <camera/IProCameraCallbacks.h> 32 #include <camera/camera2/ICameraDeviceUser.h> 33 #include <camera/camera2/ICameraDeviceCallbacks.h> 35 #include <camera/ICameraServiceListener.h> 59 static char const* getServiceName() { return "media.camera"; } [all...] |
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.h | 20 #include <camera/camera2/ICameraDeviceUser.h> 21 #include <camera/camera2/ICameraDeviceCallbacks.h> 84 // Get the static metadata for the camera
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSourceTimeLapse.cpp | 27 #include <camera/Camera.h> 28 #include <camera/CameraParameters.h> 36 const sp<ICamera> &camera, 48 CameraSourceTimeLapse(camera, proxy, cameraId, 64 const sp<ICamera>& camera, 74 : CameraSource(camera, proxy, cameraId, clientName, clientUid, 113 // Force dataCallbackTimestamp() coming from the video camera to 282 // Tell the camera to release its recording frame and return. 35 CreateFromCamera( const sp<ICamera> &camera, const sp<ICameraRecordingProxy> &proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t videoFrameRate, const sp<IGraphicBufferProducer>& surface, int64_t timeBetweenFrameCaptureUs, bool storeMetaDataInVideoBuffers) argument 63 CameraSourceTimeLapse( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t videoFrameRate, const sp<IGraphicBufferProducer>& surface, int64_t timeBetweenFrameCaptureUs, bool storeMetaDataInVideoBuffers) argument
|
H A D | CameraSource.cpp | 28 #include <camera/Camera.h> 29 #include <camera/CameraParameters.h> 129 sp<ICamera> camera; local 130 return new CameraSource(camera, NULL, 0, clientName, -1, 136 const sp<ICamera>& camera, 146 CameraSource *source = new CameraSource(camera, proxy, cameraId, 153 const sp<ICamera>& camera, 180 mInitCheck = init(camera, proxy, cameraId, 192 const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, 195 if (camera 135 CreateFromCamera( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t frameRate, const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers) argument 152 CameraSource( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t frameRate, const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers) argument 191 isCameraAvailable( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid) argument 474 init( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument 494 initWithCameraAccess( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | SimpleAppRS.java | 186 Camera camera = mScene.appendNewCamera(); 187 camera.setFar(200); 188 camera.setNear(0.1f); 189 camera.setFOV(60); 191 cameraTransform.addTranslate("camera", new Float3(0, 0, 10)); 192 camera.setTransform(cameraTransform);
|