/frameworks/base/core/java/android/hardware/ |
CameraInfo.aidl | 20 parcelable CameraInfo;
|
CameraInfo.java | 27 public class CameraInfo implements Parcelable { 29 // CameraInfo. 30 public Camera.CameraInfo info = new Camera.CameraInfo(); 48 public static final Parcelable.Creator<CameraInfo> CREATOR = 49 new Parcelable.Creator<CameraInfo>() { 51 public CameraInfo createFromParcel(Parcel in) { 52 CameraInfo info = new CameraInfo(); 59 public CameraInfo[] newArray(int size) [all...] |
/device/lge/mako/camera/QCamera/HAL/core/inc/ |
QCameraHAL.h | 32 extern "C" void HAL_getCameraInfo(int cameraId, struct CameraInfo* cameraInfo);
|
/device/lge/mako/camera/ |
QCameraHAL.h | 32 extern "C" void HAL_getCameraInfo(int cameraId, struct CameraInfo* cameraInfo);
|
/device/moto/shamu/camera/QCamera/HAL/core/inc/ |
QCameraHAL.h | 35 extern "C" void HAL_getCameraInfo(int cameraId, struct CameraInfo* cameraInfo);
|
/packages/apps/Camera2/src/com/android/camera/ |
CameraTestDevice.java | 19 import android.hardware.Camera.CameraInfo; 29 public static void injectMockCamera(CameraInfo[] info, CameraProxy[] camera) {
|
DisableCameraReceiver.java | 24 import android.hardware.Camera.CameraInfo; 64 CameraInfo info = new CameraInfo(); 67 if (info.facing == CameraInfo.CAMERA_FACING_BACK) {
|
/frameworks/base/media/java/android/media/ |
CameraProfile.java | 20 import android.hardware.Camera.CameraInfo; 59 CameraInfo cameraInfo = new CameraInfo(); 61 Camera.getCameraInfo(i, cameraInfo); 62 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) {
|
CamcorderProfile.java | 20 import android.hardware.Camera.CameraInfo; 263 CameraInfo cameraInfo = new CameraInfo(); 265 Camera.getCameraInfo(i, cameraInfo); 266 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { 362 CameraInfo cameraInfo = new CameraInfo(); [all...] |
/packages/apps/Camera/src/com/android/camera/ |
DisableCameraReceiver.java | 24 import android.hardware.Camera.CameraInfo; 63 CameraInfo info = new CameraInfo(); 66 if (info.facing == CameraInfo.CAMERA_FACING_BACK) {
|
/packages/apps/Gallery2/src/com/android/camera/ |
DisableCameraReceiver.java | 24 import android.hardware.Camera.CameraInfo; 63 CameraInfo info = new CameraInfo(); 66 if (info.facing == CameraInfo.CAMERA_FACING_BACK) {
|
/external/chromium_org/third_party/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/ |
VideoCaptureDeviceInfoAndroid.java | 15 import android.hardware.Camera.CameraInfo; 28 private static boolean isFrontFacing(CameraInfo info) { 29 return info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT; 32 private static String deviceUniqueName(int index, CameraInfo info) { 47 CameraInfo info = new CameraInfo();
|
/external/qemu/android/camera/ |
camera-capture.h | 118 extern int enumerate_camera_devices(CameraInfo* cis, int max);
|
camera-common.h | 122 typedef struct CameraInfo {
143 } CameraInfo;
145 /* Allocates CameraInfo instance. */
146 static __inline__ CameraInfo* _camera_info_alloc(void)
148 CameraInfo* ci;
153 /* Frees all resources allocated for CameraInfo instance (including the
156 static __inline__ void _camera_info_free(CameraInfo* ci)
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
InfoDialogFragment.java | 4 import android.hardware.Camera.CameraInfo; 49 CameraInfo cameraInfo = new CameraInfo(); 50 Camera.getCameraInfo(cameraId, cameraInfo); 53 b.append(cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT ? "FRONT\n" : "BACK\n"); 55 b.append(cameraInfo.orientation);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
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 ) { 104 Camera.CameraInfo foundCam = cameras.get( cameraId ); 105 cameraInfo.facing = foundCam.facing; 106 cameraInfo.orientation = foundCam.orientation; 142 * Add a mock {@code Camera.CameraInfo} object to simulate 149 public static void addCameraInfo(int id, Camera.CameraInfo camInfo) {
|
/packages/apps/Camera/tests/src/com/android/camera/activity/ |
CameraTestCase.java | 23 import android.hardware.Camera.CameraInfo; 55 protected CameraInfo mCameraInfo[]; 57 protected CameraInfo mOneCameraInfo[]; 122 mCameraInfo = new CameraInfo[2]; 123 mCameraInfo[0] = new CameraInfo(); 124 mCameraInfo[0].facing = CameraInfo.CAMERA_FACING_BACK; 125 mCameraInfo[1] = new CameraInfo(); 126 mCameraInfo[1].facing = CameraInfo.CAMERA_FACING_FRONT; 133 mOneCameraInfo = new CameraInfo[1]; 134 mOneCameraInfo[0] = new CameraInfo(); [all...] |
/packages/apps/Camera2/tests_camera/src/com/android/camera/activity/ |
CameraTestCase.java | 23 import android.hardware.Camera.CameraInfo; 55 protected CameraInfo mCameraInfo[]; 57 protected CameraInfo mOneCameraInfo[]; 122 mCameraInfo = new CameraInfo[2]; 123 mCameraInfo[0] = new CameraInfo(); 124 mCameraInfo[0].facing = CameraInfo.CAMERA_FACING_BACK; 125 mCameraInfo[1] = new CameraInfo(); 126 mCameraInfo[1].facing = CameraInfo.CAMERA_FACING_FRONT; 133 mOneCameraInfo = new CameraInfo[1]; 134 mOneCameraInfo[0] = new CameraInfo(); [all...] |
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
VideoCaptureFactory.java | 47 private final android.hardware.Camera.CameraInfo mCameraInfo; 50 // Note that these devices have no Camera.CameraInfo. 128 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT ? "front" : 131 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT ? "front" : 139 return android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK; 145 private android.hardware.Camera.CameraInfo getCameraInfo(int id) { 146 android.hardware.Camera.CameraInfo cameraInfo = 147 new android.hardware.Camera.CameraInfo(); 149 android.hardware.Camera.getCameraInfo(id, cameraInfo); [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraHolder.java | 21 import android.hardware.Camera.CameraInfo; 54 private CameraInfo[] mInfo; 99 mInfo = new CameraInfo[mNumberOfCameras]; 101 mInfo[i] = new CameraInfo(); 103 if (mBackCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_BACK) { 106 if (mFrontCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_FRONT) { 116 public CameraInfo[] getCameraInfo() {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CameraTest.java | 182 Camera.CameraInfo cameraQuery = new Camera.CameraInfo(); 188 assertThat(cameraQuery.facing, equalTo(Camera.CameraInfo.CAMERA_FACING_BACK)); 194 Camera.CameraInfo cameraQuery = new Camera.CameraInfo(); 200 assertThat( cameraQuery.facing, equalTo(Camera.CameraInfo.CAMERA_FACING_BACK) ); 203 assertThat( cameraQuery.facing, equalTo(Camera.CameraInfo.CAMERA_FACING_FRONT) ); 208 Camera.CameraInfo frontCamera = new Camera.CameraInfo(); 209 frontCamera.facing = Camera.CameraInfo.CAMERA_FACING_BACK [all...] |
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 103 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_BACK); 111 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_FRONT); 117 * @param position Physical position of the camera i.e Camera.CameraInfo.CAMERA_FACING_FRONT 118 * or Camera.CameraInfo.CAMERA_FACING_BACK. 127 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); 129 Camera.getCameraInfo(i, cameraInfo); 130 if (cameraInfo.facing == position) {
|
/developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 103 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_BACK); 111 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_FRONT); 117 * @param position Physical position of the camera i.e Camera.CameraInfo.CAMERA_FACING_FRONT 118 * or Camera.CameraInfo.CAMERA_FACING_BACK. 127 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); 129 Camera.getCameraInfo(i, cameraInfo); 130 if (cameraInfo.facing == position) {
|
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 103 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_BACK); 111 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_FRONT); 117 * @param position Physical position of the camera i.e Camera.CameraInfo.CAMERA_FACING_FRONT 118 * or Camera.CameraInfo.CAMERA_FACING_BACK. 127 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); 129 Camera.getCameraInfo(i, cameraInfo); 130 if (cameraInfo.facing == position) {
|
/developers/samples/android/common/src/java/com/example/android/common/media/ |
CameraHelper.java | 103 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_BACK); 111 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_FRONT); 117 * @param position Physical position of the camera i.e Camera.CameraInfo.CAMERA_FACING_FRONT 118 * or Camera.CameraInfo.CAMERA_FACING_BACK. 127 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); 129 Camera.getCameraInfo(i, cameraInfo); 130 if (cameraInfo.facing == position) {
|