Home
last modified time | relevance | path

Searched refs:intentCameraId (Results 1 – 4 of 4) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java495 int intentCameraId = in getCameraFacingIntentExtras() local
498 if (isFrontCameraIntent(intentCameraId)) { in getCameraFacingIntentExtras()
504 } else if (isBackCameraIntent(intentCameraId)) { in getCameraFacingIntentExtras()
514 private static boolean isFrontCameraIntent(int intentCameraId) { in isFrontCameraIntent() argument
515 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in isFrontCameraIntent()
518 private static boolean isBackCameraIntent(int intentCameraId) { in isBackCameraIntent() argument
519 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in isBackCameraIntent()
DCamera.java1105 int intentCameraId = Util.getCameraFacingIntentExtras(this); in getPreferredCameraId() local
1106 if (intentCameraId != -1) { in getPreferredCameraId()
1107 mCameraId = intentCameraId; in getPreferredCameraId()
DVideoCamera.java363 int intentCameraId = Util.getCameraFacingIntentExtras(this); in onCreate() local
364 if (intentCameraId != -1) { in onCreate()
365 mCameraId = intentCameraId; in onCreate()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java647 int intentCameraId = in getCameraFacingIntentExtras() local
650 if (isFrontCameraIntent(intentCameraId)) { in getCameraFacingIntentExtras()
657 } else if (isBackCameraIntent(intentCameraId)) { in getCameraFacingIntentExtras()
668 private static boolean isFrontCameraIntent(int intentCameraId) { in isFrontCameraIntent() argument
669 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in isFrontCameraIntent()
672 private static boolean isBackCameraIntent(int intentCameraId) { in isBackCameraIntent() argument
673 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in isBackCameraIntent()