summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/data
Commit message (Collapse)AuthorAgeFilesLines
* Refactor data/LocalData.Angus Kong2013-08-075-712/+762
| | | | | | Make the design more easily understood. Change-Id: I4f7dbe7d3f0a0534c13996b773f1767997848746
* This adds the following four CLs to Camera2:Sascha Haeberling2013-08-066-111/+330
| | | | | | | | | | | | 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-063-25/+18
| | | | | | | 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-017-175/+620
| | | | | | | | | | | | | | | | 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-013-15/+195
| | | | | | | | | | | 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-262-15/+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-142-16/+131
| | | | Change-Id: Ideba2dfff0678f1049bf2bdc93cee98bbb0e589e
* Add enable/disable swiping to filmstripDoris Liu2013-06-061-1/+1
| | | | Change-Id: I3e019764a72f947545cd230b9bfe45f67d83dc29
* Merge "Play video from flim strip." into gb-ub-photos-carlsbadAngus Kong2013-06-052-25/+47
|\
| * Play video from flim strip.Angus Kong2013-06-042-25/+47
| | | | | | | | Change-Id: Iaedf42d7dabee53f75a20c57f9e6916864ea271f
* | Add interface for swipe checking.Angus Kong2013-06-051-0/+15
|/ | | | | | And fullscreen notification. Change-Id: Ib264904cca47f1fc90ae5e392f0672c253e4d833
* Merge "Add secure camera support." into gb-ub-photos-carlsbadAngus Kong2013-06-042-39/+123
|\
| * Add secure camera support.Angus Kong2013-06-032-39/+123
| | | | | | | | Change-Id: I672d76cb4de37c46394a5e8ee2899cf571158a2c
* | Add play icon for videos.Angus Kong2013-06-031-6/+22
|/ | | | Change-Id: Idf73da3c2a8a3beaf45da9f8219ed71c720a5bfd
* Add newly taken photos/videos to film strip.Angus Kong2013-05-311-0/+40
| | | | Change-Id: I82d9e83d0a45f14036a194cf1ad5793b436357cd
* Merge "Don't use the same drawable for every view." into gb-ub-photos-carlsbadAngus Kong2013-05-311-1/+2
|\
| * Don't use the same drawable for every view.Angus Kong2013-05-301-1/+2
| | | | | | | | | | | | The placeholder drawable should be cloned for each view using it. Change-Id: Ic9f7614cc91c95a16105b3b8a9e07c81a8f1a2d7
* | 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-162-0/+25
| | | | | | | 1. Add UI support for swipe to delete. 2. Don't set children padding. Change-Id: I26be97f14d569db3df6a127cd00efe3c0c60f22c
* Improve bitmap load efficiency.Angus Kong2013-05-142-344/+496
| | | | | Call prepare before/recycle after using image data. Change-Id: I3387c8ca68f57c3949fed2aaa3e26490e66c791a
* Dropping back FilmStripView codes.Angus Kong2013-05-131-0/+604
| | | | | | Ongoing work that doesn't affect builds. Change-Id: I83d81fa91e87d10787c3ce1d767bc41131341067
* Remove new camera activity to avoid build breakageDoris Liu2013-05-081-604/+0
| | | | Change-Id: I56f0586ae196f57a0f55b8d835e6bc8fd27bdcfe
* Load video items in the new camera filmstrip.Angus Kong2013-04-121-30/+210
| | | | | | | | | Also fixes: 1. NPE when no data to load. 2. The last item is skipped. 3. date and id should be long instead of int. Change-Id: I7cad06998d78e0d3f0a30be24e65eb0f777b9c0e
* Integrate FilmStripView.Angus Kong2013-04-111-27/+64
| | | | Change-Id: Ib9f280a4c58a5c120775d5e9340ea04d56c0343d
* Refactor CameraDataAdapter for other data types.Angus Kong2013-04-091-173/+215
| | | | Change-Id: I4d925a4f2a9c2d6d14beda8781a1d4ca5cf3c1f4
* Add more gestures and animations in FilmStripView.Angus Kong2013-04-081-5/+20
| | | | | | Now supports fullscreen mode and filmstrip mode. Change-Id: I4c568e37f3306d970b3439f86ac6757b15c7cd4f
* Horizontal scrollable filmstrip view.Angus Kong2013-03-131-0/+330
Change-Id: I076a07cd9a949ecdc8e4499b171b64e7becdbef2