Home
last modified time | relevance | path

Searched refs:CameraInfo (Results 1 – 10 of 10) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraTest.java202 Camera.CameraInfo cameraQuery = new Camera.CameraInfo(); in testSetDisplayOrientationUpdatesCameraInfos()
254 Camera.CameraInfo cameraQuery = new Camera.CameraInfo(); in testCameraInfoBackOnly()
260 assertThat(cameraQuery.facing).isEqualTo(Camera.CameraInfo.CAMERA_FACING_BACK); in testCameraInfoBackOnly()
266 Camera.CameraInfo cameraQuery = new Camera.CameraInfo(); in testCameraInfoBackAndFront()
272 assertThat(cameraQuery.facing).isEqualTo(Camera.CameraInfo.CAMERA_FACING_BACK); in testCameraInfoBackAndFront()
275 assertThat(cameraQuery.facing).isEqualTo(Camera.CameraInfo.CAMERA_FACING_FRONT); in testCameraInfoBackAndFront()
294 Camera.CameraInfo backCamera = new Camera.CameraInfo(); in addBackCamera()
295 backCamera.facing = Camera.CameraInfo.CAMERA_FACING_BACK; in addBackCamera()
301 Camera.CameraInfo frontCamera = new Camera.CameraInfo(); in addFrontCamera()
302 frontCamera.facing = Camera.CameraInfo.CAMERA_FACING_FRONT; in addFrontCamera()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCameraEnumerationAndroid.java132 android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo(); in getDeviceName()
141 (info.facing == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT) ? "front" : "back"; in getDeviceName()
149 return getNameOfDevice(android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in getNameOfFrontFacingDevice()
155 return getNameOfDevice(android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in getNameOfBackFacingDevice()
214 final android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo();
DVideoCapturerAndroid.java79 private android.hardware.Camera.CameraInfo info;
271 info.facing == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in switchCamera()
435 info = new android.hardware.Camera.CameraInfo(); in startCaptureOnCameraThread()
664 if (info.facing == android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK) { in getFrameOrientation()
712 if (info.facing == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT) { in onTextureFrameAvailable()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DLegacyCameraConnectionFragment.java22 import android.hardware.Camera.CameraInfo;
208 CameraInfo ci = new CameraInfo(); in getCameraId()
211 if (ci.facing == CameraInfo.CAMERA_FACING_BACK) in getCameraId()
/external/libxcam/xcore/interface/
Dstitcher.h67 struct CameraInfo { struct
138 bool set_camera_info (uint32_t index, const CameraInfo &info);
139 bool get_camera_info (uint32_t index, CameraInfo &info) const;
200 CameraInfo _camera_info[XCAM_STITCH_MAX_CAMERAS];
Dstitcher.cpp118 Stitcher::set_camera_info (uint32_t index, const CameraInfo &info) in set_camera_info()
177 Stitcher::get_camera_info (uint32_t index, CameraInfo &info) const in get_camera_info()
199 CameraInfo &cam_info = _camera_info[i]; in estimate_round_slices()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DLegacyCameraConnectionFragment.java22 import android.hardware.Camera.CameraInfo;
208 CameraInfo ci = new CameraInfo(); in getCameraId()
211 if (ci.facing == CameraInfo.CAMERA_FACING_BACK) in getCameraId()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCamera.java37 private static Map<Integer, Camera.CameraInfo> cameras = new HashMap<>();
189 protected static void getCameraInfo(int cameraId, Camera.CameraInfo cameraInfo) { in getCameraInfo()
190 Camera.CameraInfo foundCam = cameras.get(cameraId); in getCameraInfo()
239 public static void addCameraInfo(int id, Camera.CameraInfo camInfo) { in addCameraInfo()
/external/libxcam/tests/
Dtest-soft-image.cpp257 parse_camera_info (const char *path, uint32_t idx, CameraInfo &info, uint32_t camera_count) in parse_camera_info()
741 CameraInfo cam_info[4]; in main()
/external/libxcam/modules/soft/
Dsoft_stitcher.cpp143 const CameraInfo &cam_info,
242 const CameraInfo &cam_info, in set_dewarp_geo_table()
425 CameraInfo cam_info; in fisheye_dewarp_to_table()