History log of /packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
05da3f520eacb9219964b6ed57ef37846d889fd7 30-Oct-2012 Hung-ying Tyan <tyanh@google.com> Show sync error toast only when both loading and syncing are done.

Bug: 7427597
Change-Id: Ie1fe8510e2a2225424b3c2892b2c0a8b4021324c
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
5b1e444b4b6544b04c58be3b9b9a9a64ca4b572d 24-Oct-2012 Doris Liu <tianliu@google.com> Stay in AlbumPage when dismissing a popup from AP

Bug: 7384972

Change-Id: Ie2434ecc203a98610f1954b73a3d6916940eb812
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
2daced6baacd59850e7c64ea02f2479530654ed8 20-Oct-2012 Doris Liu <tianliu@google.com> Fix for active action bar in camera

Bug: 7377404
Bug: 7384972
Change-Id: Ic54a7501ed3e2a61fab272461dee474b693c8f3a
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
35e7b4ae727394aace466ebcf33d89adf01b690c 19-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix Gallery crash

Bug: 7268985
Change-Id: I88c823d3270cb74d6e2bd7df5b6b6ed9e28f16a6
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
26e119cebe732582df086ff56ec564d2989042fd 18-Oct-2012 Bobby Georgescu <georgescu@google.com> Various transition tweaks/fixes in Gallery

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
1c38d440b454698093f3f5c867b4bad5bf74716f 17-Oct-2012 Mangesh Ghiware <mghiware@google.com> Add read URI permission to intent returned for GET_CONTENT

Bug: 7366308
Bug: 7202384

GalleryProvider now requires a permission to access content.
See CL ca181a6 for more details.

Change-Id: I4bdf61e19c9e2b6e2da0837a8f633a27c49441d7
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
5585826e68c62c3719fb346d40fd1999438c6c6b 15-Oct-2012 Bobby Georgescu <georgescu@google.com> Consistent animations & up button behavior in Gallery

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
2aec8488aebe3d28a0a32c67d6629dfa4db4acae 10-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix missing camera thumbnail in filmstrip

Bug: 7319894
Change-Id: Id1cf4f4bf718853aec73c0765732ac59e448c5d6
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
4c9e3e1d7a5af64ddc946297db9d07dc394d861e 04-Oct-2012 Bobby Georgescu <georgescu@google.com> Don't allow switching to filmstrip in get content intent

Bug: 7288252
Change-Id: I247e7c22ed3e90de0222ac82a55ed027c9f252c1
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
1336062985c9824d7fd796b1cebd5eaa8e4163ca 02-Oct-2012 Owen Lin <owenlin@google.com> Remove ActionBarSherlock

bug: 7242682

Change-Id: Ibf1fa136cafdca25273ee39ae9c065560b2db5cb
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
3cf502a91b36bf6ce633f897505b0a2c3fc53ad5 02-Oct-2012 Bobby Georgescu <georgescu@google.com> Move grid/filmstrip switching to ActionBar title "spinner"

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
61861118986a0311293be74396a66ce900a39d59 30-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix crash in album page

Bug: 7258955
Avoid second call to onPause when finishing
ActivityState instance within onPause.

Change-Id: I6081a6467e109a6edf35e60d24193e550cb0dd21
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
624ed9df710ac4e34f3ff1d0c3bf4acd1c056258 28-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix up button behavior in camera app

Bug: 7233448
Change-Id: Ifb2833f6c1303dc60a9b88b217648d0c0098f242
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
833f775afc9515567dc5aaf0cafe20e006e77545 26-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix behavior of up button in Camera app

Bug: 7233448
- Up button now goes to gallery root when appropriate.

Change-Id: Ib474335b2ac4139e7c5a213bda3efa481b24f224
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
00ccf35f8ec016b2cb8fdcf0c65ba643dca54a14 20-Sep-2012 Bobby Georgescu <georgescu@google.com> Grid/filmstrip switching behavior improvements

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
7077701c8b11f6022cc712f5450e0f7b29535e41 18-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix incorrect texture size causing artifacts in animation

Bug: 7181383
Change-Id: I3895b89ccdd03e55acc656f0d6944f4a9d398ad5
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
a9b52df63ae6edbe0f2158bfc3c701fde41782c1 17-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix bugs relating to grid/filmstrip switching

Bug: 7180582
Bug: 7146147
Change-Id: I3d2ad8866a938f9f162e14f11bc2e021834ba513
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
51bc561e85053abfd7fda695e3cd20710acca85c 14-Sep-2012 Bobby Georgescu <georgescu@google.com> Animate correctly when opening single-photo album

Bug: 7164177
Change-Id: I5ce60a8e842e3ddf0e356568f17ee488edef23cd
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
d397378f8a1a2a1107e258155448b02599fdc2ce 12-Sep-2012 Bobby Georgescu <georgescu@google.com> Reskin: Fix stability bugs introduced by reskin

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
9159cccd5d7e840b04c2507bfe29c76e046a4f6f 11-Sep-2012 Bobby Georgescu <georgescu@google.com> Reskin: fix bug introduce by Gallery reskin

Bug: 7146147
Bug: 7050303
Change-Id: Ia9782868937cc9a03e4c8b5f77033d13d80d5d8a
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
09995299480b797254873319caffd5408624988b 10-Sep-2012 Bobby Georgescu <georgescu@google.com> Improvements to empty album behavior in Gallery

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
7eea4d3ac59aa88d327fc0d58f5e4052f43c54c9 07-Sep-2012 Bobby Georgescu <georgescu@google.com> Reskin: switching between filmstrip and grid in album

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
28cb4161da5fc3756933ca67d509b8af1c6275f1 29-Aug-2012 Owen Lin <owenlin@google.com> Remove unused resources and fix some warnings.

Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
766941ee72831a2c76defb4d826cab24d918e0df 27-Aug-2012 Bobby Georgescu <georgescu@google.com> Reskin: Launch photos in lights-out mode

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
45c56f2d34c71d0bc9b84ebeef6d1314738d0fc0 27-Aug-2012 Bobby Georgescu <georgescu@google.com> Reskin: tweaks to colors and spacings to match mocks

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
02ef48574ef7099ebaa0386bd6fd676bd2fd5489 25-Aug-2012 Bobby Georgescu <georgescu@google.com> Make transition from album page to photo page even smoother

Bug: 6979922
Bug: 7050303
Change-Id: Iaa2582125f0706a34317fa90fea73749cd2cf995
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
b21b8e58a604f6c701245d84b141b5b87663192b 23-Aug-2012 Owen Lin <owenlin@google.com> Uses ActionBarSherlock in Gallery

bug: 6927267

Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
915c2c5b2c367df71599370613af0924bd7c4887 23-Aug-2012 Bobby Georgescu <georgescu@google.com> Ongoing reskin of Gallery app

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
4e88a8c2a2addfadb05ca9699f505a3f348f3692 23-Aug-2012 Bobby Georgescu <georgescu@google.com> Fix NPE, ANRs in Gallery

Bug: 7041482
Bug: 7041769
Change-Id: I06596bd9a058a8fe51c19108a0891c458950f22b
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
f4a707f9716874025b189d0e4ca4dfad0d7abbab 21-Aug-2012 Bobby Georgescu <georgescu@google.com> Improvements in animation from album page to photo page

Bug: 6631829
Bug: 6979922
Change-Id: I99fd330f3ec8bf363f8602a2f893167ca2a9c71b
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
2bb717f1ea38e2ce33dd102a23afe6bfacb5675c 13-Jul-2012 Owen Lin <owenlin@google.com> Extract the action bar interface.

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
7817979db0c52ffeacb951625b1e821eba303285 30-Jul-2012 Ahbong Chang <cwahbong@google.com> Code clean up.

Remove unused imports.
Remove unused fields.
Remove unnecessary cast.
Add missing override annotations.

Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
995c4566bed7df1aa48ba7e1351f964efa73880b 20-Jul-2012 Michael Kolb <kolby@google.com> Use actual selection for album/photo details

Bug: 6533154

Change-Id: I21ce95d79567396840f08095b986ecc54263a295
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
11f14dc9e1d4d04b7c21b076445f3cb8c173753b 24-Jul-2012 Bobby Georgescu <georgescu@google.com> Only give haptic feedback when enabled in system settings

Bug: 6866688
Change-Id: I4e349fe666244ef5459dd591c8141768b24c910a
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
e8c1e69f85efb8673d0606f3aca729a366038753 16-May-2012 Ray Chen <raychen@google.com> Fix 6259517 "0 images / videos available" toast is displayed in gallery on launch though it has images / videos

And removed sync error toast.

Bug: 6259517

Change-Id: Ib7b25176a6db290220661a2e98e4e031043201d9
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
37c605949219b8bf54c165c34d6405f5f2989f50 18-May-2012 Owen Lin <owenlin@google.com> Add a new state uploading to UploadedTexture.

This state means the texture is being uploaded in background and should
not be drawn now to prevent janking.

Sometimes, we may lose GLContext and we will need to reupload
textures again. In this case, we would like to upload these texture in
foreground instead of using TextureUploader.
(for simplicity since this won't happen too often).

bug: 6519344
Change-Id: Ic5d7547c6a0eb4b044b79aa0eb4eb52397faac03
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
8e4eb7e6d69c2f22605ce96837c2b14d48d084b0 21-May-2012 Yuli Huang <yuli@google.com> Fix the detail isn't updated for the selected thumbnail.

bug:6521826
Change-Id: I1c07c10414ad45721b65583ed5f976c992d27698
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
616a70fdb4473d2fbd7b70772a3a82b908aeae1e 07-May-2012 Owen Lin <owenlin@google.com> Add transition animation for tapping from PhotoPage.

bug:6383694
Change-Id: Ib457d6b636dafd3f8ef7340bfa85725f14d90bd0
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
c2fcc7a681070e6c1d024ecf60b6a2a3e3f1a68b 03-May-2012 Yuli Huang <yuli@google.com> Don't show spinner to avoid janky transition.

bug:5406790
Change-Id: Ieea09f43d5230e1507c16001ec12b3ea6e3c3f0e
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
402237b43fd853377e5dba4e048839ad23b99d72 03-May-2012 Chih-Chung Chang <chihchung@google.com> Add camera icon for camera roll.

Bug: 6411709
Change-Id: I2476dba7edb2b763f3b7727f0034fa300cf0287a
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
c63554245d9a822a9fbe5aeda8612624434fd247 02-May-2012 Owen Lin <owenlin@google.com> Change thumbnail's position only when it is invisible.

bug:6393694
Change-Id: I33f41c3c894b4c6d28e0832cfd4badbfca3a4f64
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
b1e9fd893d62adae1f92d29dfc08bc76f8764491 30-Apr-2012 Chih-Chung Chang <chihchung@google.com> Fix Back behavior in gallery grid and remove camera preview tile.

Bug: 6411801
Bug: 6411709

Change-Id: Iebd7db06d44d315ac67eb8c5133b86044fce30c4
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
bd141b5a51c96f6fcaddfa547f0928ce69cf0755 26-Apr-2012 Chih-Chung Chang <chihchung@google.com> Support drawing in different orientation in Gallery.

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
90fe70f11b0961e1e5ae353cdf563236a55f502d 24-Apr-2012 Yuli Huang <yuli@google.com> Add prominent highlights for touch feedback.

Mimic the system UI to fade out highlights on touch releases.
bug:6145331
bug:5379176

Change-Id: I44c9245a926b2c5eb46b28d494c6393ba7f0c30c
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
48ba94ae713dbf57898cfa84ae69517da50cf7a0 17-Apr-2012 Owen Lin <owenlin@google.com> Fix NPE in SlotView.

This NPE is actually a concurrent issue. We shall lock renderring when we clean up
the slots' data. But it didn't, so it may access to null data.

Change-Id: I2a8abfbb77f83bd9a240477fa53216ce69b7774d
fix: 6302487
fix: 6308873
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
cf06397b2bc65335fb97d5788f18cad4897126a2 12-Apr-2012 Owen Lin <owenlin@google.com> Fix ANR in PhotoPage.

This bugs happens because we open too many PhotoPage(s) (and onSingleTapUp is a delayed event).
However, each of the PhotoPage need a Thread to run tile decoder. When we close one of the
PhotoPage, it will wait the tile decoder to get finished first. However, the title decoder may
still waiting in the queue and never got a chance to run.

Change-Id: I113d1150729892edb4fe36bc5a1dc131db300476
fix: 6319833
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
c3d8ac3b9504346dafc49e006b5f732dd1db21e8 06-Apr-2012 Owen Lin <owenlin@google.com> Refactor. Rename AlbumView to AlbumSlotRenderer.

Change-Id: I7d8d3586a910dac35975e4effa0d02528e2ccf98
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
31cac30e46a293f6d0901e22c6ab0d083cae7021 04-Apr-2012 Owen Lin <owenlin@google.com> Refactor. Merge SelectionDrawer with SlotRenderer.

Change-Id: Iaa50b2a78beb95fc83208a5f74cf612650cd8643
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
71632ac6c1596dd1fd477f95e268f96ad72ea572 04-Apr-2012 Owen Lin <owenlin@google.com> Fix NPE in Gallery.

bug: 6249248

Change-Id: I41851c6524163195f6296a15893d962e706b3449
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
98c2490a424da79beefbdd8a29fb90ab006c77b0 03-Apr-2012 Ray Chen <raychen@google.com> Fix b/3462852 [UI] When linking from Camera preview - App icon with 'Up' arrow should go to next level up

Change startActivity to switchState because not every MediaObject implements "getContentUri" which may
cause runtime exception.

Change-Id: I88be6e9e8f15ad17f4c7347b6dfc200c7682ce01
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
921895ba0b3511aeba053bdc0c965f9d3f62eb51 02-Apr-2012 Chih-Chung Chang <chihchung@google.com> Remove FilmStripView.

Change-Id: I45cee8c32863cc65eba4c5e83e667e104cf24e42
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
2341c197b0becf99422e8ad305def77df6161714 23-Mar-2012 Owen Lin <owenlin@google.com> Remove Position and PositionRepository.

Also fix a regression introduced in previous change.

Change-Id: I534c8ca7838f3518856cf48878dd49beeb331562
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
b29a27f475a2c449abdda8d4e03d30914feed8c6 22-Mar-2012 Chih-Chung Chang <chihchung@google.com> Use SurfaceTexture to show Camera preview.

Change-Id: I8bf63dfc5b969ecce51841378b093a650b6f91d8
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
7260f6f74d465520e4497b23fe56f98abb0c15a2 22-Mar-2012 Owen Lin <owenlin@google.com> Refactor. Make the code simpler.

Change-Id: I2d3b7a1cfed17afcf6b7ee3e7bf1ca13ada8d9c3
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
04ac045bf8da5082bbb0bdc9ea5f9c9b5b796ad0 20-Mar-2012 Yuli Huang <yuli@google.com> Fix incorrect initial position/scale of opening animations.

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
8cab3e872dd95e55ba34fdb94269a0c5069e72ae 20-Mar-2012 Ray Chen <raychen@google.com> Fix b/6191707 Unable to set Custom wallpaper from Home

Change-Id: I130f74c94ebf5d93922807f7fee5ae7f189a15d4
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
655f63f04638dfe31045eab1b6b4c39cc2db10db 16-Mar-2012 Ray Chen <raychen@google.com> Revert "bug #6176711: guard against null GalleryActionBar." and
fix DialogPicker's NPE issue while setting wallpaper.

Change-Id: I833ebfb04907d3a1378df98db51c96b490796a00
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
2a4306a4b3c019c50687473d931753a82912ac48 15-Mar-2012 Wei Huang <weih@google.com> bug #6176711: guard against null GalleryActionBar.

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
84c220f10a643927c8a2126de8a755d8d7f7ec9e 06-Mar-2012 Ray Chen <raychen@google.com> Fix 3462852 [UI] When linking from Camera preview - App icon with 'Up' arrow 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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
7b83fb8e3a8978b33a6b9bfc56d85fe2c1a9cf06 22-Feb-2012 Chih-Chung Chang <chihchung@google.com> Remove unused code.

Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
cfa105d3934c4dfa14f02b693bfa97c8d17d56a9 17-Feb-2012 Chih-Chung Chang <chihchung@google.com> Reduce memory allocation and make small improvements.

Change-Id: Iac3f302454119de6363cd5cfb158619e739b0536
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
ff951a85c3c9015ef7ccd8902e69ce88360a0cb8 16-Feb-2012 Chih-Chung Chang <chihchung@google.com> Change from fillRect to clearBuffer for pure black background.

Change-Id: Ie3da19b377f3e7926ab37c5936ce48cbb3227f92
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
95018d10aa68ecbea7ebce434733341a642510de 15-Feb-2012 Chih-Chung Chang <chihchung@google.com> Try to use less of "Long" to make the program faster.

Change-Id: I6adb870a8f2bca97318d0fbb6f42388aef4c19c1
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
d05b0be120bb217b4f56add24a4b31bee92455b2 08-Jan-2012 Chih-Chung Chang <chihchung@google.com> Fix 5835642: Only finish the page when it's still active.

The original code can call finishState twice in a row with the calling
stack: finishState -> onPause -> clearLoadingBit -> finishState.

Change clearLoadingBit to call finishState only when it's currently active.

Change-Id: I537dbdd6ce26b26aeb565e243c4168229d4a70ef
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
fe49be45412f8d0f68343662318e73822da486c8 24-Nov-2011 Owen Lin <owenlin@google.com> Show a dialog to require updating PlusOne.

Change-Id: I1ff4f5eca90ade49b0785324b9319ef0b7d751ca
fix: 5608342
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
fbdd338d83596ba545a8a7c8105d2ad7b5df56e6 08-Nov-2011 Owen Lin <owenlin@google.com> Request sync when opening Gallery/Album.

fix: 5519437

Change-Id: I0fb60415e3a92a677ca72ee8e0b95ae57e802152
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
b86c6aa085a66ffee2a178f4b5e2426cc67ca90b 10-Nov-2011 Chih-Chung Chang <chihchung@google.com> Fix 5548567: Don't play video immediately.

Change-Id: I30e9ebf7461e12250e1ef240c157e7f59b1ce2a1
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
9170edf4071e0ef4a64e9af579a1e711447cfcfc 06-Oct-2011 Ray Chen <raychen@google.com> Fix 5417248 Gallery shows Details for the same video no matter which is selected

Change-Id: If221ac3d22adfd3a47d98923dab5c4c1e5ca263d
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
57cbaa1ef40d2215c6400f5ae4af3a09e67abb2d 30-Sep-2011 Hung-ying Tyan <tyanh@google.com> Request sync when there's no mediaItem in a mediaSet.

This is to fix the problem where media items haven't been sync'ed when the album
set or album is viewed for the first time.

+ Add MediaSet.SyncListener.
+ Make AlbumPage and AlbumSetPage implement SyncListener.
+ Implement requestSync() for ComboAlbum and ComboAlbumSet.
+ add ActivityState.isDestroyed(). This also fixes the problem where
StateManager.finishState() may be called twice.

Bug: 5337899
Change-Id: I25364c3ac25721a2650701c5d7931bfb6daa9303
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
1f4e6d14bba7290ea0268fbde28ffc664d4f7004 27-Sep-2011 Ray Chen <raychen@google.com> Fix 5341761 gallery vibrate on confirm delete

Change-Id: I819855f28246c91324ea86ab9e0ac1ec1c19783c
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
bc2154199aee16762e3758ad0cfed685323d9a9f 19-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5299746: New UI layout, part 2.

- 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
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
9b54e8c645d14748b7dd75e25b4db9e97e3415a9 18-Sep-2011 Ray Chen <raychen@google.com> Fix 5331012 [UI] No dropdown label when entering multi-select modes via menu > Select item(s) / group(s) / album(s)

Change-Id: Ie46432dd136447942011f3565ab7a6406c461887
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
9201679ed1c485767f2e334aa618bd733024af03 14-Sep-2011 Chih-Chung Chang <chihchung@google.com> New UI for Gallery.

Change-Id: I5f243c00ebac55a9b333a9e13d0cc9c371a85005
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
6cf807453fb58ccd4cc513ff187b306c7090e67c 28-Aug-2011 Owen Lin <owenlin@google.com> Fix several issues in Gallery2.

fix: 5189318 - use transparent background for tabs
fix: 5174277 - menu mailfunctioned after slideshow (a hack):
fix: 5153387 - wrong tab is selected in album set page

Change-Id: I68092039e566b5f7409ae509f65b227b06da16bb
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
a4f0526dc8d993fb914d0e6505e22a1f30ad0e14 26-Aug-2011 Ray Chen <raychen@google.com> Fix 5133608 [UI] Details should be displayed as a system dialog in phone UI

We need this to reset the grid drawer.

Change-Id: Iead6568db1903d7e722f0e8154388ccd8f1aee67
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
4105e22d72d7a44e67cba4a58ad88018ed664d10 24-Aug-2011 Ray Chen <raychen@google.com> Fix 5133608 [UI] Details should be displayed as a system dialog in phone UI
Fix 5132798 [UI] Details popup on tablet is incorrectly placed and should not have x icon to close
Fix 5199822 Long press and select "detail" shows details of another item

Change-Id: I0e992ded8a154edb1c7a81b75d0461d5bf309f31
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
bd8e025f1bb39b2be236b183ea8e78f93b308ad1 25-Aug-2011 Ray Chen <raychen@google.com> Fix 5188970 Cannot close Gallery when opened from Email/Gmail

Change-Id: I7af203a9aec8ebaf6c33fa592c996f917e0caca8
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java
f9a0a4306d589b4a4e20554fed512a603426bfa1 17-Aug-2011 Owen Lin <owenlin@google.com> Initial code for Gallery2.

fix: 5176434

Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c
/packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumPage.java