History log of /packages/apps/Camera/src/com/android/camera/Storage.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e0bbb93f6a598206ecd6e09150d51eae64bd3507 12-Nov-2011 Wei-Ta Chen <weita@google.com> Set the orientation of a panorama image.

The panorama image returned from the panorama library is oriented based
on the natural orientation of the camera.
We set an orientation in its EXIF header, so that the image can be
displayed correctly. The orientation is calculated by compensating the
device orientation and the camera orientation respective to the natural
orientation of the device.

Bug: 5603313
Change-Id: Id6907cb08a7ff77e44736f3c3cd1503e7a68d783
/packages/apps/Camera/src/com/android/camera/Storage.java
80efb2ecfb09db1ac0915b13a91165d06bfbee74 26-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5489985: Handle the exception when the external volume has not been added to MediaProvider.

Change-Id: I5bb9e59d5b1dae4c3980f624d38194fbb514d7fa
/packages/apps/Camera/src/com/android/camera/Storage.java
a5edbe951a507a066f7601204e633dbd2dff3224 14-Oct-2011 Chih-yu Huang <akahuang@google.com> Change low storage threshold to 50MB.

bug:5334604
Change-Id: I410bcf7322c71d1ca25d3de36d574616411b5533
/packages/apps/Camera/src/com/android/camera/Storage.java
ea312297ff6132bbafed99b90a72e4858b888fa4 28-Sep-2011 Angus Kong <shkong@google.com> Add dimension attributes to MediaStore.

1. Width/height of still images added.
2. Resolution of videos added.

bug:5376821
Change-Id: I809743ae777e6bbc01e3a86651e7cd6489a81c86
/packages/apps/Camera/src/com/android/camera/Storage.java
595d33f1308089ea4e656e247548a71b218d9fa5 12-Sep-2011 Wu-cheng Li <wuchengli@google.com> Do not take the picture if the storage is not ready.

+Add debug messages because UnsupportedOperationException
still happends when Environment.getExternalStorageState
is Environment.MEDIA_MOUNTED.

bug:5293390
Change-Id: Id00a0887f653fe29e09bbb7511ea3fcc833eee71
/packages/apps/Camera/src/com/android/camera/Storage.java
bdc7e2b461064b25b7f17b0941077fc97653093d 15-Jun-2011 Wei-Ta Chen <weita@google.com> Check in the Mosaic Stitching codes.

1. Camera setup moved to activity level.
2. Fixed releasing and acquiring camera process.
3. Unused .xml files removed.
4. Style issues fixed.

Bug: 5031489
Change-Id: Ifd271588ca2168398e17f204f065681ead2d8f2f
/packages/apps/Camera/src/com/android/camera/Storage.java
8ab2b624d51b3b8254ece98c46a7e22a6fb5d4aa 13-May-2011 Wu-cheng Li <wuchengli@google.com> Refactor RotateImageView and thumbnail.

Change-Id: Ic435b7cd97ba775ec8f4b8342a1d4d25e2a5120c
/packages/apps/Camera/src/com/android/camera/Storage.java
07713606e48802a2516c34c9bb9df4fc7f77553f 17-Jan-2011 Wu-cheng Li <wuchengli@google.com> Correct the path of 100ANDRO.

bug:3361763
Change-Id: Ieed266fb498d41ee8dc5933d2fe8947037e09852
/packages/apps/Camera/src/com/android/camera/Storage.java
0aaed976b603c56006213d196e6b0703285dafd5 29-Dec-2010 Chia-chi Yeh <chiachi@android.com> Refactoring: Remove the dependency to ImageManager.

Also polish Storage.addImage() a little bit.

Change-Id: I1001f2aeab031e39510ac513eafe85581e164b95
/packages/apps/Camera/src/com/android/camera/Storage.java
37cffb8467d1ccca719a7847582d04da36c5bc6f 27-Dec-2010 Chia-chi Yeh <chiachi@android.com> Refactoring: Remove the dependency of ExifInterface.

Since we only need the orientation information from Exif, it is
fairly simple to implement one by ourselves. This will avoid
disk access and JNI overhead, and save some CPU time since other
tags are not touched.

Change-Id: I962e2f19ec88a082bfd8eb438e255bffad2a5365
/packages/apps/Camera/src/com/android/camera/Storage.java
d1ec4e36667086836cd243bee38aded5e1fd88b1 22-Dec-2010 Chia-chi Yeh <chiachi@android.com> Refactoring: Reduce the dependency to the old gallery code.

Most of the functionalities will be implemented in Storage class.

Change-Id: Ibe0185978de511ead4cd91870070bdd2abce1e00
/packages/apps/Camera/src/com/android/camera/Storage.java
721d2d2a963799fad4bda9bb4b278c24fc469303 22-Dec-2010 Chia-chi Yeh <chiachi@android.com> Check and create directories in Storage.getAvailableSpace().

Since creating directories and files is not an atomic operation,
there is no way to prevent MediaRecorder.prepare() from throwing
exceptions. Now we let Storage.getAvailableSpace() to create the
directory and then bail out gracefully if it still fails.

Bug: 3304420
Change-Id: I98f1975b90250d63b60b36950e5813528862cc98
/packages/apps/Camera/src/com/android/camera/Storage.java
c8a7fc07e3b905a723e753b0c9144de2b0343f1f 20-Dec-2010 Chia-chi Yeh <chiachi@android.com> Refactoring: Extract the space calculating code into a new class.

Also fix several related bugs.

Bug: 2811896
Change-Id: I2ee31471ba7c67ab30516e85598190ab7630254d
/packages/apps/Camera/src/com/android/camera/Storage.java