Searched refs:camera (Results 1 - 25 of 73) sorted by relevance

123

/external/replicaisland/src/com/replica/replicaisland/
H A DCameraBiasComponent.java32 CameraSystem camera = sSystemRegistry.cameraSystem;
33 if (camera != null) {
34 camera.addCameraBias(parentObject.getPosition());
H A DSleeperComponent.java66 CameraSystem camera = sSystemRegistry.cameraSystem;
69 if (camera.shaking() && camera.pointVisible(parentObject.getPosition(), parentObject.width / 2.0f)) {
87 camera.shake(mSlamDuration, mSlamMagnitude);
92 if (!camera.shaking()) {
H A DRenderComponent.java22 * objects may be set to be "camera-relative" (meaning their screen position is relative to the
23 * location of the camera focus in the scene) or not (meaning their screen position is relative to
59 CameraSystem camera = sSystemRegistry.cameraSystem;
61 mScreenLocation.x = (mPositionWorkspace.x - camera.getFocusPositionX()
63 mScreenLocation.y = (mPositionWorkspace.y - camera.getFocusPositionY()
H A DGameThread.java68 CameraSystem camera = mGameRoot.sSystemRegistry.cameraSystem;
71 if (camera != null) {
72 x = camera.getFocusPositionX();
73 y = camera.getFocusPositionY();
H A DTheSourceComponent.java63 CameraSystem camera = sSystemRegistry.cameraSystem;
68 camera.shake(SHAKE_TIME, CAMERA_HIT_SHAKE_MAGNITUDE);
89 // Wait for the player to take the camera back, then steal it!
92 if (camera != null && manager != null && camera.getTarget() == manager.getPlayer()) {
93 camera.setTarget(parentObject);
H A DGhostComponent.java62 final CameraSystem camera = sSystemRegistry.cameraSystem;
86 if (camera != null) {
87 camera.setTarget(parentObject);
161 final CameraSystem camera = sSystemRegistry.cameraSystem;
162 if (camera != null) {
163 camera.setTarget(null);
179 if (camera.pointVisible(player.getPosition(), player.width)) {
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DCameraTest.java28 private Camera camera; field in class:CameraTest
33 camera = Camera.open();
34 shadowCamera = Robolectric.shadowOf(camera);
44 assertThat(camera, notNullValue());
50 camera.unlock();
56 camera.unlock();
58 camera.reconnect();
64 Camera.Parameters parameters = camera.getParameters();
72 Camera.Parameters parameters = camera.getParameters();
75 camera
222 public Camera camera = null; field in class:CameraTest.TestPreviewCallback
226 onPreviewFrame(byte[] data, Camera camera) argument
[all...]
/external/ceres-solver/examples/
H A Dsnavely_reprojection_error.h31 // Templated struct implementing the camera model and residual
33 // SfM system. This is also the camera model/residual for the bundle
49 // Templated pinhole camera model for used with Ceres. The camera is
58 bool operator()(const T* const camera, argument
61 // camera[0,1,2] are the angle-axis rotation.
63 ceres::AngleAxisRotatePoint(camera, point, p);
65 // camera[3,4,5] are the translation.
66 p[0] += camera[3];
67 p[1] += camera[
[all...]
H A Dbal_problem.cc179 void BALProblem::CameraToAngleAxisAndCenter(const double* camera, argument
184 QuaternionToAngleAxis(camera, angle_axis);
186 angle_axis_ref = ConstVectorRef(camera, 3);
192 camera + camera_block_size() - 6,
199 double* camera) {
202 AngleAxisToQuaternion(angle_axis, camera);
204 VectorRef(camera, 3) = angle_axis_ref;
210 camera + camera_block_size() - 6);
211 VectorRef(camera + camera_block_size() - 6, 3) *= -1.0;
252 double* camera local
197 AngleAxisAndCenterToCamera(const double* angle_axis, const double* center, double* camera) argument
275 double* camera = mutable_cameras() + camera_block_size() * i; local
[all...]
H A Dbal_problem.h61 // Perturb the camera pose and the geometry with random normal
83 void CameraToAngleAxisAndCenter(const double* camera,
89 double* camera);
H A Dsimple_bundle_adjuster.cc118 // Templated pinhole camera model for used with Ceres. The camera is
127 bool operator()(const T* const camera, argument
130 // camera[0,1,2] are the angle-axis rotation.
132 ceres::AngleAxisRotatePoint(camera, point, p);
134 // camera[3,4,5] are the translation.
135 p[0] += camera[3];
136 p[1] += camera[4];
137 p[2] += camera[5];
140 // the camera mode
[all...]
H A Dlibmv_bundle_adjuster.cc54 // Every camera is described by:
56 // - Image for which camera belongs to (single 4 bytes integer value).
57 // - Column-major camera rotation matrix, 9 float values.
79 // line, camera intrinsics will be refined if markers in the problem are
80 // stored in image space and camera intrinsics will not be refined if markers
128 // A EuclideanCamera is the location and rotation of the camera
131 // image identifies which image this camera represents.
132 // R is a 3x3 matrix representing the rotation of the camera.
182 // For example it is useful to keep camera translations constant
202 // Returns a pointer to the camera correspondin
208 EuclideanCamera *camera = &(*all_cameras)[image]; local
221 const EuclideanCamera *camera = &all_cameras[image]; local
395 EuclideanCamera camera; local
613 const EuclideanCamera *camera = CameraForImage(all_cameras, i); local
635 EuclideanCamera *camera = CameraForImage(all_cameras, i); local
684 EuclideanCamera *camera = CameraForImage(all_cameras, marker.image); local
[all...]
/external/chromium_org/third_party/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/
H A DVideoCaptureAndroid.java38 // |camera| for null to account for having possibly waited for stopCapture() to
44 private Camera camera; // Only non-null while capturing. field in class:VideoCaptureAndroid
117 // Note that this actually opens the camera, and Camera callbacks run on the
150 camera = Camera.open(id);
156 camera.setPreviewDisplay(localPreview);
181 camera.setPreviewTexture(cameraSurfaceTexture);
187 Camera.Parameters parameters = camera.getParameters();
197 camera.setParameters(parameters);
200 camera.addCallbackBuffer(new byte[bufSize]);
202 camera
[all...]
H A DVideoCaptureDeviceInfoAndroid.java54 Camera camera = null;
56 camera = Camera.open(i);
57 Parameters parameters = camera.getParameters();
65 if (camera != null) {
66 camera.release();
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
H A DCameraConfigurationManager.java17 package com.google.zxing.client.android.camera;
31 * A class which deals with reading, parsing, and setting the camera parameters which are used to
32 * configure the camera hardware.
49 * Reads, one time, values from the camera that are needed by the app.
51 void initFromCameraParameters(Camera camera) { argument
52 Camera.Parameters parameters = camera.getParameters();
71 void setDesiredCameraParameters(Camera camera) { argument
72 Camera.Parameters parameters = camera.getParameters();
75 Log.w(TAG, "Device error: no camera parameters are available. Proceeding without configuration.");
90 camera
101 setTorch(Camera camera, boolean newSetting) argument
[all...]
H A DCameraManager.java17 package com.google.zxing.client.android.camera;
51 private Camera camera; field in class:CameraManager
75 * Opens the camera driver and initializes the hardware parameters.
77 * @param holder The surface object which the camera will draw preview frames into.
78 * @throws IOException Indicates the camera driver failed to open.
81 Camera theCamera = camera;
87 camera = theCamera;
107 * Closes the camera driver if still in use.
110 if (camera != null) {
111 camera
[all...]
H A DAutoFocusCallback.java17 package com.google.zxing.client.android.camera;
38 public void onAutoFocus(boolean success, Camera camera) { argument
H A DPreviewCallback.java17 package com.google.zxing.client.android.camera;
42 public void onPreviewFrame(byte[] data, Camera camera) { argument
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/
H A Dscene.js6 var camera, controls, scene, projector, renderer; variable
154 camera = new THREE.PerspectiveCamera(
157 camera.position.y = 20.0;
158 camera.position.z = 40;
169 light.shadowCameraFar = camera.far;
220 // the camera rotation when dragging an object.
221 controls = new THREE.OrbitControls(camera, rendererContainer);
233 camera.aspect = w / h;
234 camera.updateProjectionMatrix();
244 projector.unprojectVector( vector, camera );
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowCameraSize.java14 public void __constructor__(Camera camera, int width, int height) { argument
/external/chromium_org/chrome/browser/resources/options/chromeos/
H A Dchange_picture_options.css51 * .online: camera is streaming video;
52 * .camera: camera (live or photo) is selected;
53 * .live: camera is in live mode (no photo taken yet/last photo removed).
79 .camera.live #user-image-preview-img {
87 .camera.flip-x #user-image-preview-img {
96 .camera.live .user-image-stream-area {
138 .camera.live:not(.online) .user-image-stream-area .spinner {
166 .camera.online:not(.animation) #flip-photo,
167 .camera
[all...]
/external/chromium-trace/trace-viewer/src/cc/
H A Dlayer_tree_quad_stack_viewer.css25 .camera-debug-indicator {
/external/chromium-trace/trace-viewer/src/ui/
H A Dquad_stack_viewer.js47 get camera() {
/external/chromium_org/media/base/android/java/src/org/chromium/media/
H A DVideoCaptureAndroid.java83 android.hardware.Camera camera;
85 camera = android.hardware.Camera.open(id);
90 android.hardware.Camera.Parameters parameters = getCameraParameters(camera);
97 // with at least one element, but when the camera is in bad state, they
130 supportedSizes.add(camera.new Size(0, 0));
140 camera.release();
179 public void onPreviewFrame(byte[] data, android.hardware.Camera camera) { argument
199 if (camera != null) {
200 camera.addCallbackBuffer(data);
/external/chromium_org/chrome/browser/resources/chromeos/login/
H A Doobe_screen_user_image.css63 * .online: camera is streaming video;
64 * .camera: camera (live or photo) is selected;
65 * .live: camera is in live mode (no photo taken yet/last photo removed).
113 .camera.live #user-image-preview-img {
117 .camera.flip-x #user-image-preview-img {
134 .camera.live .user-image-stream-area {
170 .camera #user-image-preview-caption {
199 .camera.online:not(.animation) #flip-photo,
200 .camera
[all...]

Completed in 1416 milliseconds

123