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

123456

/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCallbackProxies.java50 public void onOpened(CameraDevice camera) { argument
51 mProxy.invoke("onOpened", camera);
55 public void onDisconnected(CameraDevice camera) { argument
56 mProxy.invoke("onDisconnected", camera);
60 public void onError(CameraDevice camera, int error) { argument
61 mProxy.invoke("onError", camera, error);
65 public void onUnconfigured(CameraDevice camera) { argument
66 mProxy.invoke("onUnconfigured", camera);
70 public void onActive(CameraDevice camera) { argument
71 mProxy.invoke("onActive", camera);
75 onBusy(CameraDevice camera) argument
80 onClosed(CameraDevice camera) argument
85 onIdle(CameraDevice camera) argument
101 onCaptureStarted(CameraDevice camera, CaptureRequest request, long timestamp, long frameNumber) argument
107 onCapturePartial(CameraDevice camera, CaptureRequest request, CaptureResult result) argument
113 onCaptureProgressed(CameraDevice camera, CaptureRequest request, CaptureResult partialResult) argument
119 onCaptureCompleted(CameraDevice camera, CaptureRequest request, TotalCaptureResult result) argument
125 onCaptureFailed(CameraDevice camera, CaptureRequest request, CaptureFailure failure) argument
131 onCaptureSequenceCompleted(CameraDevice camera, int sequenceId, long frameNumber) argument
137 onCaptureSequenceAborted(CameraDevice camera, int sequenceId) argument
143 onCaptureBufferLost(CameraDevice camera, CaptureRequest request, Surface target, long frameNumber) argument
[all...]
H A DCameraCaptureSessionImpl.java50 /** Input surface configured by native camera framework based on user-specified configuration */
60 /** Internal camera device; used to translate calls into existing deprecated API */
85 * <p>The camera device must already be in the {@code IDLE} state when this is invoked.
328 * <p>After this call completes, the session will not call any further methods on the camera
380 * Flush out any repeating request. Since camera is closed, no new requests
383 * If the camera device was already closed, short circuit and do nothing; since
386 * Otherwise, once stopRepeating is done, wait for camera to idle, then unconfigure
387 * the camera. Once that's done, fire #onClosed.
420 * reason, in lieu of more accurate error codes from the camera service.
457 public void onCaptureStarted(CameraDevice camera,
[all...]
/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
652 sp<Camera> camera; local
681 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
702 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
727 sp<Camera> camera = get_native_camera(env, thiz, &context); local
749 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
783 sp<Camera> camera = get_native_camera(env, thiz, &context); local
829 sp<Camera> camera = get_native_camera(env, thiz, &context); local
859 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
878 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
892 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
904 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
915 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
926 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
942 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
954 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
966 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
986 sp<Camera> camera = get_native_camera(env, thiz, &context); local
1002 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
1013 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/av/camera/
H A DAndroid.mk22 frameworks/av/camera/aidl \
26 # AIDL files for camera interfaces
36 # Source for camera interface parcelables, and manually-written interfaces
65 system/media/camera/include \
66 system/media/private/camera/include \
68 $(LOCAL_PATH)/include/camera
71 system/media/camera/include \
72 $(LOCAL_PATH)/include/camera
/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.mk29 android.hardware.camera.common@1.0 \
30 android.hardware.camera.provider@2.4 \
31 android.hardware.camera.device@1.0 \
32 android.hardware.camera.device@3.2
35 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/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/
H A DAndroid.mk77 android.hardware.camera.common@1.0 \
78 android.hardware.camera.provider@2.4 \
79 android.hardware.camera.device@1.0 \
80 android.hardware.camera.device@3.2 \
86 system/media/private/camera/include \
90 frameworks/av/services/camera/libcameraservice
/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/foundation/include/
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...]

Completed in 441 milliseconds

123456