History log of /packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9ec5de9dbf46caecd2f0b38a72d31fa37ecb0466 06-Nov-2012 Bobby Georgescu <georgescu@google.com> Fix scenario where launching Gallery launches Camera

Bug: 7479102
Change-Id: Ib4676a7149c659897eee1dbbb92ab09861bd0ed4
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
19ded6d4283a887c579a29da3832dde286e97688 02-Nov-2012 Wu-cheng Li <wuchengli@google.com> Lock icon in secure album should redirect to gallery after unlock.

Use FLAG_DISMISS_KEYGUARD so lock screen will be brought up
when launching gallery.

bug:7462572

Change-Id: I345398cc6cfc09901e1ce8309ebdb65cf15088e0
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
3935ca3762344c5f8a306596d70c0d4d4a2fda4b 01-Nov-2012 Angus Kong <shkong@google.com> Jump to lockscreen in secure album if tap on video

bug:7454356
Change-Id: I1e7e9ed886d414d5b41abdb1cc1d00c7736ae006
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
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/PhotoPage.java
f85d974363a40b8ce588ba3fe902eec38de603d9 24-Oct-2012 John Reck <jreck@google.com> Add proxy launcher

Bug: 7394901

Change-Id: I667a6e6fbd11d4c02dc536067bb6f3813775db9c
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
5bd00332556b20c141b5c7f16433d55b1bc7fe0f 24-Oct-2012 Bobby Georgescu <georgescu@google.com> Launch built-in camera app via filmstrip

Bug: 7407182
Change-Id: I25e0028dd5f3889f7837494e0bf25c54edbb4405
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
949584340c9f5f41a6133ba06058af280490f0c8 24-Oct-2012 Bobby Georgescu <georgescu@google.com> Do not show bottom controls when undo bar is visible

Bug: 7403458
Change-Id: I1e789ebd7f08256a1ccbdb2ac9f2f9f97d0859c6
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
3ad7bbc55d7aaa0f36a7242fdd0f612d877adc19 24-Oct-2012 Bobby Georgescu <georgescu@google.com> Do not show Camera placeholder when not appropriate

Bug: 7403454
Change-Id: I5cc0227f068da0ca596e6259314b9d2ade62de07
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
a850a543225e9f7a72c5a49bb6099573c7efda13 24-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix jank when launching editor from Camera filmstrip

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
c02be7d6224c0b4e81c86e19c3d101ea070c7e1d 23-Oct-2012 Bobby Georgescu <georgescu@google.com> Show Panorama viewer button in filmstrip mode

Bug: 7393346
Change-Id: I555ef6cfee0ac3992f0a84c69a1eafc19718ce4c
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
cc6ad8217cb09b778d400c9c5e5928170ca53737 22-Oct-2012 Bobby Georgescu <georgescu@google.com> Scroll to placeholder in gallery filmstrip launches camera

Bug: 7368079
Change-Id: I50323b6b4d64672486cdca785b9f1e1ae2f02a97
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
48129f36b96928b34e657cdc976c1ac19f7b5ad2 22-Oct-2012 Bobby Georgescu <georgescu@google.com> Better transition between Gallery and editor

Bug: 7346155
Change-Id: I5f6b0901df4aa37d1657c13917aeae7ad77ac9bf
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
41b3cff60905a96ab5b6f8e5f42bcc3bab1eb605 20-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix delete and undo behavior on filmstrip

Bug: 7353749
Change-Id: Ib0abd3f71783c01b1df418dd76e674bf05e65ce7
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
4dd4d80af4cd3ba7555c12d1c1ba775e048b6c57 19-Oct-2012 George Mount <mount@google.com> Remove progress bar when switching to grid mode.

Bug 7377975

Change-Id: I388fdf6c6c9a5ffa64e10f864806a8131e53a009
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
00d64dd584c6d08310a32a28e75aebc6eb8238ea 19-Oct-2012 Ruben Brunk <rubenbrunk@google.com> Fix geometry xforms & minor bug.

Bug: 7376048

Fixed geometry transform. Fixed minor bug where the foldername
for saved edited images was incorrect.

Change-Id: Icb3156f02b7db7b50a455aaa31ee70832e3fdca8
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
a680a0c32ae3321c632288b36083f2782af2c55b 19-Oct-2012 Doris Liu <tianliu@google.com> Adding support for tiny planet in gallery

Bug: 7344427
Change-Id: I6fad734b28022f45cc551d81212ee4d3a0c867b2
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
c29588d7cc9fc3d2eef61af433fc0a8859e16ef4 19-Oct-2012 Bobby Georgescu <georgescu@google.com> Do not show "Filmstrip view" text when photo is fullscreen

Bug: 243374
Change-Id: I2d0a1d56e6c2d833d9d75041b30afcb988635c49
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
4b4dbd225685502f4249c2bf25bf74f7ce526645 18-Oct-2012 George Mount <mount@google.com> Remove panorama checks from supported operations.

Bug 7351383
Bug 7349438
Move panorama support checks from getSupportedOperations so
that calls to getSupportedOperations are consistent. Panorama
checks are moved to only based on callbacks.

Change-Id: Id9ff138204df84c6fb0a4c971dcea59f1220aee2
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
2576a29cccf1d96edeef071914e8b775c230e8e8 18-Oct-2012 Sascha Haeberling <haeberling@google.com> First cut at a skeleton for the TinyPlanets filter.

Bug: 7344426

This is not hooking up the real algorithm yet, but unblocks Doris so she
can add the button while we rewrite the algorithm.

Change-Id: I685b6c189e8ac124670db53c37565c4f1ff1f606
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
0addfc7f6342184a67cdd8b5cc3872c6a5c87e55 18-Oct-2012 Doris Liu <tianliu@google.com> Save edited picasa to "Edited Online Photos" album

Bug: 7346157

This CL includes the following changes:
1) Save the new image to a new folder named "Edited Online Photos"
2) After the picture is saved, the user will be in the "Edited Online Photos" folder
3) Change the toast during saving to "Saving to" + new folder name

Change-Id: Ic505925425419ba9e3c7dac31fd403bf73d6887d
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
63926d2ed2ca2921de8dca9b3a52c1d64d8afc46 17-Oct-2012 Ruben Brunk <rubenbrunk@google.com> Added support for crop actions. Changed overflow menu to use new editor.

Bug: 7281479
Bug: 7337191
Change-Id: I91055c972666e4c2d605903646b55d8c67ae87f3
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
e3b50f1bfcfa5c8729f31788eac1a6109a88988b 16-Oct-2012 Sascha Haeberling <haeberling@google.com> Adds GMS Core PanoramaClient to Gallery

Bug: 7319099

Also updates the API call to LightCycleHelper.
This depends on http://go/ag/#/c/239523/

Change-Id: Ie951e44e3a474599d1da6fea52609fbb9f8dc9bc
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
ca181a68a30ad830d55eb8886f62a323c64e1ba3 16-Oct-2012 Owen Lin <owenlin@google.com> Add permission to GalleryProvider.

bug: 7202384
Change-Id: I1a13ed7e480163c898cf376219953b321290d4d4
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
030f8dad6aefc42d0af39bc1b93f370937d3e2ab 11-Oct-2012 Owen Lin <owenlin@google.com> Fixes bugs in TiledTexture.

1. Upload tiles in SinglePhotoDataAdapter
2. Rebuild the upload queue after the screen nails being recycled

bug: 6399444

Change-Id: I57e756f8d1d84742bf82dd34c83baf8df89ae4cc
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
294b9945e01ec41c1e9e58dfcd5d6e106ee2d538 13-Oct-2012 Wu-cheng Li <wuchengli@google.com> Add stitching panorama image to secure album.

bug:7285105
Change-Id: I9f609f30d817f10a6c9c94fc6eadb58bc1bdd580
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
5273e8306410d19e2e2cf6234bfe0a05097be874 12-Oct-2012 Bobby Georgescu <georgescu@google.com> Improve performance of filmstrip

Bug: 7336758

Change-Id: I22dbf2e75bc069341a9bbc2c4dcdf7750f23be7f
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
423e45e492d4ebdc41ecfeba73299de23b1463c4 12-Oct-2012 Mangesh Ghiware <mghiware@google.com> Refresh panorama image after stitching completion

Bug: 7336784

Updating photo refreshes the supported operations which indiate if said
MediaItem is a panorama or not.

Change-Id: If3a169c9256b3f898594a30740930b5dfd96dba0
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
825afb1b3e7d15b5c258d664ee008dc68da1c407 11-Oct-2012 Mangesh Ghiware <mghiware@google.com> Move calls to LightCycleHelper off the UI thread.

Bug: 7320303

Replace multiple methods in LightCycleHelper with a single one that
returns relevant metadata.

Change-Id: Iaa75b3c1ccc8a5b724b253cec654b5b5acb4878e
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
7761357f4a55de6745ac5172355d1a09a9a37492 11-Oct-2012 Bobby Georgescu <georgescu@google.com> Behavior of camera filmstrip in gallery closer to camera

Bug: 7329118
Change-Id: I0a5753db301cc53050251455439555aa7ae414c4
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
4d302b8a826ece492c2abefd56b780a65899663e 11-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix NPE in PhotoPage.updateMenuOperations

Bug: 7324012
Change-Id: If09d20b7ab64abe9020f7f6301356ed9a4155d5b
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
e23a9d412cba5a202405e1c99c0cf080949db2c7 10-Oct-2012 Bobby Georgescu <georgescu@google.com> Defer expensive UI updates in filmstrip

Bug: 7322925
When using the filmstrip, delay expensive updates to
the action bar and share menus, some of which may require
disk accesses, until the rate of change of photos slows
down, instead of doing this work for every single image
that flies by.

Change-Id: Ie82adb4d54c96fec837d5954a91e1d4a17f548dd
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
785a1f8a5856b199f6553a92020e77621516c608 11-Oct-2012 George Mount <mount@google.com> Fix NPE due to progress bar not existing.

Bug 7325685

Change-Id: I5e24b4f8a0ee4016c122e14702e3ae575f5bb56f
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
4e091eb758a3ac1016b373419cea1ada1b977bc5 10-Oct-2012 George Mount <mount@google.com> Change how stitched images are inserted into Gallery.

Bug 7299396
Stitching images now use normal LocalImages for their MediaItem
instead of LightCycleItems. They are no longer part of a special
album.

Change-Id: Ic62822a44b9743829dee50bcfa6f455cd538afa7
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
f122d56e15e00928d731751796b0509ae47c6799 10-Oct-2012 George Mount <mount@google.com> Move panorama stitch progress outside the image.

Bug 7302513

Change-Id: Ie6505c8ed2125b878e54a93c4b8c0f51d80a1385
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
2c83c5f09aa79d81ee11da517fd62222f8c3337d 09-Oct-2012 Wu-cheng Li <wuchengli@google.com> Handle stitching progress in secure album.

- In secure album, show stitching progress only if it is
captured after the device is locked.
- Make sure image capture intent does not show stitching
progress.

bug:7285105

Change-Id: I0b3ba60fe3c03f488bea25e2f09843dd84ab6dfb
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
71ce96fc79787dedac56af75385dc227d52be3af 09-Oct-2012 Mangesh Ghiware <mghiware@google.com> Fix sharing as photo option for 360 degree panorama

Bug: 7310190
Bug: 7302023

Also, fix disappearing sharing menu item in action bar.

Change-Id: Id555426cce5f25d21405c885b6f7331d238cdd07
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
4438a7cce00cb19cb35cfc3cc149533f40043c00 09-Oct-2012 Doris Liu <tianliu@google.com> Fix details dialog not being dismissed

Bug: 7300997
Change-Id: I0d0dad50a9777f8ea49889a4517b8704a03021c5
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
a29eeac8993b221d98cffbec5583b5cba1921c89 08-Oct-2012 John Reck <jreck@google.com> Use framework orientation

Bug: 7292373

Change-Id: I66e0c3a3b43a5d544ecc3fc9a4a04fa5521d36b2
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
639095c6bed84ab0bf9ebc7c4f8b8c944df285a1 08-Oct-2012 Bobby Georgescu <georgescu@google.com> Correct undo behavior

Bug: 7307293
Change-Id: I72f814acd3625024f1e2aeccec4abfd28ad3319b
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
51ebe5f71b9f00af95c8d64f1ff895fc7b9aa018 08-Oct-2012 Mangesh Ghiware <mghiware@google.com> Share only 360-degree panoramas with new MIME type

Bug: 7302972

Instead of using the UsePanoramaViewer attribute in XMP metadata,
ensure that the panorama is full 360 degree by checking if the
cropped width is same as the full panorama width.

Change-Id: I66d864df96052f96db5fa19fb02b3abe214b4dec
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
76f1881067d7ca4eda6d3e398567473d2913c5d1 08-Oct-2012 Bobby Georgescu <georgescu@google.com> Launch correct photo when tapping grid item in Camera roll

Bug: 7303049
Change-Id: Ie3dd2b010d60669cd000a2ed9b52e0611b0977bd
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
d81b264931cfa3b34096efd46659b81f9a628fb5 08-Oct-2012 Bobby Georgescu <georgescu@google.com> No Camera recenter on resume after editing or viewing items

Bug: 7302361
Change-Id: I7420f89a766dc86d873166789b1875539541825c
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
bbc993162d687df20e2ff9a329bb9b6e04926ba8 07-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix orientation locking issues when going back to Camera

Bug: 7287039
Change-Id: Ib993266706b24269fd759f1ded1b6a85c2c5c7ba
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
d2724f69edf39cf2019eac1b49f316d22ab70d0a 07-Oct-2012 Bobby Georgescu <georgescu@google.com> Change display of 360 panorama button

Bug: 7300866
-Move pano button to center and make larger
-Pano button visible even when in full-screen mode
-Show edit button only when image editor is available
-Correctly hide bottom controls when switching from
filmstrip mode to grid mode
Change-Id: I485b1988733bedd0c03e89a261a6ce80be46b9bc
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
ba65c373f244f6de0b45afa6b7cd711866f1bfe4 06-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix display of spinner and SQL exception for view intent

Bug: 7288544
Bug: 7219163
Remove the query for photo DISPLAY_NAME in view intent
since it is no longer used, and hide the spinner when
launching PhotoPage via this intent.

Change-Id: Id41ff3d623e7fd2e708b1042782333b48e8ba4a7
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
c64d127c976f8ef647552063ff14ead4388ce699 19-Sep-2012 Angus Kong <shkong@google.com> Support panorama progress items in Gallery.

Bug 7259843
Add dummy files for showing panorama progress in filmstrip.

Change-Id: I7ae92b90bbbd992fde00cfcfc68af69b34d34d74
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
b6692653af5dbce477f33df721aa6177fabeda4b 04-Oct-2012 Owen Lin <owenlin@google.com> Set type as well while launching editor.

bug: 7275805
Change-Id: I6b86dd03d92b2cf453947bd84a0247e1626c81db
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
541315cda58bfdb30b3acab14af6944f83908103 04-Oct-2012 Mangesh Ghiware <mghiware@google.com> Revert "Add a overflow menu item to view 360-degree panorama."

This reverts commit d84ae72adb147c0e8517a438b3dea3e87d319bb7

Change-Id: I5921cbb476034da2798480534e9084e287312f04
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
d84ae72adb147c0e8517a438b3dea3e87d319bb7 03-Oct-2012 Mangesh Ghiware <mghiware@google.com> Add a overflow menu item to view 360-degree panorama.

Bug: 7276026
Change-Id: Ib4979e45867e22267b34fb77342ca625337c7ee4
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
f4e22eb44bfae0c2a3b6570f19480c8c3535d808 03-Oct-2012 Bobby Georgescu <georgescu@google.com> Correct behavior when swiping to placeholder item in PhotoPage

Bug: 7261641
Change-Id: I54deed0f20a4673cb5470ffc128c73cddc071772
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
847587b51800d4b2d241cd1b7c8b589be2c24133 03-Oct-2012 Mangesh Ghiware <mghiware@google.com> Remove redundant handling of share action.

Bug: 7256214

Gallery PhotoPage was handling the menu item selection for the share
action, in addition to the ShareActionProvider. Removing this leftover
code from pre-ActionBar implementation.

Change-Id: I0c91b9a7c05b38758ad1b76dd657225daaab1922
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
9481d05b0782dccd495c66d2e3240cd7448bbd4a 03-Oct-2012 Bobby Georgescu <georgescu@google.com> Do not show grid/filmstrip spinner in secure camera mode

Bug: 7274284
Change-Id: I74ede883fe726bd05e95b30d3f91da2856543123
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
45f089d69141e3fb0dfaad9bc34d275b61eb2aee 02-Oct-2012 Bobby Georgescu <georgescu@google.com> Show Camera placeholder as first filmstrip item in roll

Bug: 7272674
The camera roll filmstrip view now shows a shortcut to
launch the camera when opened from the Gallery app.
Note: the edits to SnailAlbum and SnailSource were made to
allow sharing code between SingleItemAlbum and SnailAlbum

Change-Id: I1bd2f3db99138c4b79a41c9c5baee46704cd18e0
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
2619f20d30123a391cc6d37515fe8eb9d81d5029 02-Oct-2012 John Reck <jreck@google.com> Fix NFC regression

Bug: 7263536

Change-Id: Ieba6147fdc0279888ec1e6ea2101eab235522b9f
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
462923e5800e151ab5ec450063334ba430c1da3a 02-Oct-2012 Bobby Georgescu <georgescu@google.com> Check item is editable before attempting to launch editor

Bug: 7269840
Change-Id: I18af824865b8a158c7a89e2b34f51a32de144057
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
ee899c09c88e5b054397ac44ad20e5055cd24f39 02-Oct-2012 Bobby Georgescu <georgescu@google.com> Improve display of ActionBar album mode switcher

Bug: 7265942
Bug: 7266862
- Ellipsize the title of the album when appropriate
- Show correctly title when swiping from camera to gallery
- Hide the delete icon in the overflow menu to match the
latest UX mocks, making more room for title

Change-Id: Ief77f65c972e75086c5dbf4229c9462cbcc17940
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
c1c67ea813421a6173d1dab2ad75c11b51c7976d 30-Sep-2012 Mangesh Ghiware <mghiware@google.com> Remove video play icon and tap to play behavior for panorama.

Bug: 7258968

Per new UX design, there'll be a panorama viewer icon in the bottom
right instead (see b/7233446)

This is essentially a revert of Change-Id
I17fdb5d6bcab1f3997a1ab92fcf45e0309b394b3

Change-Id: Ib35c99cca4ee9b2422dd16f5ea3b931ad5f08f35
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
b27df4650459068b409924493bbadaf25bb7e191 28-Sep-2012 Bobby Georgescu <georgescu@google.com> Debounce after quick fling towards camera but zoom if slow

Bug: 7250026
Bug: 7213802
Change-Id: I3c900813937161744a36015469c70112f2cf356b
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
c7e3c76d6965f520a9651d309052c5f01726cd58 28-Sep-2012 Bobby Georgescu <georgescu@google.com> Show a placeholder when the camera filmstrip is empty

Bug: 7213757
Tapping the placeholder takes the user back to the
full-screen camera capture mode.

Change-Id: I844f789b8e80f34e79f4a9c366c1c244bbf1f2a5
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
5172dee697c05235ddf932827d75e6fa0b81d382 28-Sep-2012 Mangesh Ghiware <mghiware@google.com> Update to sharing panorama

Bug: 7150324

Use separate share intents for sharing panoarma and regular JPGs.

If photo is a 360 panorama, promote sharing it on the action bar,
and move sharing as JPG to overflow menu.

MIME type changed to specify panorama360.

Change-Id: I8d52733d105820ac17ff36a6ad9d7525893f6d27
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
53fe9f72433f2fdae30e1708c5933390202cbcf5 28-Sep-2012 John Reck <jreck@google.com> Fix Monkey NPE

Bug: 7243032

Change-Id: I0e8757e6108f2e86bf4608b1535b1c528f2f3197
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
8fe22ecb8e744a09a2e0d867f876ecbf74c82298 27-Sep-2012 John Reck <jreck@google.com> Don't requery a constant

Bug: 7238418

Change-Id: I1b7117cd30ffc51b51980830791779ec899c2f4b
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
ddf0225a5192a589fc578945f56440b09bf74d12 26-Sep-2012 John Reck <jreck@google.com> Avoid unnecessary allocation

Bug: 7238418

Change-Id: Ic0a1ef0368368526401a53f02f680ef9d42ea310
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
8868aa1b2d199e7fa869c9c5fad3079175621002 24-Sep-2012 Wu-cheng Li <wuchengli@google.com> Add an unlock image in the end of secure album.

When camera is started from secure lock screen, put placeholder
"proto-photo" at the end of the camera roll. When it is clicked,
it takes the user to the lock screen.

bug:7192331

Change-Id: Ia444d3bb8a88ba69bba4c47cb9783a60a6986c34
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
e06c9f109f06813ca1f8a0abb549d51aefd4973d 24-Sep-2012 Bobby Georgescu <georgescu@google.com> Restore missing "Group by" option in camera roll grid view

Bug: 7217410
Change-Id: I1488f02919a8702be2eb41696f627f9e3d94ce88
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
3eb2e643a40d1be77998373343cdf8b14764f58c 24-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix occasional crash when restoring photo page state

Bug: 7216012
If the saved state being used to restore the photo page
includes an out-of-bounds index, ignore it and reset the
index to 0.

Change-Id: I1b8aa82cbc553297189abb57bd274d7eb53f61e0
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
15ff1b1ca52bea348b8a490b5b5abe53fa43eaf2 24-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> The trimming solution with the mp4parser library.

bug:7093055

Change-Id: I598a81d80c9c5107696f3af7761207e3ec88f3ff
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
4f32d514ee7474d867d04bf3934f9e11e9e92783 24-Sep-2012 Mangesh Ghiware <mghiware@google.com> Use vendor specific MIME type for sharing LightCycle panoramas

Bug: 7150324
Change-Id: I78d426672e9a8fc69f0b9b564438e40eb0230719
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
23e595f0c656ebaeb63f78e3018b5830628c5afe 21-Sep-2012 Wu-cheng Li <wuchengli@google.com> Support secure image capture mode.

bug:7141738

Change-Id: I4ea010609d16da469998ebb40ad8282b9468de25
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
fc3651d38708c6475b808b6fad27ee66bdd6ee04 20-Sep-2012 Wu-cheng Li <wuchengli@google.com> Hide grid view menu item in secure album.

bug:7200451
Change-Id: I23b6fbc48aac46e9b25b159416bc9f64a357d038
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
f44499dda32783cc74643723ed01ce636e81b186 18-Sep-2012 Bobby Georgescu <georgescu@google.com> Add bottom bar UI for photo page

Bug: 7050303
Bug: 7170148
Pulled the handling of the display of the edit (FX) button
out into a separate file and put in the groundwork for
supporting multiple buttons within a container along the
bottom of the screen and managing their display as well as
animating them in and out. Also added a button for launching
the panorama viewer when appropriate

Change-Id: Iee3083e0693ef3c1f55264b922f02b9a702d2103
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
56bdcb7272f222fde5e4c6fc133cb490b31c7667 20-Sep-2012 Bobby Georgescu <georgescu@google.com> Make ActionBar always present in filmstrip

Bug: 7196718
Change-Id: Id297f28402da20efd99a9f90376a18f041fe8448
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
f8a39c644637a15b9291eb9299762b8cf91cd76a 18-Sep-2012 George Mount <mount@google.com> Add UriImage support for viewing LightCycle panoramas.

Change-Id: I7f61cef39370fd23b9481708dc3c902c17873074
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
58f898c9cc0228f084d903b5d27ae609cedfc9b9 17-Sep-2012 Wu-cheng Li <wuchengli@google.com> Do not show edit button in secure album.

bug:7183052
Change-Id: I94ca6703e5c3a0e2af552be2065be361210185b2
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
d4553b1337cf6729ee3bc572b9cb3841145db7dd 17-Sep-2012 Bobby Georgescu <georgescu@google.com> Reskin: do not show edit (FX) button in filmstrip mode

Bug: 7050303
Change-Id: Ibab686bc8581e8cc24a722950ff3b8b77023edd4
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
14ad4efd409887a0f4cd90e29818c8c3bd2ece8f 14-Sep-2012 Bobby Georgescu <georgescu@google.com> Only show FX button for photos

Bug: 7165294
Change-Id: Ia35f5981cba5a69f94964a9c38361b01ea1cdbfd
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
b265ebb01cc046b74329eeb28dbecb24e0f953d2 13-Sep-2012 Bobby Georgescu <georgescu@google.com> When tapping single-photo albums, launch photo directly

Bug: 7145102
Change-Id: I75c66f2f37fc11f3846fdbd40083787ba38af207
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
a9948ef755f665f1327ef80760df3858f1030454 12-Sep-2012 Bobby Georgescu <georgescu@google.com> Launch next-gen editor if present and show FX button

Bug: 7050303
Shows editor button on the photo page and launches the
next-gen photo editor if it is present on the device.

Change-Id: I4058cffaec3fc4b446bd90dbecb809681d3255ea
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
3f1f1baf3a674927e25cd5cd885fb372796bd3a0 24-Aug-2012 Teng-Hui Zhu <ztenghui@google.com> Add the UI elements for video trim activity.

1. Refactored the classes to support both the video play and trim.

Now the common code for controller overlay is in CommonControllerOverlay,
which is basically the same as the original MovieControllerOverlay without
animation. Because in trimming, we don't want to hide all the controller.
The specific animations are implemented in the sub-classes which are
TrimControllerOverlay and MovieControllerOverlay.

At the same time, TrimTimeBar extended TimeBar to support the extra
trimming start scrubber and end scrubber.

The interface between the timebar and the controllerOverlay are kept almost
the same way, except adding the trimming info when necessary.

With all these, the activity of TrimVideo now relied on the TrimTimeBar
and TrimControllerOverlay. Similarily, the MovieActivity relied on the TimeBar
and MovieControllerOverlay.

2. Hook the TrimVideo activity with the trim menu.

Note that the icons are temporary for now, still need UX input on that.

bug:7093055

Change-Id: Ib9bfbc090106744a569fce4c451ddffc0a2c699b
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
7108c4078436488ede37608c62a6b953b51db835 10-Sep-2012 George Mount <mount@google.com> Remove VIEW activity from LightCycle.

Bug 7133257

Change-Id: I4b3c968ceaa01d9461a788553f23bf7694ac4b3c
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
bef18c1e167f5835c8f854e76a91da63b700f93b 10-Sep-2012 Wu-cheng Li <wuchengli@google.com> Do not allow panorama viewer in secure album.

bug:7053266
Change-Id: I5195638e03e5eb32d47b50b7b568a40cd8a222d9
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
c6781c0c0d8d193863ca09455a5bda3d542db493 10-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix import statement breaking build

Change-Id: I0d2acb3ece6ed2aea04033f911a69b266b6cc7de
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
4f59a411667f1c75c1b3ea2ad0ec07e82defa5d1 04-Sep-2012 Angus Kong <shkong@google.com> Move LightCycle checking to the closed source.

bug:7076779
Change-Id: Ieebe0343a46257ca07f06483beb9391a90d7727a
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
efd480e85dc5bd0d2ca0ac82d03e141212388830 30-Aug-2012 Wu-cheng Li <wuchengli@google.com> Use FLAG_SHOW_WHEN_LOCKED for secure album.

The activity needs this flag to be on top of the lock screen
when the camera is started from the secure lock screen.

bug:5955016

Change-Id: If554a3f7fef4c03a981c83afe22b8c4980b954d1
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
83be4e0c9b8e3372eff8f9b1a396afd961b72921 24-Aug-2012 Angus Kong <shkong@google.com> Invoke LightCycle viewer for panoramas.

1. Add SUPPORT_PANORAMA_VIEW to supported operations.
2. Add helper methods in LightCycleHelper:
a. checks if the image file is a panorama.
b. invokes the panorama view activity.

bug:6912297
Change-Id: I7909e49632cad02a795943a113bca6aec17df9dd
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
24081fe26ca25448ddb9c8f9cc7f406d26344dec 28-Aug-2012 Owen Lin <owenlin@google.com> Fix NPE in viewing single image.

bug: 7052228
Change-Id: Iaca5ed062cd3c8233f212551cf4312f0828f12dc
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
898a2f4540635528a0916b0a6b0a177869854ae9 26-Aug-2012 Wu-cheng Li <wuchengli@google.com> Disable action bar home button and menu items in secure album.

All menu items are disabled except delete.

bug:5955016

Change-Id: Ibf947b0c50b0591a774d298fbfbe692c9a88575d
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
50ea2d2938218ac6b2039f0e42998cfbbc45d1f1 24-Aug-2012 Teng-Hui Zhu <ztenghui@google.com> add the menu button to support trimming

This is only visible for video item.

Change-Id: I17f8e902f3560cc8524f890705c020901331df74
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
a0ce682e40c39ce046c48d8a7f989fff01bb9f2c 22-Aug-2012 Wu-cheng Li <wuchengli@google.com> Add secure album support for lock screen camera.

Secure album only shows the media items added by
the camera.

bug:5955016

Change-Id: Id26abec4dfcc036cf9de682398fed25eed73d1a5
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.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/PhotoPage.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/PhotoPage.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/PhotoPage.java
dbb6acc204ba6f095eb0e49e1298e9ceda2c3096 19-Aug-2012 Wu-cheng Li <wuchengli@google.com> Rotate the camera screen nail correctly in gingerbread.

In gingerbread, camera screen nail is a static image.
Handle its rotation like a bitmap screen nail.

bug:6927809

Change-Id: I554483e58fc9e32399acb20f426d7ec35631b7ac
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
14d3289b4867c21da93ec4032119c0091bc78c30 16-Aug-2012 George Mount <mount@google.com> Clear activity result when launching from lock screen.

Bug 6710029
When the screen is locked during video play, the activity result
from that play will be triggered immediately when unlocking to
camera. The result must be destroyed on unlock so that the resume
goes to the camera rather than to the video display.

Change-Id: Ifa6f00fa1cba119d5fc6e762d1757bd6aac576f4
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
c90a116a7fd65d41e8258dc7b9a14218649697e6 09-Aug-2012 Bobby Georgescu <georgescu@google.com> First gallery reskin iteration.

Change-Id: I2b79ca9f40346a777141562c9a4762d7a8b460f6
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
ba50b9420e64731fd5aa8b1410e1f36457a1635a 08-Aug-2012 Bobby Georgescu <georgescu@google.com> Hold WakeLock during MTP import

Bug: 6680729
Bug: 6827858

Change-Id: Ida82db3288a429dacc5830b82ec6bbd954f75cf1
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
fb5571987f2555b04731b6f3e1c479efc16d542a 19-Jul-2012 Wu-cheng Li <wuchengli@google.com> Do not use ShareActionProvider before API 14.

Use simple share intent before API 14.

bug:6706723

Change-Id: I47930f0b81c7c8c1943054964a093967a7704bf1
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.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/PhotoPage.java
6772173d2a49b87a1d209f42fe52b5f830596f99 02-Jul-2012 Chih-Chung Chang <chihchung@google.com> Remove dependencies on APIs only exist on newer platforms.

Change-Id: I606a23863247454051dd183ddf6b77f6bc882685
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
fc86994f86f8cfb31e151c9e730dc1e9dc7b3349 29-Jun-2012 Yuli Huang <yuli@google.com> Do not use NfcAdapter API in old platforms.

bug:6698904
Change-Id: I8cab312a212e4cba43187a73bc76d3f2164527a9
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
c370476adcf29f311ceec70a119792a0168781e9 27-Jun-2012 Chih-Chung Chang <chihchung@google.com> Show undo option for 3 seconds after the last picture is deleted.

Bug: 6742326
Change-Id: I5008c1984fff0a2affaeabf2a195cfcdc517ebc2
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
6118af9ddad8acc050133154f8f60c842c7f9bfa 22-Jun-2012 Chih-Chung Chang <chihchung@google.com> Fix the behavior of deleting the last picture.

Also fix the jank while deleting multiple pictures quickly.

Bug: 6713932, 6712555
Change-Id: I9d64d8bbdcd4ec0dc9a447a51d50f88ff27363b4
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
517e1bd25305d4e82d101a8c06be0119dde2eab3 19-Jun-2012 Chih-Chung Chang <chihchung@google.com> Fade in/out the undo bar.

The fading out happens after 3 seconds or the user swipes away.

Bug: 6610348

Change-Id: Icd4dea7b0396f26556240adab93b9e645a9f1e58
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
6b891c6a3739f8c49d42f9db6fc76cb92c7c5f25 07-Jun-2012 Chih-Chung Chang <chihchung@google.com> Add swipe-to-delete gesture.

Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
54fe6202b6f7d233e7645c121321fe0f3d20fc8b 23-May-2012 Yuli Huang <yuli@google.com> Back should progress through Gallery and return Home for widget intents.

bug:6384492
Change-Id: I7ffb824568e400ff5724a29c1908c34a1e10235c
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
e6251df06f0b3c8f556043f8b725b4b19be7474d 22-May-2012 Chih-Chung Chang <chihchung@google.com> Unlock orientation only when action bar is needed.

Bug: 6482079
Change-Id: I75d96ca7957f80e9c52f35edf74127f82f194f63
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
21c2e665fdc1d1af0c91ab9c104d13fb7dc2444e 03-May-2012 Ray Chen <raychen@google.com> Fix 6360834 Select All is shown in place of Deselect all option

The CL changes the SelectionManager's toggle method so it changes itself to
inverse selection mode when all items are already selected, and onSelectionModeChange
will be triggered so the listener can update the selection menu (Select all/Deselect all)
and ActionBar.

Change-Id: I9aa5507067415e52f6800c254ecb4d68e7395ffa
b: 6360834
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
a3871050845b4921379add2b126add3cfbab1109 16-May-2012 Ray Chen <raychen@google.com> Fix 6385004 When video playback in gallery is launched from another app, Up should cross back to Gallery, except when the logo-bitmap extra is set.

Change-Id: Id0c43872386cc0272bc76d37a9c866d5ffae700f
b: 6385004
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
71cd89a38752bc22ae0ec2df965e4280b776623c 18-May-2012 Chih-Chung Chang <chihchung@google.com> Don't jump back to the camera preview if we started an activity.

Bug: 6429570
Change-Id: Ib25dfc4ade235b8c7d7d87c981671ef9308d128b
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
0b2486cff0c1b951c54325596256b986307f7f3a 18-May-2012 Chih-Chung Chang <chihchung@google.com> Use View.setSystemUiVisibility to enter/leave lights-out mode.

Bug: 6451200

Change-Id: I8e27b3e5eedfa2652f06dfc8f377c9cef8100160
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
d759b7c1fc449f4f0ef91997738bbef1bbd96677 17-May-2012 Owen Lin <owenlin@google.com> Refresh the action bar timeout when button is clicked.

Also handle with the confirm dialog, we show the action bar
as long as the confirm dialog is shown. And we start to timeout
the action bar when the confirm dialog get dismissed.

bug: 6478646
Change-Id: I3f0e7e61b43b0dd2bb2b1e2b4444c8dcb5706e1a
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
43a80fd806247cb50e81bacda3ad21d210e9ae88 17-May-2012 Angus Kong <shkong@google.com> Support Panorama preview.

The panorama preview doesn't consider display rotation.

bug:6305152
Change-Id: I6389a74d3c0e64d8b6bc206e728d1088f04be225
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
9723770a40d230092204dd685f19ff4bce6dabd5 17-May-2012 Angus Kong <shkong@google.com> Revert "Support Panorama preview."

This reverts commit 41832d9f1568c7d8227fb9ffebaf7830345cffff
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
41832d9f1568c7d8227fb9ffebaf7830345cffff 17-May-2012 Angus Kong <shkong@google.com> Support Panorama preview.

The panorama preview doesn't consider display rotation.

bug:6305152
Change-Id: I6b87c18ed8eadf1b2bf5e64437c5b290d111cbba
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
253c5aec7692afdd7880fbd169d4b44d5679cbc0 17-May-2012 Chih-Chung Chang <chihchung@google.com> Handle layout change between pausing and resuming.

Bug: 6468414
Change-Id: Ib190b620bea5a60f12d6075beaeb3bcd10b87802
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
79cf902f4cc602774e90bc2040f0029978becb61 16-May-2012 Owen Lin <owenlin@google.com> Fix a dead lock while we freeze the screen.

bug: 6504696
Change-Id: If960967142bb0df773ce075bf76f5726c37e1d27
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
bd7c016d728853d38f98a3c6077b7bd9b08858b9 15-May-2012 Yuli Huang <yuli@google.com> Avoid black screen when PhotoPage just starts.

bug:5367032

Change-Id: I6bd56026ec32bcee972d69855966750b9a57cdf4
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
9a033b07b8e0d9fe7419b7a0d876e9c7febf43c8 15-May-2012 Ray Chen <raychen@google.com> Fix 6046544: Deleting a photo takes multiple steps and the flow is inconsistent with other deleting flows on other core apps

Per request, change the confirm dialog message to "Delete the selected item(s)?"

b: 6046544

Change-Id: I46f7fd42a9f9fbf2399aca78ed9b2e67a15acb65
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
3b4a8aeb0353fa18a2b5267b3952a80a6c6d4d13 09-May-2012 Chih-Chung Chang <chihchung@google.com> Handle ScreenNail size change.

Bug: 6355399
Change-Id: Ice7560c12aa06cf8ac58cc3883f0888b5c6e71a5
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
2ef46ed28b28b355d7f3f1432c7b1196b832a859 08-May-2012 Chih-Chung Chang <chihchung@google.com> Better orientation change handling.

Bug 6451117: Preview location is wrong after rotating the device quickly
Bug 6444303: The preview location is wrong when camera is started upside down on tablet
Bug 6451710: Tap to focus broken in landscape

Change-Id: I12fd57d6618ec5521ccc6efcbf65de57ff2ea3d2
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
4b69c5f52e8ef3209bc0b6889c4a6355614607ca 07-May-2012 Yuli Huang <yuli@google.com> Remove PhotoPage spinner shown in the action-bar.

Remove spinners shown for loading data out of view.
bug:5406790

Change-Id: Iffaf97937b86b869559a27f190941c1de263e422
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
ba12eae90b5b1a80ee002aa0df8c5c5189c4faa3 06-May-2012 Chih-Chung Chang <chihchung@google.com> Add transition for card deck effect.

Bug 6442785: Controls disappear & preview surface gets warped after deleting just taken video
Bug 6399861: Filmstrip: Pinch-out animation in fullscreen photo > filmstrip should be metaphorically consistent with the stack of cards model
Bug 6429677: Gray shadow shows up when start

Change-Id: I408cf250e67b4def20f5f15621fe57d7845c90f9
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
6575794a9c09f22d5721e212c093e0a2df376d0c 05-May-2012 Chih-Chung Chang <chihchung@google.com> Fix 6429662: Video snapshot doesn't work

Change-Id: I6414be7f00ee103b7047128fdc92e03ca87c7703
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
d9355113da391f8bbddef1d2a2126ce6edc72291 05-May-2012 Chih-Chung Chang <chihchung@google.com> Put play video icon at the same place of the screennails.

Bug: 6412197
Change-Id: Idaae46c598035639907a85f726b763b80bd9572d
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
66ca848b2f58b813d366642088d274a1b7c4a90c 04-May-2012 Chih-Chung Chang <chihchung@google.com> Tapping on the camera icon no matter what should open camera.

Bug: 6437677
Change-Id: I41ead463652c11986825744465f181ca75674c60
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
88cc2ca5f5596762a5546ec7426756f2036be455 05-May-2012 Yuli Huang <yuli@google.com> Fix a TODO by replacing a string.

Change-Id: I17216e0ca83a185842bc69151fcf8c5136e2b873
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
aeb3062e84ed28f0e25a73f511f287ae0a3e4294 03-May-2012 Chih-Chung Chang <chihchung@google.com> Fix NPE in onFullScreenChanged message handler.
Bug: 6430929

Also tweak the timing of showing action bar and the timing of unlock orientation.

Change-Id: I1af4703ccf99f5257e9724a20d0aa216d20e13c2
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
61f94714c3702115d2f89bb5f8829697be0c3680 02-May-2012 Chih-Chung Chang <chihchung@google.com> Show/hide action bar at the right time.

Bug: 6399476

Change-Id: I5046b2e73822ebadd94680f61d87db183b40b5c2
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
06c6401eededc2ec842ba4994a838c2ded0a666c 03-May-2012 Pin Ting <pinting@google.com> Turn on unlockOrientation to make onConfigurationChanged in camera work.

Bug:6304805
Change-Id: Ia5a8df4153a7ddc7847a8a3744a3537120edb143
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
33f8567dd5003e4bb342683f3768ab7552648b02 01-May-2012 Chih-Chung Chang <chihchung@google.com> Fix the Camera controls disappearing after zooming problem.

Bug: 6392682
Change-Id: I065c52b44c02f9314e58e82846cdf22e2d940eab
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
f50ce2b708c0c70930a346206fdd526f53ae6004 01-May-2012 Yuli Huang <yuli@google.com> Fix 'Edit' and 'Crop' behaviors.

1. Make Gallery show edited local photo after resuming, similar to how
it shows cropped local photo after resuming.
2. Fix inconsistency between cropping local/PWA photo.

bug:6168430
Change-Id: Ia350e0c67f05969ad42f56b9693c09c3b6433d3c
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
b5dc542fbaeaf99bebdcf775ef0e034e89e88eae 30-Apr-2012 Wu-cheng Li <wuchengli@google.com> Do not show action bar on camera.

bug:6411406
Change-Id: I4fbb95c9913046b4d5b1cfa4ede10490d156ed3f
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
985e289d4ceed04351c300484d28299dcf915896 25-Apr-2012 Yuli Huang <yuli@google.com> Make 'Edit' behave more consistent with 'Crop'. DO NOT MERGE.

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
788245711658188131ae2670e44fb6ca8ad5d53a 26-Apr-2012 Wu-cheng Li <wuchengli@google.com> Make sure action bar is hidden when camera starts.

bug:6402552

Change-Id: I2ec39e607a505490e431181eb40e259102b9a773
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
736cf74b170d32374c8b35dbe6a46d975258be87 24-Apr-2012 Wu-cheng Li <wuchengli@google.com> Hide action bar when camera screen nail is displayed.

bug:6363385
Change-Id: Ic37afa779339cfe5f66f0a40cbf4870ff1a6a0ee
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
21a412c93c9b0401b039f4eb86d4950752e5bb84 20-Apr-2012 Owen Lin <owenlin@google.com> Fix NPE in Gallery.

This happens if user set type in an intent. But we get a different type from
content resolver.

Change-Id: Iabafce7f7aaff23a7a9ee09e1d38ab50049abc88
fix: 6358473
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
160e6d776daab93610b3d12413ad9ff2dd867d8b 25-Apr-2012 Chih-Chung Chang <chihchung@google.com> Don't do capture animation if we don't have Camera ScreenNail.

Also make "Back" jump to first picture instead of the previous one.

Bug: 6388263

Change-Id: Idf78363cf3952bf66c6b0688e79d99c01956cd07
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
2c6173822a612597c79be41b126367ddfbb5d518 20-Apr-2012 Chih-Chung Chang <chihchung@google.com> Add capture animation in Gallery.

Change-Id: Ibf95cc64f37a4518377e64124af6606c4f14cdaa
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
67098d1a72fd04e2af06d3a5939cde28c65f70d9 05-Apr-2012 Ray Chen <raychen@google.com> Fix 6046544 Deleting a photo takes multiple steps and the flow is inconsistent with other deleting flows on other core apps

This CL adds a confirm dialog to delete command and removes all confirm/cancel menu items from the actionbar.

b:6046544
Change-Id: I3afe7b59b4f6d1216e192a621621f7bf544e1919
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
b8be1e0ad76b6abc0da7ead39f7a9811195d001e 17-Apr-2012 Chih-Chung Chang <chihchung@google.com> Add thumb pool the cache Bitmap used for thumbnails.

Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
014d9586d8145a33f4e99eaad570587f6d650026 18-Apr-2012 Wu-cheng Li <wuchengli@google.com> Add page tap listener.

Camera needs this for touch focus and video snapshot.

bug:6313318

Change-Id: Ie0b8129160c2a79d4b20fab2173027cddfee7a79
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
a41ed05ff2f71d2177b4f24f53acd848b46fc840 14-Apr-2012 Martijn Coenen <maco@google.com> Use new Beam push API.

Change-Id: I3e5a69832d1ac01759e37fbde2cf2c1926219445
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
33ef03776b7734717b16f6fc861b831fb1b1dfac 27-Mar-2012 Martijn Coenen <maco@google.com> Support for beaming a picture.

Change-Id: I73d69f164b455ffa90a495001190937025a56dc5
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
921895ba0b3511aeba053bdc0c965f9d3f62eb51 02-Apr-2012 Chih-Chung Chang <chihchung@google.com> Remove FilmStripView.

Change-Id: I45cee8c32863cc65eba4c5e83e667e104cf24e42
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.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/PhotoPage.java
ed46d77c16cd80357f4a0feada2435dfba8104a6 26-Mar-2012 Yuli Huang <yuli@google.com> Fix b/6212093: Title wasn't updated for orientation changes.

Change-Id: I407cfb8f2bde5bab302045188f4f511bdcd2347a
b:6212093
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.java
15b351a22d02e89d882fc9fe32b3f4c512080e0a 15-Mar-2012 Chih-Chung Chang <chihchung@google.com> Create a ScreenNail interface so we can add other types of screenails.
Add a new MediaItem type to contain a ScreenNail.

Change-Id: Ia303949f3013dd48ded204eaf9ec69a102b8503e
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.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/PhotoPage.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/PhotoPage.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/PhotoPage.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/PhotoPage.java
2066200f8fd0a2ed5b97e53115eb5de6b56320e1 18-Nov-2011 Chih-Chung Chang <chihchung@google.com> Fix 5637927: NPE while trying to do slide show for gmail image attachment

Change-Id: If30aa9798a030a5b97c7ff626f91187d7da93ab5
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
8bc5bebba780ca4a322b466b06fc909331697cf4 17-Nov-2011 Owen Lin <owenlin@google.com> Make sure startAnimation won't be called after onPause.

Change-Id: I6c5238394b2ad64e22fbcb250ecd1534da7e8d03
fix: 5629252
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
604f053d040782159b61d3b74ee533bc2c0ccdd0 21-Oct-2011 Ray Chen <raychen@google.com> Fix 5471518 Playing slide show from any picture doesn't start from the current picture which is unexpected IRL17 Crespo

Change-Id: I2ed78cee2f6257254794a7724897845c43a3e0a5
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
cf46a3abc26aac7cdb6b6993aeade053304b71d9 14-Sep-2011 Ray Chen <raychen@google.com> Fix 5291553 Not able to share downloaded image file

Change-Id: I8e57b04e0231c592cc0dfe8a4f31e585510e753c
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
3a54b9ae67eb7b38f19ea0bdeeef26efc0a1afa1 13-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5280798: Click on filmstrip during swiping causes crash.

After swiping animation finishes we move to the previous
picture. But if during the animation the user clicks the first
thumbnail on the filmstrip, we will have no previous picture
to move to.

Now disallow clicking on the filmstrip during the swiping animation.

Change-Id: Ie910c346cbf35543fedb6812b04c8e78faab0d0f
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
2785956f8f5654966a41e20f482f4af3057eea3f 08-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5263604: View not attached to window manager.

We need to make sure the dialog is dismissed before onDestroy
is finished so we still have the window. (We do it in onPause.)

Change-Id: I896583a67e117c9e4c5a1312541d67efa01295bf
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
113bfc77c4468411da9ae1290553c3be89f8df9a 30-Aug-2011 Owen Lin <owenlin@google.com> Improve the performance of Reviewing a photo.

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
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java
267e152714d75bb6378ee2ffffa90ca4343ca829 30-Aug-2011 Ray Chen <raychen@google.com> Fix 5188208 [UI] Remove action bar title in Photo/Video view for portrait phone

Change-Id: I20fba5894e46536f6972bc812d7f2aa5f52840b5
/packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.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/PhotoPage.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/PhotoPage.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/PhotoPage.java