Home
last modified time | relevance | path

Searched refs:camera (Results 1 – 25 of 103) sorted by relevance

12345

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DCameraTest.java28 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/
DCameraControl.java66 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 …]
DBillboardControl.java148 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/
DCameraManager.java17 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 …]
DCameraConfigurationManager.java17 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()
DAutoFocusCallback.java17 package com.google.zxing.client.android.camera;
38 public void onAutoFocus(boolean success, Camera camera) { in onAutoFocus() argument
/external/ceres-solver/examples/
Dlibmv_bundle_adjuster.cc208 EuclideanCamera *camera = &(*all_cameras)[image]; in CameraForImage() local
209 if (camera->image == -1) { in CameraForImage()
212 return camera; in CameraForImage()
221 const EuclideanCamera *camera = &all_cameras[image]; in CameraForImage() local
222 if (camera->image == -1) { in CameraForImage()
225 return camera; in CameraForImage()
395 EuclideanCamera camera; in ReadProblemFromFile() local
397 camera.image = file_reader.Read<int>(); in ReadProblemFromFile()
398 ReadMatrix3x3(file_reader, &camera.R); in ReadProblemFromFile()
399 ReadVector3(file_reader, &camera.t); in ReadProblemFromFile()
[all …]
Dbal_problem.cc179 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 …]
Dsnavely_reprojection_error.h58 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()
Dsimple_bundle_adjuster.cc127 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/eigen/demos/opengl/
DREADME5 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/replicaisland/src/com/replica/replicaisland/
DSleeperComponent.java66 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()
DGhostComponent.java62 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()
DCameraBiasComponent.java32 CameraSystem camera = sSystemRegistry.cameraSystem; in update() local
33 if (camera != null) { in update()
34 camera.addCameraBias(parentObject.getPosition()); in update()
DTheSourceComponent.java63 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()
DGameThread.java68 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()
DRenderComponent.java59 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()
DPlayerComponent.java362 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()
DScrollerComponent.java105 CameraSystem camera = sSystemRegistry.cameraSystem; in update() local
107 float originX = camera.getFocusPositionX() - mHalfWidth; in update()
108 float originY = camera.getFocusPositionY() - mHalfHeight; in update()
DDebugSystem.java58 CameraSystem camera = sSystemRegistry.cameraSystem; in drawShape() local
61 mWorkVector.x = (mWorkVector.x - camera.getFocusPositionX() in drawShape()
63 mWorkVector.y = (mWorkVector.y - camera.getFocusPositionY() in drawShape()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DCameraNode.java54 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/ceres-solver/data/libmv-ba-problems/
DReadme.txt3 - problem_01.bin is a final camera motion refinement step of 07_1a scene.
4 - problem_02.bin is a final camera motion refinement step of 03_2a scene.
5 - problem_03.bin is a final camera motion refinement step of 09_1a scene.
/external/ceres-solver/internal/ceres/
Dsystem_test.cc397 double* camera = cameras + 9 * camera_index_[i]; in BuildProblem() local
399 problem_.AddResidualBlock(cost_function, NULL, camera, point); in BuildProblem()
437 bool operator()(const T* const camera, in operator ()()
441 AngleAxisRotatePoint(camera, point, p); in operator ()()
444 p[0] += camera[3]; in operator ()()
445 p[1] += camera[4]; in operator ()()
446 p[2] += camera[5]; in operator ()()
448 const T& focal = camera[6]; in operator ()()
449 const T& l1 = camera[7]; in operator ()()
450 const T& l2 = camera[8]; in operator ()()
/external/opencv/
DREADME.rdoc14 http://www.tomgibara.com/android/camera-source
51 …he old 'OpenCVSample' test or modify the VideoEmulator to support a real camera. This is somethin…
53camera implementation in Java. The C++ version is the default as it is slightly faster and takes …
55camera. 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/
DTerrainLodControl.java79 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()

12345