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

12

/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/base/core/jni/
H A Dandroid_hardware_Camera.cpp30 #include <camera/Camera.h>
59 JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera);
112 sp<Camera> camera; local
116 camera = context->getCamera();
118 LOGV("get_native_camera: context=%p, camera=%p", context, camera.get());
119 if (camera == 0) {
124 return camera;
127 JNICameraContext::JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera) argument
131 mCamera = camera;
462 sp<Camera> camera = Camera::connect(cameraId); local
500 sp<Camera> camera; local
529 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
545 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
562 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
596 sp<Camera> camera = get_native_camera(env, thiz, &context); local
642 sp<Camera> camera = get_native_camera(env, thiz, &context); local
672 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
690 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
699 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
711 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
722 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
733 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
749 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
761 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
774 sp<Camera> camera = get_native_camera(env, thiz, &context); local
790 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
[all...]
/frameworks/base/include/camera/
H A DICameraService.h24 #include <camera/ICameraClient.h>
25 #include <camera/ICamera.h>
H A DCamera.h22 #include <system/camera.h>
23 #include <camera/ICameraClient.h>
24 #include <camera/ICameraRecordingProxy.h>
25 #include <camera/ICameraRecordingProxyListener.h>
31 * The direction that the camera faces to. It should be CAMERA_FACING_BACK
37 * The orientation of the camera image. The value is the angle that the
38 * camera image needs to be rotated clockwise so it shows correctly on the
42 * back-facing camera sensor is mounted in landscape. You are looking at
43 * the screen. If the top side of the camera sensor is aligned with the
45 * 90. If the top side of a front-facing camera senso
[all...]
H A DICameraClient.h25 #include <system/camera.h>
H A DICamera.h26 #include <camera/Camera.h>
40 // connect new client with existing camera remote
49 // pass the buffered Surface to the camera service
52 // pass the buffered ISurfaceTexture to the camera service
102 // send command to camera driver
105 // tell the camera hal to store meta data or real YUV data in video buffers.
/frameworks/base/include/media/stagefright/
H A DCameraSource.h23 #include <camera/ICamera.h>
24 #include <camera/ICameraRecordingProxyListener.h>
25 #include <camera/CameraParameters.h>
40 * from the default camera.
49 * @param camera the video input frame data source. If it is NULL,
50 * we will try to connect to the camera with the given
53 * @param cameraId the id of the camera that the source will connect
54 * to if camera is NULL; otherwise ignored.
60 * @param storeMetaDataInVideoBuffers true to request the camera
62 * request the camera sourc
[all...]
H A DCameraSourceTimeLapse.h35 const sp<ICamera> &camera,
73 // Condition variable to wait on if camera is is not yet idle. Once the
74 // camera gets idle, this variable will be signalled.
77 // True if camera is in preview mode and ready for takePicture().
82 // True if stop() is waiting for camera to get idle, i.e. for the last
108 const sp<ICamera> &camera,
124 // For video camera case, just stops the camera's video recording.
131 // In the video camera case calls skipFrameAndModifyTimeStamp() to modify
142 // the function sets the camera'
[all...]
/frameworks/base/media/mediaserver/
H A DAndroid.mk18 $(base)/services/camera/libcameraservice \
/frameworks/base/cmds/system_server/library/
H A DAndroid.mk10 $(base)/services/camera/libcameraservice \
/frameworks/base/libs/camera/
H A DCamera.cpp26 #include <camera/Camera.h>
27 #include <camera/ICameraRecordingProxyListener.h>
28 #include <camera/ICameraService.h>
34 // client singleton for camera service binder interface
39 // establish binder interface to camera service
47 binder = sm->getService(String16("media.camera"));
70 // construct a camera client from an existing camera remote
71 sp<Camera> Camera::create(const sp<ICamera>& camera) argument
74 if (camera
442 RecordingProxy(const sp<Camera>& camera) argument
[all...]
H A DICameraService.cpp25 #include <camera/ICameraService.h>
46 // get information about a camera
58 // connect to camera service
96 sp<ICamera> camera = connect(cameraClient, data.readInt32()); local
97 reply->writeStrongBinder(camera->asBinder());
H A DICameraRecordingProxy.cpp19 #include <camera/ICameraRecordingProxy.h>
20 #include <camera/ICameraRecordingProxyListener.h>
H A DICameraRecordingProxyListener.cpp19 #include <camera/ICameraRecordingProxyListener.h>
/frameworks/base/media/libstagefright/
H A DCameraSourceTimeLapse.cpp27 #include <camera/Camera.h>
28 #include <camera/CameraParameters.h>
36 const sp<ICamera> &camera,
45 CameraSourceTimeLapse(camera, proxy, cameraId,
59 const sp<ICamera>& camera,
66 : CameraSource(camera, proxy, cameraId, videoSize, videoFrameRate, surface, true),
99 // Force dataCallbackTimestamp() coming from the video camera to
277 // Tell the camera to release its recording frame and return.
35 CreateFromCamera( const sp<ICamera> &camera, const sp<ICameraRecordingProxy> &proxy, int32_t cameraId, Size videoSize, int32_t videoFrameRate, const sp<Surface>& surface, int64_t timeBetweenFrameCaptureUs) argument
58 CameraSourceTimeLapse( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t videoFrameRate, const sp<Surface>& surface, int64_t timeBetweenFrameCaptureUs) argument
H A DCameraSource.cpp28 #include <camera/Camera.h>
29 #include <camera/CameraParameters.h>
125 sp<ICamera> camera; local
126 return new CameraSource(camera, NULL, 0, size, -1, NULL, false);
131 const sp<ICamera>& camera,
139 CameraSource *source = new CameraSource(camera, proxy, cameraId,
146 const sp<ICamera>& camera,
170 mInitCheck = init(camera, proxy, cameraId,
181 const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy,
184 if (camera
130 CreateFromCamera( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t frameRate, const sp<Surface>& surface, bool storeMetaDataInVideoBuffers) argument
145 CameraSource( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t frameRate, const sp<Surface>& surface, bool storeMetaDataInVideoBuffers) argument
180 isCameraAvailable( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId) argument
463 init( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument
481 initWithCameraAccess( const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCameraTest.java38 * Junit / Instrumentation test case for the camera api
82 // Set up a looper to be used by camera.
107 // callback still uses the camera object (setHasPreviewCallback).
108 // After camera is released, RuntimeException will be thrown from
116 public void onPreviewFrame(byte [] rawData, Camera camera) { argument
142 public void onPictureTaken(byte [] rawData, Camera camera) { argument
151 public void onPictureTaken(byte [] rawData, Camera camera) { argument
/frameworks/base/media/libmedia/
H A DIMediaRecorder.cpp23 #include <camera/ICamera.h>
65 status_t setCamera(const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy) argument
67 LOGV("setCamera(%p,%p)", camera.get(), proxy.get());
70 data.writeStrongBinder(camera->asBinder());
436 sp<ICamera> camera = interface_cast<ICamera>(data.readStrongBinder()); local
439 reply->writeInt32(setCamera(camera, proxy));
/frameworks/base/include/media/
H A DIMediaRecorder.h36 virtual status_t setCamera(const sp<ICamera>& camera,
H A DMediaRecorderBase.h43 virtual status_t setCamera(const sp<ICamera>& camera,
/frameworks/base/media/libmediaplayerservice/
H A DMediaRecorderClient.h33 virtual status_t setCamera(const sp<ICamera>& camera,
H A DMediaRecorderClient.cpp75 status_t MediaRecorderClient::setCamera(const sp<ICamera>& camera, argument
84 return mRecorder->setCamera(camera, proxy);
/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp22 #include <camera/ICameraService.h>
23 #include <camera/Camera.h>
152 static void android_media_MediaRecorder_setCamera(JNIEnv* env, jobject thiz, jobject camera) argument
154 // we should not pass a null camera to get_native_camera() call.
155 if (camera == NULL) {
156 jniThrowNullPointerException(env, "camera object is a NULL pointer");
159 sp<Camera> c = get_native_camera(env, camera, NULL);
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs166 const bool debugCamera = false; // dumps ray/camera coordinate stuff
270 // Default camera
271 static PerspectiveCamera camera = {
435 // Set basic camera properties:
436 // from - position of the camera in x,y,z
445 camera.from.x = fromX;
446 camera.from.y = fromY;
447 camera.from.z = fromZ;
448 camera.at.x = atX;
449 camera
[all...]
/frameworks/base/services/camera/libcameraservice/
H A DCameraHardwareStub.h23 #include <camera/CameraHardwareInterface.h>

Completed in 1084 milliseconds

12