/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CallbackProxies.java | 50 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 D | CameraCaptureSessionImpl.java | 50 /** 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. 335 * <p>After this call completes, the session will not call any further methods on the camera 384 * Flush out any repeating request. Since camera is closed, no new requests 387 * If the camera device was already closed, short circuit and do nothing; since 390 * Otherwise, once stopRepeating is done, wait for camera to idle, then unconfigure 391 * the camera. Once that's done, fire #onClosed. 424 * reason, in lieu of more accurate error codes from the camera service. 461 public void onCaptureStarted(CameraDevice camera, [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_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 D | BlockingStateCallback.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 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 D | android_hardware_camera2_CameraMetadata.h | 20 #include <camera/CameraMetadata.h>
|
/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/av/services/camera/libcameraservice/common/ |
H A D | CameraProviderManager.h | 25 #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 D | FrameProcessorBase.h | 25 #include <camera/CameraMetadata.h> 26 #include <camera/CaptureResult.h>
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 34 #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 D | CameraStressTestRunner.java | 23 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 D | Camera2DeviceTester.java | 32 * 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 D | Android.mk | 29 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 D | CameraProviderManagerTest.cpp | 23 #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 D | Android.mk | 30 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 D | CameraUtils.h | 21 #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 D | Camera.h | 25 #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 D | CameraUtils.h | 21 #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 D | Camera.h | 25 #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 D | CameraHardwareInterface.h | 26 #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 D | AndroidCameraAgentImpl.java | 46 * 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/services/camera/libcameraservice/ |
H A D | Android.mk | 77 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 \ 81 android.hardware.camera.device@3.3 86 system/media/private/camera/include \ 90 frameworks/av/services/camera/libcameraservice
|
/frameworks/av/camera/tests/ |
H A D | Android.mk | 37 system/media/private/camera/include \ 38 system/media/camera/tests \ 39 frameworks/av/services/camera/libcameraservice \
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACaptureRequest.h | 19 #include <camera/NdkCaptureRequest.h>
|
/frameworks/av/include/media/stagefright/ |
H A D | CameraSource.h | 24 #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 D | CameraSource.h | 24 #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...] |