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

1 2 3

  /hardware/libhardware/modules/camera/
Camera.h 25 // Camera represents a physical camera on a device.
26 // This is constructed when the HAL module is loaded, one per physical camera.
29 class Camera {
33 Camera(int id);
34 ~Camera();
36 // Common Camera Device Operations (see <hardware/camera_common.h>)
40 // Camera v3 Device Operations (see <hardware/camera3.h>)
49 // Camera device handle returned to framework for use
55 // Busy flag indicates camera is in us
    [all...]
Camera.cpp 23 #define LOG_TAG "Camera"
29 #include "Camera.h"
38 Camera* cam = static_cast<Camera*>(cam_dev->priv);
43 Camera::Camera(int id)
58 Camera::~Camera()
62 int Camera::open(const hw_module_t *module, hw_device_t **device)
64 ALOGI("%s:%d: Opening camera device", __func__, mId)
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
3d-raytrace.js 259 // this camera code is from notes i made ages ago, it is from *somewhere* -- i cannot remember where
261 function Camera(origin, lookat, up) {
283 Camera.prototype.generateRayPair = function(y) {
292 function renderRows(camera, scene, pixels, width, height, starty, stopy) {
294 var rays = camera.generateRayPair(y / height);
305 Camera.prototype.render = function(scene, pixels, width, height) {
399 var _camera = new Camera(createVector(-40, 40, 40), createVector(0, 0, 0), createVector(0, 1, 0));
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
3d-raytrace.js 259 // this camera code is from notes i made ages ago, it is from *somewhere* -- i cannot remember where
261 function Camera(origin, lookat, up) {
283 Camera.prototype.generateRayPair = function(y) {
292 function renderRows(camera, scene, pixels, width, height, starty, stopy) {
294 var rays = camera.generateRayPair(y / height);
305 Camera.prototype.render = function(scene, pixels, width, height) {
399 var _camera = new Camera(createVector(-40, 40, 40), createVector(0, 0, 0), createVector(0, 1, 0));
  /frameworks/av/include/camera/
Camera.h 22 #include <system/camera.h>
23 #include <camera/ICameraClient.h>
24 #include <camera/ICameraRecordingProxy.h>
25 #include <camera/ICameraRecordingProxyListener.h>
26 #include <camera/ICameraService.h>
27 #include <camera/ICamera.h>
28 #include <camera/CameraBase.h>
46 class Camera;
49 struct CameraTraits<Camera>
56 class Camera
    [all...]
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Camera.java 32 public class Camera extends SceneGraphBase {
39 public Camera() {
  /external/eigen/demos/opengl/
camera.cpp 10 #include "camera.h"
18 Camera::Camera()
34 Camera& Camera::operator=(const Camera& other)
55 Camera::Camera(const Camera& other)
60 Camera::~Camera(
    [all...]
camera.h 36 class Camera
41 Camera(void);
43 Camera(const Camera& other);
45 virtual ~Camera();
47 Camera& operator=(const Camera& other);
  /frameworks/av/camera/
Camera.cpp 19 #define LOG_TAG "Camera"
27 #include <camera/Camera.h>
28 #include <camera/ICameraRecordingProxyListener.h>
29 #include <camera/ICameraService.h>
30 #include <camera/ICamera.h>
37 Camera::Camera(int cameraId)
42 // construct a camera client from an existing camera remot
    [all...]
  /frameworks/base/media/java/android/media/
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...]
  /external/chromium/chrome/browser/chromeos/login/
camera.h 26 // All communication with camera driver is performed on a separate camera
28 class Camera : public base::RefCountedThreadSafe<Camera> {
55 Camera(Delegate* delegate, base::Thread* thread, bool mirrored);
57 // Initializes camera device on camera thread. Corresponding delegate's
59 // nothing if camera is successfully initialized already. Sets the desired
60 // width and height of the frame to receive from camera.
63 // Uninitializes the camera on camera thread. Can be called anytime, an
    [all...]
camera.cc 5 #include "chrome/browser/chromeos/login/camera.h"
115 // Default camera device name.
117 // Default width of each frame received from the camera.
119 // Default height of each frame received from the camera.
129 // Camera, public members:
131 Camera::Camera(Delegate* delegate, base::Thread* thread, bool mirrored)
144 Camera::~Camera() {
145 DCHECK_EQ(-1, device_descriptor_) << "Don't forget to uninitialize camera."
    [all...]
  /external/v8/benchmarks/
raytrace.js 68 // flog/camera.js
301 camera : null,
307 this.camera = new Flog.RayTracer.Camera(
543 Flog.RayTracer.Camera = Class.create();
545 Flog.RayTracer.Camera.prototype = {
659 var ray = scene.camera.getRay(xp, yp);
789 scene.camera.position,
814 scene.camera = new Flog.RayTracer.Camera(
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
v8-raytrace.js 63 // flog/camera.js
302 camera : null,
308 this.camera = new Flog.RayTracer.Camera(
569 Flog.RayTracer.Camera = Class.create();
571 Flog.RayTracer.Camera.prototype = {
685 var ray = scene.camera.getRay(xp, yp);
815 scene.camera.position,
840 scene.camera = new Flog.RayTracer.Camera(
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
v8-raytrace.js 63 // flog/camera.js
302 camera : null,
308 this.camera = new Flog.RayTracer.Camera(
569 Flog.RayTracer.Camera = Class.create();
571 Flog.RayTracer.Camera.prototype = {
685 var ray = scene.camera.getRay(xp, yp);
815 scene.camera.position,
840 scene.camera = new Flog.RayTracer.Camera(
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
v8-raytrace.js 63 // flog/camera.js
296 camera : null,
302 this.camera = new Flog.RayTracer.Camera(
538 Flog.RayTracer.Camera = Class.create();
540 Flog.RayTracer.Camera.prototype = {
654 var ray = scene.camera.getRay(xp, yp);
784 scene.camera.position,
809 scene.camera = new Flog.RayTracer.Camera(
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Camera.java 20 * A camera instance can be used to compute 3D transformations and
24 public class Camera {
26 * Creates a new camera, with empty transformations.
28 public Camera() {
33 * Saves the camera state. Each save should be balanced
103 * Gets the x location of the camera.
110 * Gets the y location of the camera.
117 * Gets the z location of the camera.
124 * Sets the location of the camera. The default location is set at
127 * @param x The x location of the camera
    [all...]
  /packages/apps/Camera/src/com/android/camera/
DisableCameraReceiver.java 17 package com.android.camera;
24 import android.hardware.Camera.CameraInfo;
27 // We want to disable camera-related activities if there is no camera. This
34 "com.android.camera.CameraLauncher",
39 // Disable camera-related activities if there is no camera.
45 Log.i(TAG, "disable all camera activities");
52 disableComponent(context, "com.android.camera.DisableCameraReceiver");
56 int n = android.hardware.Camera.getNumberOfCameras()
    [all...]
  /packages/apps/Gallery2/src/com/android/camera/
DisableCameraReceiver.java 17 package com.android.camera;
24 import android.hardware.Camera.CameraInfo;
27 // We want to disable camera-related activities if there is no camera. This
34 "com.android.camera.CameraLauncher",
39 // Disable camera-related activities if there is no camera.
45 Log.i(TAG, "disable all camera activities");
52 disableComponent(context, "com.android.camera.DisableCameraReceiver");
56 int n = android.hardware.Camera.getNumberOfCameras()
    [all...]
  /pdk/apps/TestingCamera/src/com/android/testingcamera/
InfoDialogFragment.java 3 import android.hardware.Camera;
4 import android.hardware.Camera.CameraInfo;
45 public void updateInfo(int cameraId, Camera camera) {
46 mTitleString = "Current camera " + cameraId + " state";
50 Camera.getCameraInfo(cameraId, cameraInfo);
58 Camera.Parameters p = camera.getParameters();
  /cts/tests/tests/graphics/src/android/graphics/cts/
CameraTest.java 18 import android.graphics.Camera;
24 private Camera mCamera;
29 mCamera = new Camera();
33 new Camera();
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
TextureViewActivity.java 23 import android.hardware.Camera;
41 private Camera mCamera;
102 mCamera = Camera.open();
105 Camera.Size previewSize = mCamera.getParameters().getPreviewSize();
119 Camera.CameraInfo info = new Camera.CameraInfo();
120 for (int i = 0; i < Camera.getNumberOfCameras(); i++) {
121 Camera.getCameraInfo(i, info);
122 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) break;
148 // Ignored, the Camera does all the work for u
    [all...]
  /packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
ImageCapture.java 17 package com.android.camera.stress;
19 import com.android.camera.Camera;
20 import com.android.camera.VideoCamera;
21 import com.android.camera.stress.CameraStressTestRunner;
32 * Junit / Instrumentation test case for camera test
37 * -e class com.android.camera.stress.ImageCapture \
38 * -w com.google.android.camera.tests/android.test.InstrumentationTestRunner
42 public class ImageCapture extends ActivityInstrumentationTestCase2 <Camera> {
55 super(Camera.class)
    [all...]
SwitchPreview.java 17 package com.android.camera.stress;
19 import com.android.camera.Camera;
20 import com.android.camera.VideoCamera;
33 * Junit / Instrumentation test case for camera test
38 * -e class com.android.camera.stress.SwitchPreview \
39 * -w com.android.camera.tests/com.android.camera.CameraStressTestRunner
75 assertTrue("Camera Switch Mode", false);
94 mOut.write("Camera Switch Mode:\n")
    [all...]
  /packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
VideoChatTestActivity.java 8 import android.hardware.Camera;
9 import android.hardware.Camera.Size;
69 for (int i = 0; i < Camera.getNumberOfCameras(); i++) {
80 Camera.CameraInfo info =
81 new Camera.CameraInfo();
82 Camera.getCameraInfo(id, info);
87 Camera cam = Camera.open(id);
88 Camera.Parameters params = cam.getParameters();
91 List<Camera.Size> sizes = params.getSupportedPreviewSizes()
310 Camera camera; local
    [all...]

Completed in 508 milliseconds

1 2 3