Searched refs:camera (Results 1 - 25 of 129) sorted by relevance

123456

/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCameraManager.java78 * 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_MS} 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 onClosed(CameraDevice camera) argument
[all...]
H A DBlockingStateCallback.java32 * 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
111 public void onOpened(CameraDevice camera) { argument
113 mProxy.onOpened(camera);
119 public void onDisconnected(CameraDevice camera) { argument
121 mProxy.onDisconnected(camera);
127 public void onError(CameraDevice camera, int error) { argument
129 mProxy.onError(camera, error);
135 public void onClosed(CameraDevice camera) { argument
137 mProxy.onClosed(camera);
[all...]
/frameworks/base/core/jni/include/android_runtime/
H A Dandroid_hardware_camera2_CameraMetadata.h20 #include <camera/CameraMetadata.h>
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTransform3dActivity.java59 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/av/services/camera/libcameraservice/common/
H A DCameraProviderManager.h25 #include <camera/CameraParameters2.h>
26 #include <camera/CameraMetadata.h>
27 #include <camera/CameraBase.h>
29 #include <android/hardware/camera/common/1.0/types.h>
30 #include <android/hardware/camera/provider/2.4/ICameraProvider.h>
31 //#include <android/hardware/camera/provider/2.4/ICameraProviderCallbacks.h>
33 #include <camera/VendorTagDescriptor.h>
51 const hardware::hidl_vec<hardware::camera::common::V1_0::VendorTagSection>& vts,
57 * A manager for all camera providers available on an Android device.
59 * Responsible for enumerating providers and the individual camera device
[all...]
H A DFrameProcessorBase.h25 #include <camera/CameraMetadata.h>
26 #include <camera/CaptureResult.h>
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp34 #include <camera/Camera.h>
74 JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera);
132 sp<Camera> camera; local
136 camera = context->getCamera();
138 ALOGV("get_native_camera: context=%p, camera=%p", context, camera.get());
139 if (camera == 0) {
145 return camera;
148 JNICameraContext::JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera) argument
152 mCamera = camera;
565 sp<Camera> camera; local
653 sp<Camera> camera; local
682 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
703 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
728 sp<Camera> camera = get_native_camera(env, thiz, &context); local
750 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
784 sp<Camera> camera = get_native_camera(env, thiz, &context); local
830 sp<Camera> camera = get_native_camera(env, thiz, &context); local
860 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
879 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
893 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
905 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
916 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
927 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
943 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
955 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
967 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
987 sp<Camera> camera = get_native_camera(env, thiz, &context); local
1003 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
1014 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCameraStressTestRunner.java23 import com.android.mediaframeworktest.functional.camera.CameraFunctionalTest;
24 import com.android.mediaframeworktest.functional.camera.CameraPairwiseTest;
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
H A DCamera2DeviceTester.java32 * Subclasses of this have an {@code mCamera} instance variable representing the first camera.
69 public synchronized void onOpened(CameraDevice camera) { argument
70 mCamera = camera;
75 public void onDisconnected(CameraDevice camera) {} argument
78 public void onError(CameraDevice camera, int error) {} argument
/frameworks/av/services/camera/libcameraservice/tests/
H A DAndroid.mk30 android.hardware.camera.common@1.0 \
31 android.hardware.camera.provider@2.4 \
32 android.hardware.camera.device@1.0 \
33 android.hardware.camera.device@3.2
36 system/media/private/camera/include \
H A DCameraProviderManagerTest.cpp23 #include <android/hardware/camera/device/3.2/ICameraDeviceCallback.h>
24 #include <android/hardware/camera/device/3.2/ICameraDeviceSession.h>
29 using namespace android::hardware::camera;
30 using android::hardware::camera::common::V1_0::Status;
31 using android::hardware::camera::common::V1_0::VendorTag;
32 using android::hardware::camera::common::V1_0::VendorTagSection;
33 using android::hardware::camera::common::V1_0::CameraMetadataType;
34 using android::hardware::camera::device::V3_2::ICameraDeviceCallback;
35 using android::hardware::camera::device::V3_2::ICameraDeviceSession;
38 * Basic test implementation of a camera ve
[all...]
/frameworks/av/camera/cameraserver/
H A DAndroid.mk30 android.hardware.camera.common@1.0 \
31 android.hardware.camera.provider@2.4 \
32 android.hardware.camera.device@1.0 \
33 android.hardware.camera.device@3.2
/frameworks/av/camera/include/camera/
H A DCameraUtils.h21 #include <camera/CameraMetadata.h>
31 * camera client, and the camera service.
36 * Calculate the ANativeWindow transform from the static camera
38 * attributes of the camera device.
H A DCamera.h25 #include <system/camera.h>
26 #include <camera/ICameraRecordingProxy.h>
27 #include <camera/ICameraRecordingProxyListener.h>
28 #include <camera/android/hardware/ICamera.h>
29 #include <camera/android/hardware/ICameraClient.h>
30 #include <camera/CameraBase.h>
81 // construct a camera client from an existing remote
82 static sp<Camera> create(const sp<::android::hardware::ICamera>& camera);
89 int clientUid, sp<Camera>& camera);
97 // pass the buffered IGraphicBufferProducer to the camera servic
[all...]
/frameworks/av/include/camera/
H A DCameraUtils.h21 #include <camera/CameraMetadata.h>
31 * camera client, and the camera service.
36 * Calculate the ANativeWindow transform from the static camera
38 * attributes of the camera device.
H A DCamera.h25 #include <system/camera.h>
26 #include <camera/ICameraRecordingProxy.h>
27 #include <camera/ICameraRecordingProxyListener.h>
28 #include <camera/android/hardware/ICamera.h>
29 #include <camera/android/hardware/ICameraClient.h>
30 #include <camera/CameraBase.h>
81 // construct a camera client from an existing remote
82 static sp<Camera> create(const sp<::android::hardware::ICamera>& camera);
89 int clientUid, sp<Camera>& camera);
97 // pass the buffered IGraphicBufferProducer to the camera servic
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DAndroid.mk79 android.hardware.camera.common@1.0 \
80 android.hardware.camera.provider@2.4 \
81 android.hardware.camera.device@1.0 \
82 android.hardware.camera.device@3.2 \
83 android.hardware.camera.device@3.3 \
84 android.hardware.camera.device@3.4
89 system/media/private/camera/include \
93 frameworks/av/services/camera/libcameraservice
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h26 #include <camera/Camera.h>
27 #include <camera/CameraParameters.h>
29 #include <hardware/camera.h>
61 * camera hardware abstraction layer, used for setting and getting
71 * setParameters() are used to initialize the camera instance.
75 * focusing has completed, the camera instance sends a CAMERA_MSG_FOCUS notification,
76 * which informs the application whether focusing was successful. The camera instance
80 * CameraService calls takePicture() to request the camera instance take a
88 public virtual hardware::camera::device::V1_0::ICameraDeviceCallback,
89 public virtual hardware::camera
[all...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCameraAgentImpl.java46 * A class to implement {@link CameraAgent} of the Android camera framework.
160 // Get the first (smallest) back and first front camera id.
232 public ParametersCache(Camera camera) { argument
233 mCamera = camera;
250 throw new IllegalStateException("camera.getParameters returned null");
258 * The handler on which the actual camera operations happen.
314 android.hardware.Camera camera, Object cb) {
316 camera.setAutoFocusMoveCallback((AutoFocusMoveCallback) cb);
332 public void onError(final int errorCode, Camera camera) { argument
369 Log.i(TAG, "Opening camera "
313 setAutoFocusMoveCallback( android.hardware.Camera camera, Object cb) argument
765 AndroidCameraProxyImpl( CameraAgent cameraAgent, int cameraId, Camera camera, CameraDeviceInfo.Characteristics characteristics, AndroidCameraCapabilities capabilities) argument
1103 getNewInstance( Handler handler, CameraProxy camera, CameraAFCallback cb) argument
1111 AFCallbackForward( Handler h, CameraProxy camera, CameraAFCallback cb) argument
1119 onAutoFocus(final boolean b, Camera camera) argument
1145 getNewInstance( Handler handler, CameraProxy camera, CameraAFMoveCallback cb) argument
1153 AFMoveCallbackForward( Handler h, CameraProxy camera, CameraAFMoveCallback cb) argument
1161 onAutoFocusMoving( final boolean moving, android.hardware.Camera camera) argument
1189 getNewInstance( Handler handler, CameraProxy camera, CameraShutterCallback cb) argument
1197 ShutterCallbackForward( Handler h, CameraProxy camera, CameraShutterCallback cb) argument
1232 getNewInstance( Handler handler, CameraProxy camera, CameraPictureCallback cb) argument
1240 PictureCallbackForward( Handler h, CameraProxy camera, CameraPictureCallback cb) argument
1248 onPictureTaken( final byte[] data, android.hardware.Camera camera) argument
1276 getNewInstance( Handler handler, CameraProxy camera, CameraPreviewDataCallback cb) argument
1284 PreviewCallbackForward( Handler h, CameraProxy camera, CameraPreviewDataCallback cb) argument
1292 onPreviewFrame( final byte[] data, android.hardware.Camera camera) argument
1317 getNewInstance( Handler handler, CameraProxy camera, CameraFaceDetectionCallback cb) argument
1325 FaceDetectionCallbackForward( Handler h, CameraProxy camera, CameraFaceDetectionCallback cb) argument
1333 onFaceDetection( final Camera.Face[] faces, Camera camera) argument
[all...]
/frameworks/av/camera/tests/
H A DAndroid.mk37 system/media/private/camera/include \
38 system/media/camera/tests \
39 frameworks/av/services/camera/libcameraservice \
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.h32 #include <android/hardware/camera/device/3.2/ICameraDevice.h>
33 #include <android/hardware/camera/device/3.2/ICameraDeviceSession.h>
34 #include <android/hardware/camera/device/3.3/ICameraDeviceSession.h>
35 #include <android/hardware/camera/device/3.4/ICameraDeviceSession.h>
36 #include <android/hardware/camera/device/3.2/ICameraDeviceCallback.h>
37 #include <android/hardware/camera/device/3.4/ICameraDeviceCallback.h>
41 #include <camera/CaptureResult.h>
83 virtual public hardware::camera::device::V3_4::ICameraDeviceCallback,
151 static_cast<int>(hardware::camera::device::V3_2::StreamConfigurationMode::NORMAL_MODE))
268 HalInterface(sp<hardware::camera
[all...]
/frameworks/av/include/media/stagefright/
H A DCameraSource.h24 #include <camera/android/hardware/ICamera.h>
25 #include <camera/ICameraRecordingProxy.h>
26 #include <camera/ICameraRecordingProxyListener.h>
27 #include <camera/CameraParameters.h>
45 * from the default camera.
56 * @param camera the video input frame data source. If it is NULL,
57 * we will try to connect to the camera with the given
60 * @param cameraId the id of the camera that the source will connect
61 * to if camera is NULL; otherwise ignored.
62 * @param clientName the package/process name of the camera
[all...]
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DCameraSource.h24 #include <camera/android/hardware/ICamera.h>
25 #include <camera/ICameraRecordingProxy.h>
26 #include <camera/ICameraRecordingProxyListener.h>
27 #include <camera/CameraParameters.h>
45 * from the default camera.
56 * @param camera the video input frame data source. If it is NULL,
57 * we will try to connect to the camera with the given
60 * @param cameraId the id of the camera that the source will connect
61 * to if camera is NULL; otherwise ignored.
62 * @param clientName the package/process name of the camera
[all...]
/frameworks/av/camera/ndk/
H A DNdkCameraCaptureSession.cpp26 #include <camera/NdkCameraDevice.h>
27 #include <camera/NdkCaptureRequest.h>
28 #include <camera/NdkCameraCaptureSession.h>
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
H A DCamera2RequestSettingsSet.java219 * @param camera The camera from which to capture.
223 * @return The request, ready to be passed to the camera framework.
228 public CaptureRequest createRequest(CameraDevice camera, int template, Surface... targets) argument
230 if (camera == null) {
234 Builder reqBuilder = camera.createCaptureRequest(template);

Completed in 570 milliseconds

123456