Searched refs:cameraInfo (Results 1 – 9 of 9) sorted by relevance
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/ |
D | CameraPreviewFragment.java | 64 Camera.CameraInfo cameraInfo = null; in onCreateView() local 68 cameraInfo = new Camera.CameraInfo(); in onCreateView() 69 Camera.getCameraInfo(CAMERA_ID, cameraInfo); in onCreateView() 72 if (mCamera == null || cameraInfo == null) { in onCreateView() 85 mPreview = new CameraPreview(getActivity(), mCamera, cameraInfo, displayRotation); in onCreateView()
|
D | CameraPreview.java | 44 public CameraPreview(Context context, Camera camera, Camera.CameraInfo cameraInfo, in CameraPreview() argument 49 if (camera == null || cameraInfo == null) { in CameraPreview() 53 mCameraInfo = cameraInfo; in CameraPreview()
|
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/ |
D | CameraPreviewActivity.java | 56 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); in onCreate() local 57 Camera.getCameraInfo(CAMERA_ID, cameraInfo); in onCreate() 59 if (mCamera == null || cameraInfo == null) { in onCreate() 72 mPreview = new CameraPreview(this, mCamera, cameraInfo, displayRotation); in onCreate()
|
D | CameraPreview.java | 44 public CameraPreview(Context context, Camera camera, Camera.CameraInfo cameraInfo, in CameraPreview() argument 49 if (camera == null || cameraInfo == null) { in CameraPreview() 53 mCameraInfo = cameraInfo; in CameraPreview()
|
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
D | CameraHelper.java | 135 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); in getDefaultCamera() local 137 Camera.getCameraInfo(i, cameraInfo); in getDefaultCamera() 138 if (cameraInfo.facing == position) { in getDefaultCamera()
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
D | CameraHelper.java | 135 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); in getDefaultCamera() local 137 Camera.getCameraInfo(i, cameraInfo); in getDefaultCamera() 138 if (cameraInfo.facing == position) { in getDefaultCamera()
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
D | CameraHelper.java | 135 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); in getDefaultCamera() local 137 Camera.getCameraInfo(i, cameraInfo); in getDefaultCamera() 138 if (cameraInfo.facing == position) { in getDefaultCamera()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | CameraPreview.java | 72 CameraInfo cameraInfo = new CameraInfo(); in onCreate() local 74 Camera.getCameraInfo(i, cameraInfo); in onCreate() 75 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in onCreate()
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | CameraFragment.java | 63 CameraInfo cameraInfo = new CameraInfo(); in onCreate() local 65 Camera.getCameraInfo(i, cameraInfo); in onCreate() 66 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in onCreate()
|