HomeSort by relevance Sort by last modified time
    Searched refs:CameraInfo (Results 26 - 50 of 103) sorted by null

12 3 4 5

  /developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/
CameraPreview.java 41 private Camera.CameraInfo mCameraInfo;
44 public CameraPreview(Context context, Camera camera, Camera.CameraInfo cameraInfo,
49 if (camera == null || cameraInfo == null) {
53 mCameraInfo = cameraInfo;
114 public static int calculatePreviewOrientation(Camera.CameraInfo info, int rotation) {
133 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) {
CameraPreviewFragment.java 64 Camera.CameraInfo cameraInfo = null;
68 cameraInfo = new Camera.CameraInfo();
69 Camera.getCameraInfo(CAMERA_ID, cameraInfo);
72 if (mCamera == null || cameraInfo == null) {
85 mPreview = new CameraPreview(getActivity(), mCamera, cameraInfo, displayRotation);
  /development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
CameraHelper.java 111 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_BACK);
119 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_FRONT);
125 * @param position Physical position of the camera i.e Camera.CameraInfo.CAMERA_FACING_FRONT
126 * or Camera.CameraInfo.CAMERA_FACING_BACK.
135 Camera.CameraInfo cameraInfo = new Camera.CameraInfo();
137 Camera.getCameraInfo(i, cameraInfo);
138 if (cameraInfo.facing == position) {
  /development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
CameraHelper.java 111 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_BACK);
119 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_FRONT);
125 * @param position Physical position of the camera i.e Camera.CameraInfo.CAMERA_FACING_FRONT
126 * or Camera.CameraInfo.CAMERA_FACING_BACK.
135 Camera.CameraInfo cameraInfo = new Camera.CameraInfo();
137 Camera.getCameraInfo(i, cameraInfo);
138 if (cameraInfo.facing == position) {
  /development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
CameraHelper.java 111 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_BACK);
119 return getDefaultCamera(Camera.CameraInfo.CAMERA_FACING_FRONT);
125 * @param position Physical position of the camera i.e Camera.CameraInfo.CAMERA_FACING_FRONT
126 * or Camera.CameraInfo.CAMERA_FACING_BACK.
135 Camera.CameraInfo cameraInfo = new Camera.CameraInfo();
137 Camera.getCameraInfo(i, cameraInfo);
138 if (cameraInfo.facing == position) {
  /development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/
CameraPreview.java 41 private Camera.CameraInfo mCameraInfo;
44 public CameraPreview(Context context, Camera camera, Camera.CameraInfo cameraInfo,
49 if (camera == null || cameraInfo == null) {
53 mCameraInfo = cameraInfo;
114 public static int calculatePreviewOrientation(Camera.CameraInfo info, int rotation) {
133 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) {
CameraPreviewFragment.java 64 Camera.CameraInfo cameraInfo = null;
68 cameraInfo = new Camera.CameraInfo();
69 Camera.getCameraInfo(CAMERA_ID, cameraInfo);
72 if (mCamera == null || cameraInfo == null) {
85 mPreview = new CameraPreview(getActivity(), mCamera, cameraInfo, displayRotation);
  /frameworks/av/camera/aidl/android/hardware/
ICameraService.aidl 26 import android.hardware.CameraInfo;
64 CameraInfo getCameraInfo(int cameraId);
  /developers/build/prebuilts/gradle/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/
CameraPreviewActivity.java 56 Camera.CameraInfo cameraInfo = new Camera.CameraInfo();
57 Camera.getCameraInfo(CAMERA_ID, cameraInfo);
59 if (mCamera == null || cameraInfo == null) {
72 mPreview = new CameraPreview(this, mCamera, cameraInfo, displayRotation);
  /developers/samples/android/system/RuntimePermissionsBasic/Application/src/main/java/com/example/android/basicpermissions/camera/
CameraPreviewActivity.java 56 Camera.CameraInfo cameraInfo = new Camera.CameraInfo();
57 Camera.getCameraInfo(CAMERA_ID, cameraInfo);
59 if (mCamera == null || cameraInfo == null) {
72 mPreview = new CameraPreview(this, mCamera, cameraInfo, displayRotation);
  /development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/
CameraPreviewActivity.java 56 Camera.CameraInfo cameraInfo = new Camera.CameraInfo();
57 Camera.getCameraInfo(CAMERA_ID, cameraInfo);
59 if (mCamera == null || cameraInfo == null) {
72 mPreview = new CameraPreview(this, mCamera, cameraInfo, displayRotation);
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
CameraEnumerationAndroid.java 132 android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo();
141 (info.facing == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT) ? "front" : "back";
149 return getNameOfDevice(android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT);
155 return getNameOfDevice(android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK);
214 final android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo();
  /packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
VideoChatTestActivity.java 80 Camera.CameraInfo info =
81 new Camera.CameraInfo();
197 Camera.CameraInfo info = new Camera.CameraInfo();
199 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) {
207 Camera.CameraInfo info = new Camera.CameraInfo();
209 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) {
284 android.hardware.Camera.CameraInfo info =
285 new android.hardware.Camera.CameraInfo();
    [all...]
  /developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/camera/
CameraPreviewFragment.java 64 Camera.CameraInfo cameraInfo = null;
68 cameraInfo = new Camera.CameraInfo();
69 Camera.getCameraInfo(CAMERA_ID, cameraInfo);
72 if (mCamera == null || cameraInfo == null) {
85 mPreview = new CameraPreview(getActivity(), mCamera, cameraInfo, displayRotation);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
GetBitmapSurfaceViewActivity.java 97 android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo();
118 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) {
TextureViewActivity.java 119 Camera.CameraInfo info = new Camera.CameraInfo();
122 if (info.facing == Camera.CameraInfo.CAMERA_FACING_BACK) break;
  /packages/apps/Camera2/src/com/android/camera/one/v1/
OneCameraCharacteristicsImpl.java 37 private final Camera.CameraInfo mCameraInfo;
47 Camera.CameraInfo cameraInfo, Camera.Parameters cameraParameters) {
48 mCameraInfo = cameraInfo;
84 if (direction == Camera.CameraInfo.CAMERA_FACING_BACK) {
  /external/opencv3/modules/java/generator/src/java/
android+JavaCameraView.java 100 Camera.CameraInfo cameraInfo = new Camera.CameraInfo();
102 Camera.getCameraInfo( camIdx, cameraInfo );
103 if (cameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_BACK) {
110 Camera.CameraInfo cameraInfo = new Camera.CameraInfo();
112 Camera.getCameraInfo( camIdx, cameraInfo );
    [all...]
  /packages/apps/Camera2/tests/src/com/android/camera/stress/
ImageCapture.java 99 android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK);
113 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT);
VideoCapture.java 92 android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK);
106 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT);
  /packages/apps/Camera2/tests_camera/src/com/android/camera/stress/
ImageCapture.java 100 android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK);
115 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT);
VideoCapture.java 94 android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK);
109 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT);
  /packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
ImageCapture.java 102 android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK);
117 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT);
VideoCapture.java 96 android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK);
111 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT);
  /packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
CameraManager.java 26 import android.hardware.Camera.CameraInfo;
84 void getCameraInfo(int index, CameraInfo cameraInfo);
132 public void getCameraInfo(final int index, final CameraInfo cameraInfo) {
133 Camera.getCameraInfo(index, cameraInfo);
147 /** The CameraInfo for the currently selected camera */
148 private final CameraInfo mCameraInfo;
213 mCameraInfo = new CameraInfo();
219 final CameraInfo cameraInfo = new CameraInfo()
    [all...]

Completed in 385 milliseconds

12 3 4 5