Searched refs:intentCameraId (Results 1 – 4 of 4) sorted by relevance
495 int intentCameraId = in getCameraFacingIntentExtras() local498 if (isFrontCameraIntent(intentCameraId)) { in getCameraFacingIntentExtras()504 } else if (isBackCameraIntent(intentCameraId)) { in getCameraFacingIntentExtras()514 private static boolean isFrontCameraIntent(int intentCameraId) { in isFrontCameraIntent() argument515 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in isFrontCameraIntent()518 private static boolean isBackCameraIntent(int intentCameraId) { in isBackCameraIntent() argument519 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in isBackCameraIntent()
1105 int intentCameraId = Util.getCameraFacingIntentExtras(this); in getPreferredCameraId() local1106 if (intentCameraId != -1) { in getPreferredCameraId()1107 mCameraId = intentCameraId; in getPreferredCameraId()
363 int intentCameraId = Util.getCameraFacingIntentExtras(this); in onCreate() local364 if (intentCameraId != -1) { in onCreate()365 mCameraId = intentCameraId; in onCreate()
647 int intentCameraId = in getCameraFacingIntentExtras() local650 if (isFrontCameraIntent(intentCameraId)) { in getCameraFacingIntentExtras()657 } else if (isBackCameraIntent(intentCameraId)) { in getCameraFacingIntentExtras()668 private static boolean isFrontCameraIntent(int intentCameraId) { in isFrontCameraIntent() argument669 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in isFrontCameraIntent()672 private static boolean isBackCameraIntent(int intentCameraId) { in isBackCameraIntent() argument673 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in isBackCameraIntent()