/external/replicaisland/src/com/replica/replicaisland/ |
H A D | CameraBiasComponent.java | 32 CameraSystem camera = sSystemRegistry.cameraSystem; 33 if (camera != null) { 34 camera.addCameraBias(parentObject.getPosition());
|
H A D | SleeperComponent.java | 66 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 D | RenderComponent.java | 22 * 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 D | GameThread.java | 68 CameraSystem camera = mGameRoot.sSystemRegistry.cameraSystem; 71 if (camera != null) { 72 x = camera.getFocusPositionX(); 73 y = camera.getFocusPositionY();
|
H A D | TheSourceComponent.java | 63 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 D | GhostComponent.java | 62 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)) {
|
H A D | DebugSystem.java | 58 CameraSystem camera = sSystemRegistry.cameraSystem; 61 mWorkVector.x = (mWorkVector.x - camera.getFocusPositionX() 63 mWorkVector.y = (mWorkVector.y - camera.getFocusPositionY()
|
H A D | ScrollerComponent.java | 20 * Adjusts the scroll position of a drawable object based on the camera's focus position. 21 * May be used to scroll a ScrollableBitmap or TiledWorld to match the camera. Uses DrawableFactory 105 CameraSystem camera = sSystemRegistry.cameraSystem; 107 float originX = camera.getFocusPositionX() - mHalfWidth; 108 float originY = camera.getFocusPositionY() - mHalfHeight;
|
H A D | GameObjectManager.java | 25 * based on the distance of that object to the camera. Objects may specify an "activation radius" 26 * to define an area around themselves so that the position of the camera can be used to determine 78 CameraSystem camera = sSystemRegistry.cameraSystem; 80 mCameraFocus.set(camera.getFocusPositionX(), camera.getFocusPositionY());
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
H A D | CameraControl.java | 66 private Camera camera; field in class:CameraControl 76 * @param camera The Camera to be synced. 78 public CameraControl(Camera camera) { argument 79 this.camera = camera; 83 * @param camera The Camera to be synced. 85 public CameraControl(Camera camera, ControlDirection controlDir) { argument 86 this.camera = camera; 91 return camera; 94 setCamera(Camera camera) argument [all...] |
H A D | BillboardControl.java | 58 * Determines how the billboard is aligned to the screen/camera. 67 * Aligns this Billboard to the camera position. 143 * Aligns this Billboard so that it points to the camera position. 145 * @param camera 148 private void rotateCameraAligned(Camera camera) { argument 149 look.set(camera.getLocation()).subtractLocal( 176 // The billboard must be oriented to face the camera before it is 184 * camera's facing 186 * @param camera 189 private void rotateScreenAligned(Camera camera) { argument 211 rotateAxial(Camera camera, Vector3f axis) argument [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | CameraTest.java | 28 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/jmonkeyengine/engine/src/core/com/jme3/scene/ |
H A D | CameraNode.java | 40 * linking of camera and node data. 54 public CameraNode(String name, Camera camera) { argument 55 this(name, new CameraControl(camera)); 76 public void setCamera(Camera camera) { argument 77 camControl.setCamera(camera);
|
/external/ceres-solver/examples/ |
H A D | snavely_reprojection_error.h | 31 // 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 D | bal_problem.cc | 179 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 D | bal_problem.h | 61 // Perturb the camera pose and the geometry with random normal 83 void CameraToAngleAxisAndCenter(const double* camera, 89 double* camera);
|
H A D | simple_bundle_adjuster.cc | 118 // 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...] |
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
H A D | CameraConfigurationManager.java | 17 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 D | CameraManager.java | 17 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 D | AutoFocusCallback.java | 17 package com.google.zxing.client.android.camera; 38 public void onAutoFocus(boolean success, Camera camera) { argument
|
H A D | PreviewCallback.java | 17 package com.google.zxing.client.android.camera; 42 public void onPreviewFrame(byte[] data, Camera camera) { argument
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowCameraSize.java | 14 public void __constructor__(Camera camera, int width, int height) { argument
|
/external/ceres-solver/docs/ |
H A D | bundleadjustment.tex | 6 Given a set of measured image feature locations and correspondences, the goal of bundle adjustment is to find 3D point positions and camera parameters that minimize the reprojection error. This optimization problem is usually formulated as a non-linear least squares problem, where the error is the squared $L_2$ norm of the difference between the observed feature location and the projection of the corresponding 3D point on the image plane of the camera. Ceres has extensive support for solving bundle adjustment problems. 14 camera. The nine parameters defining the camera can are: Three for rotation as a Rodriquez axis-angle vector, three for translation, one for focal length and two for radial distortion. The details of this camera model can be found on Noah 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[ [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
H A D | TerrainLodControl.java | 58 * NOTE: right now it just uses the first camera passed in,
63 * This camera reference has to be manually added in when you load the
79 public TerrainLodControl(Terrain terrain, Camera camera) {
argument 81 cams.add(camera);
88 * Only uses the first camera right now.
148 public void setCamera(Camera camera) {
argument 150 cams.add(camera);
|
/external/ceres-solver/internal/ceres/ |
H A D | system_test.cc | 303 // examples/bundle_adjustment_example.cc. Currently a small 16 camera 375 // Each Residual block takes a point and a camera as input and 382 // Each observation correponds to a pair of a camera and a point 385 double* camera = cameras + 9 * camera_index_[i]; local 387 problem_.AddResidualBlock(cost_function, NULL, camera, point); 415 // Templated pinhole camera model. The camera is parameterized 425 bool operator()(const T* const camera, argument 429 AngleAxisRotatePoint(camera, point, p); 432 p[0] += camera[ [all...] |