Lines Matching refs:CameraUtil
67 import com.android.camera.util.CameraUtil;
270 if (CameraUtil.getDisplayRotation(mActivity) != mDisplayRotation) {
339 CameraUtil.showErrorAndFinish(mActivity,
346 CameraUtil.showErrorAndFinish(mActivity,
469 CameraUtil.openCamera(
693 if (mSceneMode == CameraUtil.SCENE_MODE_HDR) {
829 r.title = CameraUtil.createJpegName(date);
886 final boolean animateBefore = (mSceneMode == CameraUtil.SCENE_MODE_HDR);
901 mJpegRotation = CameraUtil.getJpegRotation(mCameraId, orientation);
904 CameraUtil.setGpsParameters(mParameters, loc);
931 int intentCameraId = CameraUtil.getCameraFacingIntentExtras(mActivity);
972 mOrientation = CameraUtil.roundOrientation(orientation, mOrientation);
1028 CameraUtil.closeSilently(outputStream);
1033 Bitmap bitmap = CameraUtil.makeBitmap(data, 50 * 1024);
1034 bitmap = CameraUtil.rotate(bitmap, orientation);
1059 CameraUtil.closeSilently(tempStream);
1069 newExtras.putBoolean(CameraUtil.KEY_RETURN_DATA, true);
1072 newExtras.putBoolean(CameraUtil.KEY_SHOW_WHEN_LOCKED, true);
1120 if (mSceneMode == CameraUtil.SCENE_MODE_HDR) {
1175 mCameraDevice = CameraUtil.openCamera(
1336 if (mDisplayRotation != CameraUtil.getDisplayRotation(mActivity)) {
1476 mDisplayRotation = CameraUtil.getDisplayRotation(mActivity);
1477 mDisplayOrientation = CameraUtil.getDisplayOrientation(mDisplayRotation, mCameraId);
1526 if (CameraUtil.FOCUS_MODE_CONTINUOUS_PICTURE.equals(mFocusManager.getFocusMode())) {
1560 int[] fpsRange = CameraUtil.getPhotoPreviewFpsRange(mParameters);
1567 mParameters.set(CameraUtil.RECORDING_HINT, CameraUtil.FALSE);
1635 Size optimalSize = CameraUtil.getOptimalPreviewSize(mActivity, sizes,
1675 mSceneMode = CameraUtil.SCENE_MODE_HDR;
1682 if (CameraUtil.isSupported(mSceneMode, mParameters.getSupportedSceneModes())) {
1723 if (CameraUtil.isSupported(flashMode, supportedFlash)) {
1737 if (CameraUtil.isSupported(whiteBalance,
1763 if (mParameters.getFocusMode().equals(CameraUtil.FOCUS_MODE_CONTINUOUS_PICTURE)) {
1911 mFocusAreaSupported = CameraUtil.isFocusAreaSupported(mInitialParams);
1912 mMeteringAreaSupported = CameraUtil.isMeteringAreaSupported(mInitialParams);
1913 mAeLockSupported = CameraUtil.isAutoExposureLockSupported(mInitialParams);
1914 mAwbLockSupported = CameraUtil.isAutoWhiteBalanceLockSupported(mInitialParams);
1916 CameraUtil.FOCUS_MODE_CONTINUOUS_PICTURE);
2018 CameraUtil.closeSilently(outputStream);