summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/Storage.java
Commit message (Collapse)AuthorAgeFilesLines
* Change low storage threshold to 50MB.Chih-yu Huang2011-10-141-0/+2
| | | | | bug:5334604 Change-Id: I410bcf7322c71d1ca25d3de36d574616411b5533
* Add dimension attributes to MediaStore.Angus Kong2011-09-291-2/+4
| | | | | | | | 1. Width/height of still images added. 2. Resolution of videos added. bug:5376821 Change-Id: I809743ae777e6bbc01e3a86651e7cd6489a81c86
* Do not take the picture if the storage is not ready.Wu-cheng Li2011-09-131-0/+1
| | | | | | | | | +Add debug messages because UnsupportedOperationException still happends when Environment.getExternalStorageState is Environment.MEDIA_MOUNTED. bug:5293390 Change-Id: Id00a0887f653fe29e09bbb7511ea3fcc833eee71
* Check in the Mosaic Stitching codes.Wei-Ta Chen2011-07-271-1/+1
| | | | | | | | | | 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
* Refactor RotateImageView and thumbnail.Wu-cheng Li2011-05-171-125/+5
| | | | Change-Id: Ic435b7cd97ba775ec8f4b8342a1d4d25e2a5120c
* Correct the path of 100ANDRO.Wu-cheng Li2011-01-171-1/+1
| | | | | bug:3361763 Change-Id: Ieed266fb498d41ee8dc5933d2fe8947037e09852
* Refactoring: Remove the dependency to ImageManager.Chia-chi Yeh2010-12-291-1/+11
| | | | | | Also polish Storage.addImage() a little bit. Change-Id: I1001f2aeab031e39510ac513eafe85581e164b95
* Refactoring: Remove the dependency of ExifInterface.Chia-chi Yeh2010-12-291-18/+1
| | | | | | | | | 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
* Refactoring: Reduce the dependency to the old gallery code.Chia-chi Yeh2010-12-271-0/+192
| | | | | | Most of the functionalities will be implemented in Storage class. Change-Id: Ibe0185978de511ead4cd91870070bdd2abce1e00
* Check and create directories in Storage.getAvailableSpace().Chia-chi Yeh2010-12-221-9/+22
| | | | | | | | | | 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
* Refactoring: Extract the space calculating code into a new class.Chia-chi Yeh2010-12-211-0/+47
Also fix several related bugs. Bug: 2811896 Change-Id: I2ee31471ba7c67ab30516e85598190ab7630254d