summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/AlbumPage.java
Commit message (Collapse)AuthorAgeFilesLines
* Gallery2: Make grids scroll vertically by defaultcretin452015-03-281-8/+9
| | | | | | - Can optionally be switched back to horizontal via overlay. Change-Id: I666a2e7cfe95cba630171b6272eda9a786be4cb6
* Gallery2 : Added support for Oma drm (CD and SD)Paramananda2015-02-111-7/+3
| | | | Change-Id: I9c793f85e255e8fd183197410111de2dc618ca76
* Gallery2: Make Gallery2 support OMADRM featureParamananda Pradhan2015-01-201-1/+111
| | | | | | - Make Gallery2 can recognize and consume DRM images and videos. Change-Id: I1655d295bcec31b5760c2c86c06f815cf6ed57ee
* Gallery2: Reginal requirement for RTLkaiyiz2014-11-041-4/+64
| | | | | | | | Add RTL logic in load picture, pick picture, show picture, delete picture, load album, pick album, show album, show widget, pick widget, scroll timebar. Change Camera setting to support RTL. Change-Id: Ica264f624e0f20153280066264943882ad22f2db
* Rename Gallery activity and add trampolineMangesh Ghiware2013-09-261-3/+3
| | | | | | Bug: 10807861 Change-Id: Iaaf17b579db2fe09900e9817f766f43dd66dea61
* fix crashes in in gallery by reversing previous clJohn Hoford2013-09-131-22/+0
| | | | | | | | | | cl 348551 tried to fix a long existing bug which but introduced race conditions in the system bug:10652636 bug:10551751 bug:8794694 Change-Id: Ieb617f85df32a5d82293e555621a7e44b8b84708
* Prevent slide show request with only on slideJohn Hoford2013-08-231-0/+22
| | | | | bug:8794694 Change-Id: Id3354733c7f35d9303b01f07ddf30f5555b07ddd
* Removed unused handling for intent extras in editor.Ruben Brunk2013-05-281-2/+2
| | | | | Bug: 9170644 Change-Id: I569b16d278d1813f5a96f9e0231ed71ff9e33687
* Moving crop to a separate activity. Refactoring.Ruben Brunk2013-04-091-1/+1
| | | | | | Bug: 8526929 Change-Id: I8acf6d46de069dd84c31afea6b4a7ae8e1c2fcce
* Replace camera importerBobby Georgescu2013-01-071-6/+0
| | | | Change-Id: Icfeb23301bc6c9f8c8b12824bcbb0d8b41852d07
* remove actionbar sherlockJohn Reck2012-12-121-7/+7
| | | | Change-Id: Idb9b63f625fd4f0b78d947421ec5b098d8e5dfd5
* GL packaging refactorJohn Reck2012-12-111-2/+2
| | | | Change-Id: I1d7a95c4f0b91a5ba59030d57cf6865c11b497aa
* Removed old crop.Ruben Brunk2012-12-061-2/+5
| | | | | Bug: 7441237 Change-Id: I29801f798a1d1ad3af81a82950edbb8a72ccae82
* Move MenuExecutor operations into ServiceBobby Georgescu2012-12-031-2/+2
| | | | | Bug: 6680729 Change-Id: I538bb0a8783f7c1ff467ba8d8eb0deefdc0b6ea2
* Split PhotoPage into FilmstripPage and SinglePhotoPageBobby Georgescu2012-11-051-3/+3
| | | | | Bug: 7479348 Change-Id: I98f668bd00e2e09bda9d5d9965fdbdaf1b832bfa
* Use the system-standard long press vibration patternBobby Georgescu2012-10-311-4/+2
| | | | | Bug: 7216819 Change-Id: I575868583777a7a953d767d0cdaa91a439d908ff
* Gingerbread support-ishJohn Reck2012-10-311-3/+3
| | | | | | This reverts commit 1336062985c9824d7fd796b1cebd5eaa8e4163ca. Change-Id: I718ec56315dc207a3e612abb4576bddab9afa2ee
* Show sync error toast only when both loading and syncing are done.Hung-ying Tyan2012-10-301-7/+22
| | | | | Bug: 7427597 Change-Id: Ie1fe8510e2a2225424b3c2892b2c0a8b4021324c
* Stay in AlbumPage when dismissing a popup from APDoris Liu2012-10-231-8/+0
| | | | | | Bug: 7384972 Change-Id: Ie2434ecc203a98610f1954b73a3d6916940eb812
* Fix for active action bar in cameraDoris Liu2012-10-191-0/+3
| | | | | | Bug: 7377404 Bug: 7384972 Change-Id: Ic54a7501ed3e2a61fab272461dee474b693c8f3a
* Fix Gallery crashBobby Georgescu2012-10-181-1/+4
| | | | | Bug: 7268985 Change-Id: I88c823d3270cb74d6e2bd7df5b6b6ed9e28f16a6
* Various transition tweaks/fixes in GalleryBobby Georgescu2012-10-181-2/+24
| | | | | | | | | Bug: 7376109 -Add new animation preset for photos based on UX feedback -Fix showing of highlight when tapping album grid photo -Move StateTransition enum to StateTransitionAnimation.State Change-Id: I2ce57580fa6c5f34d9545561515031899eb41eb2
* Add read URI permission to intent returned for GET_CONTENTMangesh Ghiware2012-10-171-2/+3
| | | | | | | | | | Bug: 7366308 Bug: 7202384 GalleryProvider now requires a permission to access content. See CL ca181a6 for more details. Change-Id: I4bdf61e19c9e2b6e2da0837a8f633a27c49441d7
* Consistent animations & up button behavior in GalleryBobby Georgescu2012-10-161-20/+7
| | | | | | | | | | | | | | | | | Bug: 7302857 Bug: 7295464 This CL makes all of the transition animations throughout the Gallery app consistent. The animation is the previous view shrinking and fading out while the new view starts out bigger than the view port and is coming in to the viewport size as it fades in. Having consistent animations allows us to not keep PhotoPage/AlbumPage instances around in certain cases, making it possible to have consistent up button behavior when switching between the grid and filmstrip. Finally, this also makes the transitions in the camera app filmstrip/grid switching consistent with those in the gallery app. Change-Id: I77bac6a0cde1e439738c78f9e16ab15ed5910cfb
* Fix missing camera thumbnail in filmstripBobby Georgescu2012-10-101-0/+1
| | | | | Bug: 7319894 Change-Id: Id1cf4f4bf718853aec73c0765732ac59e448c5d6
* Don't allow switching to filmstrip in get content intentBobby Georgescu2012-10-041-2/+6
| | | | | Bug: 7288252 Change-Id: I247e7c22ed3e90de0222ac82a55ed027c9f252c1
* Remove ActionBarSherlockOwen Lin2012-10-021-3/+3
| | | | | | bug: 7242682 Change-Id: Ibf1fa136cafdca25273ee39ae9c065560b2db5cb
* Move grid/filmstrip switching to ActionBar title "spinner"Bobby Georgescu2012-10-011-13/+23
| | | | | | | | | | | | | | Bug: 7233818 Bug: 7240846 Bug: 7258973 Tapping the title of the album, whether in filmstrip or grid mode, allows switching between these modes using a menu. The album name is now displayed when viewing pictures in the filmstrip or zoomed in modes. Finally, no longer allow switching to grid mode when not appropriate. Change-Id: I4ee511feb7a74581fe185933ddd5110e5eb9feb0
* Fix crash in album pageBobby Georgescu2012-09-301-1/+1
| | | | | | | | Bug: 7258955 Avoid second call to onPause when finishing ActivityState instance within onPause. Change-Id: I6081a6467e109a6edf35e60d24193e550cb0dd21
* Fix up button behavior in camera appBobby Georgescu2012-09-271-1/+5
| | | | | Bug: 7233448 Change-Id: Ifb2833f6c1303dc60a9b88b217648d0c0098f242
* Fix behavior of up button in Camera appBobby Georgescu2012-09-261-1/+3
| | | | | | | Bug: 7233448 - Up button now goes to gallery root when appropriate. Change-Id: Ib474335b2ac4139e7c5a213bda3efa481b24f224
* Grid/filmstrip switching behavior improvementsBobby Georgescu2012-09-251-5/+17
| | | | | | | | | | | | | | | | | | | Bug: 7200453 Bug: 7196483 Bug: 7222179 Bug: 7224619 Changes: - Launch camera in capture even if paused in grid/filmstrip - Fixed behavior of filmstrip button after launching grid from camera - Refresh bar timeouts after swiping a photo - Partially swiping from camera to filmstrip without lifting finger and then swiping back no longer results in unwanted switch to filmstrip - Removed hacky solution to switching to filmstrip mode Change-Id: I5cdde927e6a27a03b99a7f4883c5601bc281f4c8
* Fix incorrect texture size causing artifacts in animationBobby Georgescu2012-09-171-2/+2
| | | | | Bug: 7181383 Change-Id: I3895b89ccdd03e55acc656f0d6944f4a9d398ad5
* Fix bugs relating to grid/filmstrip switchingBobby Georgescu2012-09-171-0/+1
| | | | | | Bug: 7180582 Bug: 7146147 Change-Id: I3d2ad8866a938f9f162e14f11bc2e021834ba513
* Animate correctly when opening single-photo albumBobby Georgescu2012-09-131-35/+4
| | | | | Bug: 7164177 Change-Id: I5ce60a8e842e3ddf0e356568f17ee488edef23cd
* Reskin: Fix stability bugs introduced by reskinBobby Georgescu2012-09-121-1/+1
| | | | | | | | | | | | | | Bug: 7150348 Bug: 7144206 Bug: 7050303 If PhotoPage is launched/resumed on a completely empty album (for instance, if Gallery was opened to the Camera folder and paused, all photos were deleted via the Camera app, and then Gallery is resumed), bail out of PhotoPage since it cannot handle this. Also fixes an NPE. Change-Id: I162ff5ad149c322704c8af7d4705d87ae6c6098a
* Reskin: fix bug introduce by Gallery reskinBobby Georgescu2012-09-111-0/+1
| | | | | | Bug: 7146147 Bug: 7050303 Change-Id: Ia9782868937cc9a03e4c8b5f77033d13d80d5d8a
* Improvements to empty album behavior in GalleryBobby Georgescu2012-09-101-3/+5
| | | | | | | | | | | Bug: 7131332 Bug: 7009464 Toasts are now immediately dismissed if a non-empty album is selected, and dismissed once Picasa Albums load at an otherwise empty gallery root. The alert added in a previous prompt has been replaced with a Toast also. Change-Id: Icca79ab264b94979eedcf78e5c3899af745d8813
* Reskin: switching between filmstrip and grid in albumBobby Georgescu2012-09-091-9/+50
| | | | | | | | | | | Bug: 7050303 Bug: 6541425 Allows switching between the filmstrip and the grid views within albums and launches camera roll in filmstrip mode by default. Also fixes animation issue when animating from full-screen to grid view. Change-Id: I2a37b92c129cc090fd807973f7e3e82fed207cd3
* Remove unused resources and fix some warnings.Owen Lin2012-08-301-19/+0
| | | | Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
* Reskin: Launch photos in lights-out modeBobby Georgescu2012-08-281-1/+5
| | | | | | | | | Bug: 7050303 - Launch photos in lights out mode when opening from album - One last missing call to super.onCreate added in ManageCachePage Change-Id: I7ad0e64f30748b724d184791e0e0a6a030850049
* Reskin: tweaks to colors and spacings to match mocksBobby Georgescu2012-08-271-0/+1
| | | | | | | | | | | | Bug: 7050303 - Call super.onCreate in ActivityState subclasses in order to correctly initialize background colors, correcting oversight in previous change - Tweak background and label colors to match mocks - Tweak grid spacings to match mocks Change-Id: Iba5cba6c60e8a750d8e50c1d0c14c916754a95c2
* Make transition from album page to photo page even smootherBobby Georgescu2012-08-261-3/+2
| | | | | | Bug: 6979922 Bug: 7050303 Change-Id: Iaa2582125f0706a34317fa90fea73749cd2cf995
* Uses ActionBarSherlock in GalleryOwen Lin2012-08-271-19/+19
| | | | | | bug: 6927267 Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
* Ongoing reskin of Gallery appBobby Georgescu2012-08-241-2/+8
| | | | | | | | | | Bug: 7050303 Moved the majority of color settings from hardcoded to colors.xml in order to allow rapid iteration with UX input. Started changing some colors and layouts to reflect latest UX mocks. Change-Id: I300338e9f75c71f3ed3f36140d16e893387f3184
* Fix NPE, ANRs in GalleryBobby Georgescu2012-08-231-12/+9
| | | | | | Bug: 7041482 Bug: 7041769 Change-Id: I06596bd9a058a8fe51c19108a0891c458950f22b
* Improvements in animation from album page to photo pageBobby Georgescu2012-08-211-0/+26
| | | | | | Bug: 6631829 Bug: 6979922 Change-Id: I99fd330f3ec8bf363f8602a2f893167ca2a9c71b
* Extract the action bar interface.Owen Lin2012-08-151-30/+13
| | | | | | | | | | | | | 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
* Code clean up.Ahbong Chang2012-07-301-0/+7
| | | | | | | | | Remove unused imports. Remove unused fields. Remove unnecessary cast. Add missing override annotations. Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
* Use actual selection for album/photo detailsMichael Kolb2012-07-261-17/+4
| | | | | | Bug: 6533154 Change-Id: I21ce95d79567396840f08095b986ecc54263a295