summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use SurfaceTexture to show Camera preview.Chih-Chung Chang2012-04-0223-328/+643
| | | | Change-Id: I8bf63dfc5b969ecce51841378b093a650b6f91d8
* Merge "Move getTypeString from PicasaAlbumSet to MediaObject."Ray Chen2012-03-292-4/+21
|\
| * Move getTypeString from PicasaAlbumSet to MediaObject.Ray Chen2012-03-292-4/+21
| | | | | | | | | | | | b/5344124 Change-Id: I28a43615ebec0aa84c3b16ac006def26f7b56162
* | Merge "Patch 2 for master."Chih-Chung Chang2012-03-283-5/+56
|\ \ | |/ |/|
| * Patch 2 for master.Chih-Chung Chang2012-03-263-5/+56
| | | | | | | | Change-Id: I8b7c9fd326c4f247a1f2129b1d64388a223d79e0
* | Merge "Refactor. Make the code simpler."Owen Lin2012-03-2812-447/+269
|\ \
| * | Refactor. Make the code simpler.Owen Lin2012-03-2612-447/+269
| |/ | | | | | | Change-Id: I2d3b7a1cfed17afcf6b7ee3e7bf1ca13ada8d9c3
* / Fix b/6212093: Title wasn't updated for orientation changes.Yuli Huang2012-03-271-11/+12
|/ | | | | Change-Id: I407cfb8f2bde5bab302045188f4f511bdcd2347a b:6212093
* Merge "New effect in photo browsing."Chih-Chung Chang2012-03-226-69/+304
|\
| * New effect in photo browsing.Chih-Chung Chang2012-03-226-69/+304
| | | | | | | | Change-Id: I12ca70f56f5c874292a7a6f38f0518bbc855ed70
* | Merge "Make PackagesMonitor go async"Hung-ying Tyan2012-03-211-1/+18
|\ \ | |/ |/|
| * Make PackagesMonitor go asyncHung-ying Tyan2012-03-221-1/+18
| | | | | | | | | | | | | | to offload package event processing from main thread. Bug: 6109890 Change-Id: I77e1fad9a4ac24020eed68d53ca7e1d253248890
* | Merge changes I1acef9fc,I53ddb3cdOwen Lin2012-03-213-75/+141
|\ \ | | | | | | | | | | | | | | | * changes: Make top level albums can be loaded concurrently. Add log to debug loading time.
| * | Make top level albums can be loaded concurrently.Owen Lin2012-03-202-69/+124
| | | | | | | | | | | | | | | Change-Id: I1acef9fc9a442c36ad1d9d0931b0defc6091bf33 fix: 5947962
| * | Add log to debug loading time.Owen Lin2012-03-202-9/+20
| | | | | | | | | | | | Change-Id: I53ddb3cdce7abe9de7c5bbd85c1adad474bdff2f
* | | Fix incorrect initial position/scale of opening animations.Yuli Huang2012-03-215-31/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Initial position of opening animation isn't correctly offset if the position repository isn't properly offset by the action bar height. 2. Initial scale of opening animation should match the thumbnail instead of using a fixed value 240. This CL is part of efforts to fix b:6016973. Change-Id: I620705357ba7594d43685e47488928f9fc93d9f6
* | | Create a ScreenNail interface so we can add other types of screenails.Chih-Chung Chang2012-03-2116-143/+765
| | | | | | | | | | | | | | | | | | Add a new MediaItem type to contain a ScreenNail. Change-Id: Ia303949f3013dd48ded204eaf9ec69a102b8503e
* | | Fix b/6191707 Unable to set Custom wallpaper from HomeRay Chen2012-03-208-91/+92
|/ / | | | | | | Change-Id: I130f74c94ebf5d93922807f7fee5ae7f189a15d4
* | Revert "bug #6176711: guard against null GalleryActionBar." andRay Chen2012-03-196-24/+25
| | | | | | | | | | | | fix DialogPicker's NPE issue while setting wallpaper. Change-Id: I833ebfb04907d3a1378df98db51c96b490796a00
* | Merge "Fix a regression, we forget assigne a value to a member variable."Owen Lin2012-03-161-0/+1
|\ \ | |/ |/|
| * Fix a regression, we forget assigne a value to a member variable.Owen Lin2012-03-161-0/+1
| | | | | | | | Change-Id: I07b6654ddf73f4c92a75d81a3ec8f1075526f5fd
* | bug #6176711: guard against null GalleryActionBar.Wei Huang2012-03-153-4/+12
|/ | | | | | | | When entering Gallery app from WallPaper picker, the activity is DialogPicker, which doesn't initialize GalleryActionbar so getGalleryActionbar() returns null. Guard against using the null object. I fixed the obvious NPE here, but Ray or Yuli should take a closer look, to see why this is broken. Change-Id: Ic6923c388ea7b72ab402131fc3b039546509e340
* Fix 6039387 Wrong app icon shown when playing 'personal video' from Videos appRay Chen2012-03-151-0/+11
| | | | Change-Id: Idf5af5172d5d413e64712331e3e6331f13e1b95c
* Fix 3462852 [UI] When linking from Camera preview - App icon with 'Up' arrow ↵Ray Chen2012-03-1510-32/+97
| | | | | | | | | | | | | should go to next level up. Some changes in this CL: 1. ActivityState can decide whether to enable home button and show up arrow 2. ActivityState can handle home_up event on its own 3. Support getContentUri in LocalAlbum (Image/Video Roll) and LocalMergeAlbum (Camera Roll) 4. Gallery supports view action for AlbumPage (Camera Roll) Change-Id: I85a75cdce9cbc2a877651fdec34a0180ed8e785c
* Aggregate three gesture detectors.Chih-Chung Chang2012-03-142-77/+177
| | | | Change-Id: I270cd7bdeb81d9a8ea5d3aa122f44074413e7616
* Reorganize import for all files.Owen Lin2012-03-1497-328/+283
| | | | Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
* Merge "Reuse bitmap for all micro thumb images to prevent GC."Owen Lin2012-03-1415-138/+283
|\
| * Reuse bitmap for all micro thumb images to prevent GC.Owen Lin2012-03-1415-138/+283
| | | | | | | | Change-Id: I27d3002e5bb745a597f52962fe24744c8329441c
* | Simplify PhotoEditor code.Yuli Huang2012-03-134-57/+75
|/ | | | | | | 1. Encapsulate spinner usages inside Toolbar. 2. Remove unnecessary static variable usages. Change-Id: Iaec614c5322a50c1e2c0cfa9cec1971b85e32f8a
* Change id "root" to "movie_view_root" to avoid confusion.Chih-Chung Chang2012-03-121-1/+1
| | | | | | There is also one id "root" in Camera. Change-Id: Id6ebc5362f5ddceabe6dab6218de9b091454bde7
* Merge "Merge Camera into Gallery package."Chih-Chung Chang2012-03-091-0/+1
|\
| * Merge Camera into Gallery package.Chih-Chung Chang2012-03-081-0/+1
| | | | | | | | Change-Id: If66d4b841eec3d3f5384a561b07c0eeade92597a
* | Fix b/5948180: Photo is repositioned during being scaled.Yuli Huang2012-03-081-1/+1
| | | | | | | | | | | | Avoid repositioning photo to center vertically during scaling it. Change-Id: Id9f2de6b2b1611419a0c03888cff49a5336b39df
* | Fix b/5948187: Add progress text for loading video.Yuli Huang2012-03-071-11/+13
|/ | | | Change-Id: If85a5db3c6128cf0c59b97dc44f51cdfc87d225b
* Fix b/5885342: Multiple PhotoEditor activities cause exceptions.Yuli Huang2012-03-074-49/+62
| | | | | | Avoid using a static variable to keep tracking views across activities. Change-Id: Ia53444502d476d37b64344e5aea5f58a06ee3b03
* Use AnimationTime for animation caluclation.Chih-Chung Chang2012-03-055-7/+14
| | | | Change-Id: I3af8334978c054ddbc2050a240f0d9c113a44012
* Fix a wrong flag value.Yuli Huang2012-03-011-3/+3
| | | | Change-Id: I7450dc31bb307b19dcfd34ee7df83126df1d294e
* Fix b/6064909: Photo might not be snapped back correctly.Yuli Huang2012-03-012-16/+22
| | | | | | | Photo might not be snapped back if the animation wasn't actually started because of no position/scale changes. Change-Id: I6b5e938bffd954b848cae04514a06d0427151025
* Fix b/5624131: Panning enlarged photo switches images by mistake.Yuli Huang2012-02-292-45/+72
| | | | | | Avoid swiping images when panning to view vertically enlarged photo. Change-Id: Ieb72cb8f38595fbedc927e8a0380fe31532ee434
* Merge "Fix 5948189 BUG BASH: action bar flashes during multi-select"Ray Chen2012-02-281-46/+50
|\
| * Fix 5948189 BUG BASH: action bar flashes during multi-selectRay Chen2012-02-291-46/+50
| | | | | | | | | | | | | | | | | | | | This CL fixes the flashing by disabling MenuItem directly instead of setting null intent to ShareActionProvider, so there won't be any "icons shrinking" effect that causes flashing. The rest of the change is code refactoring. More comments are added and the final UI operations are merged into one Runnable object. Change-Id: I73843c1df6b7a9675176e1b3ae6a35cc1cb715fa
* | Fix 5948223 [bug bash] Albums text disappears when exiting galleryRay Chen2012-02-253-7/+17
|/ | | | Change-Id: Ib787184f747ff30afabc35b16b46950dc3b5b50c
* Fix 5948410 BUG BASH: Temporarily title is displayed during gallery startRay Chen2012-02-241-3/+3
| | | | Change-Id: I88a67e3e9437124001be836239736a8275c1abf4
* Remove unused code.Chih-Chung Chang2012-02-2363-1907/+19
| | | | Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
* Reduce memory allocation and make small improvements.Chih-Chung Chang2012-02-228-40/+47
| | | | Change-Id: Iac3f302454119de6363cd5cfb158619e739b0536
* Cache animation time value to reduce work and synchronize animation.Chih-Chung Chang2012-02-1712-60/+56
| | | | Change-Id: I00081bc6037c01dafc56cf017dcc1da448c1d106
* Change from fillRect to clearBuffer for pure black background.Chih-Chung Chang2012-02-174-24/+16
| | | | Change-Id: Ie3da19b377f3e7926ab37c5936ce48cbb3227f92
* Simplify the reference from textures to GLCanvas.Chih-Chung Chang2012-02-174-9/+16
| | | | Change-Id: Ia64e60ec4b920b707148f7c2b9373ce484a52d9f
* Make GLCanvas a bit faster.Chih-Chung Chang2012-02-169-42/+56
| | | | | | | | (1) make a faster version of translate(x, y). (2) make mapPoints() faster. (3) avoid calling canvas.rotate() when it is not needed. Change-Id: I364e2aa3fc9ee81c43f42f3af8b2d30a1241b482
* Try to use less of "Long" to make the program faster.Chih-Chung Chang2012-02-1611-52/+98
| | | | Change-Id: I6adb870a8f2bca97318d0fbb6f42388aef4c19c1