/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | CameraTest.java | 28 private Camera camera; field in CameraTest 33 camera = Camera.open(); in setUp() 34 shadowCamera = Robolectric.shadowOf(camera); in setUp() 44 assertThat(camera, notNullValue()); in testOpen() 50 camera.unlock(); in testUnlock() 56 camera.unlock(); in testReconnect() 58 camera.reconnect(); in testReconnect() 64 Camera.Parameters parameters = camera.getParameters(); in testGetParameters() 72 Camera.Parameters parameters = camera.getParameters(); in testSetParameters() 75 camera.setParameters(parameters); in testSetParameters() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
D | CameraControl.java | 66 private Camera camera; field in CameraControl 78 public CameraControl(Camera camera) { in CameraControl() argument 79 this.camera = camera; in CameraControl() 85 public CameraControl(Camera camera, ControlDirection controlDir) { in CameraControl() argument 86 this.camera = camera; in CameraControl() 91 return camera; in getCamera() 94 public void setCamera(Camera camera) { in setCamera() argument 95 this.camera = camera; in setCamera() 109 if (spatial != null && camera != null) { in controlUpdate() 112 camera.setLocation(spatial.getWorldTranslation()); in controlUpdate() [all …]
|
D | BillboardControl.java | 148 private void rotateCameraAligned(Camera camera) { in rotateCameraAligned() argument 149 look.set(camera.getLocation()).subtractLocal( in rotateCameraAligned() 189 private void rotateScreenAligned(Camera camera) { in rotateScreenAligned() argument 191 look.set(camera.getDirection()).negateLocal(); in rotateScreenAligned() 193 left.set(camera.getLeft()).negateLocal(); in rotateScreenAligned() 194 orient.fromAxes(left, camera.getUp(), look); in rotateScreenAligned() 211 private void rotateAxial(Camera camera, Vector3f axis) { in rotateAxial() argument 215 look.set(camera.getLocation()).subtractLocal( in rotateAxial()
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
D | CameraManager.java | 17 package com.google.zxing.client.android.camera; 51 private Camera camera; field in CameraManager 81 Camera theCamera = camera; in openDriver() 87 camera = theCamera; in openDriver() 110 if (camera != null) { in closeDriver() 111 camera.release(); in closeDriver() 112 camera = null; in closeDriver() 124 Camera theCamera = camera; in startPreview() 135 if (camera != null && previewing) { in stopPreview() 136 camera.stopPreview(); in stopPreview() [all …]
|
D | CameraConfigurationManager.java | 17 package com.google.zxing.client.android.camera; 51 void initFromCameraParameters(Camera camera) { in initFromCameraParameters() argument 52 Camera.Parameters parameters = camera.getParameters(); in initFromCameraParameters() 71 void setDesiredCameraParameters(Camera camera) { in setDesiredCameraParameters() argument 72 Camera.Parameters parameters = camera.getParameters(); in setDesiredCameraParameters() 90 camera.setParameters(parameters); in setDesiredCameraParameters() 101 void setTorch(Camera camera, boolean newSetting) { in setTorch() argument 102 Camera.Parameters parameters = camera.getParameters(); in setTorch() 104 camera.setParameters(parameters); in setTorch()
|
/external/ceres-solver/examples/ |
D | bal_problem.cc | 179 void BALProblem::CameraToAngleAxisAndCenter(const double* camera, in CameraToAngleAxisAndCenter() argument 184 QuaternionToAngleAxis(camera, angle_axis); in CameraToAngleAxisAndCenter() 186 angle_axis_ref = ConstVectorRef(camera, 3); in CameraToAngleAxisAndCenter() 192 camera + camera_block_size() - 6, in CameraToAngleAxisAndCenter() 199 double* camera) { in AngleAxisAndCenterToCamera() argument 202 AngleAxisToQuaternion(angle_axis, camera); in AngleAxisAndCenterToCamera() 204 VectorRef(camera, 3) = angle_axis_ref; in AngleAxisAndCenterToCamera() 210 camera + camera_block_size() - 6); in AngleAxisAndCenterToCamera() 211 VectorRef(camera + camera_block_size() - 6, 3) *= -1.0; in AngleAxisAndCenterToCamera() 252 double* camera = cameras + camera_block_size() * i; in Normalize() local [all …]
|
D | snavely_reprojection_error.h | 58 bool operator()(const T* const camera, in operator() 63 ceres::AngleAxisRotatePoint(camera, point, p); in operator() 66 p[0] += camera[3]; in operator() 67 p[1] += camera[4]; in operator() 68 p[2] += camera[5]; in operator() 73 const T& focal = camera[6]; in operator() 78 const T& l1 = camera[7]; in operator() 79 const T& l2 = camera[8]; in operator()
|
D | simple_bundle_adjuster.cc | 127 bool operator()(const T* const camera, in operator ()() 132 ceres::AngleAxisRotatePoint(camera, point, p); in operator ()() 135 p[0] += camera[3]; in operator ()() 136 p[1] += camera[4]; in operator ()() 137 p[2] += camera[5]; in operator ()() 146 const T& l1 = camera[7]; in operator ()() 147 const T& l2 = camera[8]; in operator ()() 152 const T& focal = camera[6]; in operator ()()
|
/external/ceres-solver/docs/ |
D | bundleadjustment.tex | 6 …camera parameters that minimize the reprojection error. This optimization problem is usually formu… 14 camera. The nine parameters defining the camera can are: Three for rotation as a Rodriquez axis-ang… 28 bool operator()(const T* const camera, 31 // camera[0,1,2] are the angle-axis rotation. 33 ceres::AngleAxisRotatePoint(camera, point, p); 34 // camera[3,4,5] are the translation. 35 p[0] += camera[3]; p[1] += camera[4]; p[2] += camera[5]; 38 // the camera model that Noah Snavely's Bundler assumes, whereby 39 // the camera coordinate system has a negative z axis. 44 const T& l1 = camera[7]; [all …]
|
/external/qemu/android/camera/ |
D | camera-capture-mac.m | 18 * Contains code that is used to capture video frames from a camera device 19 * on Mac. This code uses QTKit API to work with camera devices, and requires 26 #include "android/camera/camera-capture.h" 27 #include "android/camera/camera-format-converters.h" 31 #define D(...) VERBOSE_PRINT(camera,__VA_ARGS__) 75 /* Encapsulates a camera device on MacOS */ 110 /* Captures a frame from the camera device. 144 E("Default camera device is in use by another application."); 152 E("Unable to open camera device: '%s'", 328 /* MacOS-specific camera device descriptor. */ [all …]
|
D | camera-service.c | 33 #define D(...) VERBOSE_PRINT(camera,__VA_ARGS__) 34 #define D_ACTIVE VERBOSE_CHECK(camera) 40 #define T(...) VERBOSE_PRINT(camera,__VA_ARGS__) 591 CameraDevice* camera; member 624 if (cc->camera != NULL) { in _camera_client_free() 625 camera_device_close(cc->camera); in _camera_client_free() 728 if (cc->camera != NULL) { in _camera_client_query_connect() 736 cc->camera = camera_device_open(cc->device_name, cc->inp_channel); in _camera_client_query_connect() 737 if (cc->camera == NULL) { in _camera_client_query_connect() 759 if (cc->camera == NULL) { in _camera_client_query_disconnect() [all …]
|
/external/eigen/demos/opengl/ |
D | README | 5 left button + ctrl quake rotate (rotate around camera position) 6 middle button + ctrl walk (progress along camera's z direction) 7 left button: pan (translate in the XY camera's plane) 9 R : move the camera to initial position
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
D | CameraNode.java | 54 public CameraNode(String name, Camera camera) { in CameraNode() argument 55 this(name, new CameraControl(camera)); in CameraNode() 76 public void setCamera(Camera camera) { in setCamera() argument 77 camControl.setCamera(camera); in setCamera()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | SleeperComponent.java | 66 CameraSystem camera = sSystemRegistry.cameraSystem; in update() local 69 …if (camera.shaking() && camera.pointVisible(parentObject.getPosition(), parentObject.width / 2.0f)… in update() 87 camera.shake(mSlamDuration, mSlamMagnitude); in update() 92 if (!camera.shaking()) { in update()
|
D | GhostComponent.java | 62 final CameraSystem camera = sSystemRegistry.cameraSystem; in update() local 86 if (camera != null) { in update() 87 camera.setTarget(parentObject); in update() 161 final CameraSystem camera = sSystemRegistry.cameraSystem; in releaseControl() local 162 if (camera != null) { in releaseControl() 163 camera.setTarget(null); in releaseControl() 179 if (camera.pointVisible(player.getPosition(), player.width)) { in releaseControl()
|
D | CameraBiasComponent.java | 32 CameraSystem camera = sSystemRegistry.cameraSystem; in update() local 33 if (camera != null) { in update() 34 camera.addCameraBias(parentObject.getPosition()); in update()
|
D | TheSourceComponent.java | 63 CameraSystem camera = sSystemRegistry.cameraSystem; in update() local 68 camera.shake(SHAKE_TIME, CAMERA_HIT_SHAKE_MAGNITUDE); in update() 92 if (camera != null && manager != null && camera.getTarget() == manager.getPlayer()) { in update() 93 camera.setTarget(parentObject); in update()
|
D | GameThread.java | 68 CameraSystem camera = mGameRoot.sSystemRegistry.cameraSystem; in run() local 71 if (camera != null) { in run() 72 x = camera.getFocusPositionX(); in run() 73 y = camera.getFocusPositionY(); in run()
|
D | RenderComponent.java | 59 CameraSystem camera = sSystemRegistry.cameraSystem; in update() local 61 mScreenLocation.x = (mPositionWorkspace.x - camera.getFocusPositionX() in update() 63 mScreenLocation.y = (mPositionWorkspace.y - camera.getFocusPositionY() in update()
|
D | PlayerComponent.java | 362 CameraSystem camera = sSystemRegistry.cameraSystem; in stateMove() local 363 if (camera != null) { in stateMove() 364 camera.setTarget(ghost); in stateMove() 397 CameraSystem camera = sSystemRegistry.cameraSystem; in stateStomp() local 398 if (camera != null) { in stateStomp() 399 camera.shake(STOMP_DELAY_TIME, STOMP_SHAKE_MAGNITUDE); in stateStomp() 521 CameraSystem camera = sSystemRegistry.cameraSystem; in statePostGhostDelay() local 522 if (camera != null) { in statePostGhostDelay() 523 camera.setTarget(parentObject); in statePostGhostDelay()
|
D | ScrollerComponent.java | 105 CameraSystem camera = sSystemRegistry.cameraSystem; in update() local 107 float originX = camera.getFocusPositionX() - mHalfWidth; in update() 108 float originY = camera.getFocusPositionY() - mHalfHeight; in update()
|
/external/ceres-solver/internal/ceres/ |
D | system_test.cc | 385 double* camera = cameras + 9 * camera_index_[i]; in BuildProblem() local 387 problem_.AddResidualBlock(cost_function, NULL, camera, point); in BuildProblem() 425 bool operator()(const T* const camera, in operator ()() 429 AngleAxisRotatePoint(camera, point, p); in operator ()() 432 p[0] += camera[3]; in operator ()() 433 p[1] += camera[4]; in operator ()() 434 p[2] += camera[5]; in operator ()() 436 const T& focal = camera[6]; in operator ()() 437 const T& l1 = camera[7]; in operator ()() 438 const T& l2 = camera[8]; in operator ()()
|
/external/opencv/ |
D | README.rdoc | 14 http://www.tomgibara.com/android/camera-source 51 …he old 'OpenCVSample' test or modify the VideoEmulator to support a real camera. This is somethin… 53 …camera implementation in Java. The C++ version is the default as it is slightly faster and takes … 55 …camera. The reason is because when the client is running on the Android emulator, both of these m… 61 * Start the WebcamBroadcaster - this is a socket server that grabs images from your camera and serv… 63 …mes up, you will have to configure for your machine address and port for the socket camera to work. 72 * Start the WebcamBroadcaster - this is a socket server that grabs images from your camera and serv… 74 …mes up, you will have to configure for your machine address and port for the socket camera to work.
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
D | TerrainLodControl.java | 79 public TerrainLodControl(Terrain terrain, Camera camera) { in TerrainLodControl() argument 81 cams.add(camera); in TerrainLodControl() 148 public void setCamera(Camera camera) { in setCamera() argument 150 cams.add(camera); in setCamera()
|
/external/qemu/android/avd/ |
D | hardware-properties.ini | 226 # Configures camera facing back 228 name = hw.camera.back 232 abstract = Configures camera facing back 233 description = Must be 'emulated' for a fake camera, 'webcam<N>' for a web camera, or 'none' if back… 235 # Configures camera facing front 237 name = hw.camera.front 241 abstract = Configures camera facing front 242 description = Must be 'emulated' for a fake camera, 'webcam<N>' for a web camera, or 'none' if fron…
|