summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/util
Commit message (Collapse)AuthorAgeFilesLines
...
* Extract the action bar interface.Owen Lin2012-08-151-50/+5
| | | | | | | | | | | | | So that we can use different implementation for different API levels. **NOTE** This change is going to be replaced by the ActionBar compat library when it gets ready. The purpose of this change is making Gallery/Camera run on GB. bug: 6927267 Change-Id: Ic8bb2518918168ea889db6452d6760de390d96b2
* Make a copy of MotionEvent in MotionEventHelper.transform.Wu-cheng Li2012-08-131-2/+3
| | | | | | | | | | | | RotateLayout transforms the event in dispatchTouchEvent. If the event is not handled, the parent of RotateLayout may send the transformed event to other views and the coordinates will be wrong. Make a copy of MotionEvent in transform. This also makes the behavior consistent in different API levels. bug:6974916 Change-Id: Id835767cc9be3f244e5abe2b855e5188045adedc
* Guard the usage of MenuItem.setShowAsAction in MenuHelper.Owen Lin2012-08-081-1/+11
| | | | | bug: 6927642 Change-Id: I3907ac2f86d38c15b681185abee5906ce243339a
* Move motion event related methods to class MotionEventHelper.Ahbong Chang2012-08-071-0/+119
| | | | | Bug: 6943189 Change-Id: I9084cc8ebb501a5b772ed4e00bd64a3b2e8bafb3
* Code clean up.Ahbong Chang2012-07-307-0/+17
| | | | | | | | | Remove unused imports. Remove unused fields. Remove unnecessary cast. Add missing override annotations. Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
* Don't test the EXTRA_LOCAL_ONLY before HC.Owen Lin2012-07-051-2/+7
| | | | Change-Id: Idebb2aba994e38cf7eead795f1834ff98eaec27d
* Don't use Display.getSize().Owen Lin2012-06-271-2/+0
| | | | Change-Id: I9b5c9021bae2b58d2815a909c97104f215d4d2e8
* Remove camera icon in Gallery if there is no launcher icon.Chih-Chung Chang2012-05-171-2/+17
| | | | | Bug: 6516793 Change-Id: I7ec88065565bcafdd2534cd8c7fd8f2591743447
* Fix 6213053 Add Help entry point to Gallery (targeted for J release)Ray Chen2012-05-172-13/+141
| | | | | | b: 6213053 Change-Id: Ib94a8bbdb3114a198b775025c5864a3d83cdd5ad
* Remove PhotoPage spinner shown in the action-bar.Yuli Huang2012-05-072-121/+0
| | | | | | | Remove spinners shown for loading data out of view. bug:5406790 Change-Id: Iffaf97937b86b869559a27f190941c1de263e422
* Add camera icon for camera roll.Chih-Chung Chang2012-05-031-0/+7
| | | | | Bug: 6411709 Change-Id: I2476dba7edb2b763f3b7727f0034fa300cf0287a
* Make 'Edit' behave more consistent with 'Crop'. DO NOT MERGE.Yuli Huang2012-04-272-3/+29
| | | | | | | | 1. Save edited PWA photo in 'dowload', same as cropped images. 2. Fix Crop-image toast may show strings without i18n. bug:6168430 Change-Id: Ic99a478e684597d3dc1a105c4f592dd98d8f227d
* Fix b/6213053 Add Help entry point to Gallery (targeted for J release)Ray Chen2012-04-171-0/+14
| | | | | | b:6213053 Change-Id: Ib9d9c5e69f09d6c2fffb4e6ecb09b2c3ae700365
* Add new filmstrip mode for PhotoView.Chih-Chung Chang2012-04-103-0/+150
| | | | Change-Id: I9da9896303ced8d63a3557d5e6e9bc06fb366cf5
* Fix OOM when switching between camera and camcorder.Wu-cheng Li2012-04-031-4/+10
| | | | | | | | | | - Camera activities extend AbstractGalleryActivity. So onDestroy is moved from Gallery to AbstractGalleryActivity. - Use WeakReference for values in the WeakHashMap of SpinnerVisibilitySetter. bug:5954389 Change-Id: Ib15f269bd4c54a4621bdff58e7ea16b44f8fb3e3
* Reorganize import for all files.Owen Lin2012-03-147-19/+16
| | | | Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
* Remove unused code.Chih-Chung Chang2012-02-237-127/+5
| | | | Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
* Add profiling tools.Chih-Chung Chang2012-02-142-0/+394
| | | | Change-Id: Ieab118ededaab5ef46408fac6fdb66b9fff4900e
* am c903fd67: Fix the memory leak by WeakHashMap.Owen Lin2011-11-151-67/+40
|\ | | | | | | | | * commit 'c903fd67c26d652f9dbd5cb321b64d1601357985': Fix the memory leak by WeakHashMap.
| * Fix the memory leak by WeakHashMap.Owen Lin2011-11-141-67/+40
| | | | | | | | | | | | | | | | fix: 5601885 Also simplify the code. Change-Id: I97cdf00d84fa093ad7032e85ec7c31c3365e2447
* | Fix 5454748: Localize hardcoded folder names.Chih-Chung Chang2011-10-241-0/+3
|/ | | | Change-Id: I91586d6f707a0352be6be524e848bd2c2dacab7e
* Fix 5352588: Accept view intent without URI.Chih-Chung Chang2011-10-191-16/+16
| | | | Change-Id: I719fd853b66c05c4fdbe70ff97993b9487997694
* Get rid of "flashies" in the action bar.Evan Millar2011-10-032-5/+134
| | | | | | | | | | | -Filter out short spinner events. All spinner events that last <1sec are now ignored. We also enforce a minimum delay time of 2 sec. -Mark the share and delete menu items as visible="false" by default to get rid of the quick display/removal of them under scenarios where they are ultimately removed. bug:5398336 Change-Id: I0620532f3ab59d9fde46123620eb781a87445b54
* Fix 5299746: New UI layout, part 2.Chih-Chung Chang2011-09-201-0/+7
| | | | | | | | | | - Replace various icons and add xhdpi/sw600dp-mdpi versions of them. - When user press on the thumbnails, show a color overlay on it. - For a wide (w/h > 2) picture, add panorama overlay on it. - Align photo count label position when there is no icon for it. - Adjust offline page layout. Change-Id: I327d25806e99843bfa05d3ca0e9be5a8f9375595
* Copy exif data for cropped image.Owen Lin2011-09-071-0/+19
| | | | | | fix: 5248023 Change-Id: I2f59bfd96ca7533195f7019cc76080579dff8d1e
* Improve the performance of Reviewing a photo.Owen Lin2011-09-051-0/+163
| | | | | | | | | | | | | | | | | fix: 5144370 There is two componenet in the photo page. One is the large photo and the other is the thumbnail strip. They idenpendently load their own data and images. This change fixes several issues here: 1. Prevent sending to many jobs to ThreadPool and block others. In a worse case, if the thumbnail strip send image requests first, it may block the ThreadPool very long. 2. Improve the performance of extracting thumbnails from local files. Now we try to extract the thumbnails from EXIF data first. Change-Id: I45100d4daa025efb479f47c4f105de2b4731b498
* Fix 5179285 "Show on Map" intent for geotagged images mis-formatted in FrenchRay Chen2011-08-191-2/+11
| | | | Change-Id: I4af6b549b534786163505d41b181888d347743d9
* Initial code for Gallery2.Owen Lin2011-08-1815-0/+1714
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c