Searched refs:CameraInfo (Results 1 – 11 of 11) sorted by relevance
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | CameraTest.java | 182 Camera.CameraInfo cameraQuery = new Camera.CameraInfo(); in testCameraInfoBackOnly() 188 assertThat(cameraQuery.facing, equalTo(Camera.CameraInfo.CAMERA_FACING_BACK)); in testCameraInfoBackOnly() 194 Camera.CameraInfo cameraQuery = new Camera.CameraInfo(); in testCameraInfoBackAndFront() 200 assertThat( cameraQuery.facing, equalTo(Camera.CameraInfo.CAMERA_FACING_BACK) ); in testCameraInfoBackAndFront() 203 assertThat( cameraQuery.facing, equalTo(Camera.CameraInfo.CAMERA_FACING_FRONT) ); in testCameraInfoBackAndFront() 208 Camera.CameraInfo frontCamera = new Camera.CameraInfo(); in addBackCamera() 209 frontCamera.facing = Camera.CameraInfo.CAMERA_FACING_BACK; in addBackCamera() 215 Camera.CameraInfo backCamera = new Camera.CameraInfo(); in addFrontCamera() 216 backCamera.facing = Camera.CameraInfo.CAMERA_FACING_FRONT; in addFrontCamera()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowCameraTest.java | 202 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() 280 Camera.CameraInfo backCamera = new Camera.CameraInfo(); in addBackCamera() 281 backCamera.facing = Camera.CameraInfo.CAMERA_FACING_BACK; in addBackCamera() 287 Camera.CameraInfo frontCamera = new Camera.CameraInfo(); in addFrontCamera() 288 frontCamera.facing = Camera.CameraInfo.CAMERA_FACING_FRONT; in addFrontCamera()
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | CameraEnumerationAndroid.java | 132 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();
|
D | VideoCapturerAndroid.java | 79 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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowCamera.java | 28 … private static Map<Integer, Camera.CameraInfo> cameras = new HashMap<Integer,Camera.CameraInfo>(); 103 public static void getCameraInfo(int cameraId, Camera.CameraInfo cameraInfo ) { in getCameraInfo() 104 Camera.CameraInfo foundCam = cameras.get( cameraId ); in getCameraInfo() 149 public static void addCameraInfo(int id, Camera.CameraInfo camInfo) { in addCameraInfo()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
D | LegacyCameraConnectionFragment.java | 22 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/ |
D | stitcher.h | 67 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];
|
D | stitcher.cpp | 118 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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowCamera.java | 36 private static Map<Integer, Camera.CameraInfo> cameras = new HashMap<>(); 187 public static void getCameraInfo(int cameraId, Camera.CameraInfo cameraInfo ) { in getCameraInfo() 188 Camera.CameraInfo foundCam = cameras.get( cameraId ); in getCameraInfo() 222 public static void addCameraInfo(int id, Camera.CameraInfo camInfo) { in addCameraInfo()
|
/external/libxcam/tests/ |
D | test-soft-image.cpp | 257 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/ |
D | soft_stitcher.cpp | 143 const CameraInfo &cam_info, 242 const CameraInfo &cam_info, in set_dewarp_geo_table() 425 CameraInfo cam_info; in fisheye_dewarp_to_table()
|