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()
642 int intentCameraId = in getCameraFacingIntentExtras() local645 if (isFrontCameraIntent(intentCameraId)) { in getCameraFacingIntentExtras()652 } else if (isBackCameraIntent(intentCameraId)) { in getCameraFacingIntentExtras()663 private static boolean isFrontCameraIntent(int intentCameraId) { in isFrontCameraIntent() argument664 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in isFrontCameraIntent()667 private static boolean isBackCameraIntent(int intentCameraId) { in isBackCameraIntent() argument668 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in isBackCameraIntent()