Home
last modified time | relevance | path

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

12345678910>>...13

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraTest.java23 private Camera camera; field in ShadowCameraTest
28 camera = Camera.open(); in setUp()
29 shadowCamera = Shadows.shadowOf(camera); in setUp()
39 assertThat(camera).isNotNull(); in testOpen()
45 camera = Camera.open(12); in testOpenWithId()
46 assertThat(camera).isNotNull(); in testOpenWithId()
53 camera.unlock(); in testUnlock()
59 camera.unlock(); in testReconnect()
61 camera.reconnect(); in testReconnect()
67 Camera.Parameters parameters = camera.getParameters(); in testGetParameters()
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraTest.java25 private Camera camera; field in ShadowCameraTest
30 camera = Camera.open(); in setUp()
31 shadowCamera = Shadows.shadowOf(camera); in setUp()
41 assertThat(camera).isNotNull(); in testOpen()
47 camera = Camera.open(12); in testOpenWithId()
48 assertThat(camera).isNotNull(); in testOpenWithId()
55 camera.unlock(); in testUnlock()
61 camera.unlock(); in testReconnect()
63 camera.reconnect(); in testReconnect()
69 Camera.Parameters parameters = camera.getParameters(); in testGetParameters()
[all …]
/external/webrtc/sdk/android/src/java/org/webrtc/
DCamera1Session.java43 private final Camera camera; field in Camera1Session
70 final Camera camera; in create() local
72 camera = Camera.open(cameraId); in create()
78 if (camera == null) { in create()
85 camera.setPreviewTexture(surfaceTextureHelper.getSurfaceTexture()); in create()
87 camera.release(); in create()
97 final Camera.Parameters parameters = camera.getParameters(); in create()
100 updateCameraParameters(camera, parameters, captureFormat, pictureSize, captureToTexture); in create()
102 camera.release(); in create()
111 camera.addCallbackBuffer(buffer.array()); in create()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DCameraFacade.java78 Camera camera = openCamera(0); in CameraFacade() local
80 mParameters = camera.getParameters(); in CameraFacade()
82 camera.release(); in CameraFacade()
94 Camera camera = openCamera(cameraId); in cameraCapturePicture() local
95 camera.setParameters(mParameters); in cameraCapturePicture()
98 Method method = camera.getClass().getMethod("setDisplayOrientation", int.class); in cameraCapturePicture()
99 method.invoke(camera, 90); in cameraCapturePicture()
105 FutureActivityTask<SurfaceHolder> previewTask = setPreviewDisplay(camera); in cameraCapturePicture()
106 camera.startPreview(); in cameraCapturePicture()
108 autoFocus(autoFocusResult, camera); in cameraCapturePicture()
[all …]
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DLegacyCameraConnectionFragment.java40 private Camera camera; field in 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.addCallbackBuffer(new byte[ImageUtils.getYUVByteSize(s.height, s.width)]);
[all …]
/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()
/external/autotest/client/common_lib/cros/manual/
Dvideo_helper.py73 def check_v4l2_interface(dut, vidpid, camera): argument
82 logging.info('---check v4l2 interface for %s', camera)
83 if get_video_by_name(dut, camera):
85 return False, '{} have no v4l2 interface.'.format(camera)
88 def check_video_stream(dut, is_muted, vidpid, camera): argument
100 process_camera = get_video_streams(dut, camera)
103 return False, '{} fails to stop video streaming.'.format(camera)
106 return False, '{} fails to start video streaming.'.format(camera)
/external/dynamic_depth/internal/dynamic_depth/
Dcameras.cc24 for (const auto& camera : camera_list_) { in GetNamespaces() local
25 camera->GetNamespaces(ns_name_href_map); in GetNamespaces()
48 std::unique_ptr<Camera> camera = Camera::FromDeserializer(*deserializer); in FromDeserializer() local
49 if (camera == nullptr) { in FromDeserializer()
53 cameras->camera_list_.emplace_back(std::move(camera)); in FromDeserializer()
66 for (const auto& camera : camera_list_) { in GetCameras() local
67 camera_list.push_back(camera.get()); in GetCameras()
/external/autotest/server/site_tests/tast/
Dcontrol.camera-usb-qual6 NAME = 'tast.camera-usb-qual'
9 ATTRIBUTES = 'suite:camera-usb-qual'
17 Run the tast camera-usb-qual test suite.
23 This test runs group of camera tests for USB camera qualification.
29 test_exprs=['("group:camera-usb-qual")'], command_args=args)
Dcontrol.camera-postsubmit6 NAME = 'tast.camera-postsubmit'
9 ATTRIBUTES = 'suite:camera-postsubmit'
17 Run the tast camera-postsubmit test suite.
23 This test runs group of camera tests in the postsubmit framework.
31 '("group:camera-postsubmit") || '
32 '("group:mainline" && !informational && "name:camera.*")'
Dcontrol.camera-libcamera6 NAME = 'tast.camera-libcamera'
9 ATTRIBUTES = 'suite:camera-libcamera'
17 Run the tast camera-libcamera test suite.
23 This test runs group of camera tests in the libcamera build.
29 test_exprs=['("group:camera-libcamera")'], command_args=args)
/external/perfetto/protos/perfetto/trace/android/
Dcamera_event.proto20 // A profiling event corresponding to a single camera frame. This message
22 // camera frame.
28 // Identifier for the camera sensor that is the source of this frame. This may
29 // be either a physical or logical camera (up to vendor interpretation).
31 // The frame number identifying this frame on this camera.
40 // The CLOCK_BOOTTIME timestamp at which the camera framework request is
41 // received by the camera HAL pipeline. Note that this request may wait for
46 // processing by the camera HAL pipeline. This is the time at which the
55 // The CLOCK_BOOTTIME timestamp at which the camera HAL has sent all responses
59 // The error status, if any, reported to the camera framework. Any status
[all …]
/external/libvpx/tools/3D-Reconstruction/sketch_3D_reconstruction/
Dsketch_3D_reconstruction.pde20 // read in rgb and depth image file paths as well as corresponding camera
26 tz = float(info[9]); // real camera position
37 // initialize camera
38 Camera camera = new Camera(fov, new PVector(0, 0, 0), new PVector(0, 0, 1),
43 scene = new Scene(camera, point_cloud, motion_field);
48 // run camera dragged mouse to rotate camera
57 // r: rotate the camera
/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/autotest/server/site_tests/cheets_CTS_R/
Dcontrol.internal.arm.CtsMediaStressTestCases.camera.ctshardware8 NAME = 'cheets_CTS_R.internal.arm.CtsMediaStressTestCases.camera.ctshardware'
16 DOC = 'Run module CtsMediaStressTestCases.camera of the Android Compatibility Test Suite (CTS) usin…
25 tag='internal.arm.CtsMediaStressTestCases.camera.ctshardware',
26 test_name='cheets_CTS_R.internal.arm.CtsMediaStressTestCases.camera.ctshardware',
29 target_module='CtsMediaStressTestCases.camera',
Dcontrol.x86.CtsMediaStressTestCases.camera.ctshardware8 NAME = 'cheets_CTS_R.x86.CtsMediaStressTestCases.camera.ctshardware'
17 DOC = 'Run module CtsMediaStressTestCases.camera of the Android Compatibility Test Suite (CTS) usin…
26 tag='x86.CtsMediaStressTestCases.camera.ctshardware',
27 test_name='cheets_CTS_R.x86.CtsMediaStressTestCases.camera.ctshardware',
30 target_module='CtsMediaStressTestCases.camera',
Dcontrol.arm.CtsMediaStressTestCases.camera.ctshardware8 NAME = 'cheets_CTS_R.arm.CtsMediaStressTestCases.camera.ctshardware'
17 DOC = 'Run module CtsMediaStressTestCases.camera of the Android Compatibility Test Suite (CTS) usin…
26 tag='arm.CtsMediaStressTestCases.camera.ctshardware',
27 test_name='cheets_CTS_R.arm.CtsMediaStressTestCases.camera.ctshardware',
30 target_module='CtsMediaStressTestCases.camera',
Dcontrol.arm.CtsPermissionTestCases.camera.ctshardware8 NAME = 'cheets_CTS_R.arm.CtsPermissionTestCases.camera.ctshardware'
16 DOC = 'Run module CtsPermissionTestCases.camera of the Android Compatibility Test Suite (CTS) using…
24 tag='arm.CtsPermissionTestCases.camera.ctshardware',
25 test_name='cheets_CTS_R.arm.CtsPermissionTestCases.camera.ctshardware',
28 target_module='CtsPermissionTestCases.camera',
/external/autotest/server/site_tests/cheets_CTS_P/
Dcontrol.arm.CtsMediaStressTestCases.camera.ctshardware8 NAME = 'cheets_CTS_P.arm.CtsMediaStressTestCases.camera.ctshardware'
17 DOC = 'Run module CtsMediaStressTestCases.camera of the Android Compatibility Test Suite (CTS) usin…
26 tag='arm.CtsMediaStressTestCases.camera.ctshardware',
27 test_name='cheets_CTS_P.arm.CtsMediaStressTestCases.camera.ctshardware',
30 target_module='CtsMediaStressTestCases.camera',
Dcontrol.arm.CtsPermissionTestCases.camera.ctshardware8 NAME = 'cheets_CTS_P.arm.CtsPermissionTestCases.camera.ctshardware'
16 DOC = 'Run module CtsPermissionTestCases.camera of the Android Compatibility Test Suite (CTS) using…
24 tag='arm.CtsPermissionTestCases.camera.ctshardware',
25 test_name='cheets_CTS_P.arm.CtsPermissionTestCases.camera.ctshardware',
28 target_module='CtsPermissionTestCases.camera',
Dcontrol.x86.CtsMediaStressTestCases.camera.ctshardware8 NAME = 'cheets_CTS_P.x86.CtsMediaStressTestCases.camera.ctshardware'
17 DOC = 'Run module CtsMediaStressTestCases.camera of the Android Compatibility Test Suite (CTS) usin…
26 tag='x86.CtsMediaStressTestCases.camera.ctshardware',
27 test_name='cheets_CTS_P.x86.CtsMediaStressTestCases.camera.ctshardware',
30 target_module='CtsMediaStressTestCases.camera',
Dcontrol.internal.arm.CtsMediaStressTestCases.camera.ctshardware8 NAME = 'cheets_CTS_P.internal.arm.CtsMediaStressTestCases.camera.ctshardware'
16 DOC = 'Run module CtsMediaStressTestCases.camera of the Android Compatibility Test Suite (CTS) usin…
25 tag='internal.arm.CtsMediaStressTestCases.camera.ctshardware',
26 test_name='cheets_CTS_P.internal.arm.CtsMediaStressTestCases.camera.ctshardware',
29 target_module='CtsMediaStressTestCases.camera',
Dcontrol.x86.CtsPermissionTestCases.camera.ctshardware8 NAME = 'cheets_CTS_P.x86.CtsPermissionTestCases.camera.ctshardware'
16 DOC = 'Run module CtsPermissionTestCases.camera of the Android Compatibility Test Suite (CTS) using…
24 tag='x86.CtsPermissionTestCases.camera.ctshardware',
25 test_name='cheets_CTS_P.x86.CtsPermissionTestCases.camera.ctshardware',
28 target_module='CtsPermissionTestCases.camera',
Dcontrol.internal.x86.CtsMediaStressTestCases.camera.ctshardware8 NAME = 'cheets_CTS_P.internal.x86.CtsMediaStressTestCases.camera.ctshardware'
16 DOC = 'Run module CtsMediaStressTestCases.camera of the Android Compatibility Test Suite (CTS) usin…
25 tag='internal.x86.CtsMediaStressTestCases.camera.ctshardware',
26 test_name='cheets_CTS_P.internal.x86.CtsMediaStressTestCases.camera.ctshardware',
29 target_module='CtsMediaStressTestCases.camera',

12345678910>>...13