HomeSort by relevance Sort by last modified time
    Searched refs:Camera (Results 1 - 25 of 61) sorted by null

1 2 3

  /packages/apps/Camera/tests/src/com/android/camera/unittest/
CameraTest.java 1 package com.android.camera.unittest;
3 import com.android.camera.Camera;
12 assertEquals(0, Camera.roundOrientation(0));
13 assertEquals(0, Camera.roundOrientation(0 + 44));
14 assertEquals(90, Camera.roundOrientation(0 + 45));
15 assertEquals(90, Camera.roundOrientation(90));
16 assertEquals(90, Camera.roundOrientation(90 + 44));
17 assertEquals(180, Camera.roundOrientation(90 + 45));
18 assertEquals(180, Camera.roundOrientation(180))
    [all...]
  /frameworks/base/libs/camera/
Camera.cpp 19 #define LOG_TAG "Camera"
26 #include <camera/Camera.h>
27 #include <camera/ICameraService.h>
33 // client singleton for camera service binder interface
34 Mutex Camera::mLock;
35 sp<ICameraService> Camera::mCameraService;
36 sp<Camera::DeathNotifier> Camera::mDeathNotifier;
38 // establish binder interface to camera servic
    [all...]
Android.mk 5 Camera.cpp \
  /cts/tests/tests/permission/src/android/permission/cts/
CameraPermissionTest.java 19 import android.hardware.Camera;
27 * Tests for camera-related Permissions. Currently, this means
28 * android.permission.CAMERA.
40 class ShutterCallback implements Camera.ShutterCallback {
44 class RawPictureCallback implements Camera.PictureCallback {
45 public void onPictureTaken(byte [] rawData, Camera camera) { }
48 class JpegPictureCallback implements Camera.PictureCallback {
49 public void onPictureTaken(byte [] jpegData, Camera camera) {
    [all...]
  /frameworks/base/include/camera/
Camera.h 21 #include <camera/ICameraClient.h>
42 * subsequent preview frames filled by the camera. This flag is recommended
54 * use case is the Camera application.
91 // axis of the camera sensor. So the users can see themselves as looking
101 // camera fatal errors
109 CAMERA_FACING_FRONT = 1 /* The camera faces to the user */
115 * The direction that the camera faces to. It should be
121 * The orientation of the camera image. The value is the angle that the
122 * camera image needs to be rotated clockwise so it shows correctly on
125 * For example, suppose a device has a naturally tall screen, but the camera
    [all...]
ICamera.h 26 #include <camera/Camera.h>
35 DECLARE_META_INTERFACE(Camera);
39 // connect new client with existing camera remote
48 // pass the buffered ISurface to the camera service
91 // send command to camera driver
  /cts/tests/tests/hardware/src/android/hardware/cts/
Camera_SizeTest.java 23 import android.hardware.Camera;
24 import android.hardware.Camera.Parameters;
29 @TestTargetClass(Camera.Size.class)
42 method = "Camera.Size",
46 Camera camera = Camera.open(); local
47 Parameters parameters = camera.getParameters();
CameraTest.java 27 import android.hardware.Camera;
28 import android.hardware.Camera.CameraInfo;
29 import android.hardware.Camera.ErrorCallback;
30 import android.hardware.Camera.Parameters;
31 import android.hardware.Camera.PictureCallback;
32 import android.hardware.Camera.ShutterCallback;
33 import android.hardware.Camera.Size;
58 @TestTargetClass(Camera.class)
90 Camera mCamera;
94 if (LOGV) Log.v(TAG, "Camera Constructor")
1392 Camera camera = null; local
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Camera.java 20 public class Camera {
22 public Camera() {
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
Rotate3dAnimation.java 21 import android.graphics.Camera;
35 private Camera mCamera;
65 mCamera = new Camera();
75 final Camera camera = mCamera; local
79 camera.save();
81 camera.translate(0.0f, 0.0f, mDepthZ * interpolatedTime);
83 camera.translate(0.0f, 0.0f, mDepthZ * (1.0f - interpolatedTime));
85 camera.rotateY(degrees);
86 camera.getMatrix(matrix)
    [all...]
  /frameworks/base/include/media/stagefright/
CameraSource.h 31 class Camera;
36 static CameraSource *CreateFromCamera(const sp<Camera> &camera);
53 sp<Camera> mCamera;
74 CameraSource(const sp<Camera> &camera);
  /frameworks/base/media/java/android/media/
CamcorderProfile.java 19 import android.hardware.Camera;
20 import android.hardware.Camera.CameraInfo;
125 * Returns the camcorder profile for the first back-facing camera on the
127 * camera, this returns null.
131 int numberOfCameras = Camera.getNumberOfCameras();
134 Camera.getCameraInfo(i, cameraInfo);
143 * Returns the camcorder profile for the given camera at the given
145 * @param cameraId the id for the camera
CameraProfile.java 19 import android.hardware.Camera;
20 import android.hardware.Camera.CameraInfo;
28 * quality settings in the Camera application.
51 * used for the given quality level in the Camera application for
52 * the first back-facing camera on the device. If the device has no
53 * back-facing camera, this returns 0.
58 int numberOfCameras = Camera.getNumberOfCameras();
61 Camera.getCameraInfo(i, cameraInfo);
71 * used for the given quality level in the Camera application for
72 * the specified camera
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
CameraTest.java 23 import android.hardware.Camera;
24 import android.hardware.Camera.PictureCallback;
25 import android.hardware.Camera.PreviewCallback;
26 import android.hardware.Camera.ShutterCallback;
38 * Junit / Instrumentation test case for the camera api
61 Camera mCamera;
73 * Initializes the message looper so that the Camera object can
82 // Set up a looper to be used by camera.
88 mCamera = Camera.open();
107 // callback still uses the camera object (setHasPreviewCallback)
    [all...]
  /packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/
WalkAroundWallpaper.java 21 import android.hardware.Camera;
34 private Camera mCamera;
59 final Camera.Parameters params = mCamera.getParameters();
71 mCamera = Camera.open();
79 Log.e(LOG_TAG, "Error opening the camera", e);
131 Log.e(LOG_TAG, "Error opening the camera", e);
148 Log.e(LOG_TAG, "Error opening the camera", e);
166 final Camera.Parameters params = mCamera.getParameters();
169 final List<Camera.Size> sizes = params.getSupportedPreviewSizes();
173 for (Camera.Size size : sizes)
    [all...]
  /packages/apps/Camera/
Android.mk 8 LOCAL_PACKAGE_NAME := Camera
  /packages/apps/Camera/src/com/android/camera/
CameraHolder.java 17 package com.android.camera;
19 import static com.android.camera.Util.Assert;
21 import android.hardware.Camera.CameraInfo;
22 import android.hardware.Camera.Parameters;
33 * The class is used to hold an {@code android.hardware.Camera} instance.
36 * in {@code android.hardware.Camera}. The difference is if {@code keep()} is
38 * android.hardware.Camera} instance for a while, so if {@code open()} is
40 * android.hardware.Camera}.
42 * <p>This is used in switching between {@code Camera} and {@code VideoCamera}
47 private android.hardware.Camera mCameraDevice
    [all...]
  /packages/apps/Camera/tests/
Android.mk 14 LOCAL_INSTRUMENTATION_FOR := Camera
  /build/target/product/
generic.mk 27 Camera \
  /frameworks/base/core/jni/
android_hardware_Camera.cpp 19 #define LOG_TAG "Camera-JNI"
29 #include <camera/Camera.h>
49 JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera);
56 sp<Camera> getCamera() { Mutex::Autolock _l(mLock); return mCamera; }
65 sp<Camera> mCamera; // strong reference to native object
73 sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, JNICameraContext** pContext)
75 sp<Camera> camera; local
316 sp<Camera> camera = Camera::connect(cameraId); local
355 sp<Camera> camera; local
384 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
399 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
433 sp<Camera> camera = get_native_camera(env, thiz, &context); local
479 sp<Camera> camera = get_native_camera(env, thiz, &context); local
491 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
509 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
518 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
530 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
541 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
552 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
568 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
580 sp<Camera> camera = get_native_camera(env, thiz, NULL); local
    [all...]
  /packages/apps/Camera/tests/src/com/android/camera/power/
ImageAndVideoCapture.java 17 package com.android.camera.power;
19 import com.android.camera.Camera;
28 * Junit / Instrumentation test case for camera power measurement
33 * -e com.android.camera.power.ImageAndVideoCapture \
34 * -w com.android.camera.tests/android.test.InstrumentationTestRunner
38 public class ImageAndVideoCapture extends ActivityInstrumentationTestCase2 <Camera> {
48 super("com.google.android.camera", Camera.class);
76 // This test case will use the default camera settin
    [all...]
  /packages/apps/Camera/tests/src/com/android/camera/stress/
CameraLatency.java 17 package com.android.camera.stress;
19 import com.android.camera.Camera;
32 * Junit / Instrumentation test case for camera test
36 public class CameraLatency extends ActivityInstrumentationTestCase2 <Camera> {
55 super("com.google.android.camera", Camera.class);
81 Camera c = getActivity();
96 //failure condition of the camera latency.
113 out.write("Camera Latency : \n")
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
CameraProfileTest.java 24 import android.hardware.Camera;
66 int nCamera = Camera.getNumberOfCameras();
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CameraPreview.java 21 import android.hardware.Camera;
22 import android.hardware.Camera.Size;
39 Camera mCamera;
59 mCamera = Camera.open();
67 // Because the Camera object is a shared resource, it's very
80 * A simple wrapper around a Camera and a SurfaceView that renders a centered preview of the Camera
91 Camera mCamera;
106 public void setCamera(Camera camera) {
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
SystemFeaturesTest.java 30 import android.hardware.Camera;
33 import android.hardware.Camera.CameraInfo;
34 import android.hardware.Camera.Parameters;
110 int numCameras = Camera.getNumberOfCameras();
124 int numCameras = Camera.getNumberOfCameras();
127 Camera.getCameraInfo(i, info);
141 Camera camera = null; local
143 camera = Camera.open()
    [all...]

Completed in 1316 milliseconds

1 2 3