Searched defs:camera (Results 1 - 25 of 30) sorted by relevance

12

/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
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
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...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowCameraSize.java14 public void __constructor__(Camera camera, int width, int height) { argument
H A DShadowMediaRecorder.java27 private Camera camera; field in class:ShadowMediaRecorder
81 camera = c;
178 return camera;
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
H A DCameraFacade.java78 Camera camera = openCamera(0);
80 mParameters = camera.getParameters();
82 camera.release();
90 @RpcParameter(name = "cameraId", description = "Id of camera to use. SDK 9") @RpcDefault("0") Integer cameraId)
94 Camera camera = openCamera(cameraId);
95 camera.setParameters(mParameters);
98 Method method = camera.getClass().getMethod("setDisplayOrientation", int.class);
99 method.invoke(camera, 90);
105 FutureActivityTask<SurfaceHolder> previewTask = setPreviewDisplay(camera);
106 camera
125 setPreviewDisplay(Camera camera) argument
159 takePicture(final File file, final BooleanResult takePictureResult, final Camera camera) argument
190 autoFocus(final BooleanResult result, final Camera camera) argument
[all...]
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
H A DLegacyCameraConnectionFragment.java40 private Camera camera; field in class:LegacyCameraConnectionFragment
80 camera = Camera.open(index);
83 Camera.Parameters parameters = camera.getParameters();
99 camera.setDisplayOrientation(90);
100 camera.setParameters(parameters);
101 camera.setPreviewTexture(texture);
103 camera.release();
106 camera.setPreviewCallbackWithBuffer(imageListener);
107 Camera.Size s = camera.getParameters().getPreviewSize();
108 camera
[all...]
H A DCameraActivity.java107 public void onPreviewFrame(final byte[] bytes, final Camera camera) { argument
116 Camera.Size previewSize = camera.getParameters().getPreviewSize();
144 camera.addCallbackBuffer(bytes);
323 // We don't use a front facing camera in this sample.
346 LOGGER.e(e, "Not allowed to access camera");
/external/robolectric/v1/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowCameraTest.java23 private Camera camera; field in class:ShadowCameraTest
28 camera = Camera.open();
29 shadowCamera = Shadows.shadowOf(camera);
39 assertThat(camera).isNotNull();
45 camera = Camera.open(12);
46 assertThat(camera).isNotNull();
53 camera.unlock();
59 camera.unlock();
61 camera.reconnect();
67 Camera.Parameters parameters = camera
294 public Camera camera = null; field in class:ShadowCameraTest.TestPreviewCallback
298 onPreviewFrame(byte[] data, Camera camera) argument
306 public Camera camera; field in class:ShadowCameraTest.TestAutoFocusCallback
309 onAutoFocus(boolean success, Camera camera) argument
[all...]
/external/dng_sdk/source/
H A Ddng_camera_profile.h15 * Support for DNG camera color profile information.
17 * two sets of color profile information for a camera in the DNG file from that
18 * camera. The second set is optional and when there are two sets, they represent
22 * a profile for a reference camera. (ColorMatrix1 and ColorMatrix2 here.) The
23 * second is a per-camera calibration that takes into account unit-to-unit variation.
25 * own construction while maintaining any unit-specific calibration the camera
54 /// \brief An ID for a camera profile consisting of a name and optional fingerprint.
67 /// Construct an invalid camera profile ID (empty name and fingerprint).
77 /// Construct a camera profile ID with the specified name and no fingerprint.
78 /// \param name The name of the camera profil
731 SetUniqueCameraModelRestriction(const char *camera) argument
[all...]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowMediaRecorder.java29 private Camera camera; field in class:ShadowMediaRecorder
84 camera = c;
181 return camera;
H A DShadowCamera.java51 Camera camera = newInstanceOf(Camera.class);
52 Shadows.shadowOf(camera).id = 0;
53 return camera;
59 Camera camera = newInstanceOf(Camera.class);
60 Shadows.shadowOf(camera).id = cameraId;
61 return camera;
127 * Allows test cases to invoke the preview callback, to simulate a frame of camera data.
129 * @param data byte buffer of simulated camera data
174 public void invokeAutoFocusCallback(boolean success, Camera camera) { argument
181 autoFocusCallback.onAutoFocus(success, camera);
439 __constructor__(Camera camera, int width, int height) argument
[all...]
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
H A DVideoCapturerAndroid.java57 // front and back camera. It also provides methods for enumerating valid device
62 // camera thread. The internal *OnCameraThread() methods must check |camera| for null to check if
63 // the camera has been stopped.
72 private android.hardware.Camera camera; // Only non-null while capturing. field in class:VideoCapturerAndroid
99 // The camera API can output one old frame after the camera has been switched or the resolution
100 // has been changed. This flag is used for dropping the first frame after camera restart.
102 // |openCameraOnCodecThreadRunner| is used for retrying to open the camera if it is in use by
113 public void onError(int error, android.hardware.Camera camera) {
[all...]
/external/v8/benchmarks/
H A Draytrace.js68 // flog/camera.js
301 camera : null,
307 this.camera = new Flog.RayTracer.Camera(
659 var ray = scene.camera.getRay(xp, yp);
789 scene.camera.position,
814 scene.camera = new Flog.RayTracer.Camera(
/external/opencv/cvaux/include/
H A Dcvaux.h511 float imgSize[2]; /* size of the camera view, used during calibration */
512 float matrix[9]; /* intinsic camera parameters: [ fx 0 cx; 0 fy cy; 0 0 1 ] */
523 CvCamera* camera[2]; /* two individual camera parameters */ member in struct:CvStereoCamera
885 float mat[4][4]; /* maps camera coordinates to world coordinates */
909 tracking_info is a rectangular array; one row per camera, num_objects elements per row.
912 visible by more than one camera. The id field of any unused slots in tracked objects is
1079 /* Finds scanline ending coordinates for some intermediate "virtual" camera position */
1481 /* Feeds another serie of snapshots (one per each camera) to filter.
1490 Array of point arrays for each camera i
[all...]
/external/webrtc/talk/app/webrtc/
H A Dwebrtcsession.cc1341 cricket::VideoCapturer* camera) {
1350 if (!video_channel_->SetCapturer(ssrc, camera)) {
1351 // Allow that SetCapturer fail if |camera| is NULL but assert otherwise.
1354 ASSERT(camera == NULL);
1340 SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) argument
/external/robolectric/v3/runtime/
H A Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 1519 milliseconds

12