HomeSort by relevance Sort by last modified time
    Searched defs:CameraUtil (Results 1 - 8 of 8) sorted by null

  /packages/apps/Camera2/src/com/android/camera/app/
CameraApp.java 21 import com.android.camera.util.CameraUtil;
30 CameraUtil.initialize(this);
  /packages/apps/Camera2/tests/src/com/android/camera/unittest/
CameraUnitTest.java 19 import com.android.camera.util.CameraUtil;
29 int h = CameraUtil.ORIENTATION_HYSTERESIS;
30 assertEquals(0, CameraUtil.roundOrientation(0, 0));
31 assertEquals(0, CameraUtil.roundOrientation(359, 0));
32 assertEquals(0, CameraUtil.roundOrientation(0 + 44 + h, 0));
33 assertEquals(90, CameraUtil.roundOrientation(0 + 45 + h, 0));
34 assertEquals(0, CameraUtil.roundOrientation(360 - 44 - h, 0));
35 assertEquals(270, CameraUtil.roundOrientation(360 - 45 - h, 0));
37 assertEquals(90, CameraUtil.roundOrientation(90, 90));
38 assertEquals(90, CameraUtil.roundOrientation(90 + 44 + h, 90))
    [all...]
  /packages/apps/Camera2/src/com/android/camera/ui/
FaceView.java 34 import com.android.camera.util.CameraUtil;
197 CameraUtil.prepareMatrix(mMatrix, mMirror, mDisplayOrientation, rw, rh);
212 if (LOGV) CameraUtil.dumpRect(mRect, "Original rect");
214 if (LOGV) CameraUtil.dumpRect(mRect, "Transformed rect");
  /packages/apps/Camera2/src/com/android/camera/
FocusOverlayManager.java 31 import com.android.camera.util.CameraUtil;
155 mFocusAreaSupported = CameraUtil.isFocusAreaSupported(parameters);
156 mMeteringAreaSupported = CameraUtil.isMeteringAreaSupported(parameters);
157 mLockAeAwbNeeded = (CameraUtil.isAutoExposureLockSupported(mParameters) ||
158 CameraUtil.isAutoWhiteBalanceLockSupported(mParameters));
182 CameraUtil.prepareMatrix(matrix, mMirror, mDisplayOrientation,
448 if (CameraUtil.isSupported(mode, supportedFocusModes)) {
455 if (!CameraUtil.isSupported(mFocusMode, supportedFocusModes)) {
458 if (CameraUtil.isSupported(Parameters.FOCUS_MODE_AUTO,
492 if (CameraUtil.FOCUS_MODE_CONTINUOUS_PICTURE.equals(mFocusMode))
    [all...]
CameraActivity.java 84 import com.android.camera.util.CameraUtil;
228 CameraUtil.showErrorAndFinish(CameraActivity.this,
234 CameraUtil.showErrorAndFinish(CameraActivity.this,
240 CameraUtil.showErrorAndFinish(CameraActivity.this,
756 sendBroadcast(new Intent(CameraUtil.ACTION_NEW_VIDEO, uri));
759 CameraUtil.broadcastNewPicture(this, uri);
    [all...]
PhotoModule.java 66 import com.android.camera.util.CameraUtil;
268 if (CameraUtil.getDisplayRotation(mActivity) != mDisplayRotation) {
333 CameraUtil.showErrorAndFinish(mActivity,
340 CameraUtil.showErrorAndFinish(mActivity,
463 mCameraDevice = CameraUtil.openCamera(
686 if (mSceneMode == CameraUtil.SCENE_MODE_HDR) {
822 r.title = CameraUtil.createJpegName(date);
878 final boolean animateBefore = (mSceneMode == CameraUtil.SCENE_MODE_HDR);
893 mJpegRotation = CameraUtil.getJpegRotation(mCameraId, orientation);
896 CameraUtil.setGpsParameters(mParameters, loc)
    [all...]
VideoModule.java 63 import com.android.camera.util.CameraUtil;
208 mCameraDevice = CameraUtil.openCamera(
247 if ((CameraUtil.getDisplayRotation(mActivity) != mDisplayRotation)
307 int intentCameraId = CameraUtil.getCameraFacingIntentExtras(mActivity);
386 if (CameraUtil.isVideoSnapshotSupported(mParameters) && !mIsVideoCaptureIntent) {
396 int rotation = CameraUtil.getJpegRotation(mCameraId, mOrientation);
399 CameraUtil.setGpsParameters(mParameters, loc);
434 int newOrientation = CameraUtil.roundOrientation(orientation, mOrientation);
619 Size optimalSize = CameraUtil.getOptimalPreviewSize(mActivity, sizes,
692 mDisplayRotation = CameraUtil.getDisplayRotation(mActivity)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
CameraUtil.java 74 public class CameraUtil {
159 private CameraUtil() {
608 currentActivity.getIntent().getIntExtra(CameraUtil.EXTRAS_CAMERA_FACING, -1);
    [all...]

Completed in 313 milliseconds