Home
last modified time | relevance | path

Searched refs:cameraInfo (Results 1 – 9 of 9) sorted by relevance

/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/
DCameraPreviewFragment.java64 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()
DCameraPreview.java44 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/
DCameraPreviewActivity.java56 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()
DCameraPreview.java44 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/BasicMediaDecoder/src/com.example.android.common.media/
DCameraHelper.java135 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/MediaRecorder/src/com.example.android.common.media/
DCameraHelper.java135 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/
DCameraHelper.java135 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/
DCameraPreview.java72 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/
DCameraFragment.java63 CameraInfo cameraInfo = new CameraInfo(); in onCreate() local
65 Camera.getCameraInfo(i, cameraInfo); in onCreate()
66 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in onCreate()