• Home
  • History
  • Annotate
  • only in /packages/apps/Gallery2/src/com/android/gallery3d/app/
History log of /packages/apps/Gallery2/src/com/android/gallery3d/app/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
138fee43f8651ddce3c82638c4af86de043261ec 17-Oct-2014 Neil Fuller <nfuller@google.com> am 3ffc2889: Merge "Remove dependencies on FloatMath"

* commit '3ffc28897d40524e0b8869aebccc8b04551ba5cf':
Remove dependencies on FloatMath
8a55d3ae7486b798e4c26eeb91993916145f3cef 02-Oct-2014 Neil Fuller <nfuller@google.com> Remove dependencies on FloatMath

See frameworks/base commit 33253a4baa6279f81a73425b49dfb6abe5f5416e
for details.

Bug: https://code.google.com/p/android/issues/detail?id=36199
Change-Id: I202064d78aeb125035c87257100e949da93c116c
yePosition.java
163a97c3d3e9e1a029e04a8e629eabd8de8f3d9f 09-Aug-2014 Alan Newberger <alann@google.com> Start new task for Gallery trampolines

When testing the Camera trampoline, even in the full gallery app
from a JB to K upgrade, I noticed that the Camera app was starting
in the Gallery trampoline's task -- two recents even with
excludeFromRecents true. Was still the case in the new trampoline.
Adding FLAG_ACTIVITY_NEW_TASK addressed this, also with some
manifest changes in the trampoline in another CL. Photos was working,
I believe because photos activities explicitly set a task affinity
to shield themselves from G+, thus forcing a new task. Also, this
helped shield activities when both trampolines are active. That is,
if Camera was started via its trampoline, then Photos, the Photos
shortcut opened Camera because it already had an activity in the
trampoline's task. Even if Photos works now, this does no harm and
ensures we're not relying on the implementation of another APK.

Bug: 16843573
Change-Id: Ifa6d65ef2b00a4ffc6df78f13dba16270113509d
allery.java
fe99791c6a04221f8163a09104a1ba5c78046f17 28-Jan-2014 Leavitt Zhang <leavittz@nvidia.com> gallery: change typo '&&' to '||'

Assertion to ckeck array boundary should
be '&&' instead of '||'. It caused an
Exception that '-1' wasn't detected.

Change-Id: I991ad8efed87a0837d262fe7419c7f007c173b56
Signed-off-by: Leavitt Zhang <leavittz@nvidia.com>
lbumSetDataLoader.java
1b56a245a253244628ff0ddfdbe5f51cf8475b16 16-Oct-2013 nicolasroard <nicolasroard@google.com> Merge "Fix Gallery auto-hide action bar in Album view" into gb-ub-photos-carlsbad
a4f2389cf50404854d7820326d776deb7b6c1ad7 16-Oct-2013 Mangesh Ghiware <mghiware@google.com> Catch all the exceptions.

Bug: 11156898
Change-Id: Ic16a858bb5d1f8838ffa201c910b617f859c9074
allpaper.java
4d7efab8c893b436e6e05cda486d6fd80baacb45 16-Oct-2013 nicolasroard <nicolasroard@google.com> Fix Gallery auto-hide action bar in Album view

bug:11218758
Change-Id: Id48e54842ea3539396801d99ea8ec33e58c7a1f1
hotoPage.java
db30124ab6dabd8e24789efaa4e6db7622889b87 15-Oct-2013 Tenghui Zhu <ztenghui@google.com> Merge "Revert "Play the video on top of lock screen"" into gb-ub-photos-carlsbad
35a36f1855839b9130e42b82a8e9101a8578d01e 14-Oct-2013 Tenghui Zhu <ztenghui@google.com> Revert "Play the video on top of lock screen"

This reverts commit 417f074dbcf07843bf02e762c2fe3b23fe8af32b.

From the discussion in the bug, for Carlsbad, we will take
the JBMR2 approach for safety concern.

Change-Id: Ieae45e1ae7580c94c08277e580b123e6f504a3b4
bug:11190995
ovieActivity.java
315ce7165e64aadb9d929677284957c4d7f8f0d8 14-Oct-2013 Mangesh Ghiware <mghiware@google.com> One crop and set wallpaper activity is enough!

Bug: 11206305
Change-Id: Ibd2d4c52c98f02f58e251984696742b9a935b0b8
allpaper.java
d180bb94f9b9fc9846f08479fc952bb6f5fe70de 11-Oct-2013 Mangesh Ghiware <mghiware@google.com> Use existing crop activity as fallback.

Bug: 11156898
Change-Id: I77f4788870a4f3f499ba59e168f04922a95a03c4
allpaper.java
9895d680e66d1f1cf4603fa91c8a53e328f1476b 09-Oct-2013 Mangesh Ghiware <mghiware@google.com> Build properties now updated to SDK level 19.

Check only for numeric version code.

Bug: 4225598

Change-Id: I632b1c2ceb310fc35804b6e44a43c6c4ce1562b1
allpaper.java
58b6f484263f57009e22fef482a9ae1a4d3f48b6 08-Oct-2013 Mangesh Ghiware <mghiware@google.com> On K+, intent out to Wallpaper manager for crop and set wallpaper.

Bug: 4225598

Change-Id: Ib58a85775ebfd774356d26fd9aa01f2059916300
allpaper.java
391e4a190d4afcfdf89b8e7892e972cc998cdf41 07-Oct-2013 Svetoslav Ganov <svetoslavganov@google.com> Switch Gallery2 to use the support lib for printing.

Now we have a class in the support library that uses a correct internal
implemetation based on the API level. On older devices the app does
not crash and on new devices it can print. Also this class does
the heavy lifiting. Gallery2 was not using this class, rather it had
its own (obsolete) implemetation that was not taking into account the
image aspect ratio to provide a hint to the print system for the
orientation to be used.

bug:11099831
Change-Id: I4cd260614af4d9d87ec31d205ee2a5ef02ef5417
bstractGalleryActivity.java
9149879dc8c2ff6fe233d6e20858ebc081068abb 03-Oct-2013 Mangesh Ghiware <mghiware@google.com> Add methods to return Camera and Gallery launcher intents.

Bug: 10820027
Change-Id: I340072c48832e23245aa041503649b40cbaf0bf0
allery.java
06c027675948259368a902fd6f8c2ecac5db5167 12-Sep-2013 Mangesh Ghiware <mghiware@google.com> Rename Gallery activity and add trampoline

Bug: 10807861

Change-Id: Iaaf17b579db2fe09900e9817f766f43dd66dea61
lbumPage.java
lbumPicker.java
lbumSetPage.java
ialogPicker.java
allery.java
alleryActivity.java
ovieActivity.java
hotoPage.java
463b918edda204f1563dc2e27976cafa6af9a769 17-Sep-2013 John Hoford <hoford@google.com> Prevent edit during view photo intent

bug:9862016
Change-Id: I58e64765630f686f49836dbfb7a7447910e714ef
allery.java
hotoPage.java
b55bfb6e6000881c56d4de39c9cf71929ed87a18 13-Sep-2013 John Hoford <hoford@google.com> fix crashes in in gallery by reversing previous cl

cl 348551 tried to fix a long existing bug which but
introduced race conditions in the system

bug:10652636
bug:10551751
bug:8794694
Change-Id: Ieb617f85df32a5d82293e555621a7e44b8b84708
lbumPage.java
hotoPage.java
e0321526805facb72b307be6120b20a881ee979d 13-May-2013 Marco Nelissen <marcone@google.com> Enable virtualization

When the Intent says to virtualize, and the right virtualizer is
present on the device, enable virtualization.

Bug: 8767565
Bug: 10727216

Change-Id: I8a98404b21c434966b7ae2dc341eb38f2a47eef2
(cherry picked from commit af6b0d2c08afd7803a92856c7c39b5e6144addfa)
oviePlayer.java
98b296ffc50e11b7950acf1d0df850b617913131 07-Sep-2013 John Hoford <hoford@google.com> fix Gallery crash while deleting a picture

bug:10551751
Change-Id: I9b6a8488b4fa2a3440b85ae8e4c5dc3da83e29f1
hotoPage.java
cac4cedc989b53fdf6b8b46363b3e722c5605cff 03-Sep-2013 ztenghui <ztenghui@google.com> Merge "Show the action bar and edit button when system clear full screen flag." into gb-ub-photos-carlsbad
417f074dbcf07843bf02e762c2fe3b23fe8af32b 31-Aug-2013 ztenghui <ztenghui@google.com> Play the video on top of lock screen

bug:10342963

Change-Id: I8093d877d4d491b83b58b062e61edf6d352bf114
ovieActivity.java
02f459f8e1ef6d6765c9a57ee1866fc5af2f9eb5 31-Aug-2013 ztenghui <ztenghui@google.com> Show the action bar and edit button when system clear full screen flag.

bug:10421879

Change-Id: I2cb4f80685e8feb4ee694ed865d724ccc33c3874
hotoPage.java
71e27598c6c7cbba1792fffceaf653946a3bd2e4 28-Aug-2013 ztenghui <ztenghui@google.com> Fix ISE in Gallery related to muxer.

bug:10512258
Change-Id: I45f579a3b0b16e8378c1e5937da98a0f45de6d6c
ideoUtils.java
601bbb6da7ed8241cda50323b46090ecfff61bdd 23-Aug-2013 John Hoford <hoford@google.com> Prevent slide show request with only on slide

bug:8794694
Change-Id: Id3354733c7f35d9303b01f07ddf30f5555b07ddd
lbumPage.java
hotoPage.java
eb2950384846a3797e13b04765f65df70d80982e 21-Aug-2013 ztenghui <ztenghui@google.com> Fix the Google Drive issue

Here a local cache file will be downloaded and sent over to Gallery / Editor.
So we need to handle that well.

bug:9356969

Change-Id: Ic09a2f5de2c9c55ca2ed21c77ddf7517f5939bfb
hotoPage.java
7a4412d19a355e78f472eba2f3a8d90234b69ee9 20-Aug-2013 Sascha Haeberling <haeberling@google.com> Merge "Prevent NPE." into gb-ub-photos-carlsbad
1c83a7cfed7057f5d3719bce40bd3f54f8298c52 20-Aug-2013 Sascha Haeberling <haeberling@google.com> Prevent NPE.

Bug: 10388167

Change-Id: I9293d29e6a1a4f052513409b80fe7d4aaac87529
hotoPageBottomControls.java
f8b8c708f30aeb632ef7064cc5be7c65669f1762 20-Aug-2013 nicolasroard <nicolasroard@google.com> Merge "Add printing to Gallery" into gb-ub-photos-carlsbad
513eb24fe6b9376ce41bff0abc53d6d14daf8325 20-Aug-2013 nicolasroard <nicolasroard@google.com> Add printing to Gallery

Change-Id: I26aad645759f95813003badffbd03845e0df37bb
bstractGalleryActivity.java
hotoPage.java
70df03bea1eb05ac5adf9c5425e5e4a0cc6aed16 20-Aug-2013 ztenghui <ztenghui@google.com> Check whether save button should be enabled when time bar updates

bug:10260216

Change-Id: Ic9714d5b5415ddc6f181bf2caf9efedf3fd871ac
rimVideo.java
55705d5a9baadfe0e19170b2075e4a273033c260 19-Aug-2013 Mangesh Ghiware <mghiware@google.com> Fix RTE in PhotoPage

Bug: 10341736
Change-Id: Iff005411cff8f8923c465da99804c14a3783bcf9
hotoPage.java
723bf81990245a07739146ac10357703c9839de1 08-Aug-2013 Sascha Haeberling <haeberling@google.com> Remove Camera from Gallery2.

Change-Id: I89adebffcacd1269217d7bd8c630c2f78886f590
alleryApp.java
alleryAppImpl.java
hotoPage.java
tateManager.java
5843ba18bfd1ed81bdfde267af550aec30936a58 07-Aug-2013 George Mount <mount@google.com> Merge "Move PanoramaViewHelper out of LightCycleHelper" into gb-ub-photos-carlsbad
d1763a30cb0191e926467dc529e252b545ec9a9f 07-Aug-2013 George Mount <mount@google.com> Move PanoramaViewHelper out of LightCycleHelper

PanoramaViewHelper can be used outside of LightCycle panorama
picture creation.

Change-Id: I40bb357385fa311f9115dffaa143119cfcb5f45f
bstractGalleryActivity.java
e58cb0d26c9fc8d1eb04d3cb86233b918053a47b 06-Aug-2013 George Mount <mount@google.com> Remove MediaCache and MediaCacheUtils.

Change-Id: Iebf4b10ecde56bc490a1b5a4add31a1cf766e9c9
alleryAppImpl.java
06e34ad198138a9b9b5252af9dd54f2915d0551f 17-Jul-2013 John Reck <jreck@google.com> Fix help for GalleryGoogle builds

Bug: 9886976

Change-Id: I23fc78b924f3757f8ab12f84d3a0c97c1adc2333
(cherry picked from commit 7a43c8c3b85d6f9162651d8ed8b3a11a87490824)
lbumSetPage.java
43d796d5c098be9f92c89db5501b986daf52763e 14-Jun-2013 Doris Liu <tianliu@google.com> Switch over to use new camera activity

Change-Id: Ib907b5ab5d0e818261e95edd182f2e20c3bbebe0
tateManager.java
d25fdea42988c72312ab3be0be76ab75e4d944c8 28-May-2013 Ruben Brunk <rubenbrunk@google.com> Removed unused handling for intent extras in editor.

Bug: 9170644
Change-Id: I569b16d278d1813f5a96f9e0231ed71ff9e33687
lbumPage.java
allpaper.java
b2379a3cc15233b05cc10782bb5059d1cf4101bc 28-May-2013 Bobby Georgescu <georgescu@google.com> am e3336dc3: Merge "Prevent lock screen appearing during active slideshow" into gb-ub-photos-bryce

* commit 'e3336dc35f514e3b5dd7a15f9a86eaf6d1572b5e':
Prevent lock screen appearing during active slideshow
ef132358deba6acbbeaf0a63014c77c98bca1d9a 25-May-2013 Bobby Georgescu <georgescu@google.com> Prevent lock screen appearing during active slideshow

Bug: 9094678
Change-Id: I8efb988911c75275430da934474df1e65265b234
lideshowPage.java
3564326e076d7291ef0c2bdd1d6a82f1894b193c 24-Apr-2013 Angus Kong <shkong@google.com> am 7d62e546: Use FULL_SENSOR for unlocked orientation.

* commit '7d62e546b3b9eedc1f5c9d8f3ee644025f554fe3':
Use FULL_SENSOR for unlocked orientation.
7d62e546b3b9eedc1f5c9d8f3ee644025f554fe3 24-Apr-2013 Angus Kong <shkong@google.com> Use FULL_SENSOR for unlocked orientation.

bug:8689453
Change-Id: Ia81d970772f091fbd9bec142acfd5e9f84e0a0fb
rientationManager.java
7f9fee89af36100fd02661bb29a1012332d1a14c 23-Apr-2013 Sascha Haeberling <haeberling@google.com> am d313bb0a: Merge "Make sure we don\'t add the pano sharing menu in the secure lock screen." into gb-ub-photos-bryce

* commit 'd313bb0acf2bc8b1114180fa9a7f50d6393168a2':
Make sure we don't add the pano sharing menu in the secure lock screen.
8e5828374ffd5d96e7d1efeb36db1b940972b818 23-Apr-2013 Sascha Haeberling <haeberling@google.com> Make sure we don't add the pano sharing menu in the secure lock screen.

Bug: 8473022

Change-Id: Ie2221b6a660b7c9dc39cef89a509da4b2659adb3
hotoPage.java
e3049d4c69e2876a2998356e787993bf38591c88 22-Apr-2013 Bobby Georgescu <georgescu@google.com> am ca6f04e2: Remove dead code

* commit 'ca6f04e27bbcab953bd3f9dcf50476a1c4b70aac':
Remove dead code
9c0d72d36fa20fc9d2a21a87d37501589a7ffde4 22-Apr-2013 Michael Kolb <kolby@google.com> am 32049103: Merge "Lock camera orientation using FW API" into gb-ub-photos-bryce

* commit '32049103305c99e8be1f7af3e46933277e02a7c3':
Lock camera orientation using FW API
ca6f04e27bbcab953bd3f9dcf50476a1c4b70aac 20-Apr-2013 Bobby Georgescu <georgescu@google.com> Remove dead code

Bug: 8672542
Change-Id: Ia6046b17f8ae77ffe6b8090b5fbd1dda2bc0327e
bstractGalleryActivity.java
32049103305c99e8be1f7af3e46933277e02a7c3 19-Apr-2013 Michael Kolb <kolby@google.com> Merge "Lock camera orientation using FW API" into gb-ub-photos-bryce
0a5d37c880553d439a0d761414e929a1f7b3cf02 19-Apr-2013 Flavio Lerda <flerda@google.com> am ed2f1790: Merge "Remove unused imports." into gb-ub-photos-bryce

* commit 'ed2f17903bbbca08ac98af4aa6c1dd9d22504a1d':
Remove unused imports.
11f2b39b9a44f7f26177fbeecf7c07b9dc4edc86 18-Apr-2013 Flavio Lerda <flerda@google.com> Remove unused imports.

This is follow-up on the previous fix for b/8433834, addressing reviewer
comments.

Bug: 8433834
Change-Id: I06f466704175a62d8febc5be471a2ca1f50e898d
hotoPage.java
1251b7cdd52f5fe42b99f8419326c8d43612bbff 18-Apr-2013 Ruben Brunk <rubenbrunk@google.com> am c3178ca4: Gallery crop uses new activity. Fixed image quality.

* commit 'c3178ca4daf7ed570f3432f3433959c208ecc105':
Gallery crop uses new activity. Fixed image quality.
c3178ca4daf7ed570f3432f3433959c208ecc105 17-Apr-2013 Ruben Brunk <rubenbrunk@google.com> Gallery crop uses new activity. Fixed image quality.

Bug: 8639287
Bug: 8617799
Bug: 8600483
Bug: 8586301
Bug: 8526929
Bug: 8181859
Bug: 7561681

Change-Id: Ib275b970931dd324e93d1629be75e5309c9dcb4e
hotoPage.java
d4aafbc3b14a77774b0835c402058ccac6e85739 18-Apr-2013 Flavio Lerda <flerda@google.com> am 47f28614: Merge "Usage statistics for sharing." into gb-ub-photos-bryce

* commit '47f28614605a19726d2ab81b90333ba718223b72':
Usage statistics for sharing.
47f28614605a19726d2ab81b90333ba718223b72 18-Apr-2013 Flavio Lerda <flerda@google.com> Merge "Usage statistics for sharing." into gb-ub-photos-bryce
6a0efe6d483e1d4b61ca888a76381cf791b4b66b 17-Apr-2013 ztenghui <ztenghui@google.com> Merge "When video not seekable, don't show the scrubber" into gb-ub-photos-carlsbad
e8b4b34cb77b179f397641e2f4572e4aa6be1943 17-Apr-2013 ztenghui <ztenghui@google.com> When video not seekable, don't show the scrubber

bug:7117365

Change-Id: I133ea68eaebf1d875a27336ac524d785efe71cc2
ommonControllerOverlay.java
oviePlayer.java
imeBar.java
75408cd38e7efe0755addcf3170932c8b3190bc1 16-Apr-2013 ztenghui <ztenghui@google.com> Add accessibility to video player controller.

bug:5714277

cherry pick the Carlsbad CL:
https://googleplex-android-review.git.corp.google.com/#/c/297944/

Change-Id: If0de1ec250a211890e1914d89e8b61780542a675
ommonControllerOverlay.java
2251386437163898eb4b6f7546705d1365744fd1 16-Apr-2013 Flavio Lerda <flerda@google.com> Usage statistics for sharing.

Bug: 8433834
Change-Id: Iaec6150443258daa213395b6fb1e8d8d3e6123b3
alleryActionBar.java
hotoPage.java
05f2332b281acd38d31a76cd1e6d47e2fdb4dbd4 17-Apr-2013 Doris Liu <tianliu@google.com> am 953f109b: Merge "Fix face unlock failure" into gb-ub-photos-bryce

* commit '953f109b688477b086281fe09074d3886ef87fba':
Fix face unlock failure
4a10c9782bc397ab3b77e5d7a439a90169484b1a 17-Apr-2013 Doris Liu <tianliu@google.com> Fix face unlock failure

Bug: 7494156
Change-Id: I6c909e498305ff3e66efdeeb9fb5581ea8f51715
lideshowPage.java
634248d313c88f14ff851e7b6769b432ce45e15e 16-Apr-2013 ztenghui <ztenghui@google.com> Add accessibility to video player controller.

bug:5714277

Change-Id: If0de1ec250a211890e1914d89e8b61780542a675
ommonControllerOverlay.java
72d611a96c9c0458b3d8a41cd9b9b19a6ca061ae 15-Apr-2013 Michael Kolb <kolby@google.com> Lock camera orientation using FW API

Bug: 8617536

Change-Id: Id3a5ae777f6f87d24984cbca48202470651cd71c
rientationManager.java
3eb2fb4dd2ede7f65ee307061213f0e8860f15f6 10-Apr-2013 ztenghui <ztenghui@google.com> Merge "Use MediaMuxer for the video trim and mute." into gb-ub-photos-bryce
8b9de91b3c01664b24deda202acb5db8594db503 08-Apr-2013 ztenghui <ztenghui@google.com> Use MediaMuxer for the video trim and mute.

bug:8548085

Change-Id: I55955285ee141ebab6437950a154280cc5fefcc0
rimVideo.java
ideoUtils.java
dcd1dd986bc8455ce822e8d9e7a46ea103228351 10-Apr-2013 Ruben Brunk <rubenbrunk@google.com> Merge "Moving crop to a separate activity. Refactoring." into gb-ub-photos-bryce
6fe165b7d28299d5b2f97deb135b233d84eb300f 05-Apr-2013 Ruben Brunk <rubenbrunk@google.com> Moving crop to a separate activity. Refactoring.

Bug: 8526929

Change-Id: I8acf6d46de069dd84c31afea6b4a7ae8e1c2fcce
lbumPage.java
allpaper.java
8c4e95f4380a4104c9968963a363b62746e6c967 09-Apr-2013 nicolasroard <nicolasroard@google.com> Add menu item to start the simple editor

Change-Id: Iac3ca76838a5f91186527863b3d990cbcad3faf0
hotoPage.java
49508252ccb37a92bf06da468e4683c4b1909a33 18-Mar-2013 George Mount <mount@google.com> Add initial implementation of MediaCache.

Change-Id: I94d357bab0e57cc60b8be790d912ba036730298b
alleryAppImpl.java
705dc819661cb8c8e839a04577b0641bd6caad53 21-Mar-2013 John Reck <jreck@google.com> Revert "New loading model"

Change-Id: I5d3d4c7a4ca0d11de01278529e1413fc62e6b4ed
lbumDataLoader.java
lbumSetDataLoader.java
hotoDataAdapter.java
lideshowPage.java
1a719804ddd5c6fc9a6914ef5a2b6e914834d1f9 14-Mar-2013 Bobby Georgescu <georgescu@google.com> Add many contextual actions to new gallery

Change-Id: Ied57636c7bf0804ad015ddc664e177633c549e08
uteVideo.java
hotoPage.java
9b4c3e9fa3f921e40f4abc549983fd35fb0a0a85 13-Mar-2013 Bobby Georgescu <georgescu@google.com> Add coarse grained events for camera mode, filmstrip stats

Change-Id: I9c48f1646e9dff44efd27180065a6435110c5d16
hotoPage.java
f37648b877bf6029d7afead31e965b473114c89c 13-Mar-2013 Bobby Georgescu <georgescu@google.com> Usage statistics collection for camera module, filmstrip

Change-Id: Ib3e7dfb8948e99541f6d492c7d7bd4bfbad1e53d
hotoPage.java
tateManager.java
3847e4e8e26ed6c6f18ee4a6b2984d33051d155e 14-Nov-2012 Bobby Georgescu <georgescu@google.com> Add possibility for UX improvement measurements

Bug: 4293199
Change-Id: I45f8a63c676c8d7700c422a0a18f799fb6d02d2e
bstractGalleryActivity.java
alleryAppImpl.java
tateManager.java
f52ceba89962829aa12f5caba131580e8da85880 20-Feb-2013 Bobby Georgescu <georgescu@google.com> Replace various BitmapPools with a smarter unified pool

Make all of gallery use a single shared pool, and pave the
way for making the pool more adaptive based on the current
workload.

Change-Id: Ia32561ad50b1b9716ebe2fd32a7bf02737685dac
bstractGalleryActivity.java
hotoDataAdapter.java
192a16ce9690f6710c0af4c64d1a2617aff0cae1 07-Feb-2013 Marco Nelissen <marcone@google.com> DO NOT MERGE: Don't call requestLayout from onLayout

Doing a layout within a layout can lead to various problems, so it should
be avoided. There's some logging that warns of this, which got triggered
by CommonControllerOverlay.
I don't know what problem this code was originally trying to solve, but it
doesn't seem to be necessary anymore. The line in question was originally
introduced in change 209a9163d4e8cee0bfe162ae598ef40e6051479c, in Oct 2011.

Note: This has been checked into master, this is just cherry picking into
Bryce branch.

Change-Id: I7651304491a90e8d130f4a0a3b3de8e29c4d0116
ommonControllerOverlay.java
2db8b143cdcdecd81916c09e19e4c65e582dccf5 08-Feb-2013 Bobby Georgescu <georgescu@google.com> Change transition from Gallery to Filtershow

Bug: 8163894
Change-Id: Iaed600df39a88b176cb8ed3316d187c26c6b7961
hotoPage.java
d78be769b9bc48a78d3220b9016344e9d794c114 05-Feb-2013 John Reck <jreck@google.com> Cleanup

Move Canvas to com.android.photos.canvas
Remove workaround for b/8079561

Change-Id: I14b832d5935eb8704e96e5591c58f33a7cd4de31
allery.java
b380f17426f419e3663da80985dc62f544d47048 29-Jan-2013 Bobby Georgescu <georgescu@google.com> Add comment about MenuExecutor assumptions in BatchService

Bug: 7998915
Change-Id: Ibb73585bf2f81b4a1daadfeb814828ec7b55441d
atchService.java
d0f8807ca66b006e4049e32ad187a808c42e1f00 29-Jan-2013 John Reck <jreck@google.com> Merge "Launching gallery shows browse ui on canvas" into gb-ub-photos-bryce
10dbc7c56452f19fc3f9e54d9d060feea1e6767a 29-Jan-2013 John Reck <jreck@google.com> Launching gallery shows browse ui on canvas

Change-Id: I3a5e63ce354ac8e3f3c60e4dc86cfa4432026622
allery.java
d00f521a3138a8f244c91748b0277290edbf61f6 29-Jan-2013 Bobby Georgescu <georgescu@google.com> Fix ANRs due to waiting for IO on UI thread

Bug: 7998915
Change-Id: I938145a7072170f713099a04578f98951b35cbab
bstractGalleryActivity.java
hotoPage.java
4ea5c27007e38fa8583add4bacf268ba67b9f0ad 19-Jan-2013 John Reck <jreck@google.com> Tweaks for canvas

Change-Id: I9aecf757047f93159212441e5317ef2b3b304a70
allery.java
ovieActivity.java
hotoPage.java
f4f43e7dbc85ab8b7437e8f1d6ab0317470e70b6 16-Jan-2013 John Reck <jreck@google.com> New loading model

Rename reload() to loadIfDirty()
loadIfDirty is implemented by MediaSet and is final
loadIfDirty is now blocking instead of async
Subclasses must implement two protected methods, isDirtyLocked() and load()

The change from async reload() to sync loadIfDirty() should be fine since
all users of reload() were doing so from a background thread already, and the
longest load() is PicasaAlbumSet which is still a fairly brisk 40ms or so

Change-Id: If5cc596a1c13e52e5f4efff1a144bd086d37cfb7
lbumDataLoader.java
lbumSetDataLoader.java
hotoDataAdapter.java
lideshowPage.java
d3aac52ffb88ced53413d5eef29c641dd6982267 26-Dec-2012 Bobby Georgescu <georgescu@google.com> Replace camera importer

Change-Id: Icfeb23301bc6c9f8c8b12824bcbb0d8b41852d07
lbumPage.java
lbumSetPage.java
otificationIds.java
hotoPage.java
sbDeviceActivity.java
617551e3e0016dc5ea9f3f1c4d1c9d8c0eab3f25 07-Jan-2013 Bobby Georgescu <georgescu@google.com> Fix camera->gallery relaunch loop on empty camera album

Bug: 7952132
Change-Id: I27325abe32177195d07fe310b8c49aca81af9056
hotoPage.java
6455ba954daa6dd0a8e114c7db97a8361d064e5a 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

The auto-merge of this CL from Arches to Bryce had a merge conflict,
so I canceled the auto-merge and then did this manual cherry-pick.
allery.java
hotoPage.java
bf1baf80e1463dfacf4a3a486625523a76479a00 12-Dec-2012 John Reck <jreck@google.com> Merge "remove actionbar sherlock" into gb-ub-photos-bryce
2abaaf7caa9a83ba1ea759868aabde7f21387184 12-Dec-2012 John Reck <jreck@google.com> remove actionbar sherlock

Change-Id: Idb9b63f625fd4f0b78d947421ec5b098d8e5dfd5
bstractGalleryActivity.java
ctivityState.java
lbumPage.java
lbumSetPage.java
allery.java
alleryActionBar.java
ovieActivity.java
hotoPage.java
ickerActivity.java
inglePhotoDataAdapter.java
tateManager.java
rimVideo.java
d9b8887252a17464b4357e3699192d11c608233a 12-Dec-2012 Your Name <jreck@google.com> Merge "Remove LongSpareArray + some cleanups" into gb-ub-photos-bryce
a4eae1abb4f2547dfbda84301ee764ce35464881 11-Dec-2012 John Reck <jreck@google.com> GL packaging refactor

Change-Id: I1d7a95c4f0b91a5ba59030d57cf6865c11b497aa
ctivityState.java
lbumPage.java
lbumSetPage.java
anageCachePage.java
hotoDataAdapter.java
lideshowPage.java
6dc3866ac10cc6bf38e73f098fe1988d1a6eecd4 04-Dec-2012 Your Name <jreck@google.com> Remove LongSpareArray + some cleanups

Change-Id: If5bb44ebca70bd735e426aeb3d9aac2d4bac646e
hotoDataAdapter.java
795776f67fe5bca902b09c01edec630879263341 06-Dec-2012 Ruben Brunk <rubenbrunk@google.com> Removed old crop.

Bug: 7441237
Change-Id: I29801f798a1d1ad3af81a82950edbb8a72ccae82
lbumPage.java
ropImage.java
allpaper.java
6416dd59687768d4152d5d954dd0e8c3617b9d97 28-Nov-2012 Ruben Brunk <rubenbrunk@google.com> Added support for Crop extras. Wallpaper & Widget use editor crop.

Bug: 7561976
Bug: 7441237
Change-Id: I0d6644171177650568ed911fc63c0c7e104f8d8c
allpaper.java
90309e61fd14f4706b483e53066b47c0dccba26d 05-Dec-2012 Bobby Georgescu <georgescu@google.com> am db99a10b: Fix NPE in PhotoPage

* commit 'db99a10b6ac9296d612db8ba51e37f141fee4170':
Fix NPE in PhotoPage
db99a10b6ac9296d612db8ba51e37f141fee4170 05-Dec-2012 Bobby Georgescu <georgescu@google.com> Fix NPE in PhotoPage

Bug: 7673141
Change-Id: I264f28d127f47e5f4f8c6a7c2df1c021401d03f2
hotoPage.java
a2d0d34a90543ee19ea295e72c112fde18fb3828 03-Dec-2012 Bobby Georgescu <georgescu@google.com> Move MenuExecutor operations into Service

Bug: 6680729
Change-Id: I538bb0a8783f7c1ff467ba8d8eb0deefdc0b6ea2
bstractGalleryActivity.java
lbumPage.java
lbumSetPage.java
atchService.java
a5fbd5f8007acd7ae757816d6774731576a05ea6 28-Nov-2012 Bobby Georgescu <georgescu@google.com> Merge "AlbumDataLoader.get returns correct value if not in cache" into gb-ub-photos-bryce
f12a6b9ea3932fb997d0d36605a2ba27de97beb3 28-Nov-2012 Your Name <jreck@google.com> resolved conflicts for merge of 3c6a0610 to gb-ub-photos-bryce

Change-Id: Iac3fcc4a4b8c0295ec53edf5658169fb5fab021e
3c6a0610d50a866e520485163011c79d9ee62457 27-Nov-2012 Your Name <jreck@google.com> Remove orientation compensation

Bug: 7446056

Change-Id: I6f00617c890961e4d56545406bac9682356c0b15
rientationManager.java
hotoPage.java
4f956260982ec5088c63a3d3045b83c0eaf6ea5d 27-Nov-2012 Bobby Georgescu <georgescu@google.com> AlbumDataLoader.get returns correct value if not in cache

Bug: 7621656
Change-Id: I8b73837f41bf4ac8c753a5d84f251219fde8ae75
lbumDataLoader.java
b5f374c30d06dc0409891f85a4bd5e1e3ddf8700 13-Nov-2012 Teng-Hui Zhu <ztenghui@google.com> Video: Fix crash in trimming/muting video in GB.

Basically switched to use sherlock actionbar and protect various new methods
with API level check.

bug:7546257

Change-Id: Ic16f75126c619578a9e9c2520fa264687d89a2e6
uteVideo.java
rimControllerOverlay.java
rimVideo.java
44dd798c3a814ffbdecc5adbc73dc47dc4dec646 16-Nov-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Video: Add the mute functionality." into gb-ub-photos-bryce
648b339c74da2b863304ffc61c8528cc74c2afb3 13-Nov-2012 Teng-Hui Zhu <ztenghui@google.com> Video: Add the mute functionality.

1. Enable the mute video functionality.
2. Consolidate the sharing code, especially for file handling.

bug:7543943

Change-Id: Ie7ec605996bc3242b1a50385f506e6a50ee2d2fc
uteVideo.java
hotoPage.java
rimVideo.java
rimVideoUtils.java
ideoUtils.java
599bdd6d7de2adfc066b06e9899d860ae2697472 13-Nov-2012 Doris Liu <tianliu@google.com> Fix UnsupportedOperationException in MediaObject

Bug: 6495745
Change-Id: I770833f0c3fec6f187e961f511a7d9d2591f5f97
hotoPage.java
5e3050e11420b0d18530442166103276be26fc9b 07-Nov-2012 Bobby Georgescu <georgescu@google.com> am 9ec5de9d: Fix scenario where launching Gallery launches Camera

* commit '9ec5de9dbf46caecd2f0b38a72d31fa37ecb0466':
Fix scenario where launching Gallery launches Camera
9ec5de9dbf46caecd2f0b38a72d31fa37ecb0466 06-Nov-2012 Bobby Georgescu <georgescu@google.com> Fix scenario where launching Gallery launches Camera

Bug: 7479102
Change-Id: Ib4676a7149c659897eee1dbbb92ab09861bd0ed4
hotoPage.java
cfa7fde1a336a3200b2ad9091b27ba7bfd8f5c9a 05-Nov-2012 Bobby Georgescu <georgescu@google.com> Split PhotoPage into FilmstripPage and SinglePhotoPage

Bug: 7479348
Change-Id: I98f668bd00e2e09bda9d5d9965fdbdaf1b832bfa
ctivityState.java
lbumPage.java
lbumSetPage.java
ilmstripPage.java
allery.java
hotoPage.java
inglePhotoPage.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
allery.java
hotoPage.java
22151ee069f8f4a64cd51ddbe36aac294d19e234 01-Nov-2012 Bart Sears <bsears@google.com> am 40bb7158: Merge "Jump to lockscreen in secure album if tap on video" into gb-ub-photos-arches

* commit '40bb7158b8bda53433b36b94d6efed0e3937dcf2':
Jump to lockscreen in secure album if tap on video
3935ca3762344c5f8a306596d70c0d4d4a2fda4b 01-Nov-2012 Angus Kong <shkong@google.com> Jump to lockscreen in secure album if tap on video

bug:7454356
Change-Id: I1e7e9ed886d414d5b41abdb1cc1d00c7736ae006
hotoPage.java
bcb427870043b12d4a1a454c08a088933d0eaf23 01-Nov-2012 Bobby Georgescu <georgescu@google.com> Use the system-standard long press vibration pattern

Bug: 7216819
Change-Id: I575868583777a7a953d767d0cdaa91a439d908ff
ctivityState.java
lbumPage.java
lbumSetPage.java
2a11af39cfc36e182778f9373971d086e782de7a 31-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Fix jank on videoplayer auto-exit" into gb-ub-photos-bryce
372152961edd8feada0ae6478c91ba6b2565191d 31-Oct-2012 John Reck <jreck@google.com> Gingerbread support-ish

This reverts commit 1336062985c9824d7fd796b1cebd5eaa8e4163ca.

Change-Id: I718ec56315dc207a3e612abb4576bddab9afa2ee
bstractGalleryActivity.java
ctivityState.java
lbumPage.java
lbumSetPage.java
ropImage.java
allery.java
alleryActionBar.java
ovieActivity.java
hotoPage.java
ickerActivity.java
inglePhotoDataAdapter.java
tateManager.java
62e98689761a7900dd7e556d04bde8955b94ebdb 31-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix jank on videoplayer auto-exit

Bug: 7344292
Change-Id: I3af95d3370769a6465644fa4aabe3f2ffa2980e7
ommonControllerOverlay.java
310db394adcdb8677b9a3d0f37a4abee63bdbb50 30-Oct-2012 Tenghui Zhu <ztenghui@google.com> Merge "DO NOT MERGE: Do not set the background to null for video." into gb-ub-photos-arches
1f57b48b220e38f3117b497e6b92ba155fee0e00 04-Oct-2012 Romain Guy <romainguy@google.com> DO NOT MERGE: Do not set the background to null for video.

Bug #7275145
Bug 7405595

Removing the window background when it's not visible is a good idea
to save on performance. Removing *all* the backgrounds is just a silly
idea that leads to weird looking results that drive graphics engineers
mad for a day until they figure out that everything is working properly
and that the app is simply asking the system to draw whatever garbage
is left in the GPU's graphics buffers.

Cherry pick the Romain's change from jb-mr1-dev:
https://googleplex-android-review.googlesource.com/#/c/234571/

Change-Id: Ief88821319989add5fda57ae7b69cdb01f6ccdf4
oviePlayer.java
40930163b90a2e73710e628c2b2c0c06aa0fd4fc 30-Oct-2012 Bart Sears <bsears@google.com> am c7536cfa: Merge "Show sync error toast only when both loading and syncing are done." into gb-ub-photos-arches

* commit 'c7536cfa819d10e0c556ecb30c53a58c048fa327':
Show sync error toast only when both loading and syncing are done.
20a4327fc7e549fc7a9a0fe9d1dcdcc097787a41 30-Oct-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Gallery: Do not set the background to null for video." into gb-ub-photos-bryce
4f100e5f200d24a820ed59c7bc924e18e1b17a65 27-Oct-2012 Teng-Hui Zhu <ztenghui@google.com> Gallery: Do not set the background to null for video.

This will fix screen corruption when exit while video complete or rotate while
video playing.

bug:7405595

Change-Id: I8b559390a284e5c850bc02a76add86c4de600144
oviePlayer.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
lbumDataLoader.java
lbumPage.java
lbumSetDataLoader.java
lbumSetPage.java
oadingListener.java
hotoDataAdapter.java
hotoPage.java
bf1677a434760fcb7389a30c18e05cc3e7926d40 29-Oct-2012 Doris Liu <tianliu@google.com> Disable save button when there's no modification

Bug: 7353884
Change-Id: I1b88e8b8ab3a92aad1226c60062a17a2f4badfb9
rimVideo.java
c4384338502ed85618095f0672b5926659acab20 27-Oct-2012 Doris Liu <tianliu@google.com> Show panoViewer icon after "Back" from viewer

Bug: 7407942
Change-Id: I00da3c73a558e412e106f089034e83f2e75616e4
hotoPageBottomControls.java
f85d974363a40b8ce588ba3fe902eec38de603d9 24-Oct-2012 John Reck <jreck@google.com> Add proxy launcher

Bug: 7394901

Change-Id: I667a6e6fbd11d4c02dc536067bb6f3813775db9c
hotoPage.java
07b70a524d4188120153eee5da31b079ecb135ed 11-Oct-2012 Mangesh Ghiware <mghiware@google.com> Handle 360 panorama specific MIME type.

Bug: 7407448

Change-Id: I939a061e2100c2cdc17279982de98f1d446d8aef
allery.java
50116ffb044f6566ef5e36aaa8e41dcb7522076e 25-Oct-2012 nicolasroard <nicolasroard@google.com> Remove the old photo editor

bug:7407573
Change-Id: Ifac6d3d7cec02c9cb8ef8bbd390f0512e6cdb66c
(cherry picked from commit a96c8e9c9aac509ba074b340c66e31e20ec05823)
alleryAppImpl.java
ecbdca3de8ada82d3d6f723d9ba509a3b1b1b290 25-Oct-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Initialize the modified date correctly." into gb-ub-photos-arches
89c755cbe16f5fe6f57be429a850331cc67a46d5 25-Oct-2012 Teng-Hui Zhu <ztenghui@google.com> Initialize the modified date correctly.

On top of that, the date_taken is in units of seconds, while others are in
units of milliseconds.

bug:7307090

Change-Id: I3f14a6354fa72a20d228d49a92d5c2007ca29df1
rimVideo.java
5bd00332556b20c141b5c7f16433d55b1bc7fe0f 24-Oct-2012 Bobby Georgescu <georgescu@google.com> Launch built-in camera app via filmstrip

Bug: 7407182
Change-Id: I25e0028dd5f3889f7837494e0bf25c54edbb4405
hotoPage.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
hotoPage.java
3ad7bbc55d7aaa0f36a7242fdd0f612d877adc19 24-Oct-2012 Bobby Georgescu <georgescu@google.com> Do not show Camera placeholder when not appropriate

Bug: 7403454
Change-Id: I5cc0227f068da0ca596e6259314b9d2ade62de07
hotoPage.java
5b1e444b4b6544b04c58be3b9b9a9a64ca4b572d 24-Oct-2012 Doris Liu <tianliu@google.com> Stay in AlbumPage when dismissing a popup from AP

Bug: 7384972

Change-Id: Ie2434ecc203a98610f1954b73a3d6916940eb812
lbumPage.java
tateManager.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
bstractGalleryActivity.java
hotoPage.java
7d7f91e1771e67af1fca5f2b3f221968df3de077 24-Oct-2012 George Mount <mount@google.com> Merge "Fix NPE in detecting panoramas." into gb-ub-photos-arches
231fe15ddb1cb4788b1b02ce5512587e45e3b249 23-Oct-2012 George Mount <mount@google.com> Fix NPE in detecting panoramas.

Bug 7398022

Change-Id: Iae646c424ffbe552d014f563c8f4e5e4385b4724
anoramaMetadataSupport.java
c02be7d6224c0b4e81c86e19c3d101ea070c7e1d 23-Oct-2012 Bobby Georgescu <georgescu@google.com> Show Panorama viewer button in filmstrip mode

Bug: 7393346
Change-Id: I555ef6cfee0ac3992f0a84c69a1eafc19718ce4c
hotoPage.java
a11d5c16384cbe2445966af5d7cb0f9d1d66cf17 23-Oct-2012 George Mount <mount@google.com> Ensure photo sphere icon shows for panoramas.

Bug 7393844

Change-Id: Id3b0d15606ec6e5d41558cbfc5089c4b1b229c63
hotoPageBottomControls.java
e96e907a01c0d633828dade014f07a5b93b07356 23-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Scroll to placeholder in gallery filmstrip launches camera" into gb-ub-photos-arches
cc6ad8217cb09b778d400c9c5e5928170ca53737 22-Oct-2012 Bobby Georgescu <georgescu@google.com> Scroll to placeholder in gallery filmstrip launches camera

Bug: 7368079
Change-Id: I50323b6b4d64672486cdca785b9f1e1ae2f02a97
hotoPage.java
58d326ea368ae275f03ec158a9ec5f9d2965593a 22-Oct-2012 George Mount <mount@google.com> Merge "Add null-check for StitchingServiceProvider." into gb-ub-photos-arches
cb3a3da9a11dbebbdc77ff91ea5b18358295a43e 22-Oct-2012 George Mount <mount@google.com> Add null-check for StitchingServiceProvider.

Bug 7386827

Change-Id: Id1ec7399202c6e67bb215f1309697b2f718a3c03
alleryAppImpl.java
48129f36b96928b34e657cdc976c1ac19f7b5ad2 22-Oct-2012 Bobby Georgescu <georgescu@google.com> Better transition between Gallery and editor

Bug: 7346155
Change-Id: I5f6b0901df4aa37d1657c13917aeae7ad77ac9bf
hotoPage.java
2daced6baacd59850e7c64ea02f2479530654ed8 20-Oct-2012 Doris Liu <tianliu@google.com> Fix for active action bar in camera

Bug: 7377404
Bug: 7384972
Change-Id: Ic54a7501ed3e2a61fab272461dee474b693c8f3a
lbumPage.java
41b3cff60905a96ab5b6f8e5f42bcc3bab1eb605 20-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix delete and undo behavior on filmstrip

Bug: 7353749
Change-Id: Ib0abd3f71783c01b1df418dd76e674bf05e65ce7
hotoDataAdapter.java
hotoPage.java
4dd4d80af4cd3ba7555c12d1c1ba775e048b6c57 19-Oct-2012 George Mount <mount@google.com> Remove progress bar when switching to grid mode.

Bug 7377975

Change-Id: I388fdf6c6c9a5ffa64e10f864806a8131e53a009
hotoPage.java
b48d73db3381718bcf86d1d919f6de9125f4f8a2 19-Oct-2012 Ruben Brunk <rubenbrunk@google.com> Merge "Fix geometry xforms & minor bug." into gb-ub-photos-arches
b037754eac0a4f99747edd3135776dc471d566f8 19-Oct-2012 Mangesh Ghiware <mghiware@google.com> Fix sharing state in Gallery ActionBar

Bug: 7340067
Change-Id: I4ff9577315fc743f6b9fef0d325b0743546f108e
alleryActionBar.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
hotoPage.java
4b6c20de6fef0aacb464398f2a6bf4b7959f4726 19-Oct-2012 Doris Liu <tianliu@google.com> Merge "Adding support for tiny planet in gallery" into gb-ub-photos-arches
b42ea0266c3b10e0b40119ec5c0adf6e9bb8973b 19-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Fix Gallery crash" into gb-ub-photos-arches
a680a0c32ae3321c632288b36083f2782af2c55b 19-Oct-2012 Doris Liu <tianliu@google.com> Adding support for tiny planet in gallery

Bug: 7344427
Change-Id: I6fad734b28022f45cc551d81212ee4d3a0c867b2
hotoPage.java
hotoPageBottomControls.java
35e7b4ae727394aace466ebcf33d89adf01b690c 19-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix Gallery crash

Bug: 7268985
Change-Id: I88c823d3270cb74d6e2bd7df5b6b6ed9e28f16a6
lbumPage.java
9baf2fd55613ce3f545da2d341c8e8a36b82ee78 18-Oct-2012 Scott Main <smain@google.com> DO NOT MERGE
cherrypick from Change-Id: I51c6a730e8663586153750a1cda6ea65aad592e8
remove old fashioned Dream, no longer supported

Change-Id: I51c6a730e8663586153750a1cda6ea65aad592e8

Conflicts:

AndroidManifest.xml
lideshowDream.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
hotoPage.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
alleryAppImpl.java
anoramaMetadataSupport.java
hotoPage.java
hotoPageBottomControls.java
0136dc75dc4069ca36c077a8a078db64f0fc35c6 19-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Various transition tweaks/fixes in Gallery" into gb-ub-photos-arches
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
ctivityState.java
lbumPage.java
tateManager.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
hotoPage.java
737552d7925366c58067d622e1b8df06786c51cc 18-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Big refactor, additions to state transition animations" into gb-ub-photos-arches
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
hotoPage.java
4831c7494373c360062a7becac820eba3bc39287 17-Oct-2012 Bobby Georgescu <georgescu@google.com> Big refactor, additions to state transition animations

Bug: 7362944
Refactored a lot of the state transitions code, adding
support for definable transition animations and defining
distinct outgoing and incoming animations.
Change-Id: I31a69057ea1b72dd3185cec656e59b11fdb528c1
ctivityState.java
tateManager.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
hotoPage.java
57731ee210c22382d33f6f562f9e7e66fce651de 18-Oct-2012 John Reck <jreck@google.com> Only fade out if texture creation succeeded

Bug: 7366597

Change-Id: Id28970fe263d975dcd48e45fd716199bc40f64d3
ctivityState.java
4104415e00090cdcac4a2f7408cc7ddc7d11c711 17-Oct-2012 Mangesh Ghiware <mghiware@google.com> Merge "Add read URI permission to intent returned for GET_CONTENT" into gb-ub-photos-arches
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
lbumPage.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
bstractGalleryActivity.java
hotoPage.java
ca181a68a30ad830d55eb8886f62a323c64e1ba3 16-Oct-2012 Owen Lin <owenlin@google.com> Add permission to GalleryProvider.

bug: 7202384
Change-Id: I1a13ed7e480163c898cf376219953b321290d4d4
hotoPage.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
ctivityState.java
lbumPage.java
lbumSetPage.java
hotoPage.java
tateManager.java
b7a0b0926258acc67c9d447c880b9ae8be96333d 16-Oct-2012 Doris Liu <tianliu@google.com> Make save button in video trimming consistent

Bug: 7353884

Updated save button icon and text
Save button in video trimming now acts like back button when no change
has been made.
Change-Id: Iec29315222d3f3ffac9b96a89cad2821d7f86c4f
rimVideo.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
ropImage.java
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.java
ff025412e2cacedd8cbb7901140e580f76634ee6 16-Oct-2012 Owen Lin <owenlin@google.com> Merge "Revert "Revert "Upload screennails in tiles to prevent jank""" into gb-ub-photos-arches
294b9945e01ec41c1e9e58dfcd5d6e106ee2d538 13-Oct-2012 Wu-cheng Li <wuchengli@google.com> Add stitching panorama image to secure album.

bug:7285105
Change-Id: I9f609f30d817f10a6c9c94fc6eadb58bc1bdd580
hotoPage.java
48b63eecbc15ff6ec7e152076262c7dab26e5a6f 13-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Hide Camera button on empty gallery when not available" into gb-ub-photos-arches
4f69a058a77f741235a35e85ede78f3b2301861f 13-Oct-2012 Bobby Georgescu <georgescu@google.com> Hide Camera button on empty gallery when not available

Bug: 7342583
Change-Id: I545b6902f994f7ed0245ec486e78693aea197a4a
lbumSetPage.java
5273e8306410d19e2e2cf6234bfe0a05097be874 12-Oct-2012 Bobby Georgescu <georgescu@google.com> Improve performance of filmstrip

Bug: 7336758

Change-Id: I22dbf2e75bc069341a9bbc2c4dcdf7750f23be7f
hotoPage.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
hotoPage.java
dd1586912b5da958b33a0d9f07312160d1cb103b 12-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Change ActionBar spinner text size on rotate" into gb-ub-photos-arches
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
hotoPage.java
5d4b8fd9fd2e601b780c027ef912c8fabfe3ee1e 11-Oct-2012 Bobby Georgescu <georgescu@google.com> Change ActionBar spinner text size on rotate

Bug: 7333151
Update the grid/filmstrip spinner switch text to
look and behave like the text in the Gmail app, as
requested by UX.

Change-Id: If822b21899172a35402477868d4f146a8e00cfea
bstractGalleryActivity.java
alleryActionBar.java
5cca8b99bebe6a9fbb191a8e1364b81e309a1390 11-Oct-2012 John Reck <jreck@google.com> Fix portrait orientation on landscape devices

Bug: 7328349

Change-Id: I0f871ea56e6afb5ba0b54cac15c18f79db07f4f9
rientationManager.java
a8f3473271cb4bfc5b47f520402bad7cddb5d3e8 11-Oct-2012 Owen Lin <owenlin@google.com> Revert "Revert "Upload screennails in tiles to prevent jank""

This reverts commit ad7cf187bf0c11b05aa3eab7085148e0353f2af5.

bug: 6399444
Change-Id: I94b286ab3e0db21c582cbfa9183489613da30edb
hotoDataAdapter.java
7761357f4a55de6745ac5172355d1a09a9a37492 11-Oct-2012 Bobby Georgescu <georgescu@google.com> Behavior of camera filmstrip in gallery closer to camera

Bug: 7329118
Change-Id: I0a5753db301cc53050251455439555aa7ae414c4
hotoPage.java
4d302b8a826ece492c2abefd56b780a65899663e 11-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix NPE in PhotoPage.updateMenuOperations

Bug: 7324012
Change-Id: If09d20b7ab64abe9020f7f6301356ed9a4155d5b
hotoPage.java
c735669fdbd1aec674412f43e64b956e8c10b643 11-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Make album set grid view reflect latest UI mocks" into gb-ub-photos-arches
8a8b9cfdd15bf36ccd068563451d98a011a5eeab 11-Oct-2012 Bobby Georgescu <georgescu@google.com> Make album set grid view reflect latest UI mocks

Bug: 7300836
Change-Id: I3024b8ffbba7ee08642012c80509992335bbd5bf
onfig.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
hotoPage.java
785a1f8a5856b199f6553a92020e77621516c608 11-Oct-2012 George Mount <mount@google.com> Fix NPE due to progress bar not existing.

Bug 7325685

Change-Id: I5e24b4f8a0ee4016c122e14702e3ae575f5bb56f
hotoPage.java
2aec8488aebe3d28a0a32c67d6629dfa4db4acae 10-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix missing camera thumbnail in filmstrip

Bug: 7319894
Change-Id: Id1cf4f4bf718853aec73c0765732ac59e448c5d6
lbumPage.java
21832eb7fba76cd101ad5ef7b131292aa24f3864 10-Oct-2012 George Mount <mount@google.com> Merge changes Ic62822a4,Ie6505c8e into gb-ub-photos-arches

* changes:
Change how stitched images are inserted into Gallery.
Move panorama stitch progress outside the image.
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
hotoPage.java
titchingChangeListener.java
f122d56e15e00928d731751796b0509ae47c6799 10-Oct-2012 George Mount <mount@google.com> Move panorama stitch progress outside the image.

Bug 7302513

Change-Id: Ie6505c8ed2125b878e54a93c4b8c0f51d80a1385
hotoPage.java
hotoPageProgressBar.java
eece6da4d344f7e1e937130c0d36cef8ef9dbe0c 10-Oct-2012 John Reck <jreck@google.com> Support REVERSE in lockOrientation

Bug: 7314703

Change-Id: Id459e49496f562e75c1485d9d717daa28020a587
rientationManager.java
d78c5734346cabc2577a5b9100f0f943c381ee47 10-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Correct stale background on completely empty gallery" into gb-ub-photos-arches
77fa1d232c1a804d17f3b1ceeaa6ab6c6555b047 10-Oct-2012 Bobby Georgescu <georgescu@google.com> Correct stale background on completely empty gallery

Bug: 7314560
When the last album is delete by long pressing and pressing
the delete icon, and the gallery is left completely empty,
the slotview was not being correctly invalidated.

Change-Id: I2d5ec7ac7fb9604fd74ca8fa4fa6df09d6dec49d
lbumSetPage.java
a2ce811cb505d579112f5e3c4ecb030d8252371e 09-Oct-2012 Bobby Georgescu <georgescu@google.com> Update design for grid/filmstrip switcher

Bug: 7317501
Change-Id: I8975071b2a6d8b9f03c54c4bd3a6aa157fc6dc2e
alleryActionBar.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
hotoPage.java
titchingChangeListener.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
alleryActionBar.java
hotoPage.java
3a1279f11ec88e62a75303469b886f1cb9d50c30 09-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Start Camera album in grid mode" into gb-ub-photos-arches
7a84c578a4b3bea9eebb0b21ac161c18aad49346 09-Oct-2012 Bobby Georgescu <georgescu@google.com> Start Camera album in grid mode

Bug: 7304603
Change-Id: I537f74cd0d34b4b095c031572f8d817dd49b6388
lbumSetPage.java
4438a7cce00cb19cb35cfc3cc149533f40043c00 09-Oct-2012 Doris Liu <tianliu@google.com> Fix details dialog not being dismissed

Bug: 7300997
Change-Id: I0d0dad50a9777f8ea49889a4517b8704a03021c5
hotoPage.java
a29eeac8993b221d98cffbec5583b5cba1921c89 08-Oct-2012 John Reck <jreck@google.com> Use framework orientation

Bug: 7292373

Change-Id: I66e0c3a3b43a5d544ecc3fc9a4a04fa5521d36b2
hotoPage.java
639095c6bed84ab0bf9ebc7c4f8b8c944df285a1 08-Oct-2012 Bobby Georgescu <georgescu@google.com> Correct undo behavior

Bug: 7307293
Change-Id: I72f814acd3625024f1e2aeccec4abfd28ad3319b
hotoPage.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
hotoPage.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
hotoPage.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
hotoPage.java
f5017c407c969da88017a697aae7462b552e65ee 07-Oct-2012 George Mount <mount@google.com> Merge "Show stitched panorama in secure album." into gb-ub-photos-arches
bbc993162d687df20e2ff9a329bb9b6e04926ba8 07-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix orientation locking issues when going back to Camera

Bug: 7287039
Change-Id: Ib993266706b24269fd759f1ded1b6a85c2c5c7ba
hotoPage.java
2c848b26619de242a96ba4b20c252416a39506d6 07-Oct-2012 Wu-cheng Li <wuchengli@google.com> Show stitched panorama in secure album.

bug:7285105
Change-Id: I36801d4e5b19cceb10600d41a3a3c78244c5ee4a
titchingChangeListener.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
hotoPage.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
allery.java
hotoPage.java
ad7cf187bf0c11b05aa3eab7085148e0353f2af5 06-Oct-2012 Bart Sears <bsears@google.com> Revert "Upload screennails in tiles to prevent jank"

This CL is reported to cause images to not be displayed correctly when opened via the view intent.

Bug: 7299123

This reverts commit e29fc4a51b99f12f7fae13fae272858df2e1af36

Change-Id: I5052548a826c275cb4559eeb4721c19f06861b3d
hotoDataAdapter.java
e29fc4a51b99f12f7fae13fae272858df2e1af36 24-Sep-2012 Owen Lin <owenlin@google.com> Upload screennails in tiles to prevent jank

bug: 6399444

Change-Id: Id2338db34d7f87fbabd7861f78b42f2a81d9794b
hotoDataAdapter.java
9bcba5b049f199ad78051c2ad27897cad389679d 05-Oct-2012 Hung-ying Tyan <tyanh@google.com> Merge "Open album in filmstrip only if the item exists." into gb-ub-photos-arches
29b553a54cbe4d95c174121e4f956a74117a4fc9 04-Oct-2012 George Mount <mount@google.com> Merge "Support panorama progress items in Gallery." into gb-ub-photos-arches
4c9e3e1d7a5af64ddc946297db9d07dc394d861e 04-Oct-2012 Bobby Georgescu <georgescu@google.com> Don't allow switching to filmstrip in get content intent

Bug: 7288252
Change-Id: I247e7c22ed3e90de0222ac82a55ed027c9f252c1
lbumPage.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
alleryApp.java
alleryAppImpl.java
hotoPage.java
titchingChangeListener.java
27565de3ab86e81a20c9804ebc7f8d3f737031a0 04-Oct-2012 Hung-ying Tyan <tyanh@google.com> Open album in filmstrip only if the item exists.

Metadata of picasa photos may not be available when user taps to view a picasa
album. Cannot enter PhotoPage directly in such a case.

Bug: 7213464
Change-Id: Ife2e8768fc9b8d8757235610a02f029f40205b5b
lbumSetPage.java
b6692653af5dbce477f33df721aa6177fabeda4b 04-Oct-2012 Owen Lin <owenlin@google.com> Set type as well while launching editor.

bug: 7275805
Change-Id: I6b86dd03d92b2cf453947bd84a0247e1626c81db
hotoPage.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
hotoPage.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
hotoPage.java
f4e22eb44bfae0c2a3b6570f19480c8c3535d808 03-Oct-2012 Bobby Georgescu <georgescu@google.com> Correct behavior when swiping to placeholder item in PhotoPage

Bug: 7261641
Change-Id: I54deed0f20a4673cb5470ffc128c73cddc071772
hotoPage.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
hotoPage.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
hotoPage.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
lbumSetPage.java
hotoPage.java
51915a622bbd32e90f0cd43b69a7851e13825737 02-Oct-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Trimming: Exit current activity after click done" into gb-ub-photos-arches
2619f20d30123a391cc6d37515fe8eb9d81d5029 02-Oct-2012 John Reck <jreck@google.com> Fix NFC regression

Bug: 7263536

Change-Id: Ieba6147fdc0279888ec1e6ea2101eab235522b9f
hotoPage.java
2833355c86cff90163457779adb2bc78a6ca0faa 02-Oct-2012 Teng-Hui Zhu <ztenghui@google.com> Trimming: Exit current activity after click done

Don't auto exit the trimmed video playing.
bug:7093055

Change-Id: I97fa1556cbe0591f2204ab4135b85375f82abbe8
rimVideo.java
462923e5800e151ab5ec450063334ba430c1da3a 02-Oct-2012 Bobby Georgescu <georgescu@google.com> Check item is editable before attempting to launch editor

Bug: 7269840
Change-Id: I18af824865b8a158c7a89e2b34f51a32de144057
hotoPage.java
1336062985c9824d7fd796b1cebd5eaa8e4163ca 02-Oct-2012 Owen Lin <owenlin@google.com> Remove ActionBarSherlock

bug: 7242682

Change-Id: Ibf1fa136cafdca25273ee39ae9c065560b2db5cb
bstractGalleryActivity.java
ctivityState.java
lbumPage.java
lbumSetPage.java
ropImage.java
allery.java
alleryActionBar.java
ovieActivity.java
hotoPage.java
ickerActivity.java
inglePhotoDataAdapter.java
tateManager.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
alleryActionBar.java
hotoPage.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
lbumPage.java
alleryActionBar.java
hotoPage.java
21421a10bc2ad9151d3d3075ad77d96610c2043f 30-Sep-2012 Bobby Georgescu <georgescu@google.com> Merge "Fix crash in album page" into gb-ub-photos-arches
5168509fe260a9d549278a9a287c3d7e0c1b739e 30-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Trimming: clean up strings and prevent too short or no trimming." into gb-ub-photos-arches
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
lbumPage.java
tateManager.java
3e2e9e9c7ee62b79632243a3e52f0abd70ce2a59 30-Sep-2012 Mangesh Ghiware <mghiware@google.com> Merge "Remove video play icon and tap to play behavior for panorama." into gb-ub-photos-arches
0aaf8fb8b86cbf6353937c12f377ad524661c553 30-Sep-2012 Bobby Georgescu <georgescu@google.com> Update FX/pano button appearance, placement, animation

Bug: 7213162
Bug: 7233446
Change-Id: Ief62e3f17ee08999a23656217dcf39bb91421d1e
hotoPageBottomControls.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
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.java
d44b0d8348a9f91259ecbd59ec48c9df9f058141 29-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Trimming: clean up strings and prevent too short or no trimming.

Also view the result if the activity is not stopped.
bug:7093055

Change-Id: If244d567a4be9da22542398f6b7c22a081786339
rimVideo.java
d5480bd5a849517106f232326fd2d31b80b72b3f 29-Sep-2012 Bobby Georgescu <georgescu@google.com> Merge "Debounce after quick fling towards camera but zoom if slow" into gb-ub-photos-arches
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
hotoPage.java
f98aafb7eb65b889b0f831d607828ca4f8af64b6 28-Sep-2012 Mangesh Ghiware <mghiware@google.com> Fix NPE in GalleryActionBar

Bug: 7252666
Change-Id: Ide3c8e0d609743b34a3c53f3bb48dbeddb3f98c0
alleryActionBar.java
3e77e84c66aa5ba2efab7ecc3dd37a03a790af9f 28-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Trimming: Use OnClickListener for saving" into gb-ub-photos-arches
4450e439731d12638525c86a36cd26ac97bdc735 28-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Trimming: Use OnClickListener for saving

bug:7093055

Change-Id: I4b6b408bb051aa1a7fb506f0b5d1db75fe3f1a2f
rimVideo.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
hotoPage.java
2e8472f304737acc3fbeb167b1b6f660f111f5c7 28-Sep-2012 Mangesh Ghiware <mghiware@google.com> Merge "Update to sharing panorama" into gb-ub-photos-arches
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
alleryActionBar.java
hotoPage.java
624ed9df710ac4e34f3ff1d0c3bf4acd1c056258 28-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix up button behavior in camera app

Bug: 7233448
Change-Id: Ifb2833f6c1303dc60a9b88b217648d0c0098f242
lbumPage.java
98d17b863a5c8dc194496422459e73d7d38a2b9e 28-Sep-2012 John Reck <jreck@google.com> Merge "Fix Monkey NPE" into gb-ub-photos-arches
53fe9f72433f2fdae30e1708c5933390202cbcf5 28-Sep-2012 John Reck <jreck@google.com> Fix Monkey NPE

Bug: 7243032

Change-Id: I0e8757e6108f2e86bf4608b1535b1c528f2f3197
hotoPage.java
028ecd4e3bbd68c3b5b2fb91d3e7a666bc151765 27-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Trimming: clean up the UI for trimming.

Get rid of the home button and use the done button only in the action bar.
Switch back to use system actionbar / activity.
Rename the ShortenExample.

bug:7093240

Change-Id: I61684e9723af12cecc212bbd911c23aab0258463
hortenExample.java
rimVideo.java
rimVideoUtils.java
27e933b00279c177ae0d36b599aa1c90870922c1 27-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Trimming: switch to use sherlock action bar" into gb-ub-photos-arches
4419f551b4ccb7457626dbb5a37c41afd71eb5ed 27-Sep-2012 Owen Lin <owenlin@google.com> Merge "Don't set treat back as up if there is no parent album." into gb-ub-photos-arches
5e92668f42b5f29a0e55653b0bbf2df342723a6d 26-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Trimming: switch to use sherlock action bar

Show a "done" instead of the icon according to the UX team.
And we don't have API level dependency.

bug:7093240

Change-Id: Ib331495dd233c4dcbeb3d587bd5a4d0d89039d49
rimVideo.java
8fe22ecb8e744a09a2e0d867f876ecbf74c82298 27-Sep-2012 John Reck <jreck@google.com> Don't requery a constant

Bug: 7238418

Change-Id: I1b7117cd30ffc51b51980830791779ec899c2f4b
hotoPage.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
lbumPage.java
hotoPage.java
726cbd1af44cf7b0f795c4f0639b9b358be960c1 26-Sep-2012 John Reck <jreck@google.com> Merge "Avoid unnecessary allocation" into gb-ub-photos-arches
eb90d7e21a4814a920de5c7d6e5f662d7f0e6865 26-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Trimming: switch to use selectors." into gb-ub-photos-arches
9f59a5fa0302f80cd5bd540e864de091fb5703df 25-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Trimming: switch to use selectors.

Switch into using 2 selectors for the starting and end point of triming.
Shift the bar up a bit to accommandate the selectors.
bug:7093240

Change-Id: If3b6fe285cd69756ecbfe1d52efd90b499150c72
imeBar.java
rimTimeBar.java
ddf0225a5192a589fc578945f56440b09bf74d12 26-Sep-2012 John Reck <jreck@google.com> Avoid unnecessary allocation

Bug: 7238418

Change-Id: Ic0a1ef0368368526401a53f02f680ef9d42ea310
hotoPage.java
432eb115e7395af525ec02a83c3caff0b0ed92d9 19-Sep-2012 Owen Lin <owenlin@google.com> Don't set treat back as up if there is no parent album.

Change-Id: I2ecadd8ace0f8d3e5ed38710a776e7c114f24274
fix: 7180467
allery.java
3fd764008a73dd76be87b02f42d0e00786015c8a 26-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix display of clustering items in album set page

Bug: 7217602
There was an incorrect assumption that onCreateActionBar
would always be called before onResume.

Change-Id: Id50c2dc3fd8167958501e12c66d11ac82a86349b
lbumSetPage.java
e5bb9ff0a5c2a02aa1ba441f62dec6a4e197d0d3 25-Sep-2012 Doris Liu <tianliu@google.com> Merge "Making switchState public" into gb-ub-photos-arches
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
lbumPage.java
hotoPage.java
ransitionStore.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
hotoPage.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
hotoPage.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
hotoPage.java
15ff1b1ca52bea348b8a490b5b5abe53fa43eaf2 24-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> The trimming solution with the mp4parser library.

bug:7093055

Change-Id: I598a81d80c9c5107696f3af7761207e3ec88f3ff
hotoPage.java
hortenExample.java
rimVideo.java
4f32d514ee7474d867d04bf3934f9e11e9e92783 24-Sep-2012 Mangesh Ghiware <mghiware@google.com> Use vendor specific MIME type for sharing LightCycle panoramas

Bug: 7150324
Change-Id: I78d426672e9a8fc69f0b9b564438e40eb0230719
hotoPage.java
9b8a4277b5c0e8b29cab51834c6a8bf4147576ba 22-Sep-2012 Doris Liu <tianliu@google.com> Making switchState public

Bug: 7208910

switchState was only accessible within package com.android.gallery3d.app . Now
changing it to public so that it can be called from camera. This is part 1 of 2
in fixing the bug. Not sure if it's the best way to fix it. Comments are welcome.

Change-Id: I4aac46f640f2dd3aa973abd9610a37fa2842ed29
tateManager.java
23e595f0c656ebaeb63f78e3018b5830628c5afe 21-Sep-2012 Wu-cheng Li <wuchengli@google.com> Support secure image capture mode.

bug:7141738

Change-Id: I4ea010609d16da469998ebb40ad8282b9468de25
ropImage.java
hotoPage.java
7d3f604287805c6f00adb4e69e1c26488acf3487 20-Sep-2012 Wu-cheng Li <wuchengli@google.com> Merge "Hide grid view menu item in secure album." into gb-ub-photos-arches
fc3651d38708c6475b808b6fad27ee66bdd6ee04 20-Sep-2012 Wu-cheng Li <wuchengli@google.com> Hide grid view menu item in secure album.

bug:7200451
Change-Id: I23b6fbc48aac46e9b25b159416bc9f64a357d038
hotoPage.java
133c49e9bda0b3dcc005a0dfc7ab999926c0ef7f 19-Sep-2012 Earl Ou <shunhsingou@google.com> Fix metadata of cropped image for details display.

+ drop the old thumbnail of the cropped image
+ update DateTime tag in EXIF
+ add EXIF Software tag
+ display DATE_MODIFIED in details instead of DATE_TAKEN

Bug:7192433
Change-Id: I89dcb29dd3242f58fe96cd25398217e94f42fc97
ropImage.java
c6c63414293c31bdc4c10ebb5e8f232306d136ec 20-Sep-2012 Hung-ying Tyan <tyanh@google.com> Merge "Simplify the usage of ExifData" into gb-ub-photos-arches
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
hotoPage.java
hotoPageBottomControls.java
56bdcb7272f222fde5e4c6fc133cb490b31c7667 20-Sep-2012 Bobby Georgescu <georgescu@google.com> Make ActionBar always present in filmstrip

Bug: 7196718
Change-Id: Id297f28402da20efd99a9f90376a18f041fe8448
hotoPage.java
89591324c5d1097e59217177ad3ea74598867584 30-Aug-2012 Earl Ou <shunhsingou@google.com> Simplify the usage of ExifData

Bug:7192363

Change-Id: I2c6ab9974f4472f63483a4de814728584944535e
ropImage.java
f8a39c644637a15b9291eb9299762b8cf91cd76a 18-Sep-2012 George Mount <mount@google.com> Add UriImage support for viewing LightCycle panoramas.

Change-Id: I7f61cef39370fd23b9481708dc3c902c17873074
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.java
17ac550d1c73ce89a6fa7f68c5b02fc44e6030b3 18-Sep-2012 Bobby Georgescu <georgescu@google.com> Merge "Fix incorrect texture size causing artifacts in animation" into gb-ub-photos-arches
7077701c8b11f6022cc712f5450e0f7b29535e41 18-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix incorrect texture size causing artifacts in animation

Bug: 7181383
Change-Id: I3895b89ccdd03e55acc656f0d6944f4a9d398ad5
lbumPage.java
lbumSetPage.java
58f898c9cc0228f084d903b5d27ae609cedfc9b9 17-Sep-2012 Wu-cheng Li <wuchengli@google.com> Do not show edit button in secure album.

bug:7183052
Change-Id: I94ca6703e5c3a0e2af552be2065be361210185b2
hotoPage.java
a9b52df63ae6edbe0f2158bfc3c701fde41782c1 17-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix bugs relating to grid/filmstrip switching

Bug: 7180582
Bug: 7146147
Change-Id: I3d2ad8866a938f9f162e14f11bc2e021834ba513
lbumPage.java
hotoPage.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
hotoPage.java
8cfc7f0ce4bed1538b85b40fe08a5528cac8c270 17-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix build breakage

Change-Id: I88f1a9f2f1306d959d6a5398faa2c6f50cb24501
lbumSetPage.java
d208e12012152bf757c0492cd3bfc91f101294cc 14-Sep-2012 Bobby Georgescu <georgescu@google.com> Show large button to open the camera when gallery is empty

Bug: 7156303
Change-Id: I0447c3eaee680e80f09cc3aff714aace85ee77d9
lbumSetPage.java
0b0283daab224412f9b3f7d04294ddea83d8f582 14-Sep-2012 Bobby Georgescu <georgescu@google.com> Merge "Only show FX button for photos" into gb-ub-photos-arches
e18ad87571a6a9f0e1943f9c527c8d908494256e 14-Sep-2012 Bobby Georgescu <georgescu@google.com> Merge "Show animation when opening albums directly in filmstrip" into gb-ub-photos-arches
2873cd146c22734371c1ee458131d56616f25e6a 14-Sep-2012 Owen Lin <owenlin@google.com> Merge "Cancel the loading task when clicking on back in Cropping." into gb-ub-photos-arches
14ad4efd409887a0f4cd90e29818c8c3bd2ece8f 14-Sep-2012 Bobby Georgescu <georgescu@google.com> Only show FX button for photos

Bug: 7165294
Change-Id: Ia35f5981cba5a69f94964a9c38361b01ea1cdbfd
hotoPage.java
6b64c0670429a41b1fabb36e679a36b7e6fa9194 14-Sep-2012 Bobby Georgescu <georgescu@google.com> Show animation when opening albums directly in filmstrip

Bug: 7166947
Change-Id: Id67e93431365043673e08b400aea5df9ae53f14c
lbumSetPage.java
51bc561e85053abfd7fda695e3cd20710acca85c 14-Sep-2012 Bobby Georgescu <georgescu@google.com> Animate correctly when opening single-photo album

Bug: 7164177
Change-Id: I5ce60a8e842e3ddf0e356568f17ee488edef23cd
lbumPage.java
lbumSetPage.java
hotoPage.java
222c07220dbe5b1be959437eb315ae72a0c8aa50 13-Sep-2012 Owen Lin <owenlin@google.com> Cancel the loading task when clicking on back in Cropping.

bug: 5636363
Change-Id: I0e00b6119c4d184328002d1b2128e33ababc798b
ropImage.java
b265ebb01cc046b74329eeb28dbecb24e0f953d2 13-Sep-2012 Bobby Georgescu <georgescu@google.com> When tapping single-photo albums, launch photo directly

Bug: 7145102
Change-Id: I75c66f2f37fc11f3846fdbd40083787ba38af207
lbumSetPage.java
hotoPage.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
lbumPage.java
hotoPage.java
b5c28dec15896a8f75c47aed932b66ec11e01425 12-Sep-2012 Bobby Georgescu <georgescu@google.com> Merge "Reskin: fix bug introduce by Gallery reskin" into gb-ub-photos-arches
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
hotoPage.java
9159cccd5d7e840b04c2507bfe29c76e046a4f6f 11-Sep-2012 Bobby Georgescu <georgescu@google.com> Reskin: fix bug introduce by Gallery reskin

Bug: 7146147
Bug: 7050303
Change-Id: Ia9782868937cc9a03e4c8b5f77033d13d80d5d8a
lbumPage.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
ommonControllerOverlay.java
ontrollerOverlay.java
ovieControllerOverlay.java
oviePlayer.java
hotoPage.java
imeBar.java
rimControllerOverlay.java
rimTimeBar.java
rimVideo.java
df6a98a8a7ff8cbbb0fc633ec855c66d4e306fbb 11-Sep-2012 Owen Lin <owenlin@google.com> Merge "Don't start filmstrip mode in Get Content mode." into gb-ub-photos-arches
676d4762496eddae66930c6f8b0bae22a22b3ef6 04-Sep-2012 Owen Lin <owenlin@google.com> Ensure peekObject is called in the syncrhonization block.

bug: 7019598
Change-Id: If153287078826afc9827ea64364b4fb64f2b3a5f
lbumDataLoader.java
lbumSetDataLoader.java
hotoDataAdapter.java
10d8759b5b4d0cf0351bce929eb7b6420aabbfd9 11-Sep-2012 Owen Lin <owenlin@google.com> Don't start filmstrip mode in Get Content mode.

Change-Id: Ib04f5c134d44b2d8e80e7fdecf2503e950487837
fix: 7135936
lbumSetPage.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
lbumPage.java
lbumSetPage.java
7108c4078436488ede37608c62a6b953b51db835 10-Sep-2012 George Mount <mount@google.com> Remove VIEW activity from LightCycle.

Bug 7133257

Change-Id: I4b3c968ceaa01d9461a788553f23bf7694ac4b3c
hotoPage.java
a535522fa7661771351e42465c67ed70825ed2e4 07-Sep-2012 George Mount <mount@google.com> Show play icon for panorama.

Bug 7124494

Change-Id: I17fdb5d6bcab1f3997a1ab92fcf45e0309b394b3
hotoDataAdapter.java
inglePhotoDataAdapter.java
3e654aabf9af7a5396faa7fbea11bc7076db1c3e 10-Sep-2012 Doris Liu <tianliu@google.com> Merge "Back button should progress through the app" into gb-ub-photos-arches
bef18c1e167f5835c8f854e76a91da63b700f93b 10-Sep-2012 Wu-cheng Li <wuchengli@google.com> Do not allow panorama viewer in secure album.

bug:7053266
Change-Id: I5195638e03e5eb32d47b50b7b568a40cd8a222d9
hotoPage.java
23e1cc8d20971a03db2bbbe8b012fabcb40c6431 10-Sep-2012 Wu-cheng Li <wuchengli@google.com> Fix build error in old version of java.

Change-Id: I2f88846a10afd696d7dd94ddeee767c3d89d5ccf
ransitionStore.java
c6781c0c0d8d193863ca09455a5bda3d542db493 10-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix import statement breaking build

Change-Id: I0d2acb3ece6ed2aea04033f911a69b266b6cc7de
hotoPage.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
lbumPage.java
lbumSetPage.java
hotoPage.java
ransitionStore.java
aeb4cccdc14c2b3199658a1d109a1fd89a53a288 07-Sep-2012 Doris Liu <tianliu@google.com> Back button should progress through the app

When Gallery is launched via notification, back button should progress through the app before return to Home

Bug: 6925612
Change-Id: I9da2120c6f607f8b6d3fa57d8a70225bc66fb8ef
allery.java
580daa127d39eb539e6c7911d3a2329a9cfe30db 06-Sep-2012 Hung-ying Tyan <tyanh@google.com> Merge "Rearrange the constants in ExifTag" into gb-ub-photos-arches
2486ee3787f4fa8aeec4983559101f0000cd92b0 30-Aug-2012 Earl Ou <shunhsingou@google.com> Rearrange the constants in ExifTag

Change-Id: I62ab6e52869dfa5b3fee7993bd109f4c5eed91a9
ropImage.java
2e6c1901f6d83d448686950722b6fac064282780 05-Sep-2012 George Mount <mount@google.com> Change lightcycle call to be in Gallery's package

Bug 7076869

Change-Id: I315b660d8a7cd84db6d06f0aa38275c7f5e4b4a6
ackagesMonitor.java
4f59a411667f1c75c1b3ea2ad0ec07e82defa5d1 04-Sep-2012 Angus Kong <shkong@google.com> Move LightCycle checking to the closed source.

bug:7076779
Change-Id: Ieebe0343a46257ca07f06483beb9391a90d7727a
ackagesMonitor.java
hotoPage.java
5cbe945e294fff334a71b55a994c948da997cb2a 04-Sep-2012 Owen Lin <owenlin@google.com> Merge "Make a time jump when user clicks outsides the scrubber." into gb-ub-photos-arches
bcca048557ff3637b7d1cce2893cfc095111ebdd 04-Sep-2012 Owen Lin <owenlin@google.com> Make a time jump when user clicks outsides the scrubber.

bug: 7080593
Change-Id: I913aee6e416c10d68403d7f9d4102d4dcc41e1d4
imeBar.java
ecb4052503ad1c37c796699d3aec6a1e749f25f1 04-Sep-2012 Hung-ying Tyan <tyanh@google.com> Fix NPE in CropImage.changeExifImageSizeTag().

Bug: 7099850
Change-Id: Ib7b3b7d9fddaf53853bcc98b9588dfadda0aee6f
ropImage.java
993d5f7c4c39c66647a248ffa623f4e60b76ff36 03-Sep-2012 Hung-ying Tyan <tyanh@google.com> Merge "Save EXIF info to cropped picasa image with the new EXIF lib." into gb-ub-photos-arches
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
ctivityState.java
hotoPage.java
lideshowPage.java
3b8bd33be5041d77855f756fbba1993294cffac4 29-Aug-2012 Earl Ou <shunhsingou@google.com> Save EXIF info to cropped picasa image with the new EXIF lib.

Bug:5248023
Change-Id: I35f401826f4fa586e9899e3ca5f5f9b9ab39b28e
ropImage.java
5f18b4c19b0d854475bb8cb611fd7c23a3f7a1c5 29-Aug-2012 Earl Ou <shunhsingou@google.com> Re-save Exif info for cropped local image

Bug:5248023

Change-Id: I744330f28b887bff4d12937e06f8d20db153ac7e
ropImage.java
28cb4161da5fc3756933ca67d509b8af1c6275f1 29-Aug-2012 Owen Lin <owenlin@google.com> Remove unused resources and fix some warnings.

Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
lbumPage.java
lbumSetPage.java
ropImage.java
anageCachePage.java
oviePlayer.java
hotoPage.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
hotoPage.java
24081fe26ca25448ddb9c8f9cc7f406d26344dec 28-Aug-2012 Owen Lin <owenlin@google.com> Fix NPE in viewing single image.

bug: 7052228
Change-Id: Iaca5ed062cd3c8233f212551cf4312f0828f12dc
alleryActionBar.java
hotoPage.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
lbumPage.java
anageCachePage.java
hotoPage.java
3fa6947fc3909020f3a37cc1fd9a9b9d4d9f93e8 27-Aug-2012 Owen Lin <owenlin@google.com> Fix some UI bugs in using SherlockActionBar.

- Use sherlock's verion of requestWindowFeature.
- Use sherlock's theme in Custom selection list.

bug: 6927267
Change-Id: I706e45378b10e6e088e048d97fcaca57fb4bf3f4
ropImage.java
allery.java
ovieActivity.java
ickerActivity.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
hotoPage.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
hotoPage.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
lbumPage.java
lbumSetPage.java
hotoPage.java
lideshowPage.java
90432185dfabecad9b805b1f166cc58147c9be73 27-Aug-2012 Wu-cheng Li <wuchengli@google.com> Merge "Add secure album support for lock screen camera." into gb-ub-photos-arches
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
ppBridge.java
hotoPage.java
d2ddb74b4731fc51fe6942bb4da7b2c38a2a1577 27-Aug-2012 Angus Kong <shkong@google.com> Merge "Add LightCycle helper class." into gb-ub-photos-arches
b0c2d70af79673fed3fda13657f92bccec35da19 26-Aug-2012 Angus Kong <shkong@google.com> Add LightCycle helper class.

LightCycleHelper also receives event of package changes to get updated.

bug:6912297
Change-Id: Ib822ee778537b64986389bf8eeec36f61c9289f2
ackagesMonitor.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
lbumPage.java
hotoPage.java
5992daf6f4cb56742cbf33a014c5c2c142c6957e 23-Aug-2012 Bobby Georgescu <georgescu@google.com> Offer to launch camera when Gallery completely empty

Bug: 7009464
Rather than showing a blank screen, alerts the user that
the gallery is empty and offers to launch the camera, if
the device has one.

Change-Id: I0bf71f1cbe7c96a4dc063b5d38b9a282538234c9
lbumSetPage.java
b21b8e58a604f6c701245d84b141b5b87663192b 23-Aug-2012 Owen Lin <owenlin@google.com> Uses ActionBarSherlock in Gallery

bug: 6927267

Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
bstractGalleryActivity.java
ctivityState.java
lbumDataLoader.java
lbumPage.java
lbumSetDataLoader.java
lbumSetPage.java
ropImage.java
ilterUtils.java
alleryActionBar.java
alleryActivity.java
ovieActivity.java
hotoDataAdapter.java
hotoPage.java
ickerActivity.java
inglePhotoDataAdapter.java
tateManager.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
ctivityState.java
lbumPage.java
lbumSetPage.java
onfig.java
anageCachePage.java
hotoPage.java
lideshowPage.java
97fd6fa6b87350a609d717c56ade783135a81616 24-Aug-2012 Owen Lin <owenlin@android.com> Merge "Use GalleryUtils.getSelectionModePrompt instead of duplicated code." into gb-ub-photos-arches
8a861a02136d15b45b9dbdc80e4f3bcc9de057c8 24-Aug-2012 Owen Lin <owenlin@google.com> Revert "Revert "Uses ActionBarSherlock library in MovieActivity.""

This reverts commit 13da281769d4558c42d86a54536ff6da6826b0ac.
ovieActivity.java
13da281769d4558c42d86a54536ff6da6826b0ac 24-Aug-2012 Owen Lin <owenlin@google.com> Revert "Uses ActionBarSherlock library in MovieActivity."

This reverts commit 89b437722a24d0c7d6e2acffc30c215f22814234.
ovieActivity.java
89b437722a24d0c7d6e2acffc30c215f22814234 22-Aug-2012 Owen Lin <owenlin@google.com> Uses ActionBarSherlock library in MovieActivity.

bug: 6927267

Change-Id: I4b63e41be5cff22af0f7d830739c719e91cd6fff
ovieActivity.java
4e88a8c2a2addfadb05ca9699f505a3f348f3692 23-Aug-2012 Bobby Georgescu <georgescu@google.com> Fix NPE, ANRs in Gallery

Bug: 7041482
Bug: 7041769
Change-Id: I06596bd9a058a8fe51c19108a0891c458950f22b
lbumPage.java
9a93949a6ab6348b1a600496a7d52267620aab95 22-Aug-2012 Ahbong Chang <cwahbong@google.com> Use GalleryUtils.getSelectionModePrompt instead of duplicated code.

Change-Id: I1cdffb8b8d87f25f91382c3602f12c327ec11849
lbumSetPage.java
20f54bd2a66eb4e1fdf78abe9ba514395d2bcd83 22-Aug-2012 Yuli Huang <yuli@google.com> Merge "Dismiss dialog in onPause() where we still have the window." into gb-ub-photos-arches
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
lbumPage.java
hotoPage.java
447577d618a474bca15c50706da7f8fd853d726a 21-Aug-2012 Yuli Huang <yuli@google.com> Dismiss dialog in onPause() where we still have the window.

bug:6561957
Change-Id: I652c4ec1dd64c650c29f3e4e36ae1200da691694
ropImage.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
ppBridge.java
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.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
ctivityState.java
hotoPage.java
tateManager.java
91055408e94f0a7517971f52290c52f2a75ed52a 16-Aug-2012 Owen Lin <owenlin@google.com> Load AsyncTask class in UI thread.

bug: 7005321

Change-Id: I4f8806553aee34fb2ebeaef010c14c88679a7f72
alleryAppImpl.java
d84941f0649c751c0cc5fd2f6b233380e878ca26 17-Jul-2012 Owen Lin <owenlin@google.com> Add SimpleMenuXXX implementation for the Gingerbread platform.

1. Add a SimpleMenuInflator to parse the res/menu/xxx.xml files.
2. Add minimal code to show the menu.

**NOTE**
This change is going to be replaced by the ActionBar compat library
when it gets ready and integrated. The purpose of this change is making
Gallery/Camera run on GB.

Change-Id: Ia7d402c82a6da1b9558ebbd103e161d2471b34dd
ctivityState.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
lbumPage.java
lbumSetPage.java
ropImage.java
alleryActionBar.java
ovieActivity.java
hotoPage.java
f0c89374bfc008fb79ac3cb91cfd6d565d203041 13-Aug-2012 Bobby Georgescu <georgescu@google.com> Gallery reskin: album list spacing, action bar theme

Change-Id: Ic556f22bd25c57ddd0b659a7f43a7a1afbdcb8df
lbumSetPage.java
onfig.java
e24cc7208a6d3760a87dfd4b80a7a6683fe146eb 13-Aug-2012 Bobby Georgescu <georgescu@google.com> Show album counts in Gallery & other small reskin fixes

Bug: 6975144
Change-Id: I2f12c6482cc009aecbca3e26482ebd8944f01bb8
onfig.java
c90a116a7fd65d41e8258dc7b9a14218649697e6 09-Aug-2012 Bobby Georgescu <georgescu@google.com> First gallery reskin iteration.

Change-Id: I2b79ca9f40346a777141562c9a4762d7a8b460f6
hotoPage.java
lideshowPage.java
ba50b9420e64731fd5aa8b1410e1f36457a1635a 08-Aug-2012 Bobby Georgescu <georgescu@google.com> Hold WakeLock during MTP import

Bug: 6680729
Bug: 6827858

Change-Id: Ida82db3288a429dacc5830b82ec6bbd954f75cf1
anageCachePage.java
hotoPage.java
778ec3597e00cd048224b2c393e2d925bfb27c57 06-Aug-2012 Yuli Huang <yuli@google.com> Do not show photo editor before api level 14.

bug:6927717
Change-Id: Iab0fddaa169e03b65dd0a987ee8b5c892f971000
alleryAppImpl.java
c8abaf283b5123fa1b0c69d8feac168337a7e0a4 03-Aug-2012 Wu-cheng Li <wuchengli@google.com> TargetApi of ShareActionProvider should be ICS.

bug:6706723
Change-Id: I8d82662c4bdd44f970cb93b9986208e5f4db3c31
ovieActivity.java
3000f70d462f27ddf992a50b57db2ef9c8dcac15 28-Jul-2012 Mangesh Ghiware <mghiware@google.com> Show the correct image on a ACTION_VIEW

Bug: 6819100
Change-Id: I7c381c506fa627c3f285fb6857b77cdb770addb7
hotoDataAdapter.java
6608d900c702972a19e0f9e8526add7a8b522fd3 01-Aug-2012 Chih-Chung Chang <chihchung@google.com> Merge "Handle null item in findIndexOfPathInCache." into gb-ub-photos-arches
0086dbabb383a9ba5e06a8b49e3e180bfa36a64b 01-Aug-2012 Chih-Chung Chang <chihchung@google.com> Handle null item in findIndexOfPathInCache.

Bug: 6708911
Change-Id: Ifd1e8342906a3c61d30448ea6b0085c37ccdeb03
hotoDataAdapter.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
alleryActionBar.java
ovieActivity.java
hotoPage.java
34deadcda01cf4d33eade2590df226895b70243e 31-Jul-2012 Bobby Georgescu <georgescu@google.com> Merge "Fix bugs 6882711 and 6836814" into gb-ub-photos-arches
89e7975ade04cea9df6dff285fe1c74425e4df7f 31-Jul-2012 Ahbong Chang <cwahbong@google.com> Check api level before invoking setHomeButtonEnabled().

Bug: 6706785
Change-Id: I2ad4d4961705c38a4d1047732f45dc9c69580782
alleryActionBar.java
d61248536b0dc28ca9e5f84b20e63a4c96ac3ff3 30-Jul-2012 Bobby Georgescu <georgescu@google.com> Fix bugs 6882711 and 6836814

Bug: 6882711
Bug: 6836814

A number of issues surrounding the behavior after deleting
the last photo from the camera roll within the Camera app,
including occasional black screen & incorrectly persistent
action bar.

Change-Id: Ib5f41a78c613da90bb844aab2d40f45e314d3ee3
hotoDataAdapter.java
cc8e7ab7ae0912186beff20e7f042fd6c1e78b35 27-Jul-2012 Owen Lin <owenlin@google.com> Don't call Action.setLogo and Action.setHomeButtonEnabled in old API levels.

bug: 6706724
bug: 6706785

Change-Id: I09e48b8a042c5ce84442dddaf4e4bdfd1960ec4f
alleryActionBar.java
ovieActivity.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
lbumDataLoader.java
lbumPage.java
lbumPicker.java
lbumSetDataLoader.java
ppBridge.java
ropImage.java
yePosition.java
ilterUtils.java
alleryActionBar.java
alleryAppImpl.java
anageCachePage.java
ovieControllerOverlay.java
rientationManager.java
hotoDataAdapter.java
hotoPage.java
ickerActivity.java
inglePhotoDataAdapter.java
lideshowDataAdapter.java
lideshowPage.java
995c4566bed7df1aa48ba7e1351f964efa73880b 20-Jul-2012 Michael Kolb <kolby@google.com> Use actual selection for album/photo details

Bug: 6533154

Change-Id: I21ce95d79567396840f08095b986ecc54263a295
lbumDataLoader.java
lbumPage.java
lbumSetDataLoader.java
lbumSetPage.java
hotoPage.java
11f14dc9e1d4d04b7c21b076445f3cb8c173753b 24-Jul-2012 Bobby Georgescu <georgescu@google.com> Only give haptic feedback when enabled in system settings

Bug: 6866688
Change-Id: I4e349fe666244ef5459dd591c8141768b24c910a
ctivityState.java
lbumPage.java
lbumSetPage.java
840ae396bac4ff8ff34e88c8d2a1773cb112a4b6 13-Jul-2012 Chih-Chung Chang <chihchung@google.com> Only use SurfaceTexture.release and setIconAttribute on newer platforms.

Bug: 6706784

Change-Id: Ic1bb2bb27c3184d791de566d88dbade039fb9d87
bstractGalleryActivity.java
b1eb01cd02d1e75e6b9c3e593f6ff34335e2ca8a 04-Jul-2012 Owen Lin <owenlin@google.com> Don't use invalidateOptionsMenu before API level 11.

Change-Id: If46d46e44797b2bd4f66235eca0954a55d0008cf
bstractGalleryActivity.java
ctivityState.java
allery.java
742b888d9055cec7d63fccef8c74b1352f537160 04-Jul-2012 Hung-ying Tyan <tyanh@google.com> Merge "Add ExifTags to hold tag names that are not available in ExifInterface"
6b9ff6aa3da883ee4efd682b3c6c331cf49066e1 03-Jul-2012 Hung-ying Tyan <tyanh@google.com> Add ExifTags to hold tag names that are not available in ExifInterface

prior to API level 11.
Bug: 6775786

Change-Id: Iab564f577d9a0b87c8fb7b91eda6cabc12b5a11a
ropImage.java
6772173d2a49b87a1d209f42fe52b5f830596f99 02-Jul-2012 Chih-Chung Chang <chihchung@google.com> Remove dependencies on APIs only exist on newer platforms.

Change-Id: I606a23863247454051dd183ddf6b77f6bc882685
oviePlayer.java
hotoPage.java
df4763cf8752fb1babc7244fc2be33ed87d3b072 28-Jun-2012 Owen Lin <owenlin@google.com> Don't reuse bitmap before HoneyComb.

Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
bstractGalleryActivity.java
ropImage.java
oviePlayer.java
allpaper.java
ca7d9bfb42c1d5037bcecdde30eb836755140b03 29-Jun-2012 The Android Open Source Project <initial-contribution@android.com> Avoid using View.SYSTEM_UI_FLAG_LOW_PROFILE.

Use View.STATUS_BAR_HIDDEN instead.

Bug:6706727
Change-Id: I0324a251b10eba11350f1813ee975d493bbcfafa
oviePlayer.java
7eb805de51f5dd9a5dfa98fa3b2fb90ba2582210 02-Jul-2012 Yuli Huang <yuli@google.com> Merge "Do not use NfcAdapter API in old platforms."
fc86994f86f8cfb31e151c9e730dc1e9dc7b3349 29-Jun-2012 Yuli Huang <yuli@google.com> Do not use NfcAdapter API in old platforms.

bug:6698904
Change-Id: I8cab312a212e4cba43187a73bc76d3f2164527a9
hotoPage.java
a2cc443402773dbbe0491e6290e87c2f691a5a62 29-Jun-2012 Owen Lin <owenlin@google.com> Merge "Remove hardwired strings for no external storage."
c52ef1a238932267d7295c28dca403c74377f495 29-Jun-2012 Hung-ying Tyan <tyanh@google.com> Merge "Pass correct intent to IntentService in PackagesMonitor"
e494711fa0109bcb5b522457f21dd904f422b015 29-Jun-2012 Owen Lin <owenlin@google.com> Merge "Don't use Build.VERSION_CODES."
59a38959ba90a0760e7850e72e03d69900d5ac63 28-Jun-2012 Hung-ying Tyan <tyanh@google.com> Pass correct intent to IntentService in PackagesMonitor

Bug: 6755040
Change-Id: I073f4acd026cfcae3e2f4759657324f48b7238c4
ackagesMonitor.java
9d672ab4d15942cd8f8950692fa3e9764d5aa8b5 29-Jun-2012 Owen Lin <owenlin@google.com> Merge "Don't use Display.getSize()."
3a45725ad42324cd2db172fb082fe80772d94d3f 28-Jun-2012 Owen Lin <owenlin@google.com> Don't use Build.VERSION_CODES.

Since they won't be available on old platform.

bug: 6752318

Change-Id: I55a9e83dbf05b93c83c68cb31f6edcbc29793283
ropImage.java
oviePlayer.java
allpaper.java
a56270e9d7072be946569815712dea09b2544718 27-Jun-2012 Hung-ying Tyan <tyanh@google.com> Replace BroadcastReceiver.goAsync() with IntentService

to make Gallery run on older API.

Change-Id: I30dacb38eb4e70ed3f89135544d6c514d0379add
ackagesMonitor.java
cccb63219fc92b7f6a6e322746f276e6f07c7dd0 27-Jun-2012 Owen Lin <owenlin@google.com> Don't use Display.getSize().

Change-Id: I9b5c9021bae2b58d2815a909c97104f215d4d2e8
allpaper.java
5281c0b1fb73947d5808b9abab2d70266bc2dcdf 27-Jun-2012 Chih-Chung Chang <chihchung@google.com> am acd75301: am bb52543c: Merge "Show undo option for 3 seconds after the last picture is deleted." into jb-dev

* commit 'acd753010dcf6d8079e4620722921694cb041dbf':
Show undo option for 3 seconds after the last picture is deleted.
acd753010dcf6d8079e4620722921694cb041dbf 27-Jun-2012 Chih-Chung Chang <chihchung@google.com> am bb52543c: Merge "Show undo option for 3 seconds after the last picture is deleted." into jb-dev

* commit 'bb52543c6ba40749d7046f6ea9da4a8b30793f8d':
Show undo option for 3 seconds after the last picture is deleted.
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
hotoPage.java
8c986ba35be4a40444b844b14b128ceaf7f5df0b 26-Jun-2012 Chih-Chung Chang <chihchung@google.com> am 64cebdd1: am 6118af9d: Fix the behavior of deleting the last picture.

* commit '64cebdd1eebd2c001e6680f247c6f741889ad989':
Fix the behavior of deleting the last picture.
64cebdd1eebd2c001e6680f247c6f741889ad989 26-Jun-2012 Chih-Chung Chang <chihchung@google.com> am 6118af9d: Fix the behavior of deleting the last picture.

* commit '6118af9ddad8acc050133154f8f60c842c7f9bfa':
Fix the behavior of deleting the last picture.
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
hotoPage.java
b47927b7b43679e7315e6099e0a610760320d18d 21-Jun-2012 Owen Lin <owenlin@google.com> Use MediaColumns.WIDTH and MediaColumns.HEIGHT only when they are available.

bug:6698720

Change-Id: Iaabfd1d5fe16b5d89f564d688a78e773ad36c8bd
ropImage.java
fd3071dfc28b4caad583c77d7a4d9dad8fb86a3a 21-Jun-2012 Owen Lin <owenlin@google.com> Remove hardwired strings for no external storage.

bug: 6682495
Change-Id: I68652d6b01842a42907b953574d563cf98e65219
bstractGalleryActivity.java
7a5e1e771ae58241f3a2be36f23025f282032261 20-Jun-2012 Owen Lin <owenlin@google.com> Guard the use of SYSTEM_UI_FLAG_XXXX with TargetApi

bug: 6698718

Change-Id: I6962f0128ce2bd57658b7f3b77d2bc150eff1f60
ovieActivity.java
oviePlayer.java
22a3633a5b84449a419ecb92479703725bdd6723 21-Jun-2012 Wu-cheng Li <wuchengli@google.com> Use View.setBackgroundDrawable instead of setBackground.

View.setBackground was added in API 16. Use setBackgroundDrawable
instead.

bug:6698428
Change-Id: I1346ba4c640ae98d76e333779b4620cdc48b6a3a
oviePlayer.java
254a6b42372179bcc9cf6166639325d11411be77 20-Jun-2012 Wei Huang <weih@google.com> am 82220026: Merge "Fade in/out the undo bar." into jb-dev

* commit '822200267879dfaaf77421007116e59c5bb372cd':
Fade in/out the undo bar.
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
hotoPage.java
382feb11b767600d6aed8ad97d08d9de7a8673e0 19-Jun-2012 Wei Huang <weih@google.com> am 885f729f: Merge "Make SystemUI always consists with the contrller overlay." into jb-dev

* commit '885f729fa16f9a25e688b23f1f9a94ab1bc591d5':
Make SystemUI always consists with the contrller overlay.
885f729fa16f9a25e688b23f1f9a94ab1bc591d5 19-Jun-2012 Wei Huang <weih@google.com> Merge "Make SystemUI always consists with the contrller overlay." into jb-dev
0b4e90974bb2f171ec3b684c10d8b9c4d97afbde 19-Jun-2012 Owen Lin <owenlin@google.com> Make SystemUI always consists with the contrller overlay.

Change-Id: I81f2a71fd38fc2588a9acb97b9d333978ffb5e48
fix: 6679875
oviePlayer.java
imeBar.java
756359c0bb6aa1d97c48a621f6d0dda64c2ca055 18-Jun-2012 Chih-Chung Chang <chihchung@google.com> am 6b891c6a: Add swipe-to-delete gesture.

* commit '6b891c6a3739f8c49d42f9db6fc76cb92c7c5f25':
Add swipe-to-delete gesture.
6b891c6a3739f8c49d42f9db6fc76cb92c7c5f25 07-Jun-2012 Chih-Chung Chang <chihchung@google.com> Add swipe-to-delete gesture.

Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.java
27d6bf937c3d9934fed171ea69aafaf90c9463e6 11-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am b62f354d: am 582c3bb9: Merge "Gallery2: Use ICS alert drawable"

* commit 'b62f354d4f890a20f6bec37eac83226f75a4a475':
Gallery2: Use ICS alert drawable
b62f354d4f890a20f6bec37eac83226f75a4a475 11-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 582c3bb9: Merge "Gallery2: Use ICS alert drawable"

* commit '582c3bb99cf58b55defa5f788d488c62f771b60e':
Gallery2: Use ICS alert drawable
4b9c37d08dc78118de53c1f3349024164abf2512 30-May-2012 Owen Lin <owenlin@google.com> Check the offset of output rect when cropping image.

bug: 6568720
Change-Id: I36c98cab5830eaac15369ada1a1a988e10b0fbf4
ropImage.java
allpaper.java
23b602e709f1551acdb7cf2caaf5b7838b567d15 31-May-2012 Björn Lundén <blunden2@gmail.com> Gallery2: Use ICS alert drawable

Same bug here. It's using the old compability drawable
instead of the Holo theme one.

Change-Id: Ia84ce1d305ee63fc6bc1fdb407a91b3421842eb1
bstractGalleryActivity.java
d0781ecea9a9ad299c6466a81ef66ab78af9dee3 31-May-2012 Chih-Chung Chang <chihchung@google.com> Don't allow the orientation to be unlocked if "Rotation Lock" is checked in Settings.

Bug: 6577802
Change-Id: I5c8eefbb154eedcf71e80e082261e38450105892
rientationManager.java
afb3d1d8f341620f6b69d47d52b515f53817aa91 28-May-2012 Yuli Huang <yuli@google.com> Keep screen on for user-initiated slideshow.

Change-Id: I3085398c663e2c38a31cfde5a07b23446bb7bd7f
b:6450305
ctivityState.java
allery.java
lideshowDream.java
lideshowPage.java
00bb8e439e33848d679a4404c203af9ed1a06a19 24-May-2012 Owen Lin <owenlin@google.com> Add back the background when we show the action bar

This change fix the following UI issues:

1. We add a black backgorund when ActionBar shows and remove it
when we hide the action bar.
2. Make the postion of video stable when opening
3. Prevent glitching when opening a video
4. Make it really full-screen.
5. Hide ControlOverlay at begining.

bug:6519765
bug:6491674

Change-Id: I3ab033642df2c4a158b99385b02e3e967eebeabd
ovieActivity.java
ovieControllerOverlay.java
oviePlayer.java
4608195e1c3f29a15fb61a8f3cd0797af9dbc938 23-May-2012 Wei Huang <weih@google.com> Merge "Fix 6519765 Ghosting is seen when hiding the actionbar in fullscreen video playback mode b:6519765" into jb-dev
2ea599aee03d431af770fb39e83d7a93a66b2ac0 23-May-2012 Yuli Huang <yuli@google.com> Merge "Back should progress through Gallery and return Home for widget intents." into jb-dev
835bc6835d42009999536f509ed1dd2f5359cf9b 23-May-2012 Chih-Chung Chang <chihchung@google.com> Merge "Remove the background in MovieActivity." into jb-dev
24525c28e4c8b4432831b4a2bdb3806017b7772b 22-May-2012 Ray Chen <raychen@google.com> Fix 6519765 Ghosting is seen when hiding the actionbar in fullscreen video playback mode
b:6519765

Ensure SYSTEM_UI_FLAG_LAYOUT_STABLE and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN is set in all states
so ActionBarOverlayLayout can response to fitSystemWindows and onSystemVisibilityChange correctly.

Change-Id: I41a33c9e7d21243bde6fa64e6cd1b709e7b04203
oviePlayer.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
allery.java
hotoPage.java
5dd57a27b013e5019d727d8badb604f319222ddf 22-May-2012 Owen Lin <owenlin@google.com> Remove the background in MovieActivity.

This is a regression. We add the background for bug 6494653.
So we need to remove it in MovieActivity as well.

bug:6491674
Change-Id: I6fb692fa778a1200ffbed741ca0996cb7eeef32f
ovieActivity.java
13188c884a93f6086cbf4e860fb6dfcbc44c6e13 23-May-2012 Wei Huang <weih@google.com> Merge "Fix 6259517 "0 images / videos available" toast is displayed in gallery on launch though it has images / videos" into jb-dev
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
lbumPage.java
lbumSetDataLoader.java
lbumSetPage.java
e6251df06f0b3c8f556043f8b725b4b19be7474d 22-May-2012 Chih-Chung Chang <chihchung@google.com> Unlock orientation only when action bar is needed.

Bug: 6482079
Change-Id: I75d96ca7957f80e9c52f35edf74127f82f194f63
hotoPage.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
lbumPage.java
c2c0b01fbbf243eee1a11c33ba6dd1ce918a9ce5 18-May-2012 Owen Lin <owenlin@google.com> Reuse bitmap to prevent GC in TiledImageView.

bug:5948093
Change-Id: Iad89c5809bde0de5409752330f607aab153dceba
hotoDataAdapter.java
49affdc4e274098a34e4eb2dbe4a89a750f1ba7f 22-May-2012 Owen Lin <owenlin@google.com> Limit the size of a ScreenNail.

bug:6528366
This bug was happened because we are trying to make a texture beyond the
max size allowed in GL.

Here is what we do in this CL:
1. Limit the size of a screen nail
2. Print warning message, if we try to allocate a texture beyond the size
3. Don't show fall-back animation if the image is not loaded yet.

Change-Id: I004b1138efd0eef7ba11aa89556f67743ca46745
hotoDataAdapter.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
lbumSetPage.java
hotoPage.java
3efc2b24e29f7591993c43ef2653332054203578 22-May-2012 Chih-Chung Chang <chihchung@google.com> Merge "Don't fire data change notification before the data is made consistent." into jb-dev
d2f509734c5c75298c3fed0edf71d55cd71ad9ae 21-May-2012 Chih-Chung Chang <chihchung@google.com> Don't fire data change notification before the data is made consistent.

Bug: 6500467
Change-Id: Ia064461daba92bbf1172eae5d321bf5049de6d48
hotoDataAdapter.java
614fe145f539119084b4cf0b1d6892bfcded1a0b 21-May-2012 Wei Huang <weih@google.com> Merge "Fix the detail isn't updated for the selected thumbnail." into jb-dev
8e4eb7e6d69c2f22605ce96837c2b14d48d084b0 21-May-2012 Yuli Huang <yuli@google.com> Fix the detail isn't updated for the selected thumbnail.

bug:6521826
Change-Id: I1c07c10414ad45721b65583ed5f976c992d27698
lbumPage.java
lbumSetPage.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
ovieActivity.java
hotoPage.java
c9f743a777cf5e5e91bad7810584be052db21eed 18-May-2012 Yuli Huang <yuli@google.com> Fix action-bar title for cropping wallpaper.

bug:6513495
Change-Id: I97b76c948d5c9fa0bb11f2fe89a0d10f490dbe14
ropImage.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
hotoPage.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
ctivityState.java
hotoPage.java
0f2db4b94d2824db2e5be748924cd51fcc8b9498 18-May-2012 Chih-Chung Chang <chihchung@google.com> Merge "Show gray tile for screennails not loaded yet." into jb-dev
f5ce6aeba448f418c99736465f7a02dacd7715bb 11-May-2012 Chih-Chung Chang <chihchung@google.com> Show gray tile for screennails not loaded yet.

Bug: 6452217
Change-Id: Ied9c2e2c91f4ffe218a73ba1a123df92a2aab98a
hotoDataAdapter.java
inglePhotoDataAdapter.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
anageCachePage.java
hotoPage.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
ppBridge.java
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.java
616a70fdb4473d2fbd7b70772a3a82b908aeae1e 07-May-2012 Owen Lin <owenlin@google.com> Add transition animation for tapping from PhotoPage.

bug:6383694
Change-Id: Ib457d6b636dafd3f8ef7340bfa85725f14d90bd0
bstractGalleryActivity.java
ctivityState.java
lbumPage.java
alleryActivity.java
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.java
tateManager.java
ransitionStore.java
7896b2ce915cbd180682e94e2fe3d246ff760763 16-May-2012 Owen Lin <owenlin@google.com> Set the window backgrond and remove it in onCreate().

To have better transistion when launching the app.

bug: 6494653
Change-Id: I0f28796d599931c676c99e8f19a9f34e05018570
bstractGalleryActivity.java
b4e38c9a5945b9651dca1b2b8fe6e0e2833c0fa6 17-May-2012 Ray Chen <raychen@google.com> Merge "Fix 6213053 Add Help entry point to Gallery (targeted for J release) b: 6213053" into jb-dev
93ccc28d149fc8f92929e53c7d1ce1ef6c3c8dee 17-May-2012 Ray Chen <raychen@google.com> Merge "Fix 6479216 Playing a video should go full-screen first" into jb-dev
daf88feb0aab5806723b850d22a372cafe758239 17-May-2012 Ray Chen <raychen@google.com> Fix 6213053 Add Help entry point to Gallery (targeted for J release)
b: 6213053

Change-Id: Ib94a8bbdb3114a198b775025c5864a3d83cdd5ad
lbumSetPage.java
253c5aec7692afdd7880fbd169d4b44d5679cbc0 17-May-2012 Chih-Chung Chang <chihchung@google.com> Handle layout change between pausing and resuming.

Bug: 6468414
Change-Id: Ib190b620bea5a60f12d6075beaeb3bcd10b87802
hotoPage.java
46f7f860ebae5a8f98e3a174a1c3d180d0cbc0ac 16-May-2012 Owen Lin <owenlin@google.com> Merge "Fix a dead lock while we freeze the screen." into jb-dev
79cf902f4cc602774e90bc2040f0029978becb61 16-May-2012 Owen Lin <owenlin@google.com> Fix a dead lock while we freeze the screen.

bug: 6504696
Change-Id: If960967142bb0df773ce075bf76f5726c37e1d27
hotoPage.java
be055bc0318828029a4bda0e31e9d8e3ce17ca4b 16-May-2012 Owen Lin <owenlin@google.com> Hide the share button if the shared URI is not "content:".

bug:6494818
Change-Id: I70a2997c07c19433cadee34fa348d27445bf2647
ovieActivity.java
bd7c016d728853d38f98a3c6077b7bd9b08858b9 15-May-2012 Yuli Huang <yuli@google.com> Avoid black screen when PhotoPage just starts.

bug:5367032

Change-Id: I6bd56026ec32bcee972d69855966750b9a57cdf4
hotoPage.java
f284d8f41ffa15cb7bf0167013700ed21f451fab 16-May-2012 Ray Chen <raychen@google.com> Merge "Fix 6470803 De-jank for video playback in fullscreen" into jb-dev
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
hotoPage.java
392a29210937c16a9086450bcfb98d1c61b0d87e 14-May-2012 Ray Chen <raychen@google.com> Fix 6479216 Playing a video should go full-screen first

Change-Id: I7b1d2bd28531ec4fd4b65862122cf058ef69066e
b: 6479216
oviePlayer.java
43650c63eb751a367ff0d75af152d0b244c0e748 11-May-2012 Ray Chen <raychen@google.com> Fix 6470803 De-jank for video playback in fullscreen

b: 6470803

Change-Id: I91fd8430c34e84eac45c33070f0f571627e96820
ovieActivity.java
ovieControllerOverlay.java
214993dc4abf87c386123af50e3c34184ba11cb6 11-May-2012 Chih-Chung Chang <chihchung@google.com> Better data change handling for PhotoDataAdapter and PhotoView.

Change-Id: I0f67d918b95000d10786d2035286e036346bfa4e
hotoDataAdapter.java
3b4a8aeb0353fa18a2b5267b3952a80a6c6d4d13 09-May-2012 Chih-Chung Chang <chihchung@google.com> Handle ScreenNail size change.

Bug: 6355399
Change-Id: Ice7560c12aa06cf8ac58cc3883f0888b5c6e71a5
ppBridge.java
hotoPage.java
78d5dac00fd19fdc34269aae7653f9f4839dc357 09-May-2012 Yuli Huang <yuli@google.com> Crop-image doesn't show its title in the action-bar.

bug:6464608
Change-Id: I7b463beaa96f5f475812ec4f0c3de1118a6d0895
ropImage.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
ppBridge.java
rientationManager.java
hotoPage.java
ec9a033559f34e5407387cb7d095aee27ddc337b 04-May-2012 Owen Lin <owenlin@google.com> Keep the last page if finish() is rejected.

bug: 6414642
Change-Id: I480edc43608c08088177113cb3607d517c91e9f6
tateManager.java
625d51a1d6e8cbc5884fdcdddeebcd85454935da 07-May-2012 Yuli Huang <yuli@google.com> Fix back-button's behavior in Crop.

bug:6452504
Change-Id: Ic11dd58c613764e3e6cf7a35135678777e49a4ef
ropImage.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
allery.java
hotoPage.java
tateManager.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
hotoPage.java
6575794a9c09f22d5721e212c093e0a2df376d0c 05-May-2012 Chih-Chung Chang <chihchung@google.com> Fix 6429662: Video snapshot doesn't work

Change-Id: I6414be7f00ee103b7047128fdc92e03ca87c7703
ppBridge.java
hotoPage.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
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.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
hotoPage.java
88cc2ca5f5596762a5546ec7426756f2036be455 05-May-2012 Yuli Huang <yuli@google.com> Fix a TODO by replacing a string.

Change-Id: I17216e0ca83a185842bc69151fcf8c5136e2b873
hotoPage.java
c2fcc7a681070e6c1d024ecf60b6a2a3e3f1a68b 03-May-2012 Yuli Huang <yuli@google.com> Don't show spinner to avoid janky transition.

bug:5406790
Change-Id: Ieea09f43d5230e1507c16001ec12b3ea6e3c3f0e
lbumPage.java
lbumSetPage.java
609a25b98a576e788c3eff507bc162616d1e64bd 03-May-2012 Chih-Chung Chang <chihchung@google.com> Merge "Add camera icon for camera roll." into jb-dev
3ab1028ff9965615d6f90e5073c8d23775c51bb2 03-May-2012 Chih-Chung Chang <chihchung@google.com> Merge "Fix NPE in onFullScreenChanged message handler. Bug: 6430929" into jb-dev
402237b43fd853377e5dba4e048839ad23b99d72 03-May-2012 Chih-Chung Chang <chihchung@google.com> Add camera icon for camera roll.

Bug: 6411709
Change-Id: I2476dba7edb2b763f3b7727f0034fa300cf0287a
lbumPage.java
lbumSetPage.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
rientationManager.java
hotoPage.java
37531196bbecc15a8bf035381afeb61279a947ae 03-May-2012 Yuli Huang <yuli@google.com> Merge "Fix NPE because of concurrent access in both GL and main threads." into jb-dev
61f94714c3702115d2f89bb5f8829697be0c3680 02-May-2012 Chih-Chung Chang <chihchung@google.com> Show/hide action bar at the right time.

Bug: 6399476

Change-Id: I5046b2e73822ebadd94680f61d87db183b40b5c2
hotoPage.java
677584c7242d21ef2ca8adbedb5f9e3f016b54b3 02-May-2012 Yuli Huang <yuli@google.com> Fix NPE because of concurrent access in both GL and main threads.

bug:6411187
Change-Id: I811c83f49837ee921436fec0c6b1bf2de0156e0a
alleryActionBar.java
06c6401eededc2ec842ba4994a838c2ded0a666c 03-May-2012 Pin Ting <pinting@google.com> Turn on unlockOrientation to make onConfigurationChanged in camera work.

Bug:6304805
Change-Id: Ia5a8df4153a7ddc7847a8a3744a3537120edb143
hotoPage.java
33f8567dd5003e4bb342683f3768ab7552648b02 01-May-2012 Chih-Chung Chang <chihchung@google.com> Fix the Camera controls disappearing after zooming problem.

Bug: 6392682
Change-Id: I065c52b44c02f9314e58e82846cdf22e2d940eab
hotoPage.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
hotoDataAdapter.java
hotoPage.java
c63554245d9a822a9fbe5aeda8612624434fd247 02-May-2012 Owen Lin <owenlin@google.com> Change thumbnail's position only when it is invisible.

bug:6393694
Change-Id: I33f41c3c894b4c6d28e0832cfd4badbfca3a4f64
lbumPage.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
lbumPage.java
hotoPage.java
b5dc542fbaeaf99bebdcf775ef0e034e89e88eae 30-Apr-2012 Wu-cheng Li <wuchengli@google.com> Do not show action bar on camera.

bug:6411406
Change-Id: I4fbb95c9913046b4d5b1cfa4ede10490d156ed3f
hotoPage.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
bstractGalleryActivity.java
lbumPage.java
ppBridge.java
ameraScreenNail.java
alleryActivity.java
rientationManager.java
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.java
23a5e6f233f688f2e1ca2b10b5d1c615a263e83d 30-Apr-2012 Pin Ting <pinting@google.com> Merge "Remove unused code." into jb-dev
87aff90167434de623721ba6149603bb4c7b54a8 30-Apr-2012 Pin Ting <pinting@google.com> Remove unused code.

Change-Id: Icd68f286a8b97594495f56d6b4bfa2e785462f5d
anageCachePage.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
ropImage.java
hotoPage.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
hotoPage.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
hotoPage.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
ropImage.java
allery.java
hotoPage.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
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.java
2c6173822a612597c79be41b126367ddfbb5d518 20-Apr-2012 Chih-Chung Chang <chihchung@google.com> Add capture animation in Gallery.

Change-Id: Ibf95cc64f37a4518377e64124af6606c4f14cdaa
bstractGalleryActivity.java
allery.java
hotoPage.java
ickerActivity.java
97d7d0f272d3f4619ded2bdc80ced457937be507 24-Apr-2012 Wu-cheng Li <wuchengli@google.com> Merge "Add a method to disable toggle status bar."
b1db75c15ef546fef26ee7e34321f3087562a0f7 24-Apr-2012 Wu-cheng Li <wuchengli@google.com> Add a method to disable toggle status bar.

Camera does not show status bar in both landscape and
portrait.

bug:6378178

Change-Id: I80cead9c0e2ef0256288aafead6bd1a96cc93d7b
bstractGalleryActivity.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
lbumPage.java
lbumSetPage.java
anageCachePage.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
hotoPage.java
3fb40bd6f7431e84481d8bccad61299b5f21a2f9 23-Apr-2012 Ray Chen <raychen@google.com> Merge "Fix 6208468 21 ANR(s) in: com.google.android.gallery3d on crespo during monkey runs for JRM80 b:6208468"
6b677eb6dfb1cc51ca6dbe6ab43da2f6020fbf2c 20-Apr-2012 Ray Chen <raychen@google.com> Fix 6208468 21 ANR(s) in: com.google.android.gallery3d on crespo during monkey runs for JRM80
b:6208468

Both getDataManager and getImageCacheService use the same lock but the latter method is blocked on
RandomAccessFile's open syscall. The lock should be separated because they're independent and
getDataManager is very frequently used too.

Change-Id: I4d44cfc949f45a31c7200c8327115bc4b7fde60f
alleryAppImpl.java
c3b2d478f9032a8decf5c6254a238fc49e41b72c 19-Apr-2012 Chih-Chung Chang <chihchung@google.com> In filmstrip, show placeholders for pictures not loaded yet.

Change-Id: I037f1f054da4a3800045d5b89724341ac22272a5
hotoDataAdapter.java
inglePhotoDataAdapter.java
fb1a15559bb2a0a1c8a41efd3e0420a2a2d70590 19-Apr-2012 Chih-Chung Chang <chihchung@google.com> Allow filmstrip to scroll before the screennail is loaded.

Change-Id: I9aa7405902c4bfb7e4946cfe4e1263314a958686
hotoDataAdapter.java
b8be1e0ad76b6abc0da7ead39f7a9811195d001e 17-Apr-2012 Chih-Chung Chang <chihchung@google.com> Add thumb pool the cache Bitmap used for thumbnails.

Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
bstractGalleryActivity.java
ameraScreenNail.java
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.java
2ae47200a8ac7a57eff925d287f7b48a2360d95c 18-Apr-2012 Wu-cheng Li <wuchengli@google.com> Merge "Add page tap listener."
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
hotoPage.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
lbumPage.java
lbumSetPage.java
anageCachePage.java
e7d1767e30d01270bf67714b1902a316960952c0 16-Apr-2012 Ray Chen <raychen@google.com> Fix b/6213053 Add Help entry point to Gallery (targeted for J release)

b:6213053

Change-Id: Ib9d9c5e69f09d6c2fffb4e6ecb09b2c3ae700365
lbumSetPage.java
483203d37da239d9c455239791c1defe2acdfa37 14-Apr-2012 Martijn Coenen <maco@google.com> Merge "Use new Beam push API."
a41ed05ff2f71d2177b4f24f53acd848b46fc840 14-Apr-2012 Martijn Coenen <maco@google.com> Use new Beam push API.

Change-Id: I3e5a69832d1ac01759e37fbde2cf2c1926219445
hotoPage.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
lbumPage.java
lbumSetPage.java
96a9d9daa55fa5dc9bd73f3352d60942b06e67a0 12-Apr-2012 Yuli Huang <yuli@google.com> Fix SinglePhotoDataAdapter getScreenNail()

bug:6322259
Change-Id: I6cf5de88fc07e4b73b028faa3b2a063b4d47fd20
inglePhotoDataAdapter.java
19baeb146fc2b589d5624d1a62b5b01d172c2ef3 10-Apr-2012 Chih-Chung Chang <chihchung@google.com> Merge "Add new filmstrip mode for PhotoView."
b7ec5534c7b539be2397c27cfa5e8b992974c12d 02-Apr-2012 Chih-Chung Chang <chihchung@google.com> Add new filmstrip mode for PhotoView.

Change-Id: I9da9896303ced8d63a3557d5e6e9bc06fb366cf5
hotoDataAdapter.java
inglePhotoDataAdapter.java
cafd30f96355ad446943d60cd2595d08423944e2 09-Apr-2012 Owen Lin <owenlin@google.com> Add BytesBufferPool to prevent GC.

Change-Id: Ia8513ff380a60f102481cbf25650eca149b75064
bstractGalleryActivity.java
8ef6c55bdad9a3e835ce56bdc98681434b4ac5b3 09-Apr-2012 Owen Lin <owenlin@google.com> Prevent album's label get flashing when content changed.

Change-Id: I1b00b308af740ccab143a073643729ca880770f4
lbumSetDataLoader.java
c3d8ac3b9504346dafc49e006b5f732dd1db21e8 06-Apr-2012 Owen Lin <owenlin@google.com> Refactor. Rename AlbumView to AlbumSlotRenderer.

Change-Id: I7d8d3586a910dac35975e4effa0d02528e2ccf98
lbumDataAdapter.java
lbumDataLoader.java
lbumPage.java
lbumSetDataAdapter.java
lbumSetDataLoader.java
lbumSetPage.java
onfig.java
anageCachePage.java
31cac30e46a293f6d0901e22c6ab0d083cae7021 04-Apr-2012 Owen Lin <owenlin@google.com> Refactor. Merge SelectionDrawer with SlotRenderer.

Change-Id: Iaa50b2a78beb95fc83208a5f74cf612650cd8643
lbumPage.java
lbumSetPage.java
anageCachePage.java
d8fb81f601830385a2343d08ad5dd171e4c7bfe0 29-Mar-2012 Owen Lin <owenlin@google.com> Upload textures in background.

Change-Id: I365f7be9aaab793366884249cbb10e8b6f0ab0e6
bstractGalleryActivity.java
lbumDataAdapter.java
lbumSetDataAdapter.java
5e96a9f26b2a8745235a706df5352ae7fb872a93 05-Apr-2012 Owen Lin <owenlin@google.com> Merge "Make all drawing happens in background."
1a4bd273afe5dd11592f7625c2f19853b6f174e9 26-Mar-2012 Owen Lin <owenlin@google.com> Make all drawing happens in background.

Also move more rendering code to SlotRenderers (AlbumSetView and AlbumView).

Change-Id: I1d678711bfd3655a48bb4b99d8ca175e088bdffb
lbumSetDataAdapter.java
71632ac6c1596dd1fd477f95e268f96ad72ea572 04-Apr-2012 Owen Lin <owenlin@google.com> Fix NPE in Gallery.

bug: 6249248

Change-Id: I41851c6524163195f6296a15893d962e706b3449
lbumPage.java
lbumSetPage.java
33ef03776b7734717b16f6fc861b831fb1b1dfac 27-Mar-2012 Martijn Coenen <maco@google.com> Support for beaming a picture.

Change-Id: I73d69f164b455ffa90a495001190937025a56dc5
hotoPage.java
3957efd020f2e80d79cd3fed019f2883668a1c9e 03-Apr-2012 Wu-cheng Li <wuchengli@google.com> Fix OOM when switching between camera and camcorder.

- Camera activities extend AbstractGalleryActivity. So
onDestroy is moved from Gallery to AbstractGalleryActivity.
- Use WeakReference for values in the WeakHashMap of
SpinnerVisibilitySetter.

bug:5954389
Change-Id: Ib15f269bd4c54a4621bdff58e7ea16b44f8fb3e3
bstractGalleryActivity.java
allery.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
lbumPage.java
hotoPage.java
921895ba0b3511aeba053bdc0c965f9d3f62eb51 02-Apr-2012 Chih-Chung Chang <chihchung@google.com> Remove FilmStripView.

Change-Id: I45cee8c32863cc65eba4c5e83e667e104cf24e42
lbumPage.java
onfig.java
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.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
lbumPage.java
lbumSetPage.java
hotoPage.java
b29a27f475a2c449abdda8d4e03d30914feed8c6 22-Mar-2012 Chih-Chung Chang <chihchung@google.com> Use SurfaceTexture to show Camera preview.

Change-Id: I8bf63dfc5b969ecce51841378b093a650b6f91d8
lbumPage.java
ameraScreenNail.java
ameraView.java
hotoDataAdapter.java
hotoPage.java
creenNailBridge.java
0c194f77419636a3086c1d8217f50a08bbfe91f5 28-Mar-2012 Owen Lin <owenlin@google.com> Merge "Refactor. Make the code simpler."
ed46d77c16cd80357f4a0feada2435dfba8104a6 26-Mar-2012 Yuli Huang <yuli@google.com> Fix b/6212093: Title wasn't updated for orientation changes.

Change-Id: I407cfb8f2bde5bab302045188f4f511bdcd2347a
b:6212093
hotoPage.java
7260f6f74d465520e4497b23fe56f98abb0c15a2 22-Mar-2012 Owen Lin <owenlin@google.com> Refactor. Make the code simpler.

Change-Id: I2d3b7a1cfed17afcf6b7ee3e7bf1ca13ada8d9c3
lbumPage.java
lbumSetPage.java
anageCachePage.java
7e3d6ee9f4a7e764cb66439f226c7fb66d4f2021 22-Mar-2012 Chih-Chung Chang <chihchung@google.com> Merge "New effect in photo browsing."
2100cf3b392556e0f084c59a31275e3ee8d5edcc 22-Mar-2012 Hung-ying Tyan <tyanh@google.com> Merge "Make PackagesMonitor go async"
bb0be068e9182278d30efd42cad5cf369ff93db4 21-Mar-2012 Hung-ying Tyan <tyanh@google.com> Make PackagesMonitor go async

to offload package event processing from main thread.

Bug: 6109890
Change-Id: I77e1fad9a4ac24020eed68d53ca7e1d253248890
ackagesMonitor.java
cb4fb7c19f20405fb5e08513e6297dffce824118 21-Mar-2012 Chih-Chung Chang <chihchung@google.com> New effect in photo browsing.

Change-Id: I12ca70f56f5c874292a7a6f38f0518bbc855ed70
hotoDataAdapter.java
1955a95dabfab2a8320a99984ab482ef48c10783 22-Mar-2012 Owen Lin <owenlin@google.com> Merge changes I1acef9fc,I53ddb3cd

* changes:
Make top level albums can be loaded concurrently.
Add log to debug loading time.
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
lbumPage.java
lbumSetPage.java
hotoPage.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
ameraView.java
hotoDataAdapter.java
hotoPage.java
creenNailBridge.java
inglePhotoDataAdapter.java
4745319b4f5e1f5056502f20698eb5910d249333 20-Mar-2012 Chih-Chung Chang <chihchung@google.com> Patch for MR1.

Change-Id: I3f4bba2854257008eed95b8eacce598abdca3180
hotoDataAdapter.java
c3b30370ce9665d4371f61f0224b7f262dd2c7ee 13-Mar-2012 Owen Lin <owenlin@google.com> Add log to debug loading time.

Change-Id: I53ddb3cdce7abe9de7c5bbd85c1adad474bdff2f
lbumSetDataAdapter.java
8cab3e872dd95e55ba34fdb94269a0c5069e72ae 20-Mar-2012 Ray Chen <raychen@google.com> Fix b/6191707 Unable to set Custom wallpaper from Home

Change-Id: I130f74c94ebf5d93922807f7fee5ae7f189a15d4
bstractGalleryActivity.java
lbumPage.java
lbumSetPage.java
allery.java
alleryActionBar.java
anageCachePage.java
hotoPage.java
ickerActivity.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
bstractGalleryActivity.java
ctivityState.java
lbumPage.java
allery.java
hotoPage.java
ickerActivity.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
ctivityState.java
lbumPage.java
hotoPage.java
7b9c72a32694f180fbc7bf4652720db9d46e30f4 07-Mar-2012 Ray Chen <raychen@google.com> Fix 6039387 Wrong app icon shown when playing 'personal video' from Videos app

Change-Id: Idf5af5172d5d413e64712331e3e6331f13e1b95c
ovieActivity.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
ctivityState.java
lbumPage.java
allery.java
alleryActionBar.java
hotoPage.java
tateManager.java
2b3ee0ea07246b859a5b75d8a6102a7cce7ec838 14-Mar-2012 Owen Lin <owenlin@google.com> Reorganize import for all files.

Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
lbumPicker.java
onfig.java
ialogPicker.java
yePosition.java
alleryActionBar.java
alleryActivity.java
alleryApp.java
alleryAppImpl.java
alleryContext.java
anageCachePage.java
ovieControllerOverlay.java
ackagesMonitor.java
hotoDataAdapter.java
ickerActivity.java
inglePhotoDataAdapter.java
lideshowDream.java
lideshowPage.java
tateManager.java
imeBar.java
4bb5912e85f6d1bd8a6b78d6d52b4c4da7aeb740 07-Mar-2012 Owen Lin <owenlin@google.com> Reuse bitmap for all micro thumb images to prevent GC.

Change-Id: I27d3002e5bb745a597f52962fe24744c8329441c
bstractGalleryActivity.java
fb55994c78d7b6af919d45ab015f5dc0a8665ac8 11-Mar-2012 Chih-Chung Chang <chihchung@google.com> Change id "root" to "movie_view_root" to avoid confusion.

There is also one id "root" in Camera.

Change-Id: Id6ebc5362f5ddceabe6dab6218de9b091454bde7
ovieActivity.java
392352c673069715e74deecafdc7b65565f04a31 09-Mar-2012 Chih-Chung Chang <chihchung@google.com> Merge "Merge Camera into Gallery package."
63764789fdef4dfcdb3c0e1a9fa46b5d62312f07 08-Mar-2012 Chih-Chung Chang <chihchung@google.com> Merge Camera into Gallery package.

Change-Id: If66d4b841eec3d3f5384a561b07c0eeade92597a
alleryAppImpl.java
15b8ec53d9d79e25d08f53e5ab721dac9cedf16e 07-Mar-2012 Yuli Huang <yuli@google.com> Fix b/5948187: Add progress text for loading video.

Change-Id: If85a5db3c6128cf0c59b97dc44f51cdfc87d225b
ovieControllerOverlay.java
d83f5f227315cccfe3c23db90c93b5fd7be20597 01-Mar-2012 Yuli Huang <yuli@google.com> Fix a wrong flag value.

Change-Id: I7450dc31bb307b19dcfd34ee7df83126df1d294e
ctivityState.java
fe1625c46f8258be4cd5e5e1ba69b584c1fe1a49 17-Feb-2012 Ray Chen <raychen@google.com> Fix 5948223 [bug bash] Albums text disappears when exiting gallery

Change-Id: Ib787184f747ff30afabc35b16b46950dc3b5b50c
ctivityState.java
lbumSetPage.java
alleryActionBar.java
a9bd72c2efc7f7c26c60083d8f00380e60caf94e 16-Feb-2012 Ray Chen <raychen@google.com> Fix 5948410 BUG BASH: Temporarily title is displayed during gallery start

Change-Id: I88a67e3e9437124001be836239736a8275c1abf4
ctivityState.java
7b83fb8e3a8978b33a6b9bfc56d85fe2c1a9cf06 22-Feb-2012 Chih-Chung Chang <chihchung@google.com> Remove unused code.

Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
bstractGalleryActivity.java
ctivityState.java
lbumDataAdapter.java
lbumPage.java
lbumSetDataAdapter.java
lbumSetPage.java
ontrollerOverlay.java
ilterUtils.java
alleryActionBar.java
alleryActivity.java
alleryContext.java
ovieControllerOverlay.java
cfa105d3934c4dfa14f02b693bfa97c8d17d56a9 17-Feb-2012 Chih-Chung Chang <chihchung@google.com> Reduce memory allocation and make small improvements.

Change-Id: Iac3f302454119de6363cd5cfb158619e739b0536
lbumPage.java
ff951a85c3c9015ef7ccd8902e69ce88360a0cb8 16-Feb-2012 Chih-Chung Chang <chihchung@google.com> Change from fillRect to clearBuffer for pure black background.

Change-Id: Ie3da19b377f3e7926ab37c5936ce48cbb3227f92
lbumPage.java
lbumSetPage.java
anageCachePage.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
lbumPage.java
lbumSetPage.java
hotoPage.java
7f10c1533e087b528f58294edaba18726e350103 13-Feb-2012 Chih-Chung Chang <chihchung@google.com> Merge "Use FloatMath instead of Math."
fef6691d870711d8cdaf3ac14b24e5a7c6496b6f 11-Feb-2012 Pin Ting <pinting@google.com> Merge "Shows video filename read from OpenableColumns."
fd91413ab46e2960803a33652025aebe3e05f2d9 11-Feb-2012 Chih-Chung Chang <chihchung@google.com> Use FloatMath instead of Math.

Change-Id: I41661b231f6c034dbca6af26d5950eda6c5fc7da
ropImage.java
yePosition.java
4a9c58cb0029a4ea96c2ade614c265805d699179 11-Feb-2012 Chih-Chung Chang <chihchung@google.com> Merge "Revert "Use FloatMath instead of Math.""
3e7cfd9d20f9e9830dddac7288d4d12c8839fba0 11-Feb-2012 Chih-Chung Chang <chihchung@google.com> Revert "Use FloatMath instead of Math."

This reverts commit 6bb8b2eb8695c042798f0eb798032cd30d642a65
ropImage.java
yePosition.java
af4724e9fe7f0b6636c1c90219283c37acbee45b 11-Feb-2012 Chih-Chung Chang <chihchung@google.com> Merge "Use FloatMath instead of Math."
6bb8b2eb8695c042798f0eb798032cd30d642a65 11-Feb-2012 Chih-Chung Chang <chihchung@google.com> Use FloatMath instead of Math.

Change-Id: I26eb6a554f72c13ba2801ce35ef0cf2a1466a97b
ropImage.java
yePosition.java
4ba06f02e9182160ce155871cbd088919b0ac0c6 10-Feb-2012 Pin Ting <pinting@google.com> Shows video filename read from OpenableColumns.

bug:5796182
Change-Id: I92bc652d713bcc70b5a048f5948dc17e90a5e874
allery.java
ovieActivity.java
49d11f8bace6432c5246d832966a3b15b7e54933 09-Feb-2012 Ray Chen <raychen@google.com> Merge "Fix indent."
e4321efb533ebf1801f5dd738ec3e8efe426e3a2 09-Feb-2012 Pin Ting <pinting@google.com> Merge "Shows image filename read from OpenableColumns."
1d33c69510326298c524593a8fb5d65b571013dc 07-Feb-2012 Pin Ting <pinting@google.com> Shows image filename read from OpenableColumns.

bug:5796182
Change-Id: If43d2dd048ab003c1703bb1a466a19b6013cae85
allery.java
fa011a292ea27fd6a885f980596e959ca83b9a4f 07-Feb-2012 Ray Chen <raychen@google.com> Fix indent.

Change-Id: I3e0c443ddfb2ebc777db7504c89ca1ffec119745
bstractGalleryActivity.java
a7b78e224b1808895ea2c3d42ae385526dea12aa 07-Feb-2012 Yuli Huang <yuli@google.com> Fix b/5840847: Always show 'Loading...' for corrupt pictures.

Change-Id: I040f6e4090dad3e73b86062ddefd9bb0be581bf5
hotoDataAdapter.java
acd15c734363293975b259168537ed811889fcdc 06-Feb-2012 Pin Ting <pinting@google.com> Merge "Shows status bar in gallery when in portrait view."
4d50f7373a6205e197ffc1b73cdc5ffcbeb79fca 03-Feb-2012 Pin Ting <pinting@google.com> Shows status bar in gallery when in portrait view.

bug: 5467810
Shows status bar in gallery, crop activity, picker activity when in
portrait view; hide status bar when in landscape view.

Change-Id: I17e2347f020db209ba0581a8e2f2aa19fcb4ceae
bstractGalleryActivity.java
585ae3d5deccc58e282c55b980ef31eb655537ee 03-Feb-2012 Ray Chen <raychen@google.com> Fix 5948229 [Bug Bash] The app icon is clickable in album set view

Change-Id: I563d2322fe5f1954ffaab7424b66d22722ed43a7
ctivityState.java
ac7c72d8d8f7af477a74656603e0c27e01c25106 02-Feb-2012 Pin Ting <pinting@google.com> Merge "Shows video filename passed from other apps."
b333d7a407d108d3c6de4bf016d0d6f7854ef903 02-Feb-2012 Pin Ting <pinting@google.com> Merge "Shows image filename passed from other apps."
143594f5a26cf68520ca4712435739d2ada339a3 18-Jan-2012 Pin Ting <pinting@google.com> Shows video filename passed from other apps.

bug:5796182
Change-Id: I8de80b56105737ac38db117804b55a161150dbe9
ovieActivity.java
186f8b21cdbe6881a1e7fd452e3ef32e1d81d90f 18-Jan-2012 Pin Ting <pinting@google.com> Shows image filename passed from other apps.

bug:5796182
This change will be followed up by a change to the class
android.content.Intent.
Change-Id: I3c607c535a4e90d867a98528118d1b6f10fa45cf
allery.java
f12d64978030d8e35794ad0cd37c177f3c8674a7 01-Feb-2012 Chih-Chung Chang <chihchung@google.com> Localize the "fail to load image" toast message.

Bug 5875813.

Change-Id: Ia11a3e909f90e8178238c390728b407708fabf8e
ropImage.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
lbumPage.java
lbumSetPage.java
tateManager.java
43072a9551c907236a9f0bb4e6506ef0bd5d6c03 01-Dec-2011 Daniel Sandler <dsandler@android.com> Remove dependency on support library. DO NOT MERGE.

Bug: 5689684
Change-Id: I95d1090b91302dc6686d36768721cca61e9d1249
lideshowDream.java
764482c4ebffc9c3cac21fcd8707811e981cd092 30-Nov-2011 Chih-Chung Chang <chihchung@google.com> Merge "Fix 5685925: Handle PACKAGE_CHANGED intent (when a package is enabled/disabled)" into ics-mr1
d091538f6949cca1c73213cea0b9fdf28c878046 30-Nov-2011 Chih-Chung Chang <chihchung@google.com> Fix 5685925: Handle PACKAGE_CHANGED intent (when a package is enabled/disabled)

Change-Id: Ia994264fb2c11fbc971840c8a103bbe9fa6ee7f7
ackagesMonitor.java
002a3fece284f713537fad4523ee963d257350e9 30-Nov-2011 Chih-Chung Chang <chihchung@google.com> Fix 5686493: Crash when try to click any thumbnail

Change-Id: Ia109333c3a207ca2a60889c2731f6c11737b5592
ctivityState.java
45fa677140112f725df3765be56edc715c226aa5 30-Nov-2011 Daniel Sandler <dsandler@android.com> Merge "Improve screen on/off logic in slideshow." into ics-mr1
622c2b2c7721008e7851d0af3d89d3fc545ceaf6 29-Nov-2011 Wei Huang <weih@google.com> Merge "Show a dialog to require updating PlusOne." into ics-mr1
8e6fd7cee5467824cd96b4127ccc755c70bd4ea3 28-Nov-2011 Daniel Sandler <dsandler@android.com> Improve screen on/off logic in slideshow.

When used as a screensaver or otherwise, the slideshow
should not keep the screen on if the device is not plugged
in. It should also allow the screen to lock while the
slideshow is playing (otherwise a device left in this state
may be left unsecured for long periods by accident).
Additionally, when used as a screensaver, it must dismiss
the keyguard in order to be shown on a secured device.

Bug: 5660833
Change-Id: I1bafc50127aaa7ae2b67235d30736faa606c5ac1
ctivityState.java
lideshowPage.java
fc8c503d1351c6ee62d233a944f2bd5220e64a55 29-Nov-2011 Chih-Chung Chang <chihchung@google.com> Fix 5661035: Accepts bluetooth keys while playing a video from gallery.

Change-Id: I8174b1a97baad563d8bbd685b9aab3a8ca428ead
ovieActivity.java
oviePlayer.java
fe49be45412f8d0f68343662318e73822da486c8 24-Nov-2011 Owen Lin <owenlin@google.com> Show a dialog to require updating PlusOne.

Change-Id: I1ff4f5eca90ade49b0785324b9319ef0b7d751ca
fix: 5608342
lbumDataAdapter.java
lbumPage.java
lbumSetPage.java
allery.java
8cbc7c4eedb204e3ad9fa1cb8a7a1b21f7464c74 21-Nov-2011 Chih-Chung Chang <chihchung@google.com> Merge "Fix 5637927: NPE while trying to do slide show for gmail image attachment" into ics-mr1
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
hotoPage.java
00b5f3c66113d14a7fc6f37d3a4e9d0c9b566eaa 18-Nov-2011 Ray Chen <raychen@google.com> Fix 5635260 Albums view goes blank after changing view option and returning to albums view

Change-Id: I1fd9776f050d16fc3abb723cc17b1cf07bd2f948
lbumSetPage.java
alleryActionBar.java
8bc5bebba780ca4a322b466b06fc909331697cf4 17-Nov-2011 Owen Lin <owenlin@google.com> Make sure startAnimation won't be called after onPause.

Change-Id: I6c5238394b2ad64e22fbcb250ecd1534da7e8d03
fix: 5629252
hotoPage.java
c9af80a1e46106b93271903753d36682b480479c 11-Nov-2011 Ray Chen <raychen@google.com> Merge "Fix 5213252 [UI] Updated action bar layouts and action orders" into ics-mr1
64d592c0573766162498bf16933bd8699b8fa77f 11-Nov-2011 Owen Lin <owenlin@google.com> Merge "Request sync when opening Gallery/Album." into ics-mr1
aea077a5767d28fcdade440825239adfbfb8f45a 10-Nov-2011 Owen Lin <owenlin@google.com> Show control overlay when earphone is unplugged

Change-Id: I3e259e66d318010a3f9e9b47b561a09b2db2b6a5
fix: 5563251
oviePlayer.java
fbdd338d83596ba545a8a7c8105d2ad7b5df56e6 08-Nov-2011 Owen Lin <owenlin@google.com> Request sync when opening Gallery/Album.

fix: 5519437

Change-Id: I0fb60415e3a92a677ca72ee8e0b95ae57e802152
lbumPage.java
lbumSetPage.java
b86c6aa085a66ffee2a178f4b5e2426cc67ca90b 10-Nov-2011 Chih-Chung Chang <chihchung@google.com> Fix 5548567: Don't play video immediately.

Change-Id: I30e9ebf7461e12250e1ef240c157e7f59b1ce2a1
lbumPage.java
108667b88ed4046556e967fcb9541fa9efd7c606 09-Nov-2011 Ray Chen <raychen@google.com> Fix 5213252 [UI] Updated action bar layouts and action orders

Change-Id: I798a86ed1f6883af1ea3cd3e9c67a6603d0273cc
bstractGalleryActivity.java
5383c573055927dfd856c3f360671d1887a971d5 09-Nov-2011 Chih-Chung Chang <chihchung@google.com> Fix 5585254: Make system UI enter "low profile mode" while playing.

Change-Id: I91f680871b7a965f6776cb017dcd825a587e5054
oviePlayer.java
529f53415f34835a32105a73a23f7aa94c5a7e16 03-Nov-2011 Wei Huang <weih@google.com> Merge "Fix 5556160 Crash in gallery after playing slideshow Crespo IML33B." into ics-mr1
eda8303bebf12f60edf15a2abbc08b99a7c35eef 03-Nov-2011 Ray Chen <raychen@google.com> Merge "Fix 5511057 Action bar UI is broken when sorting within an album" into ics-mr1
506200619672fa8221b98d50efbe77c777fae3e9 03-Nov-2011 Ray Chen <raychen@google.com> Fix 5556160 Crash in gallery after playing slideshow Crespo IML33B.

Change-Id: Ia3de43eae5d96c9f1674dd1ccb01dc004612bda9
lideshowPage.java
a98d3c4dbed84296496f5f710bd1289d735581d5 03-Nov-2011 Owen Lin <owenlin@google.com> Merge "Add cover image to MediaSet." into ics-mr1
9ce0381a975f65ec7794a2d3436b0424d0030f39 27-Oct-2011 Owen Lin <owenlin@google.com> Add cover image to MediaSet.

fix: 5519437
So that subclass can has its own definition on albums' cover.

Change-Id: Idf2f89933291bedf02054b9488acffe4bd68b1b3
lbumSetDataAdapter.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
hotoPage.java
lideshowDataAdapter.java
lideshowPage.java
9c21268fa8d394cca6cab78dd023a52e0b147a6e 26-Oct-2011 Ray Chen <raychen@google.com> Fix 5511057 Action bar UI is broken when sorting within an album

Change-Id: I1b2d22b2fae8b20f03a761696ba1e2c5665d282b
lbumSetPage.java
dba62bd578151ed135f7455cb26dd8126d0926f3 20-Oct-2011 Owen Lin <owenlin@google.com> am a77f6c46: Fix the issue that cropping wrong region for protrait image.

* commit 'a77f6c46815195c8a2a39c9539163ea3e8683b5d':
Fix the issue that cropping wrong region for protrait image.
a77f6c46815195c8a2a39c9539163ea3e8683b5d 19-Oct-2011 Owen Lin <owenlin@google.com> Fix the issue that cropping wrong region for protrait image.

Change-Id: Iea7a3874eb7170f8cae943c00cf92669a92b0ae2
fix: 5470203
ropImage.java
a67a9bc86f1e1029fd69724480ab7e15e766f1f8 19-Oct-2011 Ray Chen <raychen@google.com> am c0ba0936: Fix 5418759 User should be able to view only the preview of that attached

* commit 'c0ba0936bac7d56b92a409380c4d378ed2c272b0':
Fix 5418759 User should be able to view only the preview of that attached
c0ba0936bac7d56b92a409380c4d378ed2c272b0 19-Oct-2011 Ray Chen <raychen@google.com> Fix 5418759 User should be able to view only the preview of that attached

Change-Id: Ie3eb2583f7753fc38db3d59aca544a95112010c7
allery.java
655a9133b682752a9611bd1d1c6709eda1dedc1f 19-Oct-2011 Chih-Chung Chang <chihchung@google.com> am d82ac818: Merge "Fix 5424444: Add code to save cropped image for non-local, non-picasa cases." into ics-mr0

* commit 'd82ac818b88f0755d0515b282445ac1752976140':
Fix 5424444: Add code to save cropped image for non-local, non-picasa cases.
fbfa73361299c5a2284a5aaae8c2b824fd493cd9 19-Oct-2011 Chih-Chung Chang <chihchung@google.com> am bd47a5c6: Fix 5352588: Accept view intent without URI.

* commit 'bd47a5c6bcdcb127adb13c454fec00d4989c50b6':
Fix 5352588: Accept view intent without URI.
ec3e885cfd25d02b3d140258e0c439811c5bd9b6 19-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5424444: Add code to save cropped image for non-local, non-picasa cases.

Change-Id: Ib9f780f71fc9c50fa68a03ebb49f1bd007ca333d
ropImage.java
bd47a5c6bcdcb127adb13c454fec00d4989c50b6 18-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5352588: Accept view intent without URI.

Change-Id: I719fd853b66c05c4fdbe70ff97993b9487997694
allery.java
f9c4464d8aa366e9c7dc91493fcd8bfe2084277a 18-Oct-2011 Chih-Chung Chang <chihchung@google.com> am 209a9163: Fix 5393669: New Player Control UI.

* commit '209a9163d4e8cee0bfe162ae598ef40e6051479c':
Fix 5393669: New Player Control UI.
209a9163d4e8cee0bfe162ae598ef40e6051479c 14-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5393669: New Player Control UI.

Change-Id: I1aa310eee3b7715dbefea6b2f24e6f32481db49c
ontrollerOverlay.java
ovieActivity.java
ovieControllerOverlay.java
oviePlayer.java
imeBar.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
lbumPage.java
de10b42515a230df7cc324ad66dd863ad0f93e3d 13-Oct-2011 Ray Chen <raychen@google.com> Merge "Fix 5434523 No affordance in Gallery to share a video other than long-press in album view"
377b06525ef4e6028919a57383278e0fd07de1ea 10-Oct-2011 Ray Chen <raychen@google.com> Fix 5199444 In crop interface, check button and X button should be switched
Fix 5424781 Two "Tick mark" and "OK" option shows together in crop picture screen in Crespo IRL06.
Fix some other UI issues. (HOME_UP)

Change-Id: Idfa5a258af17b22f13a238cee63a43f3abff776b
ropImage.java
e6e4beb069778fafd053552287e36304df5626eb 11-Oct-2011 Ray Chen <raychen@google.com> Fix 5434523 No affordance in Gallery to share a video other than long-press in album view

Change-Id: I99361fa209ee5ba4200ccb8c1708f649c04519c2
ovieActivity.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
ctivityState.java
lbumDataAdapter.java
lbumPage.java
lbumSetPage.java
tateManager.java
dbf4ba12afba115888493caa34937643257e2bb1 04-Oct-2011 Ray Chen <raychen@google.com> Fix 5250813 Use new standardized no account screen on first launch

This CL also fixes a bug in AlbumSetDataAdapter's ReloadTask, which
causes empty screen after pause/resume.

Change-Id: I7991d40a790384105ccb3021e1e51ba3e5ec8635
lbumSetDataAdapter.java
lbumSetPage.java
allery.java
20cb268c47ce382859c6b3245e71a73e05a629d4 03-Oct-2011 Evan Millar <emillar@google.com> Remove the "Gallery" title from the AlbumSet page.

bug:5239335
Change-Id: Iebe624fe8829cf6f905872caa958ebdc76aaa349
lbumSetPage.java
2c3c51758a514893280a9ce320f2b280c325897b 29-Sep-2011 Owen Lin <owenlin@google.com> Rotate the image according to FullImageRotation.

Change-Id: I2c1285aa50b71e0efdbe3c4c50264e42c7b9ab97
fix: 5389974
ropImage.java
9cf9756e53c883ea3829b106aead60045754b610 28-Sep-2011 Chih-Chung Chang <chihchung@google.com> Merge "Fix 5384679: Back button doesn't work in Video Player"
fbcc99ce6124d486cc9b3b57e67b700357fd0e65 28-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5384679: Back button doesn't work in Video Player

Change-Id: Idde8778fc5643ef21fd4ad39ffbaa3c9e0c7d147
oviePlayer.java
1a9982e33095c6fd664b5fc4f3e0856bd6326155 28-Sep-2011 Chih-Chung Chang <chihchung@google.com> Merge "Fix 5158468: Hide system bar when no play control is shown."
8176012eeb96bb167ef7c7ba2d02f82b646766f0 27-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5158468: Hide system bar when no play control is shown.

Change-Id: Iada70c39440f19eec1cb00088531719bc1bb8328
ovieActivity.java
oviePlayer.java
1f4e6d14bba7290ea0268fbde28ffc664d4f7004 27-Sep-2011 Ray Chen <raychen@google.com> Fix 5341761 gallery vibrate on confirm delete

Change-Id: I819855f28246c91324ea86ab9e0ac1ec1c19783c
lbumPage.java
lbumSetPage.java
53eae8b02d2c29534ca74bc5feb2a2d8d7747d08 23-Sep-2011 Chih-Chung Chang <chihchung@google.com> Merge "Fix 5349519: The Select photo/video activity should use action bar."
02e689987f4af3b16b19352b1745478cca964d76 23-Sep-2011 Owen Lin <owenlin@google.com> Fix crop never returns

fix: 5359106

We should return true if the save is successfully.
Also make it more robust even with exceptions.

Change-Id: I4d06b625177d4d479c89a7de1bcdf6f6f301a3da
ropImage.java
3bbf133d949d2b51cce8db22dc0a2be64920c76c 23-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5349519: The Select photo/video activity should use action bar.

Change-Id: Ib537926c780fff6edd60d54c3d28740988d6221b
lbumPicker.java
ialogPicker.java
ickerActivity.java
bb7d7b94c0454d9549b2c5da2977dcd49c1a3be5 21-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5229466: Add "up" button to MovieActivity

Change-Id: I5d71bec7a7b09553c12afdd753cd77a73ace2c44
ovieActivity.java
fafa06467fd79a1cf525b861ae0372db0b85bf09 21-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5299746: Tweak layout and icons

Change-Id: I36d050fb2459ca559b74be1112b4ac6a8566dc1e
onfig.java
anageCachePage.java
4a827582bbe6a3c5f1fab0e43ad021c15983474e 20-Sep-2011 Owen Lin <owenlin@google.com> Merge "Lock rendering when switching state."
d3a9464bd4983158d20dd79de656ae5daf4070ee 20-Sep-2011 Owen Lin <owenlin@google.com> Merge "Pause the playback of video if the activity is resumed after 3 mins."
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
lbumPage.java
lbumSetPage.java
onfig.java
anageCachePage.java
540e4698824654232f300992ed8c03b20c9d5946 14-Sep-2011 Owen Lin <owenlin@google.com> Pause the playback of video if the activity is resumed after 3 mins.

fix: 5260232

Also keep the current playback position when the activity is resumed.
Originally, we use the bookmark to keep the position. However, the bookmark
will be ignored if

1.) The video duration is less than 2 mins, 2.) The video
is just started (with 30sec), or 3.) The video is approching the end.

I think resume should not limited by the above rules. And we did get some
reports on this. (We mark them as WORK AS INTENTDED).

Change-Id: Ib9ac359d7ccb6a0278777b0892f0821e16bbb745
ovieActivity.java
oviePlayer.java
5ccc96ac39f9513f13977de4419d814112c23ab8 15-Sep-2011 Owen Lin <owenlin@google.com> Lock rendering when switching state.

fix: 5126875

Change-Id: I118660b80cc5dfa8913865e303ed48f23e1c0705
alleryActionBar.java
aa55bf692ec8472a401a3117ab2d4a72abe48ccf 19-Sep-2011 Ray Chen <raychen@google.com> Merge "Fix 5331012 [UI] No dropdown label when entering multi-select modes via menu > Select item(s) / group(s) / album(s)"
acbab5b17f393e57f7466e5459fed41f518e2864 19-Sep-2011 Ray Chen <raychen@google.com> Merge "Fix 5291553 Not able to share downloaded image file"
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
lbumPage.java
b5f8d908c5dd287052cd49eddaf1f82d858cca03 13-Sep-2011 Ray Chen <raychen@google.com> Fix 5239335 ICS Gallery: convert tabs at Gallery home to drop down

Change-Id: I7503f724dbf16034513a6d8d6b0cb0425166a365
lbumSetPage.java
alleryActionBar.java
cf46a3abc26aac7cdb6b6993aeade053304b71d9 14-Sep-2011 Ray Chen <raychen@google.com> Fix 5291553 Not able to share downloaded image file

Change-Id: I8e57b04e0231c592cc0dfe8a4f31e585510e753c
hotoPage.java
9201679ed1c485767f2e334aa618bd733024af03 14-Sep-2011 Chih-Chung Chang <chihchung@google.com> New UI for Gallery.

Change-Id: I5f243c00ebac55a9b333a9e13d0cc9c371a85005
lbumPage.java
lbumSetDataAdapter.java
lbumSetPage.java
onfig.java
anageCachePage.java
765dcecfb188b48705939c8b8ffb332ea4c07d2d 14-Sep-2011 Chih-Chung Chang <chihchung@google.com> Merge "Fix 5196286: Crash if the last clustered album is deleted."
7cf4777f2d6691b5490b7e8df76d154ea5fd8bf7 14-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5196286: Crash if the last clustered album is deleted.

Change-Id: I5e451d3cebd61c31465cba56aebe66cc3a999e2d
lbumSetDataAdapter.java
3ff75bc0cc30d621a4c213364efcd62c1f8c5180 14-Sep-2011 Owen Lin <owenlin@google.com> Merge "Use different UIs for phone's portrait mode in manage offline page."
2b40d7c0857117f6276886b9c67bca596886d88c 14-Sep-2011 Owen Lin <owenlin@google.com> Merge "Fix picasa images rotate incorrectly."
8e565703e8d482421714383a8ad40a67929ce2da 09-Sep-2011 Owen Lin <owenlin@google.com> Use different UIs for phone's portrait mode in manage offline page.

fix: 5100503

The original UI design is not suitable for phone's portait mode. I move the
UIs from GL view to android View to get better support.

Change-Id: Ice5f536129f66b51cdaf4db1be750be7bc072c7f
bstractGalleryActivity.java
ctivityState.java
anageCachePage.java
tateManager.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
hotoPage.java
inglePhotoDataAdapter.java
78979fc21d1e1111a504cc07ae6b0e0bc4d61447 09-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5058723: Don't show screennails of videos in slide show

Change-Id: I25c3ee3f1ae69c9c54c1e579a6469ee20f1774be
lideshowDataAdapter.java
lideshowPage.java
fd06154c0d51fd8686ffec3955e54f5c18e87da0 13-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5284804: Kill 3D tilt effect based on device rotation.

Change-Id: Ic8a81d591e42fc97b6ca8eca2b6c66cd90f74cdc
yePosition.java
22493b29c32142f2588c623f5c78e9167352dddc 11-Sep-2011 Owen Lin <owenlin@google.com> Fix picasa images rotate incorrectly.

fix: 5268469

Change-Id: I58fc4a6d4a10c2952040eedee5936efa949b66e2
hotoDataAdapter.java
27ad8403dbdd74481514851fe98c5da73198d911 09-Sep-2011 Ray Chen <raychen@google.com> Merge "Fix 5267234 com.google.android.gallery3d: java.lang.IllegalArgumentException: The stateview to be finished is not at the top of the stack:"
eab374bafe5237a77698c4135c92eb26faedfa2b 09-Sep-2011 Ray Chen <raychen@google.com> Fix 5267234 com.google.android.gallery3d: java.lang.IllegalArgumentException:
The stateview to be finished is not at the top of the stack:

setNavigationMode triggers recursive tabs onSelected events.

Change-Id: Id9f58b4a73c4d7836b62e33e2f9b3676ba3f95c2
alleryActionBar.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
hotoPage.java
8fdb6f6ba7244decea7938d4781664a2e5ede97a 07-Sep-2011 Owen Lin <owenlin@google.com> Merge "Copy exif data for cropped image."
abf2790337692007d5aa0f844e8f6d6f96d0de97 02-Sep-2011 Owen Lin <owenlin@google.com> Copy exif data for cropped image.

fix: 5248023

Change-Id: I2f59bfd96ca7533195f7019cc76080579dff8d1e
ropImage.java
e7327d0566b182c522ca6dfa8e04c649d8f631a0 06-Sep-2011 Owen Lin <owenlin@google.com> Fix a no-thumbnail error message.

This happens if we cancel the first image reqest and then resend another
in a very short time. We may got an null image for the first request and
think this is a invalid bitmap.

Change-Id: I9ab62a658c281ef3d197474a5db50579e560f1bd
hotoDataAdapter.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
hotoDataAdapter.java
hotoPage.java
e9ae772f3400d53d24ce3d2834bd5866de599406 30-Aug-2011 Ray Chen <raychen@google.com> Debugging 5166199. Add log messages for analysis.

Change-Id: I1786e540b5bf19460dcca06acd8a77c9287593f8
lbumSetPage.java
alleryActionBar.java
anageCachePage.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
hotoPage.java
dcb265c9d08029bbb8fd77d3514482d10db53a3c 29-Aug-2011 Ray Chen <raychen@google.com> Fix 5189197: NPE in MovieActivity

Change-Id: I58f9e2c0840b4d752c2f795451ed4bc8212bb1ce
ovieActivity.java
a79bbef0ffe0b99cb8d0e5dcedd3082abc61559c 30-Aug-2011 Wei Huang <weih@google.com> bug #5234237: fix NPE in Gallery

- mActivity.getGalleryActionBar() can return null, check for null before using it.

Change-Id: Ib84d5d56e51e6098adee9323c5e8d5c78f9a76e8
lbumSetPage.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
ctivityState.java
lbumPage.java
lbumSetPage.java
alleryActionBar.java
hotoPage.java
5007a96dea76c9f3871b97579b51853029c115a0 29-Aug-2011 Owen Lin <owenlin@google.com> Make sure the sides of a backup image are less than 1024.

fix: 5117367

In this case(5117367), the original backup image would be 2325x1029,
which exceeds the limit of an texture and thus shows a blank image.

Change-Id: I3176e191c68199308fe3770c10ee0ae2d310c96a
inglePhotoDataAdapter.java
7815efda6c0632dd80424ee9aca5cfcfcac14646 28-Aug-2011 Owen Lin <owenlin@google.com> Merge "Launch Gallery from review intent."
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
lbumPage.java
lbumSetPage.java
b6284920898627fa787900a99fc97b71a0c77574 26-Aug-2011 Owen Lin <owenlin@google.com> Launch Gallery from review intent.

Change-Id: Iaa2e9bdfde3ac6566dd65464ece82f4a5ced6831
fix: 3462852
ctivityState.java
allery.java
tateManager.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
lbumPage.java
lbumSetPage.java
hotoPage.java
2b0da6233f82b57c9905d59f4c6e2fe770e56c96 26-Aug-2011 Ray Chen <raychen@google.com> Merge "Fix 5205456 After sharing multiple images, the selection should be cleared"
bd8e025f1bb39b2be236b183ea8e78f93b308ad1 25-Aug-2011 Ray Chen <raychen@google.com> Fix 5188970 Cannot close Gallery when opened from Email/Gmail

Change-Id: I7af203a9aec8ebaf6c33fa592c996f917e0caca8
lbumPage.java
lbumSetPage.java
d6db8eab6df048b9065834113a6d46a885af01d3 18-Aug-2011 Owen Lin <owenlin@google.com> Fix shortcup broken issue.

fix: 5154308

Change-Id: I5cd2ef8efb84d4f356b3fe93106bddf10e0823cc
alleryAppImpl.java
d6f517849bc63338ce2ab2c51c9fb7a3e167b916 24-Aug-2011 Ray Chen <raychen@google.com> Fix 5205456 After sharing multiple images, the selection should be cleared

Change-Id: I9fd12d371269197e1e05a6c49dae2b9a81ae4ca0
alleryActionBar.java
f9a0a4306d589b4a4e20554fed512a603426bfa1 17-Aug-2011 Owen Lin <owenlin@google.com> Initial code for Gallery2.

fix: 5176434

Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c
bstractGalleryActivity.java
ctivityState.java
lbumDataAdapter.java
lbumPage.java
lbumPicker.java
lbumSetDataAdapter.java
lbumSetPage.java
onfig.java
ropImage.java
ialogPicker.java
yePosition.java
ilterUtils.java
allery.java
alleryActionBar.java
alleryActivity.java
alleryApp.java
alleryAppImpl.java
alleryContext.java
oadingListener.java
og.java
anageCachePage.java
ovieActivity.java
oviePlayer.java
ackagesMonitor.java
hotoDataAdapter.java
hotoPage.java
inglePhotoDataAdapter.java
lideshowDataAdapter.java
lideshowDream.java
lideshowPage.java
tateManager.java
sbDeviceActivity.java
allpaper.java