summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/data/LocalData.java
Commit message (Collapse)AuthorAgeFilesLines
* Don't allow actions on items in progress.Angus Kong2013-10-031-3/+11
| | | | | | bug:11049529 Change-Id: Id6bd0f912f153b8b8e6b1a525a383ad8cadbe3dd
* Fix incorrect width and height from MediaStore.ztenghui2013-09-271-1/+2
| | | | | | bug:10768232 Change-Id: I53673b8ef341f7388a9a4aaa7b03f804485928cf
* Make sure we switch to preview view when resuming.Sascha Haeberling2013-09-091-2/+2
| | | | | | | | | | Bug: 10640328 But we need to make sure to not always switch in onResume, as some activities stared from us (like playing a video or editing) require the UI flow to stay in filmstrip. Change-Id: Id2911be4949de9fd9fc4cb3451dd34e3fae8becf
* 1:1 zoom integrationDoris Liu2013-08-291-7/+0
| | | | | Bug: 10308195 Change-Id: I940891f6aa3e24575174ff888c384fddaaa5b3c8
* Add rotate support in Film Stripztenghui2013-08-281-2/+28
| | | | | | | | | Move the exif related code under src.com.android.camera.exif. Refactor the member variables under LocalMediaData.java. Refactor the LocalData to make sure they are immutables for thread safety. bug:10367037 Change-Id: I0e84bcc0097925b2be749fe016984177a68e0a4d
* Bring back Share to filmstripMangesh Ghiware2013-08-261-11/+25
| | | | | Bug: 10367406 Change-Id: I37834442e3af209fb00b98e6da524263ac8c70f0
* Bring back the bottom controls in Filmstrip.Sascha Haeberling2013-08-191-0/+6
| | | | | | | | | Bug: 10367172 Bug: 10074320 Also hooks up the Edit button and the edit menu item. Change-Id: I0ce3344e09fdfd7794c417ddbe44b3d247a7ed7c
* Set views in filmstrip invisible when alpha = 0.Angus Kong2013-08-151-0/+1
| | | | | | bug:10096747 Change-Id: Idcb62448acbf38d581af3a08a9bcbc0cad0ab6be
* Implent show-on-map functionality.Sascha Haeberling2013-08-151-2/+1
| | | | | | | | | Also make sure the show-on-map item is only shown for items with coordinates. and add the coordinate to the details view. Bug: 10346208 Bug: 10330505 Change-Id: Idaeec207bcc0e7311fa3b651868515ccea81d083
* Brings back the details menu with most EXIF data in it.Sascha Haeberling2013-08-151-1/+5
| | | | | | | | Some are still missing and will come back later. Bug: 10330505 Change-Id: I7bc44b19fac5b47557d5feae3ed969040ac3ae9b
* Add local data types.Angus Kong2013-08-121-1/+22
| | | | | | | | We need local data types to generate different menus. bug:10245009 Change-Id: I95f947c11ad3f39172c43f75f4108bf720148278
* Refactor data/LocalData.Angus Kong2013-08-071-695/+2
| | | | | | Make the design more easily understood. Change-Id: I4f7dbe7d3f0a0534c13996b773f1767997848746
* This adds the following four CLs to Camera2:Sascha Haeberling2013-08-061-13/+115
| | | | | | | | | | | | http://ag/339319 http://ag/338974 http://ag/338401 http://ag/324149 Adapted to work in Camera2 and adding a .gitignore so that temporary Eclipse files and folders are not submitted. Change-Id: I40295c7f0139f76270c44f0ca395c0574a288569
* This removes all non-Camera stuff from Camera2.Sascha Haeberling2013-08-061-13/+7
| | | | | | | Note: Camera2 is a clone of Gallery2 right now. Note 2: I will bring .mk files back later. Change-Id: Ida958654296f5ebaacb6bb0ff59d52a7c37ce6fc
* Add LocalDataAdapter and wrappers.Angus Kong2013-08-011-7/+52
| | | | | | | | | | | | | | | | 1. FixedFirstDataAdapter wraps another adapter and add a data at the first position. 2. FixedLastDataAdapter wraps another adapter and add a data at the last position. 3. Make the LocalData interface more complete. - onFullScreen() - canSwipeInFullScreen() - getPath() 3. Add methods to the FilmStripView.DataAdapter to receive UI events. - onDataCentered() - onDataFullScreen() Change-Id: I26d3a3b7facd0c451af43ce5fbbcab2baaaec427
* Adds back the PhotoSphere View icon in filmstrip.Sascha Haeberling2013-08-011-15/+77
| | | | | | | | | | | This also exercises the "leave a place cleaner than you found it" rule by cleaning up stuff: - Formatting according to the Android format rules - Removing unused code - Putting braces where they belong. Change-Id: Ie1dbfe9195bf3e20d9624d7ae85eeba16df8f931
* Merge "Add fullscreen mode." into gb-ub-photos-carlsbadAngus Kong2013-06-261-1/+2
|\
| * Add fullscreen mode.Angus Kong2013-06-261-1/+2
| | | | | | | | | | | | | | | | | | 1. Single tap to center a picture. 2. Double tap to fullscreen 3. In fullscreen, the next picture is on the left but the previous one is under the current one. Change-Id: I728da2487ea649162be4f1858a8524331c625157
* | Fix check of failing decoding boundaries callsAngus Kong2013-06-261-14/+6
|/ | | | Change-Id: I7b7780de9988312f9ce79c2a27132b7f6acb1c4e
* Don't use post-ICS API View.setBackground().Angus Kong2013-06-251-22/+34
| | | | | | View.setBackground() is API level 16. Change-Id: I7e56939efbcaa6e152c19c37a4a54a133bed3b47
* Remove files actually.Angus Kong2013-06-141-14/+74
| | | | Change-Id: Ideba2dfff0678f1049bf2bdc93cee98bbb0e589e
* Play video from flim strip.Angus Kong2013-06-041-21/+45
| | | | Change-Id: Iaedf42d7dabee53f75a20c57f9e6916864ea271f
* Merge "Add secure camera support." into gb-ub-photos-carlsbadAngus Kong2013-06-041-1/+73
|\
| * Add secure camera support.Angus Kong2013-06-031-1/+73
| | | | | | | | Change-Id: I672d76cb4de37c46394a5e8ee2899cf571158a2c
* | Add play icon for videos.Angus Kong2013-06-031-6/+22
|/ | | | Change-Id: Idf73da3c2a8a3beaf45da9f8219ed71c720a5bfd
* Fix mistakenly reversed order in FilmStripView.Angus Kong2013-05-301-2/+2
| | | | Change-Id: Ia9b285adbf448383e8f19081a16b8351b3c201e4
* Fix/simplify comparator of LocalData.Angus Kong2013-05-231-9/+11
| | | | Change-Id: I433516d630de3d0f98d7ab8c35becf0cc6495bef
* Add remove UI in FilmStripViewAngus Kong2013-05-161-0/+19
| | | | | | | 1. Add UI support for swipe to delete. 2. Don't set children padding. Change-Id: I26be97f14d569db3df6a127cd00efe3c0c60f22c
* Improve bitmap load efficiency.Angus Kong2013-05-141-0/+421
Call prepare before/recycle after using image data. Change-Id: I3387c8ca68f57c3949fed2aaa3e26490e66c791a