Home
last modified time | relevance | path

Searched refs:camera (Results 1 – 25 of 101) sorted by relevance

12345

/frameworks/base/core/java/android/hardware/camera2/impl/
DCallbackProxies.java50 public void onOpened(CameraDevice camera) { in onOpened() argument
51 mProxy.invoke("onOpened", camera); in onOpened()
55 public void onDisconnected(CameraDevice camera) { in onDisconnected() argument
56 mProxy.invoke("onDisconnected", camera); in onDisconnected()
60 public void onError(CameraDevice camera, int error) { in onError() argument
61 mProxy.invoke("onError", camera, error); in onError()
65 public void onUnconfigured(CameraDevice camera) { in onUnconfigured() argument
66 mProxy.invoke("onUnconfigured", camera); in onUnconfigured()
70 public void onActive(CameraDevice camera) { in onActive() argument
71 mProxy.invoke("onActive", camera); in onActive()
[all …]
DCameraCaptureSessionImpl.java457 public void onCaptureStarted(CameraDevice camera, in createCaptureCallbackProxy()
463 public void onCapturePartial(CameraDevice camera, in createCaptureCallbackProxy()
469 public void onCaptureProgressed(CameraDevice camera, in createCaptureCallbackProxy()
475 public void onCaptureCompleted(CameraDevice camera, in createCaptureCallbackProxy()
481 public void onCaptureFailed(CameraDevice camera, in createCaptureCallbackProxy()
487 public void onCaptureSequenceCompleted(CameraDevice camera, in createCaptureCallbackProxy()
493 public void onCaptureSequenceAborted(CameraDevice camera, in createCaptureCallbackProxy()
499 public void onCaptureBufferLost(CameraDevice camera, in createCaptureCallbackProxy()
561 public void onOpened(CameraDevice camera) { in getDeviceStateCallback() argument
566 public void onDisconnected(CameraDevice camera) { in getDeviceStateCallback() argument
[all …]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingCameraManager.java207 public void onOpened(CameraDevice camera) { in onOpened() argument
209 Log.v(TAG, "onOpened: camera " + ((camera != null) ? camera.getId() : "null")); in onOpened()
216 mDevice = camera; in onOpened()
219 if (mTimedOut && camera != null) { in onOpened()
220 camera.close(); in onOpened()
225 if (mProxy != null) mProxy.onOpened(camera); in onOpened()
229 public void onDisconnected(CameraDevice camera) { in onDisconnected() argument
232 + ((camera != null) ? camera.getId() : "null")); in onDisconnected()
239 mDevice = camera; in onDisconnected()
242 if (mTimedOut && camera != null) { in onDisconnected()
[all …]
DBlockingStateCallback.java111 public void onOpened(CameraDevice camera) { in onOpened() argument
113 mProxy.onOpened(camera); in onOpened()
119 public void onDisconnected(CameraDevice camera) { in onDisconnected() argument
121 mProxy.onDisconnected(camera); in onDisconnected()
127 public void onError(CameraDevice camera, int error) { in onError() argument
129 mProxy.onError(camera, error); in onError()
135 public void onClosed(CameraDevice camera) { in onClosed() argument
137 mProxy.onClosed(camera); in onClosed()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp74 JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera);
132 sp<Camera> camera; in get_native_camera() local
136 camera = context->getCamera(); in get_native_camera()
138 ALOGV("get_native_camera: context=%p, camera=%p", context, camera.get()); in get_native_camera()
139 if (camera == 0) { in get_native_camera()
145 return camera; in get_native_camera()
148 …raContext::JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera) in JNICameraContext() argument
152 mCamera = camera; in JNICameraContext()
565 sp<Camera> camera; in android_hardware_Camera_native_setup() local
568 camera = Camera::connect(cameraId, clientName, in android_hardware_Camera_native_setup()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h51 const hardware::hidl_vec<hardware::camera::common::V1_0::VendorTagSection>& vts,
78 virtual sp<hardware::camera::provider::V2_4::ICameraProvider> getService(
90 return hardware::camera::provider::V2_4::ICameraProvider::registerForNotifications( in registerForNotifications()
93 virtual sp<hardware::camera::provider::V2_4::ICameraProvider> getService( in getService()
95 return hardware::camera::provider::V2_4::ICameraProvider::getService(serviceName); in getService()
106 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) = 0;
108 hardware::camera::common::V1_0::TorchModeStatus newStatus) = 0;
155 hardware::camera::common::V1_0::CameraResourceCost* cost) const;
200 const sp<hardware::camera::device::V3_2::ICameraDeviceCallback>& callback,
202 sp<hardware::camera::device::V3_2::ICameraDeviceSession> *session);
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTransform3dActivity.java59 final Camera camera = mCamera; in onDraw() local
63 rotate(centerX, centerY, camera, matrix, 32.0f); in onDraw()
66 rotate(centerX, centerY, camera, matrix, 12.0f); in onDraw()
69 rotate(centerX, centerY, camera, matrix, 52.0f); in onDraw()
72 rotate(centerX, centerY, camera, matrix, 122.0f); in onDraw()
86 private void rotate(float centerX, float centerY, Camera camera, in rotate() argument
88 camera.save(); in rotate()
89 camera.rotateY(angle); in rotate()
90 camera.getMatrix(matrix); in rotate()
91 camera.restore(); in rotate()
/frameworks/av/services/camera/libcameraservice/tests/
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 \
DCameraProviderManagerTest.cpp29 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;
45 hardware::camera::common::V1_0::Status status,
46 const hardware::camera::common::V1_0::CameraResourceCost& resourceCost)>;
49 hardware::camera::common::V1_0::CameraResourceCost resourceCost = {100, in getResourceCost()
[all …]
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h88 public virtual hardware::camera::device::V1_0::ICameraDeviceCallback,
89 public virtual hardware::camera::device::V1_0::ICameraDevicePreviewCallback {
303 sp<hardware::camera::device::V1_0::ICameraDevice> mHidlDevice;
414 hardware::camera::device::V1_0::NotifyCallbackMsg msgType,
421 hardware::camera::device::V1_0::DataCallbackMsg msgType,
423 const hardware::camera::device::V1_0::CameraFrameMetadata& metadata) override;
425 hardware::camera::device::V1_0::DataCallbackMsg msgType,
428 hardware::camera::device::V1_0::DataCallbackMsg msgType,
432 hardware::camera::device::V1_0::DataCallbackMsg msgType,
434 hardware::camera::device::V1_0::HandleTimestampMessage>&) override;
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java232 public ParametersCache(Camera camera) { in ParametersCache() argument
233 mCamera = camera; in ParametersCache()
314 android.hardware.Camera camera, Object cb) { in setAutoFocusMoveCallback() argument
316 camera.setAutoFocusMoveCallback((AutoFocusMoveCallback) cb); in setAutoFocusMoveCallback()
332 public void onError(final int errorCode, Camera camera) { in onError() argument
768 Camera camera, in AndroidCameraProxyImpl() argument
772 mCamera = camera; in AndroidCameraProxyImpl()
853 public void onAutoFocus(final boolean b, Camera camera) { in autoFocus()
907 public void onPictureTaken(final byte[] data, Camera camera) { in takePicture()
1104 Handler handler, CameraProxy camera, CameraAFCallback cb) { in getNewInstance() argument
[all …]
DCameraAgent.java112 public void onCameraOpened(final CameraProxy camera) { in onCameraOpened() argument
116 mCallback.onCameraOpened(camera); in onCameraOpened()
162 public void onError(int error, CameraProxy camera); in onError() argument
170 public void onAutoFocus(boolean focused, CameraProxy camera); in onAutoFocus() argument
178 public void onAutoFocusMoving(boolean moving, CameraProxy camera); in onAutoFocusMoving() argument
186 public void onShutter(CameraProxy camera); in onShutter() argument
194 public void onPictureTaken(byte[] data, CameraProxy camera); in onPictureTaken() argument
202 public void onPreviewFrame(byte[] data, CameraProxy camera); in onPreviewFrame() argument
216 public void onFaceDetection(Camera.Face[] faces, CameraProxy camera); in onFaceDetection() argument
239 public void onCameraOpened(CameraProxy camera); in onCameraOpened() argument
[all …]
/frameworks/av/camera/
DAndroid.mk22 frameworks/av/camera/aidl \
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
DCamera.cpp46 sp<Camera> Camera::create(const sp<::android::hardware::ICamera>& camera) in create() argument
49 if (camera == 0) { in create()
55 if (camera->connect(c) == NO_ERROR) { in create()
57 c->mCamera = camera; in create()
58 IInterface::asBinder(camera)->linkToDeath(c); in create()
83 sp<Camera>& camera) in connectLegacy() argument
99 camera = c; in connectLegacy()
496 Camera::RecordingProxy::RecordingProxy(const sp<Camera>& camera) in RecordingProxy() argument
498 mCamera = camera; in RecordingProxy()
/frameworks/av/
DAndroid.bp3 from: "include/camera/ndk/",
4 to: "camera",
5 srcs: ["include/camera/ndk/**/*.h"],
18 "camera/ndk",
/frameworks/av/camera/cameraserver/
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 \
Dcameraserver.rc4 group audio camera input drmrpc
6 writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks
/frameworks/av/services/camera/libcameraservice/
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/base/media/mca/samples/CameraEffectsRecordingSample/res/raw/
Dcameraeffectsrecordingsample.graph15 // A simple graph that displays the raw camera stream.
34 @filter CameraSource camera {
54 // Render camera output on to a surface
55 @connect camera[video] => renderer[frame];
57 @connect camera[video] => mediaEncoder[videoframe];
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
DCamera2DeviceTester.java69 public synchronized void onOpened(CameraDevice camera) { in onOpened() argument
70 mCamera = camera; in onOpened()
75 public void onDisconnected(CameraDevice camera) {} in onDisconnected() argument
78 public void onError(CameraDevice camera, int error) {} in onError() argument
/frameworks/av/camera/tests/
DAndroid.mk37 system/media/private/camera/include \
38 system/media/camera/tests \
39 frameworks/av/services/camera/libcameraservice \
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.h76 virtual public hardware::camera::device::V3_2::ICameraDeviceCallback,
139 static_cast<int>(hardware::camera::device::V3_2::StreamConfigurationMode::NORMAL_MODE))
236 HalInterface(sp<hardware::camera::device::V3_2::ICameraDeviceSession> &session,
270 sp<hardware::camera::device::V3_2::ICameraDeviceSession> mHidlSession;
278 /*out*/hardware::camera::device::V3_2::CaptureRequest* out,
443 hardware::camera::device::V3_2::CaptureResult>& results) override;
446 hardware::camera::device::V3_2::NotifyMsg>& msgs) override;
450 const hardware::camera::device::V3_2::CaptureResult& results);
452 void notify(const hardware::camera::device::V3_2::NotifyMsg& msg);
586 static hardware::camera::device::V3_2::DataspaceFlags mapToHidlDataspace(
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraDevice.java990 public abstract void onOpened(@NonNull CameraDevice camera); // Must implement in onOpened() argument
1003 public void onClosed(@NonNull CameraDevice camera) { in onClosed() argument
1035 public abstract void onDisconnected(@NonNull CameraDevice camera); // Must implement in onDisconnected() argument
1064 public abstract void onError(@NonNull CameraDevice camera, in onError() argument
/frameworks/av/soundtrigger/
DAndroid.mk32 system/media/camera/include \
33 system/media/private/camera/include
/frameworks/av/radio/
DAndroid.mk33 system/media/camera/include \
34 system/media/private/camera/include

12345