summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/AbstractGalleryActivity.java
Commit message (Collapse)AuthorAgeFilesLines
* Galler2 : Load onResume on separate threadSuresh Kamasala2015-02-121-9/+27
| | | | | | | | | | | | Loading onResume is taking too much time So screen transition is not happening quickly. Loading onResume in separate thread with Some delay and removed animation, So screen transition can happeny smoothly. Change-Id: I0f09128f8c948a33b72a5b4933efe7f4fbba2cb2 CRs-Fixed: 785891
* Gallery2: Set PhotoPage GL root reset when rotatekaiyiz2015-01-291-0/+9
| | | | | | | | | | | When there is another activity on top of PhotoPage, the GLRootView will not update to match screen, so the back ground seems corruption. Set GLRoot View resume when onConfigurationChanged happen. CRs-Fixed: 778294 Change-Id: Ib1fd6953462e26f11c3a8957a042db2ad4ecc275
* Switch Gallery2 to use the support lib for printing.Svetoslav Ganov2013-10-071-3/+9
| | | | | | | | | | | | | Now we have a class in the support library that uses a correct internal implemetation based on the API level. On older devices the app does not crash and on new devices it can print. Also this class does the heavy lifiting. Gallery2 was not using this class, rather it had its own (obsolete) implemetation that was not taking into account the image aspect ratio to provide a hint to the print system for the orientation to be used. bug:11099831 Change-Id: I4cd260614af4d9d87ec31d205ee2a5ef02ef5417
* Add printing to Gallerynicolasroard2013-08-191-0/+17
| | | | Change-Id: I26aad645759f95813003badffbd03845e0df37bb
* Move PanoramaViewHelper out of LightCycleHelperGeorge Mount2013-08-071-1/+3
| | | | | | | PanoramaViewHelper can be used outside of LightCycle panorama picture creation. Change-Id: I40bb357385fa311f9115dffaa143119cfcb5f45f
* Remove dead codeBobby Georgescu2013-04-201-3/+1
| | | | | Bug: 8672542 Change-Id: Ia6046b17f8ae77ffe6b8090b5fbd1dda2bc0327e
* Add possibility for UX improvement measurementsBobby Georgescu2013-02-251-0/+2
| | | | | Bug: 4293199 Change-Id: I45f8a63c676c8d7700c422a0a18f799fb6d02d2e
* Replace various BitmapPools with a smarter unified poolBobby Georgescu2013-02-221-8/+2
| | | | | | | | Make all of gallery use a single shared pool, and pave the way for making the pool more adaptive based on the current workload. Change-Id: Ia32561ad50b1b9716ebe2fd32a7bf02737685dac
* Fix ANRs due to waiting for IO on UI threadBobby Georgescu2013-01-281-3/+1
| | | | | Bug: 7998915 Change-Id: I938145a7072170f713099a04578f98951b35cbab
* remove actionbar sherlockJohn Reck2012-12-121-4/+4
| | | | Change-Id: Idb9b63f625fd4f0b78d947421ec5b098d8e5dfd5
* Move MenuExecutor operations into ServiceBobby Georgescu2012-12-031-1/+41
| | | | | Bug: 6680729 Change-Id: I538bb0a8783f7c1ff467ba8d8eb0deefdc0b6ea2
* Gingerbread support-ishJohn Reck2012-10-311-4/+4
| | | | | | This reverts commit 1336062985c9824d7fd796b1cebd5eaa8e4163ca. Change-Id: I718ec56315dc207a3e612abb4576bddab9afa2ee
* Fix jank when launching editor from Camera filmstripBobby Georgescu2012-10-231-0/+5
| | | | | | | | | Bug: 7301182 Status bar visibility in FilterShow will now match the one in Camera/Gallery so that there isn't weird jank when launching. Change-Id: I3e942633b351264d2cd38cc5b587de32e38521ed
* Adds GMS Core PanoramaClient to GallerySascha Haeberling2012-10-171-0/+10
| | | | | | | | | Bug: 7319099 Also updates the API call to LightCycleHelper. This depends on http://go/ag/#/c/239523/ Change-Id: Ie951e44e3a474599d1da6fea52609fbb9f8dc9bc
* Change ActionBar spinner text size on rotateBobby Georgescu2012-10-111-0/+1
| | | | | | | | | Bug: 7333151 Update the grid/filmstrip spinner switch text to look and behave like the text in the Gmail app, as requested by UX. Change-Id: If822b21899172a35402477868d4f146a8e00cfea
* Remove ActionBarSherlockOwen Lin2012-10-021-4/+4
| | | | | | bug: 7242682 Change-Id: Ibf1fa136cafdca25273ee39ae9c065560b2db5cb
* Uses ActionBarSherlock in GalleryOwen Lin2012-08-271-23/+4
| | | | | | bug: 6927267 Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
* Only use SurfaceTexture.release and setIconAttribute on newer platforms.Chih-Chung Chang2012-07-131-4/+14
| | | | | | Bug: 6706784 Change-Id: Ic1bb2bb27c3184d791de566d88dbade039fb9d87
* Don't use invalidateOptionsMenu before API level 11.Owen Lin2012-07-051-0/+29
| | | | Change-Id: If46d46e44797b2bd4f66235eca0954a55d0008cf
* Don't reuse bitmap before HoneyComb.Owen Lin2012-07-031-2/+8
| | | | Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
* Remove hardwired strings for no external storage.Owen Lin2012-06-221-2/+2
| | | | | bug: 6682495 Change-Id: I68652d6b01842a42907b953574d563cf98e65219
* am b62f354d: am 582c3bb9: Merge "Gallery2: Use ICS alert drawable"Jean-Baptiste Queru2012-06-111-1/+1
|\ | | | | | | | | * commit 'b62f354d4f890a20f6bec37eac83226f75a4a475': Gallery2: Use ICS alert drawable
| * Gallery2: Use ICS alert drawableBjörn Lundén2012-05-311-1/+1
| | | | | | | | | | | | | | Same bug here. It's using the old compability drawable instead of the Holo theme one. Change-Id: Ia84ce1d305ee63fc6bc1fdb407a91b3421842eb1
* | Add transition animation for tapping from PhotoPage.Owen Lin2012-05-171-0/+6
| | | | | | | | | | bug:6383694 Change-Id: Ib457d6b636dafd3f8ef7340bfa85725f14d90bd0
* | Set the window backgrond and remove it in onCreate().Owen Lin2012-05-171-0/+1
| | | | | | | | | | | | | | To have better transistion when launching the app. bug: 6494653 Change-Id: I0f28796d599931c676c99e8f19a9f34e05018570
* | Support drawing in different orientation in Gallery.Chih-Chung Chang2012-04-301-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Bug 6312994: Swipe UX: do not directly show the camera roll when camera starts Bug 6313191: Swipe UX: Change swipe direction after the user rotated the device Bug 6313192: Swiping UX: make Gallery display in rotated mode Bug 6399447: Filmstrip: in Gallery, pressing Back from filmstrip doesn't perform the right animation Bug 6399974: Filmstrip: when swiping from full-screen photo to filmstrip mode, camera view and the photo-roll don't align correctly Bug 6400014: Swiping UX: in Camera portrait mode, tapping on the Thumbnail doesn't align camera view and the photo-roll correctly Bug 6401075: Able to scroll through the gallery pics while capturing video. Bug 6405087: Filmstrip does not change with orientation Change-Id: I8c479d87800c63b7a95c199c0c1c3bc512d66d42
* | Add capture animation in Gallery.Chih-Chung Chang2012-04-241-0/+12
| | | | | | | | Change-Id: Ibf95cc64f37a4518377e64124af6606c4f14cdaa
* | Add a method to disable toggle status bar.Wu-cheng Li2012-04-241-0/+7
| | | | | | | | | | | | | | | | | | Camera does not show status bar in both landscape and portrait. bug:6378178 Change-Id: I80cead9c0e2ef0256288aafead6bd1a96cc93d7b
* | Add thumb pool the cache Bitmap used for thumbnails.Chih-Chung Chang2012-04-181-0/+1
| | | | | | | | Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
* | Add BytesBufferPool to prevent GC.Owen Lin2012-04-101-0/+1
| | | | | | | | Change-Id: Ia8513ff380a60f102481cbf25650eca149b75064
* | Upload textures in background.Owen Lin2012-04-051-2/+2
| | | | | | | | Change-Id: I365f7be9aaab793366884249cbb10e8b6f0ab0e6
* | Fix OOM when switching between camera and camcorder.Wu-cheng Li2012-04-031-0/+11
| | | | | | | | | | | | | | | | | | | | - 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
* | Fix b/6191707 Unable to set Custom wallpaper from HomeRay Chen2012-03-201-1/+5
| | | | | | | | Change-Id: I130f74c94ebf5d93922807f7fee5ae7f189a15d4
* | Revert "bug #6176711: guard against null GalleryActionBar." andRay Chen2012-03-191-0/+12
| | | | | | | | | | | | fix DialogPicker's NPE issue while setting wallpaper. Change-Id: I833ebfb04907d3a1378df98db51c96b490796a00
* | Reuse bitmap for all micro thumb images to prevent GC.Owen Lin2012-03-141-9/+8
| | | | | | | | Change-Id: I27d3002e5bb745a597f52962fe24744c8329441c
* | Remove unused code.Chih-Chung Chang2012-02-231-18/+0
| | | | | | | | Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
* | Fix indent.Ray Chen2012-02-071-6/+6
| | | | | | | | Change-Id: I3e0c443ddfb2ebc777db7504c89ca1ffec119745
* | Shows status bar in gallery when in portrait view.Pin Ting2012-02-061-0/+19
|/ | | | | | | | bug: 5467810 Shows status bar in gallery, crop activity, picker activity when in portrait view; hide status bar when in landscape view. Change-Id: I17e2347f020db209ba0581a8e2f2aa19fcb4ceae
* Fix 5213252 [UI] Updated action bar layouts and action ordersRay Chen2011-11-101-0/+1
| | | | Change-Id: I798a86ed1f6883af1ea3cd3e9c67a6603d0273cc
* Use different UIs for phone's portrait mode in manage offline page.Owen Lin2011-09-141-0/+7
| | | | | | | | | fix: 5100503 The original UI design is not suitable for phone's portait mode. I move the UIs from GL view to android View to get better support. Change-Id: Ice5f536129f66b51cdaf4db1be750be7bc072c7f
* Initial code for Gallery2.Owen Lin2011-08-181-0/+198
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c