summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CameraModule.java
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera: Switch to SD card when internal storage is fullkaiyiz2014-08-211-0/+2
| | | | | | | | | | | | | | | | When internal storage is full, switch to SD card for storage. Change the save path from internal storage to SD card when updateStorageSpace is called if: 1. Internal storage is the current save path and does not have enough space 2. SD card has enough space Display a toast message and update display of the save path menu item when the storage path is switched. CRs-Fixed: 687210 Change-Id: I6a9804e4f64e6d55c6aebd889ac2ce5e887cfa5a
* Update preview as per aspect ratio on back key press.Santhosh Kumar H E2013-11-121-0/+2
| | | | | | | | | | | | If user is not in full screen camera preview mode, pressing back key will take user to full screen preview mode. During this all views on filstrip are reloaded and shifted to full screen preview. While reloading preview aspect ratio was not considered so user could see stretch preview in case of front camera. This change calls resize of preview as per aspect ratio after reload. Change-Id: I3dc8db3cc9917f9db33f5101f6c39cf38b950264 CRs-Fixed: 568855
* Set camera controls visibility based on whether the camera preview is centered.Erin Dahlgren2013-10-141-0/+2
| | | | | Bug: 10861015 Change-Id: Ib0c4945e35cee16b73a4bba913e11d0f79a26176
* Fix the flash mode transition in video modeztenghui2013-09-111-4/+1
| | | | | | | | | | onSwitchMode is wrongly overloaded, now is fixed. Basically, onCurrentDataChanged will handle the switching in and out of Camera. onDataFullScreenChange will handle full screen change on non-preview data. bug:10610967 Change-Id: I199a20d40d66b78302e90e0f96826d03076b0e39
* Switch over to use new camera activityDoris Liu2013-06-181-8/+2
| | | | Change-Id: Ib907b5ab5d0e818261e95edd182f2e20c3bbebe0
* Spring cleaningMichael Kolb2013-03-111-2/+0
| | | | Change-Id: I00d7176301501784a6a400bc9ea2cb23ff9ec90a
* Flatten view hierarchy and rotate viewsDoris Liu2013-03-041-0/+2
| | | | | | | | | TODO: SRI pano and Lightcycle can use a bit more flattening. I will get to them next. (Maybe in a different CL.) TODO: Need to cancel capture animation in onConfigurationChanged() Change-Id: I00fd3e098117d9fb74fde2c128407ab6275bcedf
* Make video snapshot save images in the background.Angus Kong2013-01-311-0/+1
| | | | | bug:8114662 Change-Id: I4e96269bd7723dd9a82d2905a01f736c8982c4ed
* Move Camera Java/Native source into Gallery2Michael Kolb2013-01-291-0/+75
Change-Id: I968efe4d656e88a7760d3c0044f65b4adac2ddd1