summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/data/FixedFirstDataAdapter.java
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera: Add preview thumbnail buttonByunghun Jeon2014-11-191-0/+1
| | | | | | Add preview thumbnail button and touch it to go to gallery Change-Id: Ib80ef94c677c204d7f0826356792aba2aa11d4d1
* Revert "Camera: Mem-leak"Vijay kumar Tumati2014-06-191-2/+0
| | | | | | | | | | This reverts commit 46b761ab50e36daa2ff79527553014905e784895. We see some regressions with this change so we are reverting it for now. We will fix the issues soon. Change-Id: I59da92087006cef0da16c8a11fe7c31f32aa0312
* Camera: Mem-leakSuman Mukherjee2014-06-091-0/+2
| | | | | | | | | | | Hprof identified memleak in localdatalist from list and hashmap Reason: removedata was not getting invoked. Fix Made: Invoke removedata from ondestroy and onresume of camera activity Cleanup bitmaps before reallocation on same variable. CRs-Fixed: 655256 Change-Id: I42d99beb7e493eea2394462ee02cbe956e86c502
* Fix incorrect width and height from MediaStore.ztenghui2013-09-271-1/+1
| | | | | | bug:10768232 Change-Id: I53673b8ef341f7388a9a4aaa7b03f804485928cf
* Make sure we switch to preview view when resuming.Sascha Haeberling2013-09-091-3/+4
| | | | | | | | | | 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
* Set views in filmstrip invisible when alpha = 0.Angus Kong2013-08-151-9/+0
| | | | | | bug:10096747 Change-Id: Idcb62448acbf38d581af3a08a9bcbc0cad0ab6be
* Fix camera preview stopped after onResume().Angus Kong2013-08-131-1/+3
| | | | | | | | | | | This fix is for the blank camera preview blank after onPause() -> onResume(). 1. Refined camera start up procedure by removing redundant camera startup thread. 2. Cleanup unused calls after aparted from gallery. bug:10189998 Change-Id: I13ffa24aff5069f0032cd4bc801548fccc63d0e7
* Fix DataAdapter wrapper classes callback mechanism.Angus Kong2013-08-091-3/+21
| | | | | | Also to fix FilmStripView to avoid NPE before data is loaded. Change-Id: I6c8a3d215d9f1dc72b4207e52023c1e27e9df123
* This adds the following four CLs to Camera2:Sascha Haeberling2013-08-061-12/+33
| | | | | | | | | | | | 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
* Add LocalDataAdapter and wrappers.Angus Kong2013-08-011-0/+154
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