Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/camera2/impl/
DCallbackProxies.java49 public void onOpened(CameraDevice camera) { in onOpened()
54 public void onDisconnected(CameraDevice camera) { in onDisconnected()
59 public void onError(CameraDevice camera, int error) { in onError()
64 public void onUnconfigured(CameraDevice camera) { in onUnconfigured()
69 public void onActive(CameraDevice camera) { in onActive()
74 public void onBusy(CameraDevice camera) { in onBusy()
79 public void onClosed(CameraDevice camera) { in onClosed()
84 public void onIdle(CameraDevice camera) { in onIdle()
100 public void onCaptureStarted(CameraDevice camera, in onCaptureStarted()
106 public void onCapturePartial(CameraDevice camera, in onCapturePartial()
[all …]
DCameraCaptureSessionImpl.java457 public void onOpened(CameraDevice camera) { in getDeviceStateCallback()
462 public void onDisconnected(CameraDevice camera) { in getDeviceStateCallback()
468 public void onError(CameraDevice camera, int error) { in getDeviceStateCallback()
474 public void onActive(CameraDevice camera) { in getDeviceStateCallback()
483 public void onIdle(CameraDevice camera) { in getDeviceStateCallback()
521 public void onBusy(CameraDevice camera) { in getDeviceStateCallback()
531 public void onUnconfigured(CameraDevice camera) { in getDeviceStateCallback()
DCameraDeviceImpl.java809 public void onCaptureStarted(CameraDevice camera, in onCaptureStarted()
820 public void onCapturePartial(CameraDevice camera, in onCapturePartial()
830 public void onCaptureProgressed(CameraDevice camera, in onCaptureProgressed()
839 public void onCaptureCompleted(CameraDevice camera, in onCaptureCompleted()
849 public void onCaptureFailed(CameraDevice camera, in onCaptureFailed()
859 public void onCaptureSequenceCompleted(CameraDevice camera, in onCaptureSequenceCompleted()
869 public void onCaptureSequenceAborted(CameraDevice camera, in onCaptureSequenceAborted()
884 public void onUnconfigured(CameraDevice camera) { in onUnconfigured()
893 public void onActive(CameraDevice camera) { in onActive()
901 public void onBusy(CameraDevice camera) { in onBusy()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraDevice.java523 public abstract void onOpened(CameraDevice camera); // Must implement in onOpened()
536 public void onClosed(CameraDevice camera) { in onClosed()
567 public abstract void onDisconnected(CameraDevice camera); // Must implement in onDisconnected()
596 public abstract void onError(CameraDevice camera, int error); // Must implement in onError()
/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/base/core/jni/
Dandroid_hardware_Camera.cpp128 sp<Camera> camera; in get_native_camera() local
144 …raContext::JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera) in JNICameraContext()
525 sp<Camera> camera; in android_hardware_Camera_native_setup() local
573 sp<Camera> camera; in android_hardware_Camera_release() local
602 sp<Camera> camera = get_native_camera(env, thiz, NULL); in android_hardware_Camera_setPreviewSurface() local
623 sp<Camera> camera = get_native_camera(env, thiz, NULL); in android_hardware_Camera_setPreviewTexture() local
648 sp<Camera> camera = get_native_camera(env, thiz, &context); in android_hardware_Camera_setPreviewCallbackSurface() local
670 sp<Camera> camera = get_native_camera(env, thiz, NULL); in android_hardware_Camera_startPreview() local
704 sp<Camera> camera = get_native_camera(env, thiz, &context); in android_hardware_Camera_setHasPreviewCallback() local
750 sp<Camera> camera = get_native_camera(env, thiz, &context); in android_hardware_Camera_takePicture() local
[all …]
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
DCamera2DeviceTester.java70 public synchronized void onOpened(CameraDevice camera) { in onOpened()
76 public void onDisconnected(CameraDevice camera) {} in onDisconnected()
79 public void onError(CameraDevice camera, int error) {} in onError()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingStateCallback.java111 public void onOpened(CameraDevice camera) { in onOpened()
117 public void onDisconnected(CameraDevice camera) { in onDisconnected()
123 public void onError(CameraDevice camera, int error) { in onError()
129 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/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()
/frameworks/av/media/libstagefright/
DCameraSource.cpp141 sp<ICamera> camera; in Create() local
148 const sp<ICamera>& camera, in CreateFromCamera()
165 const sp<ICamera>& camera, in CameraSource()
204 const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, in isCameraAvailable()
487 const sp<ICamera>& camera, in init()
507 const sp<ICamera>& camera, in initWithCameraAccess()
681 sp<Camera> camera; in releaseCamera() local
DCameraSourceTimeLapse.cpp38 const sp<ICamera> &camera, in CreateFromCamera()
66 const sp<ICamera>& camera, in CameraSourceTimeLapse()
/frameworks/av/camera/
DICameraService.cpp380 sp<ICamera> camera; in onTransact() local
400 sp<IProCameraUser> camera; in onTransact() local
420 sp<ICameraDeviceUser> camera; in onTransact() local
480 sp<ICamera> camera; in onTransact() local
DCamera.cpp46 sp<Camera> Camera::create(const sp<ICamera>& camera) in create()
83 sp<Camera>& camera) in connectLegacy()
370 Camera::RecordingProxy::RecordingProxy(const sp<Camera>& camera) in RecordingProxy()
/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/base/core/java/android/hardware/camera2/legacy/
DLegacyFocusStateMapper.java62 public LegacyFocusStateMapper(Camera camera) { in LegacyFocusStateMapper()
DLegacyFaceDetectMapper.java72 public LegacyFaceDetectMapper(Camera camera, CameraCharacteristics characteristics) { in LegacyFaceDetectMapper()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCameraTestHelper.java48 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.java710 void onPreviewFrame(byte[] data, Camera camera); in onPreviewFrame()
1210 void onAutoFocus(boolean success, Camera camera); in onAutoFocus()
1317 void onAutoFocusMoving(boolean start, Camera camera); in onAutoFocusMoving()
1371 void onPictureTaken(byte[] data, Camera camera); in onPictureTaken()
1604 void onZoomChange(int zoomValue, boolean stopped, Camera camera); in onZoomChange()
1634 void onFaceDetection(Face[] faces, Camera camera); in onFaceDetection()
1842 void onError(int error, Camera camera); in onError()
1901 Camera camera = new Camera(); in getEmptyParameters() local
1919 Camera camera = parameters.getOuter(); in getParametersCopy() local
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DSimpleAppRS.java186 Camera camera = mScene.appendNewCamera(); in setupCamera() local
/frameworks/av/media/libmedia/
DIMediaRecorder.cpp68 status_t setCamera(const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy) in setCamera()
455 sp<ICamera> camera = interface_cast<ICamera>(data.readStrongBinder()); in onTransact() 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()

12