Home
last modified time | relevance | path

Searched defs:camera (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/impl/
DCallbackProxies.java50 public void onOpened(CameraDevice camera) { in onOpened()
55 public void onDisconnected(CameraDevice camera) { in onDisconnected()
60 public void onError(CameraDevice camera, int error) { in onError()
65 public void onUnconfigured(CameraDevice camera) { in onUnconfigured()
70 public void onActive(CameraDevice camera) { in onActive()
75 public void onBusy(CameraDevice camera) { in onBusy()
80 public void onClosed(CameraDevice camera) { in onClosed()
85 public void onIdle(CameraDevice camera) { in onIdle()
101 public void onCaptureStarted(CameraDevice camera, in onCaptureStarted()
107 public void onCapturePartial(CameraDevice camera, in onCapturePartial()
[all …]
DCameraCaptureSessionImpl.java528 public void onOpened(CameraDevice camera) { in getDeviceStateCallback()
533 public void onDisconnected(CameraDevice camera) { in getDeviceStateCallback()
539 public void onError(CameraDevice camera, int error) { in getDeviceStateCallback()
545 public void onActive(CameraDevice camera) { in getDeviceStateCallback()
554 public void onIdle(CameraDevice camera) { in getDeviceStateCallback()
592 public void onBusy(CameraDevice camera) { in getDeviceStateCallback()
602 public void onUnconfigured(CameraDevice camera) { in getDeviceStateCallback()
DCameraDeviceImpl.java1096 public void onCaptureStarted(CameraDevice camera, in onCaptureStarted()
1107 public void onCapturePartial(CameraDevice camera, in onCapturePartial()
1117 public void onCaptureProgressed(CameraDevice camera, in onCaptureProgressed()
1126 public void onCaptureCompleted(CameraDevice camera, in onCaptureCompleted()
1136 public void onCaptureFailed(CameraDevice camera, in onCaptureFailed()
1146 public void onCaptureSequenceCompleted(CameraDevice camera, in onCaptureSequenceCompleted()
1156 public void onCaptureSequenceAborted(CameraDevice camera, in onCaptureSequenceAborted()
1161 public void onCaptureBufferLost(CameraDevice camera, in onCaptureBufferLost()
1176 public void onUnconfigured(CameraDevice camera) { in onUnconfigured()
1185 public void onActive(CameraDevice camera) { in onActive()
[all …]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java232 public ParametersCache(Camera camera) { in ParametersCache()
314 android.hardware.Camera camera, Object cb) { in setAutoFocusMoveCallback()
332 public void onError(final int errorCode, Camera camera) { in onError()
768 Camera camera, in AndroidCameraProxyImpl()
1104 Handler handler, CameraProxy camera, CameraAFCallback cb) { in getNewInstance()
1112 Handler h, CameraProxy camera, CameraAFCallback cb) { in AFCallbackForward()
1119 public void onAutoFocus(final boolean b, Camera camera) { in onAutoFocus()
1146 Handler handler, CameraProxy camera, CameraAFMoveCallback cb) { in getNewInstance()
1154 Handler h, CameraProxy camera, CameraAFMoveCallback cb) { in AFMoveCallbackForward()
1162 final boolean moving, android.hardware.Camera camera) { in onAutoFocusMoving()
[all …]
DCameraAgent.java112 public void onCameraOpened(final CameraProxy camera) { in onCameraOpened()
162 public void onError(int error, CameraProxy camera); in onError()
170 public void onAutoFocus(boolean focused, CameraProxy camera); in onAutoFocus()
178 public void onAutoFocusMoving(boolean moving, CameraProxy camera); in onAutoFocusMoving()
186 public void onShutter(CameraProxy camera); in onShutter()
194 public void onPictureTaken(byte[] data, CameraProxy camera); in onPictureTaken()
202 public void onPreviewFrame(byte[] data, CameraProxy camera); in onPreviewFrame()
216 public void onFaceDetection(Camera.Face[] faces, CameraProxy camera); in onFaceDetection()
239 public void onCameraOpened(CameraProxy camera); in onCameraOpened()
307 public void closeCamera(CameraProxy camera, boolean synced) { in closeCamera()
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
DCamera2DeviceTester.java69 public synchronized void onOpened(CameraDevice camera) { in onOpened()
75 public void onDisconnected(CameraDevice camera) {} in onDisconnected()
78 public void onError(CameraDevice camera, int error) {} in onError()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp129 sp<Camera> camera; in get_native_camera() local
145 …raContext::JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera) in JNICameraContext()
539 sp<Camera> camera; in android_hardware_Camera_native_setup() local
626 sp<Camera> camera; in android_hardware_Camera_release() local
655 sp<Camera> camera = get_native_camera(env, thiz, NULL); in android_hardware_Camera_setPreviewSurface() local
676 sp<Camera> camera = get_native_camera(env, thiz, NULL); in android_hardware_Camera_setPreviewTexture() local
701 sp<Camera> camera = get_native_camera(env, thiz, &context); in android_hardware_Camera_setPreviewCallbackSurface() local
723 sp<Camera> camera = get_native_camera(env, thiz, NULL); in android_hardware_Camera_startPreview() local
757 sp<Camera> camera = get_native_camera(env, thiz, &context); in android_hardware_Camera_setHasPreviewCallback() local
803 sp<Camera> camera = get_native_camera(env, thiz, &context); in android_hardware_Camera_takePicture() local
[all …]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingStateCallback.java111 public void onOpened(CameraDevice camera) { in onOpened()
119 public void onDisconnected(CameraDevice camera) { in onDisconnected()
127 public void onError(CameraDevice camera, int error) { in onError()
135 public void onClosed(CameraDevice camera) { in onClosed()
DBlockingCameraManager.java207 public void onOpened(CameraDevice camera) { in onOpened()
229 public void onDisconnected(CameraDevice camera) { in onDisconnected()
252 public void onError(CameraDevice camera, int error) { in onError()
278 public void onClosed(CameraDevice camera) { in onClosed()
/frameworks/base/core/java/android/hardware/camera2/
DCameraDevice.java907 public abstract void onOpened(@NonNull CameraDevice camera); // Must implement in onOpened()
920 public void onClosed(@NonNull CameraDevice camera) { in onClosed()
952 public abstract void onDisconnected(@NonNull CameraDevice camera); // Must implement in onDisconnected()
982 public abstract void onError(@NonNull CameraDevice camera, in onError()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCameraTest.java122 public void onPreviewFrame(byte [] rawData, Camera camera) { in onPreviewFrame()
148 public void onPictureTaken(byte [] rawData, Camera camera) { in onPictureTaken()
157 public void onPictureTaken(byte [] rawData, Camera camera) { in onPictureTaken()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTransform3dActivity.java59 final Camera camera = mCamera; in onDraw() local
86 private void rotate(float centerX, float centerY, Camera camera, in rotate()
DGetBitmapSurfaceViewActivity.java96 int cameraId, android.hardware.Camera camera) { in setCameraDisplayOrientation()
/frameworks/av/media/libstagefright/
DCameraSource.cpp154 sp<hardware::ICamera> camera; in Create() local
161 const sp<hardware::ICamera>& camera, in CreateFromCamera()
179 const sp<hardware::ICamera>& camera, in CameraSource()
219 const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, in isCameraAvailable()
502 const sp<hardware::ICamera>& camera, in init()
597 const sp<hardware::ICamera>& camera, in initWithCameraAccess()
824 sp<Camera> camera; in releaseCamera() local
DCameraSourceTimeLapse.cpp38 const sp<hardware::ICamera> &camera, in CreateFromCamera()
67 const sp<hardware::ICamera>& camera, in CameraSourceTimeLapse()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCamera2Source.java94 public void onCaptureCompleted(CameraCaptureSession camera, CaptureRequest request, in onCaptureCompleted()
102 public void onCaptureFailed(CameraCaptureSession camera, CaptureRequest request, in onCaptureFailed()
/frameworks/av/camera/
DCamera.cpp46 sp<Camera> Camera::create(const sp<::android::hardware::ICamera>& camera) in create()
83 sp<Camera>& camera) in connectLegacy()
451 Camera::RecordingProxy::RecordingProxy(const sp<Camera>& camera) in RecordingProxy()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFocusStateMapper.java62 public LegacyFocusStateMapper(Camera camera) { in LegacyFocusStateMapper()
DLegacyFaceDetectMapper.java71 public LegacyFaceDetectMapper(Camera camera, CameraCharacteristics characteristics) { in LegacyFaceDetectMapper()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestHelper.java46 public void onError(int error, android.hardware.Camera camera) { in onError()
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2RequestSettingsSet.java228 public CaptureRequest createRequest(CameraDevice camera, int template, Surface... targets) in createRequest()
/frameworks/base/core/java/android/hardware/
DCamera.java708 void onPreviewFrame(byte[] data, Camera camera); in onPreviewFrame()
1208 void onAutoFocus(boolean success, Camera camera); in onAutoFocus()
1315 void onAutoFocusMoving(boolean start, Camera camera); in onAutoFocusMoving()
1369 void onPictureTaken(byte[] data, Camera camera); in onPictureTaken()
1608 void onZoomChange(int zoomValue, boolean stopped, Camera camera); in onZoomChange()
1638 void onFaceDetection(Face[] faces, Camera camera); in onFaceDetection()
1850 void onError(int error, Camera camera); in onError()
1909 Camera camera = new Camera(); in getEmptyParameters() local
1927 Camera camera = parameters.getOuter(); in getParametersCopy() local
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java243 protected void setupPreviewTexture(Camera camera) { in setupPreviewTexture()
403 protected void setupPreviewTexture(Camera camera) { in setupPreviewTexture()
572 Camera camera = mRunner.mCamera; in setupServerFrame() local
1542 public void onCameraOpened(CameraStreamer camera); in onCameraOpened()
1547 public void onCameraClosed(CameraStreamer camera); in onCameraClosed()
/frameworks/av/media/libmedia/
DIMediaRecorder.cpp71 status_t setCamera(const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy) in setCamera()
483 sp<hardware::ICamera> camera = in onTransact() local
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java136 public void onError(int error, android.hardware.Camera camera) { in onError()

12