/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/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 30 #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 ALOGV("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 572 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 606 sp<Camera> camera = get_native_camera(env, thiz, &context); local 652 sp<Camera> camera = get_native_camera(env, thiz, &context); local 682 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 700 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 714 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 726 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 737 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 748 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 764 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 776 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 789 sp<Camera> camera = get_native_camera(env, thiz, &context); local 805 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 816 sp<Camera> camera = get_native_camera(env, thiz, NULL); local [all...] |
/frameworks/av/include/camera/ |
H A D | ICameraService.h | 24 #include <camera/ICameraClient.h> 25 #include <camera/ICamera.h>
|
H A D | Camera.h | 22 #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 D | ICameraClient.h | 25 #include <system/camera.h>
|
H A D | ICamera.h | 25 #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/av/include/media/stagefright/ |
H A D | CameraSource.h | 23 #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 D | CameraSourceTimeLapse.h | 35 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, 128 // In the video camera case calls skipFrameAndModifyTimeStamp() to modify 139 // the function sets the camera's video/preview size to it and returns true. 143 // When video camera is used for time lapse capture, returns true
|
/frameworks/av/media/mediaserver/ |
H A D | Android.mk | 18 frameworks/av/services/camera/libcameraservice \
|
/frameworks/av/camera/ |
H A D | Camera.cpp | 26 #include <camera/Camera.h> 27 #include <camera/ICameraRecordingProxyListener.h> 28 #include <camera/ICameraService.h> 35 // client singleton for camera service binder interface 40 // establish binder interface to camera service 48 binder = sm->getService(String16("media.camera")); 71 // construct a camera client from an existing camera remote 72 sp<Camera> Camera::create(const sp<ICamera>& camera) argument 75 if (camera 443 RecordingProxy(const sp<Camera>& camera) argument [all...] |
H A D | ICameraService.cpp | 25 #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 D | ICameraRecordingProxy.cpp | 19 #include <camera/ICameraRecordingProxy.h> 20 #include <camera/ICameraRecordingProxyListener.h>
|
H A D | ICameraRecordingProxyListener.cpp | 19 #include <camera/ICameraRecordingProxyListener.h>
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSourceTimeLapse.cpp | 27 #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), 103 // Force dataCallbackTimestamp() coming from the video camera to 272 // 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 D | CameraSource.cpp | 28 #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/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | SimpleAppRS.java | 186 Camera camera = mScene.appendNewCamera(); 187 camera.setFar(200); 188 camera.setNear(0.1f); 189 camera.setFOV(60); 191 cameraTransform.addTranslate("camera", new Float3(0, 0, 10)); 192 camera.setTransform(cameraTransform);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | CameraTest.java | 38 * Junit / Instrumentation test case for the camera api 83 // Set up a looper to be used by camera. 108 // callback still uses the camera object (setHasPreviewCallback). 109 // After camera is released, RuntimeException will be thrown from 117 public void onPreviewFrame(byte [] rawData, Camera camera) { argument 143 public void onPictureTaken(byte [] rawData, Camera camera) { argument 152 public void onPictureTaken(byte [] rawData, Camera camera) { argument
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | TransformParam.java | 74 mData.camera = mCamera.getRSData().getAllocation();
|
H A D | ColladaParser.java | 114 nl = docEle.getElementsByTagName("camera");
451 private void convertCamera(Element camera) {
argument 452 String name = camera.getAttribute("name");
453 String id = camera.getAttribute("id");
455 if (getString(camera, "yfov") != null) {
456 fov = getFloat(camera, "yfov");
457 } else if(getString(camera, "xfov") != null) {
458 float aspect = getFloat(camera, "aspect_ratio");
459 fov = getFloat(camera, "xfov") / aspect;
462 float near = getFloat(camera, "znea [all...] |
H A D | ShaderParam.java | 121 mData.camera = mCamera.getRSData().getAllocation(); 122 mField.set_camera(0, mData.camera, true);
|
/frameworks/av/media/libmedia/ |
H A D | IMediaRecorder.cpp | 22 #include <camera/ICamera.h> 65 status_t setCamera(const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy) argument 67 ALOGV("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/av/include/media/ |
H A D | IMediaRecorder.h | 36 virtual status_t setCamera(const sp<ICamera>& camera,
|
H A D | MediaRecorderBase.h | 43 virtual status_t setCamera(const sp<ICamera>& camera,
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.h | 33 virtual status_t setCamera(const sp<ICamera>& camera,
|
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/ |
H A D | EffectsVideoCapture.java | 17 package android.camera.mediaeffects.tests.functional;
|