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

1 2

  /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/base/include/camera/
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 sensor is aligned with th
    [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...]
CamcorderProfile.java 19 import android.hardware.Camera;
20 import android.hardware.Camera.CameraInfo;
201 * Returns the camcorder profile for the first back-facing camera on the
203 * camera, this returns null.
208 int numberOfCameras = Camera.getNumberOfCameras();
211 Camera.getCameraInfo(i, cameraInfo);
220 * Returns the camcorder profile for the given camera at the given
241 * @param cameraId the id for the camera
271 * camera at the given quality level.
275 int numberOfCameras = Camera.getNumberOfCameras()
    [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 * Sets the location of the camera. The default location is set at
106 * @param x The x location of the camera
107 * @param y The y location of the camera
108 * @param z The z location of the camera
  /frameworks/base/libs/camera/
Camera.cpp 19 #define LOG_TAG "Camera"
26 #include <camera/Camera.h>
27 #include <camera/ICameraRecordingProxyListener.h>
28 #include <camera/ICameraService.h>
34 // client singleton for camera service binder interface
35 Mutex Camera::mLock;
36 sp<ICameraService> Camera::mCameraService;
37 sp<Camera::DeathNotifier> Camera::mDeathNotifier
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
CameraTest.java 18 import android.graphics.Camera;
27 @TestTargetClass(Camera.class)
29 private Camera mCamera;
34 mCamera = new Camera();
39 method = "Camera",
43 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/Camera/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...]
CameraStartUp.java 17 package com.android.camera.stress;
19 import com.android.camera.Camera;
20 import com.android.camera.VideoCamera;
35 * Test cases to measure the camera and video recorder startup time.
50 intent.setClass(getInstrumentation().getTargetContext(), Camera.class);
59 Log.v(TAG, "camera startup time: " + startupTime);
111 fail("Camera write output to file");
139 individualStartupTime = "Individual Camera Startup Time = ";
146 writeToOutputFile(firstStartUpTime, "na", true, "Camera");
    [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...]
  /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...]
  /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...]
Util.java 17 package com.android.camera;
32 import android.hardware.Camera;
33 import android.hardware.Camera.CameraInfo;
34 import android.hardware.Camera.Parameters;
35 import android.hardware.Camera.Size;
73 // Use the same setting among the Camera, VideoCamera and Panorama modes.
79 public static final String REVIEW_ACTION = "com.android.camera.action.REVIEW";
257 public static android.hardware.Camera openCamera(Activity activity, int cameraId)
259 // Check if device policy has disabled the camera.
339 // See android.hardware.Camera.setDisplayOrientation fo
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
CameraPreview.java 22 import android.hardware.Camera;
23 import android.hardware.Camera.CameraInfo;
24 import android.hardware.Camera.Size;
48 Camera mCamera;
52 // The first rear facing camera
69 numberOfCameras = Camera.getNumberOfCameras();
71 // Find the ID of the default camera
74 Camera.getCameraInfo(i, cameraInfo);
85 // Open the default i.e. the first rear facing camera.
86 mCamera = Camera.open()
    [all...]
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
CameraFragment.java 24 import android.hardware.Camera;
25 import android.hardware.Camera.CameraInfo;
26 import android.hardware.Camera.Size;
44 Camera mCamera;
46 int mCurrentCamera; // Camera ID currently chosen
47 int mCameraCurrentlyLocked; // Camera ID that's actually acquired
49 // The first rear facing camera
56 // Create a container that will hold a SurfaceView for camera previews
60 mNumberOfCameras = Camera.getNumberOfCameras();
62 // Find the ID of the rear-facing ("default") camera
    [all...]
  /frameworks/base/core/java/android/hardware/
Camera.java 41 * The Camera class is used to set image capture settings, start/stop preview,
43 * client for the Camera service, which manages the actual camera hardware.
45 * <p>To access the device camera, you must declare the
46 * {@link android.Manifest.permission#CAMERA} permission in your Android
49 * manifest element to declare camera features used by your application.
50 * For example, if you use the camera and auto-focus feature, your Manifest
52 * <pre> &lt;uses-permission android:name="android.permission.CAMERA" />
53 * &lt;uses-feature android:name="android.hardware.camera" />
54 * &lt;uses-feature android:name="android.hardware.camera.autofocus" /></pre
    [all...]

Completed in 638 milliseconds

1 2