• Home
  • History
  • Annotate
  • only in /packages/apps/Gallery2/src/com/android/gallery3d/ui/
History log of /packages/apps/Gallery2/src/com/android/gallery3d/ui/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
hotoView.java
ileImageView.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
enuExecutor.java
ef3cc52f473f15534f00b61b55b53e93931fef97 26-Sep-2013 John Hoford <hoford@google.com> disable print on older system.

Change-Id: I003aa965c885e6c7f65ade51b024bad400e8e458
enuExecutor.java
e56abc7049e35f705161086fe51d0ecdbf451b8b 21-Sep-2013 John Hoford <hoford@google.com> prevent editing of GIF

bug:10642974
Change-Id: Ic61da19f6106c9d42c5b39ae9cc0cf0765f6d1ae
enuExecutor.java
c491ad2b7630eed7cf43ef0c1064bd4fe42e06a1 20-Sep-2013 John Hoford <hoford@google.com> remove print for video

bug:10455873
Change-Id: I8f62881b95ad8cd3fff73452eb7d91b05b1ddd8d
enuExecutor.java
61c634ab70a10cbd68482ad03caa4470e9e9ecc5 27-Aug-2013 John Hoford <hoford@google.com> fix selection bug

bug:4174707
Change-Id: Ia1a465e9f27d920d53545cba4c96dd3eab92e374
electionManager.java
fa2b9222725e96fdb584aca1b1213b0bda8af110 26-Aug-2013 Sascha Haeberling <haeberling@google.com> Make parsing integers for details dialog more robust.

Bug: 7141309

Also make sure "orientation" is localized.

Change-Id: Ib950eca6becd2eed21bebfbd48e11a182b76e45a
ialogDetailsView.java
5996f43546b629a01166904943eda1f788078634 23-Aug-2013 Sascha Haeberling <haeberling@google.com> I18N the Gallery's Details dialog.

Bug: 7141309

Change-Id: I9e658ea3972713fa39e76894f8ae7d8e3d5cdf2c
ialogDetailsView.java
d872eee0790efcce9635fcd9d0dd481df310d0a4 20-Aug-2013 nicolasroard <nicolasroard@google.com> Remove simple edit menu item

bug:10362505
Change-Id: I730457c4e0d35b48be0a71e14fac60c5194c5d1f
enuExecutor.java
e5c6c9b09881478b4649b284656eee53d7c7e90d 07-Jun-2013 Bobby Georgescu <georgescu@google.com> Fix NPE in PreparePageFadeoutTexture

Bug: 8837688
Change-Id: Ie8fbd9a42497195b8a01cc5638cb0c44d4532d09
reparePageFadeoutTexture.java
6adf13c2aeee89735df1b7c12670a026e5087161 05-Jun-2013 John Reck <jreck@google.com> Fix graphical corruption due to tear down race

Bug: 9278945

Change-Id: I7594680322768f60eaed8a1037d139cbadf9706b
LRootView.java
1c23cad3a2ecdd663ed0176c9572d626931397ea 21-May-2013 Doris Liu <tianliu@google.com> am aa77f39a: Merge "Fix camera controls blink on startup" into gb-ub-photos-bryce

* commit 'aa77f39a3a18ee7945177189c358ef6208e6da2b':
Fix camera controls blink on startup
58ed4d197795147f9f4a202da00b411a6ed53bd2 21-May-2013 Doris Liu <tianliu@google.com> Fix camera controls blink on startup

Bug: 9052837
Change-Id: Ie15b812c6e6e7879d29d96a345173a2130b2fe91
hotoView.java
2f1b2d1932c1492961cbaec8716b769cfc2b0ee0 17-May-2013 John Reck <jreck@google.com> am 3b7347da: Merge "Switch back to old crop" into gb-ub-photos-bryce

* commit '3b7347daf572c20996607afe4cc32f9a96f8fe5d':
Switch back to old crop
1bfe7cb96a5a042f238d048eda771169d6ad93ac 17-May-2013 John Reck <jreck@google.com> Switch back to old crop

Bug: 8950255

Change-Id: I3f78901e65a17a1d5867d3f76a6031cff5f65fed
enuExecutor.java
5de39656f1b9e906c373c7b244bf11fcdfc86936 10-May-2013 George Mount <mount@google.com> am ac94740c: Remove GL dependency on unused stencil buffers.

* commit 'ac94740cd673a016542d803c8600633c99b7427e':
Remove GL dependency on unused stencil buffers.
ac94740cd673a016542d803c8600633c99b7427e 09-May-2013 George Mount <mount@google.com> Remove GL dependency on unused stencil buffers.

Bug 8884435

Change-Id: I8e7f0563a4a901953e3e2b14e35457b4fefe2e34
LRootView.java
alleryEGLConfigChooser.java
ff25e91ecc8e468e46455f765c573ac0b5ac4380 02-May-2013 Bobby Georgescu <georgescu@google.com> am 5a352be0: Increase selection limit

* commit '5a352be0df79b03c942eb67a799ddb3aaa1a26a2':
Increase selection limit
5a352be0df79b03c942eb67a799ddb3aaa1a26a2 02-May-2013 Bobby Georgescu <georgescu@google.com> Increase selection limit

Bug: 8606565
Bug: 8721237
Bug: 8752803
Change-Id: I578536389146fb4d8735c8171ec346ebe49de729
ctionModeHandler.java
909cf84020e30ba901b5fd35d26d5d29fcbc5a85 22-Apr-2013 Bobby Georgescu <georgescu@google.com> am faf2f040: Fix multi selection issue

* commit 'faf2f040f38532213fa237cf45c9794cf1a85859':
Fix multi selection issue
faf2f040f38532213fa237cf45c9794cf1a85859 19-Apr-2013 Bobby Georgescu <georgescu@google.com> Fix multi selection issue

Bug: 8663155
Change-Id: Ic6aa98c04b5134df9deb1b14736e614bf1618f03
electionManager.java
409d9c36c3b6d8ff2128d50a391ce8617b632127 17-Apr-2013 nicolasroard <nicolasroard@google.com> Re-enable Simple Editor menu item

Change-Id: I080dfffeb6394b78a1dc2bd10b52ff15b1e55ac9
enuExecutor.java
8f5580a4aa1376be22395024ebda2b9dcda23170 16-Apr-2013 nicolasroard <nicolasroard@google.com> Remove the Simple Edit menu item in Gallery

bug:8609003
Change-Id: Ida6bfec65bf4b78c7c1b64f759c750ef9255bb6c
enuExecutor.java
549c968947cccc8bacca994f954629228b6b877f 13-Apr-2013 Bobby Georgescu <georgescu@google.com> Fix performance and other issues related to multi-selection

Bug: 8606565
Bug: 8607510
Change-Id: I5bd01745b6d1047571d562e1637a2999afddfec2
ctionModeHandler.java
electionManager.java
8c4e95f4380a4104c9968963a363b62746e6c967 09-Apr-2013 nicolasroard <nicolasroard@google.com> Add menu item to start the simple editor

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

Change-Id: Ib3e7dfb8948e99541f6d492c7d7bd4bfbad1e53d
hotoView.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
lbumLabelMaker.java
lbumSetSlidingWindow.java
lbumSlidingWindow.java
itmapLoader.java
itmapTileProvider.java
ileImageView.java
ileImageViewAdapter.java
iledScreenNail.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
enuExecutor.java
bdb71cc6acbd78d5aa02d2e142b792247fb6e0bd 08-Jan-2013 George Mount <mount@google.com> Fix slide show animation so that cross fades work.

Bug 7961297
Removed the "Additive" blending, which didn't do anything, even in
OpenGL ES 1.1 implementation. Modified the texturing to
change the color of the pixels based on the supplied alpha
rather than modifying the alpha. This appears to match the
implementation in the OpenGL ES 1.1 pipeline.

Change-Id: I52491af1a8a2d727968e4e805bc4bc61647f5cf2
lideshowView.java
fa0678a153de28096e07522d9e4e98d345ff544a 08-Jan-2013 George Mount <mount@google.com> Merge "Instantiate GLCanvas rather than reinitialize current GLCanvas." into gb-ub-photos-bryce
50b33abe053ccab7be3d1bca2328e792507963d4 07-Jan-2013 George Mount <mount@google.com> Instantiate GLCanvas rather than reinitialize current GLCanvas.

GLCanvas was being used as a singleton when it really should
allow separate instances for correctness.

Change-Id: I650884e843a4a78997b70826f6012ae19b8df549
LRootView.java
alleryEGLConfigChooser.java
urfaceTextureScreenNail.java
d3aac52ffb88ced53413d5eef29c641dd6982267 26-Dec-2012 Bobby Georgescu <georgescu@google.com> Replace camera importer

Change-Id: Icfeb23301bc6c9f8c8b12824bcbb0d8b41852d07
ctionModeHandler.java
lbumLabelMaker.java
mportCompleteListener.java
enuExecutor.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
ctionModeHandler.java
enuExecutor.java
opupList.java
ositionController.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
bstractSlotRenderer.java
lbumSetSlidingWindow.java
lbumSetSlotRenderer.java
lbumSlidingWindow.java
lbumSlotRenderer.java
asicTexture.java
itmapScreenNail.java
itmapTexture.java
anvasTexture.java
olorTexture.java
dgeEffect.java
dgeView.java
xtTexture.java
adeInTexture.java
adeOutTexture.java
adeTexture.java
LCanvas.java
LCanvasImpl.java
LES20Canvas.java
LId.java
LIdImpl.java
LPaint.java
LRoot.java
LRootView.java
LView.java
alleryEGLConfigChooser.java
og.java
anageCacheDrawer.java
ultiLineTexture.java
inePatchChunk.java
inePatchTexture.java
hotoFallbackEffect.java
hotoView.java
reparePageFadeoutTexture.java
rogressSpinner.java
awTexture.java
esourceTexture.java
creenNail.java
crollBarView.java
lideshowView.java
lotView.java
tringTexture.java
urfaceTextureScreenNail.java
exture.java
extureUploader.java
ileImageView.java
iledScreenNail.java
iledTexture.java
ndoBarView.java
ploadedTexture.java
6dc3866ac10cc6bf38e73f098fe1988d1a6eecd4 04-Dec-2012 Your Name <jreck@google.com> Remove LongSpareArray + some cleanups

Change-Id: If5bb44ebca70bd735e426aeb3d9aac2d4bac646e
itmapTileProvider.java
hotoView.java
ileImageView.java
ileImageViewAdapter.java
5c7b259812a4cea11e14b901526faf5a33c4c07c 10-Dec-2012 John Reck <jreck@google.com> am 695e1aa0: Force a layout pass if the display rotation changes

* commit '695e1aa059cbc2cb2988f6beb0fee8ff7952b229':
Force a layout pass if the display rotation changes
695e1aa059cbc2cb2988f6beb0fee8ff7952b229 10-Dec-2012 John Reck <jreck@google.com> Force a layout pass if the display rotation changes

Bug: 7687209
DisplayRotation is used to map camera orientation to the display and is
updated in layoutContentPane(). However, in the case of a 180 rotate
framework doesn't send an onConfigurationChanged nor does the layout
dimensions change, thus layoutContentPane doesn't fire and we don't
update mDisplayRotation, resulting in an upside-down preview. To handle
this, check each draw whether or not the display rotation has changed
and if it has force a layout pass.

Change-Id: I610ea235d1bf7de2743f4cdb8e42ba1ddcb41404
LRootView.java
e879326d76734277469ca2f387f436fd0e922c87 07-Dec-2012 Doris Liu <tianliu@google.com> Decode screenshots when they show 0x0 dimensions

Bug: 7470758
Change-Id: If4012899e120ad68cdc8ca12bf6f8de8c5c96019
etailsHelper.java
ialogDetailsView.java
795776f67fe5bca902b09c01edec630879263341 06-Dec-2012 Ruben Brunk <rubenbrunk@google.com> Removed old crop.

Bug: 7441237
Change-Id: I29801f798a1d1ad3af81a82950edbb8a72ccae82
ropView.java
enuExecutor.java
395c9bba9dabb3a6208717dd40f42630becee5db 05-Dec-2012 George Mount <mount@google.com> Merge "Add GLES20 canvas implementation." into gb-ub-photos-bryce
6eb33768a15e2b4cc647bc55474568cf710876db 17-Nov-2012 George Mount <mount@google.com> Add GLES20 canvas implementation.

Change-Id: I5680909f31dc097599d0e063aa1f6daba834d3e2
LCanvas.java
LCanvasImpl.java
LES20Canvas.java
LRootView.java
alleryEGLConfigChooser.java
inePatchTexture.java
awTexture.java
f650ee134f5b7b61cd02bd61ae9349584c61deb4 05-Dec-2012 Michael Kolb <kolby@google.com> am 7a537732: Merge "Prevent Camera UI in Gallery" into gb-ub-photos-arches

* commit '7a5377322dcebdaad98df9a31cadc7ff0f464d8a':
Prevent Camera UI in Gallery
6bf226e45ec542eae4f766a2417bfdda625af4f0 04-Dec-2012 Michael Kolb <kolby@google.com> Prevent Camera UI in Gallery

Bug: 7668856

At startup, the PhotoView wouldn't execute the onFullScreenChanged
callback, so the Camera UI believed it was in Camera.

Change-Id: I6794c2a5a4eb06d39161a681b7a0afc27d5e4b3f
hotoView.java
a2d0d34a90543ee19ea295e72c112fde18fb3828 03-Dec-2012 Bobby Georgescu <georgescu@google.com> Move MenuExecutor operations into Service

Bug: 6680729
Change-Id: I538bb0a8783f7c1ff467ba8d8eb0deefdc0b6ea2
ctionModeHandler.java
enuExecutor.java
eb3948f488b38bf5e6232c1aada16115589b0b9b 01-Dec-2012 George Mount <mount@google.com> Merge "Separate GL calls into GLCanvas in preparation for adding GLES2." into gb-ub-photos-bryce
137c6d060f9710f1a460326f27459e89b49820c2 30-Nov-2012 Bobby Georgescu <georgescu@google.com> Improve fling to delete gesture handling

Bug: 7419862
Bug: 7301456

Allows flings to start anywhere within the width bounds
of the image, even if outside the height bounds, making
deletion of panoramas more feasible, and gestures are
filtered by length to be able to make flinging easier
while still avoiding accidental input.

Change-Id: Iac933bfee85865a718ed47eadfed76683eb771d2
estureRecognizer.java
hotoView.java
7da54d7e41e04ea5122009b40de19be0724e1ca4 01-Nov-2012 George Mount <mount@google.com> Separate GL calls into GLCanvas in preparation for adding GLES2.

Change-Id: I2756c14294a36af7905766ee650fa08fb95e9477
asicTexture.java
ropView.java
xtTexture.java
LCanvas.java
LCanvasImpl.java
LId.java
LIdImpl.java
inePatchTexture.java
awTexture.java
lideshowView.java
ploadedTexture.java
44dd798c3a814ffbdecc5adbc73dc47dc4dec646 16-Nov-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Video: Add the mute functionality." into gb-ub-photos-bryce
b4e11517f27ac77c001524e10a340971807f380d 16-Nov-2012 Angus Kong <shkong@google.com> am 18b38883: Guard tiles by synchronized block.

* commit '18b388839ed9858a3b35cec9a636e5cde58a528a':
Guard tiles by synchronized block.
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
enuExecutor.java
18b388839ed9858a3b35cec9a636e5cde58a528a 14-Nov-2012 Angus Kong <shkong@google.com> Guard tiles by synchronized block.

Tiles might be touched in different threads.

bug:7490351
Change-Id: Ie30d43db90cf63f7a6ec6438faabfcae8bca151a
iledTexture.java
2b85f0d788b9759dad3632561896e6c5dcbd4f99 01-Nov-2012 Doris Liu <tianliu@google.com> Disable operations when no item is selected

Bug: 7441208
Change-Id: I2f435ad8aa0b578ecfec426f7ad6287f0f210f48
ctionModeHandler.java
372152961edd8feada0ae6478c91ba6b2565191d 31-Oct-2012 John Reck <jreck@google.com> Gingerbread support-ish

This reverts commit 1336062985c9824d7fd796b1cebd5eaa8e4163ca.

Change-Id: I718ec56315dc207a3e612abb4576bddab9afa2ee
ctionModeHandler.java
enuExecutor.java
opupList.java
ositionController.java
b6d494925ea14a02ef75f58d5d969d7586914ef7 25-Oct-2012 George Mount <mount@google.com> Remove black borders in Manta LightCycle capture after orientation change.

Bug 7344906

Change-Id: I70017e4479962d49aedb06ea7b050f638e00fc06
urfaceTextureScreenNail.java
88870365af146d05162742c5f613fc92483b0a93 27-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Fix the black lines near edge of thumbnails" into gb-ub-photos-arches
798f4a914d47e69496374051fab386a3536c9698 26-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Hold WakeLock for batch delete operation" into gb-ub-photos-arches
04d324e313b8ee36ce878f5e8c92949b32de33c0 26-Oct-2012 Owen Lin <owenlin@google.com> Fix the black lines near edge of thumbnails

1. Correct the positions of right and bottom borders
2. Turn off blending by using PoterDuffMode.SRC

bug: 7414307

Change-Id: Icc6fd765c2b1e904308c53aa66b55600e0016471
iledTexture.java
635aab5631e25488610ff5546c51ea2895dda2f0 26-Oct-2012 Hung-ying Tyan <tyanh@google.com> Merge "Fix tiling effect when open a photo." into gb-ub-photos-arches
0385a1abb62a11fff5dddee17325d1cb00cee0ab 25-Oct-2012 Bobby Georgescu <georgescu@google.com> Hold WakeLock for batch delete operation

Bug: 6680729
Change-Id: I0bdd59edb60c746c8c9e3c3608be980247f0d91a
ctionModeHandler.java
mportCompleteListener.java
akeLockHoldingProgressListener.java
d72971e683069d463c78117037414e5286689549 26-Oct-2012 Ruben Brunk <rubenbrunk@google.com> Merge "Fixed crop intent." into gb-ub-photos-arches
5aa454b3bde8b2162eb2b91400973113e2c63070 26-Oct-2012 Ruben Brunk <rubenbrunk@google.com> Fixed crop intent.

Bug: 7415140
Bug: 7403813
Change-Id: I545162544f845d210d21185cddaca09b219fb091
enuExecutor.java
d5346b37cc2417e068ae64f3db081f51df2bd68b 25-Oct-2012 Bobby Georgescu <georgescu@google.com> Get rid of black lines near edge of thumbnails

Bug: 7414307
Change-Id: If77e04945ff6df65301a6802dd40fabc8c329bfa
iledTexture.java
71c177759c7aa10082c8fdf909b701cf0047bead 25-Oct-2012 Angus Kong <shkong@google.com> Force renderring request for Camera Animation.

bug:7410862
Change-Id: I439186f2fea5ee0939ddcfcb9d77a49d0047727b
LRoot.java
LRootView.java
d71a718afe02282153d86b78f6a44c4783203d54 24-Oct-2012 Owen Lin <owenlin@google.com> Fix tiling effect when open a photo.

1. Don't draw the tiles of full image before screen nail is ready.
2. Upload multiple tiles in each frame in order to show photo quickly.

bug: 7403409

Change-Id: Ic5a88a29fe302068e97ab81ab260d0cc572dd7ff
iledScreenNail.java
iledTexture.java
d54825d1cad2ab586b6d32853acc09dc6df5945f 24-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix attempted uploading of recycled tiles

Bug: 7405398
Change-Id: I17711f9c724af216aa22cee6a86d9feba84c1548
iledTexture.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
hotoView.java
adee31f028d839e7baa8f9e052dc4e4d60b137da 22-Oct-2012 Owen Lin <owenlin@google.com> Use TiledTexture for thumbnails.

1. Use TiledTexture for thumbnails to prevent jank in uploading big
thumbnails. (e.g., 512 * 512)
2. Use larger thumbnails (DISPLAY_LONG_SIDE / 5).

bug: 7381302

Change-Id: I7661d648373e893b40b2a0304037171760091e00
lbumSetSlidingWindow.java
lbumSetSlotRenderer.java
lbumSlidingWindow.java
lbumSlotRenderer.java
adeInTexture.java
adeOutTexture.java
adeTexture.java
iledTexture.java
e6c566e7e25b7f961f501c878e98d3ca640e63d8 23-Oct-2012 John Reck <jreck@google.com> Fix NPE

Bug: 7399438

Change-Id: Ida0bcc0689d5a797e3c60c3ee51542512fbadf1e
hotoView.java
3a64ad361b9d48407abd902b26949d3c6b34af66 23-Oct-2012 Doris Liu <tianliu@google.com> Merge "Show panorama thumbs in Gallery grid view" into gb-ub-photos-arches
2f060cc74ab6be5e5dd39e53dc99941b368ffb60 20-Oct-2012 Doris Liu <tianliu@google.com> Show panorama thumbs in Gallery grid view

Bug: 7362229
Bug: 7378208

In addition to showing pano thumbs, this CL also removes the video play
icon on the top-level album view thumbnails.

Change-Id: I950bc66c38575036d5ad7464a2fd9a5dea9fae4b
bstractSlotRenderer.java
lbumSetSlidingWindow.java
lbumSetSlotRenderer.java
lbumSlidingWindow.java
lbumSlotRenderer.java
b75f5defe8ace12b8b563e713f7175863ab5713d 23-Oct-2012 John Reck <jreck@google.com> Drive GLRootView with Choreographer

Bug: 7332724
By routing requestRender through postOnAnimation we can drive
the GLRootView's rendering with the UI thread's coreographer, which
ensures that touch events are processed before drawing

Change-Id: Iac2b3229e9a09ee0319c64c5fc7cb906512a379c
LRootView.java
41b3cff60905a96ab5b6f8e5f42bcc3bab1eb605 20-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix delete and undo behavior on filmstrip

Bug: 7353749
Change-Id: Ib0abd3f71783c01b1df418dd76e674bf05e65ce7
hotoView.java
ea78390e87642b4bc3860ba6cbdfa655db3c9e46 19-Oct-2012 Mangesh Ghiware <mghiware@google.com> Re-enable crop for new panorama

Bug: 7326215
Change-Id: Ic7a87baceb8aff6247d40b91d4c60cd47c86c377
enuExecutor.java
e3ac74402443fb94d86054052dcaad99713bed10 19-Oct-2012 Bobby Georgescu <georgescu@google.com> Saner behavior when deleting in filmstrip mode

Bug: 7353749
Change-Id: Ic9854d205fe5ab76dd1cfe78fee314e93e1ace55
hotoView.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
ctionModeHandler.java
enuExecutor.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
LView.java
ositionController.java
reparePageFadeoutTexture.java
57731ee210c22382d33f6f562f9e7e66fce651de 18-Oct-2012 John Reck <jreck@google.com> Only fade out if texture creation succeeded

Bug: 7366597

Change-Id: Id28970fe263d975dcd48e45fd716199bc40f64d3
reparePageFadeoutTexture.java
24958c5d4a63e1d7c49d9e7007ee10958ad23e8f 17-Oct-2012 John Reck <jreck@google.com> Change double tap scale from 1.5 to 1.0

Bug: 7287834

Change-Id: I43312825c1494e385a36a3783765de33d2b691e2
hotoView.java
a69a86d5541a9e10e23f0a034cdf6e4416495221 17-Oct-2012 Hung-ying Tyan <tyanh@google.com> Merge "Add permission to GalleryProvider." into gb-ub-photos-arches
1f7c5d1e683b369225ec812ed0c45c7fa3d42b96 17-Oct-2012 Bobby Georgescu <georgescu@google.com> Update Camera album overlay icon asset

Bug: 7332688
Change-Id: Id7ada222551187787c4e3b50f52dcdc5c6c70929
lbumSetSlotRenderer.java
ca181a68a30ad830d55eb8886f62a323c64e1ba3 16-Oct-2012 Owen Lin <owenlin@google.com> Add permission to GalleryProvider.

bug: 7202384
Change-Id: I1a13ed7e480163c898cf376219953b321290d4d4
ctionModeHandler.java
74d5dfd662b92c9ce1aee225291b9d1775cfb49e 17-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Consistent animations & up button behavior in Gallery" into gb-ub-photos-arches
4ce48412b86ac28042bf70e4cbe051ffc3dd489d 17-Oct-2012 John Reck <jreck@google.com> Add hook to manipulate SurfaceTexture transform

Bug: 7302956

Change-Id: I32bdeb22630dbeba9f028e1c68167d10a5288a28
urfaceTextureScreenNail.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
LView.java
ositionController.java
reparePageFadeoutTexture.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
itmapScreenNail.java
hotoView.java
ileImageView.java
ileImageViewAdapter.java
iledScreenNail.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
b1a28418848ce0adeb8a845a78e246b01913d176 16-Oct-2012 John Reck <jreck@google.com> Fix SRI Pano orientation

Bug: 7345511

Change-Id: I9a06f03b67ba820b86520588415ff3ab16f05829
LRoot.java
hotoView.java
825afb1b3e7d15b5c258d664ee008dc68da1c407 11-Oct-2012 Mangesh Ghiware <mghiware@google.com> Move calls to LightCycleHelper off the UI thread.

Bug: 7320303

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

Change-Id: Iaa75b3c1ccc8a5b724b253cec654b5b5acb4878e
ctionModeHandler.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
asicTexture.java
itmapScreenNail.java
LCanvas.java
LCanvasImpl.java
ileImageView.java
iledTexture.java
3ed6ae23e43be73c83b6be3dcaafe7400a7b3355 11-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix size of peripheral items when first opening filmstrip

Bug: 7327570
Change-Id: I168a0297e9ac65786dbb05c02228665a67f80dff
hotoView.java
8a8b9cfdd15bf36ccd068563451d98a011a5eeab 11-Oct-2012 Bobby Georgescu <georgescu@google.com> Make album set grid view reflect latest UI mocks

Bug: 7300836
Change-Id: I3024b8ffbba7ee08642012c80509992335bbd5bf
lbumSetSlotRenderer.java
866ed7abd7960efc7986a3624414a730e17f33a6 10-Oct-2012 John Reck <jreck@google.com> Fix inverted panorama preview

Bug: 7314703
Panorama only support rotations of 0 and 90, so if it is greater
than that flip the output surface texture

Change-Id: I9885feb88d2d1c3e0dabaa7ecd8db66c2ddfb93b
hotoView.java
dc55d3b1a614b95a36aab60c06f7961a800ec85a 10-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix lack of snapback on very short scroll

Bug: 7318609

snapToNeighborImage returns false if it didn't
actually need to move to a neighboring image, so
use this information to correctly snapback if
needed.

Change-Id: I28bbcb5ea224957fefa3838891c4343a1d9b8aff
hotoView.java
a29eeac8993b221d98cffbec5583b5cba1921c89 08-Oct-2012 John Reck <jreck@google.com> Use framework orientation

Bug: 7292373

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

Bug: 7307293
Change-Id: I72f814acd3625024f1e2aeccec4abfd28ad3319b
hotoView.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
ctionModeHandler.java
enuExecutor.java
ed8c88102153dd7dca8458d7f0a9b81937c58023 08-Oct-2012 Owen Lin <owenlin@google.com> Merge "Fix ANR in creating the fallback animation." into gb-ub-photos-arches
43ba9f6644e4183b8ee27f96de3dda703d136c52 07-Oct-2012 Bobby Georgescu <georgescu@google.com> Implement new grid layout in Gallery

Bug: 7300836
Change-Id: Iab2b4f1caa52c5aa7638983fec194b3f81cc4c31
lbumSetSlotRenderer.java
3711d3ea870acba8ad83d0c51b0d03b0082ef0f0 07-Oct-2012 Bobby Georgescu <georgescu@google.com> Tune swipe to delete in filmstrip

Bug: 7277872
Change-Id: I01da98f4528b92308984e6ec7f1bc68e3e55697d
hotoView.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
asicTexture.java
itmapScreenNail.java
LCanvas.java
LCanvasImpl.java
ileImageView.java
iledTexture.java
39e5dfdd15055f2f96f45b1afd9c705f27a6d911 06-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Set the thumbnail/screennail sizes based on screensize" into gb-ub-photos-arches
3ea0bfbcbea64276595029878d37f25bf4fbb881 04-Oct-2012 Bobby Georgescu <georgescu@google.com> Set the thumbnail/screennail sizes based on screensize

Bug: 7232758
Prior to this CL, the thumbnail and screennail sizes were
hardcoded which resulted in mediocre image quality when
using the Gallery in general and the camera filmstrip.
Now, we set the size of these items based on the resolution
of the display. Because high-resolution devices tend to
have higher-performance graphics to drive their large
displays, we expect that this will not introduce any
significant performance impact.

Change-Id: I90e08f7aca670e275c913fd9e21e4459c8bf9fcf
itmapScreenNail.java
a65914485de7b82b96b616c7be738ab952e09c83 05-Oct-2012 John Reck <jreck@google.com> Don't film strip animate when switching cameras

Bug: 7265781

Change-Id: Ibdef7d804923094f3b26471726a642a1b68e9540
ositionController.java
5515801ddea6953e95b2c41a9434bb1fe489e08a 05-Oct-2012 Owen Lin <owenlin@google.com> Fix ANR in creating the fallback animation.

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

bug: 6399444

Change-Id: Id2338db34d7f87fbabd7861f78b42f2a81d9794b
asicTexture.java
itmapScreenNail.java
LCanvas.java
LCanvasImpl.java
ileImageView.java
iledTexture.java
0eefb1733f5ff2e2f6f4846bdbd8873639b4d085 04-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Upscale images to fill screen for slideshow" into gb-ub-photos-arches
7e6537ca106a80aeb4a52182b31ddc9aa642abe5 04-Oct-2012 Bobby Georgescu <georgescu@google.com> Upscale images to fill screen for slideshow

Bug: 7110382
This fixes the slideshow mode on high-resolution
displays. Note that this will scale up screennails
to fill the screen even if they are fairly low quality.
The resolution to 7232758 will set the size of the
screennails appropriately based on screen size.

Change-Id: I7b5367c2fce1d10f6d5e70c1239d893f54236b10
lideshowView.java
b1a513974d59c1dc14e004338b6795d6c3c5e5e8 04-Oct-2012 Bobby Georgescu <georgescu@google.com> Snap back photo after swipe in y-direction in filmstrip

Bug: 7283537
Change-Id: Ifee561a978d418f7a1e96f1a3ddb7cc8df53752c
hotoView.java
2abc1350cde24e810f6437592f099c149ce19ada 04-Oct-2012 Pin Ting <pinting@google.com> Merge "Accelerate PNG image rendering." into gb-ub-photos-arches
8c377351cfbc425f7eb6dbe94af0a96d71560a4b 04-Oct-2012 Pin Ting <pinting@google.com> Accelerate PNG image rendering.

Bug:7137662
Change-Id: I050a228a6c8031c6a2d068eb4ba1b39be86e9f4a
ileImageView.java
ileImageViewAdapter.java
6090237f178914fa7d7eef514c2e2512d4c27847 04-Oct-2012 Mangesh Ghiware <mghiware@google.com> Merge "Revert "Add a overflow menu item to view 360-degree panorama."" into gb-ub-photos-arches
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
enuExecutor.java
56bc8b742d750f2fff9d3a30e6cc96e1850c782d 03-Oct-2012 Bobby Georgescu <georgescu@google.com> Merge "Fix snapping behavior in filmstrip" into gb-ub-photos-arches
499ac9eae0eb26eaf7ebf79fb88ba929b71c8145 03-Oct-2012 Bobby Georgescu <georgescu@google.com> Fix snapping behavior in filmstrip

Bug: 7277936
Change-Id: I57569eaac0b9e633d249754dcb3613c6c4f7ad3a
hotoView.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
enuExecutor.java
f4e22eb44bfae0c2a3b6570f19480c8c3535d808 03-Oct-2012 Bobby Georgescu <georgescu@google.com> Correct behavior when swiping to placeholder item in PhotoPage

Bug: 7261641
Change-Id: I54deed0f20a4673cb5470ffc128c73cddc071772
hotoView.java
2619f20d30123a391cc6d37515fe8eb9d81d5029 02-Oct-2012 John Reck <jreck@google.com> Fix NFC regression

Bug: 7263536

Change-Id: Ieba6147fdc0279888ec1e6ea2101eab235522b9f
ctionModeHandler.java
1336062985c9824d7fd796b1cebd5eaa8e4163ca 02-Oct-2012 Owen Lin <owenlin@google.com> Remove ActionBarSherlock

bug: 7242682

Change-Id: Ibf1fa136cafdca25273ee39ae9c065560b2db5cb
ctionModeHandler.java
enuExecutor.java
opupList.java
2fc053edc38bf5070d980b541aa267b7a3325a8c 02-Oct-2012 George Mount <mount@google.com> Merge "Revert "Enable swiping from LightCycle to Gallery"" into gb-ub-photos-arches
3508b213dbad5dce76a3c57f8f4b76ad4e765b83 02-Oct-2012 George Mount <mount@google.com> Revert "Enable swiping from LightCycle to Gallery"

This reverts commit 6fd25fd9a457346c8c32e8c4e68c7c491205730b
Changed mechanism for enabling swipe in LightCycle.

Change-Id: I5c9395eb97ee88d015fb3765d0594d92c4ae126d
xtTexture.java
526c306051b0b92bcd54923a52a4c5bccaef7d77 02-Oct-2012 George Mount <mount@google.com> Merge "Enable swiping from LightCycle to Gallery" into gb-ub-photos-arches
71ba6e959569cb90f415490e40bd95855f894cc5 02-Oct-2012 John Reck <jreck@google.com> Remove OnFrameAvailableListener in tear down

Bug: 7217305

Change-Id: I79d1741cd757b2cc15a42336153af755ae84bd57
urfaceTextureScreenNail.java
6fd25fd9a457346c8c32e8c4e68c7c491205730b 28-Sep-2012 George Mount <mount@google.com> Enable swiping from LightCycle to Gallery

Bug 7212420

Change-Id: Ic61bc06c6113c969e4b2e6e9c87c78a8aa2cb402
xtTexture.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
hotoView.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
hotoView.java
ositionController.java
f98aafb7eb65b889b0f831d607828ca4f8af64b6 28-Sep-2012 Mangesh Ghiware <mghiware@google.com> Fix NPE in GalleryActionBar

Bug: 7252666
Change-Id: Ide3c8e0d609743b34a3c53f3bb48dbeddb3f98c0
ctionModeHandler.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
hotoView.java
5172dee697c05235ddf932827d75e6fa0b81d382 28-Sep-2012 Mangesh Ghiware <mghiware@google.com> Update to sharing panorama

Bug: 7150324

Use separate share intents for sharing panoarma and regular JPGs.

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

MIME type changed to specify panorama360.

Change-Id: I8d52733d105820ac17ff36a6ad9d7525893f6d27
ctionModeHandler.java
enuExecutor.java
27e933b00279c177ae0d36b599aa1c90870922c1 27-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Trimming: switch to use sherlock action bar" into gb-ub-photos-arches
743f8152a1dd6ea47bcabc6fd95b6e8d8f1cd3e5 27-Sep-2012 Wu-cheng Li <wuchengli@google.com> Several secure album changes.

- Make the lock screen photo be a standard portrait size photo
- In the filmstrip, have the first tap on the lock screen photo
take the user directly to the unlock screen.
- Switch the asset to be a "locked" lock rather than an
"unlocked" lock.

bug:7192331

Change-Id: If7541cd67cdfb711f8dd721796db3343ae91343a
hotoView.java
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
enuExecutor.java
00ccf35f8ec016b2cb8fdcf0c65ba643dca54a14 20-Sep-2012 Bobby Georgescu <georgescu@google.com> Grid/filmstrip switching behavior improvements

Bug: 7200453
Bug: 7196483
Bug: 7222179
Bug: 7224619

Changes:
- Launch camera in capture even if paused in grid/filmstrip
- Fixed behavior of filmstrip button after launching grid
from camera
- Refresh bar timeouts after swiping a photo
- Partially swiping from camera to filmstrip without lifting
finger and then swiping back no longer results in unwanted
switch to filmstrip
- Removed hacky solution to switching to filmstrip mode

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

Bug: 7150324
Change-Id: I78d426672e9a8fc69f0b9b564438e40eb0230719
ctionModeHandler.java
enuExecutor.java
9b270f4f2e20fb0f0455529c2e20990173a75470 21-Sep-2012 Bobby Georgescu <georgescu@google.com> Snap a photo to the center after fling ends in filmstrip

Bug: 7050303
Change-Id: I7770d5642b376a1b888f34c5806f2291b64ecf68
ositionController.java
56bdcb7272f222fde5e4c6fc133cb490b31c7667 20-Sep-2012 Bobby Georgescu <georgescu@google.com> Make ActionBar always present in filmstrip

Bug: 7196718
Change-Id: Id297f28402da20efd99a9f90376a18f041fe8448
hotoView.java
577f939faa74e6189152bc016666d79dc647de4a 19-Sep-2012 Pin Ting <pinting@google.com> Merge "Use 565 pixel format for pre-JB; use 888 otherwise." into gb-ub-photos-arches
2e1771b997ab6966411b2c612562c538ae3e325d 19-Sep-2012 Pin Ting <pinting@google.com> Use 565 pixel format for pre-JB; use 888 otherwise.

Bug:7189512
Change-Id: Iec5d528fef4f4fc589370339add299a40fc8f26e
LRootView.java
alleryEGLConfigChooser.java
7077701c8b11f6022cc712f5450e0f7b29535e41 18-Sep-2012 Bobby Georgescu <georgescu@google.com> Fix incorrect texture size causing artifacts in animation

Bug: 7181383
Change-Id: I3895b89ccdd03e55acc656f0d6944f4a9d398ad5
reparePageFadeoutTexture.java
83380c9f6b75603633bbec2efa1034d4de489e7b 17-Sep-2012 Bobby Georgescu <georgescu@google.com> Don't switch back to fullscreen camera when flinging

Bug: 7145903
Bug: 7050303
It was very annoying to users to fling in the filmstrip
and end up in the fullscreen camera mode, so disabling
that. Long-term, we want to be smarter about this and
do the zoom to the full-screen if it's a short swipe
rather than a fling.

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

Bug: 7164177
Change-Id: I5ce60a8e842e3ddf0e356568f17ee488edef23cd
reparePageFadeoutTexture.java
lotView.java
9e2feb16dac75187c71789435c6003b5f194ddd2 11-Sep-2012 Bobby Georgescu <georgescu@google.com> Merge "Reskin: stop at first photo after swipe from camera" into gb-ub-photos-arches
dc10b30ba0366126ed1ad5133b36e97d76335049 11-Sep-2012 Bobby Georgescu <georgescu@google.com> Reskin: stop at first photo after swipe from camera

Bug: 6399763
Bug: 7050303
Change-Id: I433bead637416f3c6e47fdc7567bb5de7575c01c
hotoView.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
enuExecutor.java
e9494164bd7dd1c55c99b3ae1e842b88bf6abd78 06-Sep-2012 Chih-Chung Chang <chihchung@google.com> Do not accept fling gesture after we changed from/to filmstrip mode.

Change-Id: Ifb3d692bcf621ff02c6d4e6d91ba8484d702f905
hotoView.java
d9473d49b311306196327cc3083696911e857df3 11-Sep-2012 Owen Lin <owenlin@google.com> Merge "Remove the space before colons in details." into gb-ub-photos-arches
a535522fa7661771351e42465c67ed70825ed2e4 07-Sep-2012 George Mount <mount@google.com> Show play icon for panorama.

Bug 7124494

Change-Id: I17fdb5d6bcab1f3997a1ab92fcf45e0309b394b3
hotoView.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
hotoView.java
cda9315a4b3fb0228cbcd3e9a18d8c90f0a8a3e0 06-Sep-2012 Doris Liu <tianliu@google.com> Fix tap to focus, back button to camera on Manta

Changed the move threshold from a hard coded value to be proportional to the size of the view.

Bug: 7080033
Bug: 7066859
Change-Id: Id7b81fb3da1783951886d43fe9a3df35186af985
hotoView.java
02ec00b91039736d478c6e59ba90d5bbcd1a8044 05-Sep-2012 Owen Lin <owenlin@google.com> Remove the space before colons in details.

bug: 6587084
Change-Id: Ifdbe24e84fb55c1892edb5652455274fc3775291
ialogDetailsView.java
6b41f11759977c4d34755627858192b7e9cd33c7 04-Sep-2012 Bobby Georgescu <georgescu@google.com> Increase threshold for logging texture size warnings

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

Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
enuExecutor.java
aper.java
hotoView.java
ositionController.java
39f8f0bf9ebbcc580948f022649dd0d1f29656a3 30-Aug-2012 Owen Lin <owenlin@google.com> Merge "Fix OOM in TileImageView." into gb-ub-photos-arches
352e514333afed64d2914e16e9f91dfffa8f7bd7 30-Aug-2012 Bobby Georgescu <georgescu@google.com> Merge "Reskin: Correctly position rotated thumbs in album listing" into gb-ub-photos-arches
39765b30b48c4530e11642a05a582ddf3ad27992 28-Aug-2012 Bobby Georgescu <georgescu@google.com> Reskin: Correctly position rotated thumbs in album listing

Bug: 7067732
Bug: 7050303
Changing the slots to be non-square surfaced a small math
error, and also raised the question of where exactly to
render the texture. The solution that makes the most sense
given the current design is to fit the thumbnail (which is
always square in our case) in the largest square that fits
inside the slot, and aligned to the top.

Change-Id: I98d94ad9255399aa4f1e5c403ff81811674bb264
bstractSlotRenderer.java
5b7c8cd73344b76c8f77764317d477d2b9a49884 29-Aug-2012 Owen Lin <owenlin@google.com> Fix OOM in TileImageView.

The problem is we keep too many decoded images in the upload queue.
Those images will be free after it getting uploaded.

However, there is a bug which suspend the uploading sometimes.

Change-Id: Id97c04eba974cc77e5d8c50588b0cbef776f79da
fix: 6995091
extureUploader.java
ileImageView.java
4d47b3472cccf84e8c71d8fb389a79bc83b321ee 29-Aug-2012 Hung-ying Tyan <tyanh@google.com> Fix pinch out gesture for film strip mode on gingerbread.

On crespo running Android 2.3.6, a pinch out gesture results in the following
call sequence: onDown(), onUp() and then onSingleTapUp(). The correct sequence
for a single-tap-up gesture should be: onDown(), onSingleTapUp() and onUp().
The call sequence for a pinch out gesture in JB is: onDown() and then onUp().
Base on these observations, a condition is added in onSingleTapUp() to filter
out the false alarm where onSingleTapUp() is called within a pinch out gesture.

Bug: 7023717
Change-Id: I010b87f95c3197a299a7d907ce32e93a1d5e958f
hotoView.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
opupList.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
enuExecutor.java
541e25df9f933d58d4678f58519558473db5a333 25-Aug-2012 Bobby Georgescu <georgescu@google.com> Reskin: show placeholder color before album label is ready

Bug: 7050303
Change-Id: I679ecf6360f2ae3bfe19fc0677998ac8b1589bcf
lbumSetSlotRenderer.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
ositionController.java
b21b8e58a604f6c701245d84b141b5b87663192b 23-Aug-2012 Owen Lin <owenlin@google.com> Uses ActionBarSherlock in Gallery

bug: 6927267

Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
ctionModeHandler.java
lbumSetSlidingWindow.java
lbumSetSlotRenderer.java
lbumSlidingWindow.java
lbumSlotRenderer.java
acheStorageUsageInfo.java
ropView.java
etailsAddressResolver.java
etailsHelper.java
ialogDetailsView.java
mportCompleteListener.java
anageCacheDrawer.java
enuExecutor.java
hotoView.java
electionManager.java
lotView.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
lbumLabelMaker.java
lbumSetSlotRenderer.java
lbumSlotRenderer.java
itmapScreenNail.java
LCanvas.java
LCanvasImpl.java
anageCacheDrawer.java
hotoView.java
lotView.java
4e88a8c2a2addfadb05ca9699f505a3f348f3692 23-Aug-2012 Bobby Georgescu <georgescu@google.com> Fix NPE, ANRs in Gallery

Bug: 7041482
Bug: 7041769
Change-Id: I06596bd9a058a8fe51c19108a0891c458950f22b
reparePageFadeoutTexture.java
c760a5c49774c90b97ae818c6ee4e14825361b4b 23-Aug-2012 Bobby Georgescu <georgescu@google.com> Fix ANRs in Gallery

Bug: 7041769
Change-Id: Idc2a266bffd0d2c641fba69cfede13e1e83f276b
reparePageFadeoutTexture.java
f4a707f9716874025b189d0e4ca4dfad0d7abbab 21-Aug-2012 Bobby Georgescu <georgescu@google.com> Improvements in animation from album page to photo page

Bug: 6631829
Bug: 6979922
Change-Id: I99fd330f3ec8bf363f8602a2f893167ca2a9c71b
itmapScreenNail.java
ositionController.java
reparePageFadeoutTexture.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
hotoView.java
0cc65b3bd5e4fc1c54fda93d3dab171adcca30a6 16-Aug-2012 Owen Lin <owenlin@google.com> Fix some bugs introduced by the ActionBarWrapper.

bug: 6927267

Change-Id: If05082a4fec25f93d38c6096ebacc5a82e7e7c2e
ctionModeHandler.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
opupList.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
ctionModeHandler.java
enuExecutor.java
5b60e00145ba8dd5086723c98a5d6c4c3188d3d1 14-Aug-2012 Owen Lin <owenlin@google.com> Merge "Extract EXIF info only for JPEG files" into gb-ub-photos-arches
e24cc7208a6d3760a87dfd4b80a7a6683fe146eb 13-Aug-2012 Bobby Georgescu <georgescu@google.com> Show album counts in Gallery & other small reskin fixes

Bug: 6975144
Change-Id: I2f12c6482cc009aecbca3e26482ebd8944f01bb8
lbumLabelMaker.java
lbumSetSlotRenderer.java
bc8808a30e524e943b28b484d974b52769694e37 09-Aug-2012 Owen Lin <owenlin@google.com> Extract EXIF info only for JPEG files

bug: 6489840
Change-Id: I0ad682bffa5374d0d61ebaa502cc8b90e469b4c8
opupList.java
42a68a6f524bbd206b68eda650cc45d7e2a509af 10-Aug-2012 Bobby Georgescu <georgescu@google.com> Merge "First gallery reskin iteration." into gb-ub-photos-arches
a9fb0f51165bf1ba8287f4abaf5319efaf2cae84 10-Aug-2012 Wu-cheng Li <wuchengli@google.com> Guard SurfaceTextureScreenNail with TargetApi.

bug:6927809
Change-Id: If03ffbcbf908a960f00bba97be0cdbf317ecabe8
urfaceTextureScreenNail.java
c90a116a7fd65d41e8258dc7b9a14218649697e6 09-Aug-2012 Bobby Georgescu <georgescu@google.com> First gallery reskin iteration.

Change-Id: I2b79ca9f40346a777141562c9a4762d7a8b460f6
lbumLabelMaker.java
lbumSetSlotRenderer.java
lbumSlotRenderer.java
LCanvas.java
LCanvasImpl.java
95591d2a17036cbc610a9ab586d5e66b8036edd0 09-Aug-2012 Bobby Georgescu <georgescu@google.com> Merge "Hold WakeLock during MTP import" into gb-ub-photos-arches
38155c4f4dd6f0173337eb9f3fea54803192e229 08-Aug-2012 Owen Lin <owenlin@google.com> Rotate the texture in building PhotoFallbackEffect

bug: 6525127
Change-Id: Iba348450b62190a1a2149cf0d7f20f19625cb6cf
hotoView.java
ba50b9420e64731fd5aa8b1410e1f36457a1635a 08-Aug-2012 Bobby Georgescu <georgescu@google.com> Hold WakeLock during MTP import

Bug: 6680729
Bug: 6827858

Change-Id: Ida82db3288a429dacc5830b82ec6bbd954f75cf1
mportCompleteListener.java
enuExecutor.java
8fedc27c552424cc5d8e72783bd53f38538190e9 07-Aug-2012 Ahbong Chang <cwahbong@google.com> Move motion event related methods to class MotionEventHelper.

Bug: 6943189
Change-Id: I9084cc8ebb501a5b772ed4e00bd64a3b2e8bafb3
LRootView.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
ctionModeHandler.java
enuExecutor.java
abf0ea68634c1d21870c48297ab6898491e0c56f 31-Jul-2012 Chih-Chung Chang <chihchung@google.com> Manually transform the event coordinates on older platforms.

Change-Id: I070b27112ea028f2a1596dcdfa480537765174b9
LRootView.java
ed97d58f2028938aeb3e49c10ac598cc3e7a28c6 26-Jul-2012 Owen Lin <owenlin@google.com> Fix some lint warnings in Gallery.

1. Implement our own openPipeHelper
2. Add @TargetApi to TileImageViewAdapter

Change-Id: I74dca78c4c4f18e0f782afad02d5ba9b410a503e
ileImageViewAdapter.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
ctionModeHandler.java
asicTexture.java
itmapScreenNail.java
acheStorageUsageInfo.java
olorTexture.java
ropView.java
etailsAddressResolver.java
ialogDetailsView.java
dgeEffect.java
dgeView.java
xtTexture.java
lingScroller.java
LCanvasImpl.java
alleryEGLConfigChooser.java
estureRecognizer.java
enuExecutor.java
aper.java
hotoView.java
urfaceTextureScreenNail.java
ndoBarView.java
ploadedTexture.java
995c4566bed7df1aa48ba7e1351f964efa73880b 20-Jul-2012 Michael Kolb <kolby@google.com> Use actual selection for album/photo details

Bug: 6533154

Change-Id: I21ce95d79567396840f08095b986ecc54263a295
etailsHelper.java
ialogDetailsView.java
14ce29ab5608daaa3d0074cdfc9fc85988537ff2 25-Jul-2012 Bobby Georgescu <georgescu@google.com> Fix for monkey-generated NPE in PhotoView from bug 6848371

In other parts of the code, there are checks for getGLRoot
returning null, and one was missing here.

Bug: 6848371

Change-Id: I3a7a1e1ea9847a43f4791de84f5f70cc27d53a1a
hotoView.java
52dfb17e3c93b3762130ec8912c6e16c9dea0edc 24-Jul-2012 Owen Lin <owenlin@google.com> Use our own OverScroller for backward compatibility.

Change-Id: Ibcf48a638ab716116d1ce2ff8c2686741ca0a996
crollerHelper.java
44ef42f215d68ade8b63d18fede944c244a2a1dd 11-Jul-2012 Owen Lin <owenlin@google.com> Make CustomMenu compatible with API level 10.

bug: 6802855
Change-Id: I230c91bd9744935a181881131dcd2275ed89d819
ctionModeHandler.java
ustomMenu.java
opupList.java
electionMenu.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
urfaceTextureScreenNail.java
b0774a3bfb24d8515fc3ddf152fabf82f0ff67e5 06-Jul-2012 Yuli Huang <yuli@google.com> Avoid using setSystemUiVisibility in old platforms.

bug:6785569

Change-Id: I0a19ab2818b6f34d530c5d65e781d3168533d44f
LRootView.java
fe9989a9a58d5ef883099ef747625aca0232df35 05-Jul-2012 Owen Lin <owenlin@google.com> Don't test the EXTRA_LOCAL_ONLY before HC.

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

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

Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
lbumSetSlidingWindow.java
lbumSlidingWindow.java
itmapScreenNail.java
LRootView.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
LRootView.java
fc86994f86f8cfb31e151c9e730dc1e9dc7b3349 29-Jun-2012 Yuli Huang <yuli@google.com> Do not use NfcAdapter API in old platforms.

bug:6698904
Change-Id: I8cab312a212e4cba43187a73bc76d3f2164527a9
ctionModeHandler.java
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
LRootView.java
30aa92093126f00b46543ae3b5d1035a3270f240 27-Jun-2012 Owen Lin <owenlin@google.com> Don't reuse bitmaps in BitmapRegionDecoder before JB.

Change-Id: I8a2f520f98116af6861fa2cd1460e6f848bbb4e4
ileImageView.java
ileImageViewAdapter.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.
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
hotoView.java
9cd7480fb9f20999f69d760102f775eacebc790a 26-Jun-2012 Pin Ting <pinting@google.com> Merge "Use public OverScroller() instead of a hidden one.."
8b930828c7a33d668876972c22a515e9163592f7 20-Jun-2012 Pin Ting <pinting@google.com> Use public OverScroller() instead of a hidden one..

Bug:6698374
Change-Id: I3a97d0b4bbfb5e2a1e9f4a656d39db636defcdbd
ositionController.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
LRootView.java
18dafe5c81d5667e6d06fa43ed82a0cb5e3aa9e1 20-Jun-2012 Wei Huang <weih@google.com> am 254a6b42: am 82220026: Merge "Fade in/out the undo bar." into jb-dev

* commit '254a6b42372179bcc9cf6166639325d11411be77':
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
hotoView.java
ndoBarView.java
d0f79f64c0a7ec68ffcaa98992aae0af22a9cee1 20-Jun-2012 Owen Lin <owenlin@google.com> Move LongSparseArray into Gallery for unbundling.

Change-Id: Ifa0d06818a2d21bd8ddeabe808d792f39c31322f
ileImageView.java
d937a2e931f222d2e60d9da007df4647b975eb7f 19-Jun-2012 Wei Huang <weih@google.com> Merge "Fix Gallery glitch due to ColorTexture." into jb-dev
1cbde8f63a4862e814078da9b7cefce0c6291dab 19-Jun-2012 Owen Lin <owenlin@google.com> Fix Gallery glitch due to ColorTexture.

Change the initial value of mTextureTarget to GL_TEXTURE_2D,
since it is default enabled.

bug:6668616

Change-Id: I4bf475ca1a02fed3371e8223003a10e88ce8d519
LCanvasImpl.java
2ce59cbd4368eaf0f30cfea28891bd47155182cb 18-Jun-2012 Chih-Chung Chang <chihchung@google.com> Fix scaling gesture responsiveness.

Bug: 6632011
Change-Id: I9cfeafa4365354a631565f8ee4a9b53df76d06e9
hotoView.java
ositionController.java
6b891c6a3739f8c49d42f9db6fc76cb92c7c5f25 07-Jun-2012 Chih-Chung Chang <chihchung@google.com> Add swipe-to-delete gesture.

Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3
LView.java
estureRecognizer.java
enuExecutor.java
hotoView.java
ositionController.java
tringTexture.java
ndoBarView.java
132db75a1fa9b41d3000c6cb29bd3d90a7d8ef28 11-Jun-2012 Yuli Huang <yuli@google.com> Don't display loading text when loading album sets.

bug:6635606
Change-Id: I55f0dafd5ead8455ed8bee1f03c06ca03662ebbd
lbumSetSlotRenderer.java
5551dfa4c4e644737785c19f10b13304f94ef2fc 01-Jun-2012 Chih-Chung Chang <chihchung@google.com> Update the screen nail size even if screen nail is still the same one.

Because the rotation value may have changed.

Bug: 6594218
Change-Id: I8da2a3041da0e27e1b80723dab8a825a2350c2dd
hotoView.java
192b7f1ddf08e7bfa0c65dbf61edb81ebb5a0998 31-May-2012 Chih-Chung Chang <chihchung@google.com> Improve scale gesture snapback.

If the picture is zoomed-in, we want to keep the focus point stay in
the same position on screen, so we need to adjust the target mCurrentX
value.

Bug: 6563619
Change-Id: I87b23da99aced1490187e550bd43fad733122577
ositionController.java
f3f90752ca92372d61ca0ec22a9846261cfbcbde 31-May-2012 Chih-Chung Chang <chihchung@google.com> If the focused box was at minimal scale, we try to make it the
minimal scale under the new view size.

Bug: 6584425
Change-Id: I7dcc748cb3659a06f2ca4d8550d075fdda2949fa
ositionController.java
42e1fed4edd9ed1e326aab2f7969242c56812952 31-May-2012 Chih-Chung Chang <chihchung@google.com> Move to final position after view size change.

Bug: 6584188
Change-Id: If6ab23532bd7040701e358f9cdd813d2f6a71e5c
hotoView.java
ositionController.java
9f44f35c211229bc0c5ca17823f5d7b6bb3583a1 30-May-2012 Chih-Chung Chang <chihchung@google.com> Improve image size change handling.

- When the camera relative frame is set, we delay the change for camera
rectange until the next setImageSize call. This avoids the unwanted
intermediate state if we change them separately.

- Don't draw other screennails when the camera is in full screen. This
avoids showing other screennails when the image size changes.

- When the aspect ratio of the image changes, we assume the view angle
of the longer side doesn't change (so the aspect ratio change is because
the view angle of the shorter side changes). This matches what camera
preview does.

Bug: 6566612

Change-Id: I7603416f31c96ba77c96cdc2a3d0b79f8921c491
hotoView.java
ositionController.java
95c2aeab0bf398b45d8a9c562fd110d1e3756139 25-May-2012 Angus Kong <shkong@google.com> Force to stop scrolling in filmstrip mode.

bug:6554106
Change-Id: I4305ce7068a36e72a325996a88c1d227a2d2b20c
ositionController.java
6673c21275772af55c9ae72cd78cbbe710edc023 23-May-2012 Chih-Chung Chang <chihchung@google.com> Merge "Put a black View in front of SurfaceView." into jb-dev
edada7ca2b7c70c5459cbe488c1a16cc186f2bf0 23-May-2012 Chih-Chung Chang <chihchung@google.com> Put a black View in front of SurfaceView.

This prevents SurfaceView from being transparent before the first draw.

Bug: 6507478
Change-Id: I2170f23d4c9844bfc3854d6120f5e72cc0d591ca
LRootView.java
96b012c84436c776fe515f7d70eb4f8f309ce38a 23-May-2012 Wei Huang <weih@google.com> Merge "Recycle textures when we don't need them." into jb-dev
e6251df06f0b3c8f556043f8b725b4b19be7474d 22-May-2012 Chih-Chung Chang <chihchung@google.com> Unlock orientation only when action bar is needed.

Bug: 6482079
Change-Id: I75d96ca7957f80e9c52f35edf74127f82f194f63
hotoView.java
ositionController.java
3535d67239b1b1e4ee038f39dece64545b78f2ed 22-May-2012 Owen Lin <owenlin@google.com> Recycle textures when we don't need them.

bug: 6307447
Change-Id: Id0c1abab54e1fbb75364dffda9f1f72d6b39310b
lbumSetSlidingWindow.java
lbumSetSlotRenderer.java
lbumSlidingWindow.java
lbumSlotRenderer.java
adeOutTexture.java
adeTexture.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
lbumSetSlotRenderer.java
lbumSlotRenderer.java
asicTexture.java
xtTexture.java
LCanvasImpl.java
LRootView.java
inePatchTexture.java
hotoFallbackEffect.java
hotoView.java
awTexture.java
extureUploader.java
ileImageView.java
ploadedTexture.java
e919bcff63e898d53869725a979cdfd01ef92b08 22-May-2012 Chih-Chung Chang <chihchung@google.com> Hide status bar in lights out mode.

Bug: 6451200
Change-Id: I6ad5ffc203fd8e6be9191ba13a4a99eb716c4734
LRootView.java
c2c0b01fbbf243eee1a11c33ba6dd1ce918a9ce5 18-May-2012 Owen Lin <owenlin@google.com> Reuse bitmap to prevent GC in TiledImageView.

bug:5948093
Change-Id: Iad89c5809bde0de5409752330f607aab153dceba
itmapTileProvider.java
ileImageView.java
ileImageViewAdapter.java
ploadedTexture.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
asicTexture.java
itmapScreenNail.java
LRootView.java
hotoView.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
ctionModeHandler.java
electionManager.java
c4791b7721a8417be5be33a67c8ade6e82b03a2c 19-May-2012 Chih-Chung Chang <chihchung@google.com> Fix capture animation if we are far away from the camera preview.

Bug: 6481823
Change-Id: If2511c8dd08e0483cdc3139068ee190e2b08126d
hotoView.java
ositionController.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
LRoot.java
LRootView.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
itmapScreenNail.java
itmapTileProvider.java
hotoView.java
ositionController.java
ileImageView.java
ileImageViewAdapter.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
mportCompleteListener.java
enuExecutor.java
4b56917d18c35bec2f5e64f55c864163f0d518c9 17-May-2012 Owen Lin <owenlin@google.com> Merge "Fix a NPE found by Moneky." into jb-dev
8a626914e388a57c2378c86e82b24158d6098330 17-May-2012 Owen Lin <owenlin@google.com> Fix a NPE found by Moneky.

AlbumLabelMaker.mBitmapPool could be null if the setLabelWidth()
has never been called or called with width as 0.

bug:6510386

Change-Id: Idaaa0a1a7239271ba3ae3217e65029b382464c10
lbumLabelMaker.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
hotoView.java
616a70fdb4473d2fbd7b70772a3a82b908aeae1e 07-May-2012 Owen Lin <owenlin@google.com> Add transition animation for tapping from PhotoPage.

bug:6383694
Change-Id: Ib457d6b636dafd3f8ef7340bfa85725f14d90bd0
lbumSlotRenderer.java
hotoFallbackEffect.java
hotoView.java
lotView.java
9723770a40d230092204dd685f19ff4bce6dabd5 17-May-2012 Angus Kong <shkong@google.com> Revert "Support Panorama preview."

This reverts commit 41832d9f1568c7d8227fb9ffebaf7830345cffff
hotoView.java
41832d9f1568c7d8227fb9ffebaf7830345cffff 17-May-2012 Angus Kong <shkong@google.com> Support Panorama preview.

The panorama preview doesn't consider display rotation.

bug:6305152
Change-Id: I6b87c18ed8eadf1b2bf5e64437c5b290d111cbba
hotoView.java
5338d1959406e95a580858e418794e23e05c47e2 17-May-2012 Yuli Huang <yuli@google.com> Smooth opening animation by modifying interpolation curve.

bug:5367032
Change-Id: I15ad839ede723591f081be200c1c16a8a9a901d0
ositionController.java
bcfa1b79930e567c6a52235445c759d37041ed0c 17-May-2012 Yuli Huang <yuli@google.com> Merge "Fix card effect shown in opening animation." 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
LRoot.java
LRootView.java
f320b8429dd5c68c117b8e9b1a36a435f4f4ff13 15-May-2012 Yuli Huang <yuli@google.com> Fix card effect shown in opening animation.

bug:6495753
Change-Id: I7a640c2dddef0b7c58e0b7d5a00cbc4aab6ec43d
hotoView.java
ositionController.java
bd7c016d728853d38f98a3c6077b7bd9b08858b9 15-May-2012 Yuli Huang <yuli@google.com> Avoid black screen when PhotoPage just starts.

bug:5367032

Change-Id: I6bd56026ec32bcee972d69855966750b9a57cdf4
hotoView.java
ositionController.java
3349078ecd14bb462756c5c1a3a3b594d5b97cb9 16-May-2012 Ray Chen <raychen@google.com> Merge "Fix 6046544: Deleting a photo takes multiple steps and the flow is inconsistent with other deleting flows on other core apps" 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
ctionModeHandler.java
enuExecutor.java
83f88ad1c72ae24acc5e78efc93c1e09e1c70c97 09-May-2012 Owen Lin <owenlin@google.com> Add animation for the paddings in SlotView.

bug:6383118
Change-Id: I034be207f73b027de448cef562a534f986d0cbe1
lotView.java
6033e0754ee1e1270cef74e12e40a4f9f2408e91 11-May-2012 Chih-Chung Chang <chihchung@google.com> Merge "Better data change handling for PhotoDataAdapter and PhotoView." into jb-dev
214993dc4abf87c386123af50e3c34184ba11cb6 11-May-2012 Chih-Chung Chang <chihchung@google.com> Better data change handling for PhotoDataAdapter and PhotoView.

Change-Id: I0f67d918b95000d10786d2035286e036346bfa4e
hotoView.java
da438c77120c0ec5a626f78c5dc48dc1c2b0ea26 11-May-2012 Owen Lin <owenlin@google.com> Merge "Make sure we won't upload recycled bitmap." into jb-dev
1ade1266d8e13830e3b07c1ebd8c95f4e859e129 10-May-2012 Chih-Chung Chang <chihchung@google.com> Add freeze/unfreeze for GLRootView.

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

Bug: 6355399
Change-Id: Ice7560c12aa06cf8ac58cc3883f0888b5c6e71a5
hotoView.java
de31f23381b248f3141242a8e4906023a949e898 09-May-2012 Owen Lin <owenlin@google.com> Make sure we won't upload recycled bitmap.

bug: 6465117
Change-Id: I97553ba9da0256cfedde3a5752224380b1a3ee6f
lbumSetSlidingWindow.java
lbumSlidingWindow.java
extureUploader.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
LRoot.java
LRootView.java
LView.java
rientationSource.java
hotoView.java
21b251499eabca5bcd5c9dfeee11f57f2e5b6ad5 07-May-2012 Chih-Chung Chang <chihchung@google.com> Set default buffer size for SurfaceTexture.

This is needed for Panorama.

Change-Id: I452335cfec6357aef7b66ecac003a4b0ca0fd9fe
urfaceTextureScreenNail.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
hotoView.java
ositionController.java
6575794a9c09f22d5721e212c093e0a2df376d0c 05-May-2012 Chih-Chung Chang <chihchung@google.com> Fix 6429662: Video snapshot doesn't work

Change-Id: I6414be7f00ee103b7047128fdc92e03ca87c7703
hotoView.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
hotoView.java
ileImageView.java
4b24522afa79ccee3b021d57fcd475f476014585 05-May-2012 Martijn Coenen <maco@google.com> Merge "Add support for Beaming multiple pictures." into jb-dev
17ffedda6e3ed57b38afbb775594cf30d83fc652 03-May-2012 Chih-Chung Chang <chihchung@google.com> Fix 6399813: tapping on a photo that isn't in the middle of the screen doesn't select it.

Also make tapping while flinging stop the scroll instead of opening the item.

Change-Id: Iefef4738d7d74b29e4594ea3ae2cb1c91e0e17ab
hotoView.java
ositionController.java
4cbf2b139b6588ed6f9c0cec1d9185c5b72fdea6 04-May-2012 Ray Chen <raychen@google.com> Merge "Fix 6341866 ANR in com.google.android.gallery3d due to com.android.gallery3d.ui.TileImageViewAdapter.setScreenNail" into jb-dev
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
hotoView.java
61f94714c3702115d2f89bb5f8829697be0c3680 02-May-2012 Chih-Chung Chang <chihchung@google.com> Show/hide action bar at the right time.

Bug: 6399476

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

Bug: 6392682
Change-Id: I065c52b44c02f9314e58e82846cdf22e2d940eab
hotoView.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
enuExecutor.java
603f9090bed0908374eda827be2c08a7a1b8d8c2 02-May-2012 Owen Lin <owenlin@google.com> Merge "Fix a issue that we are trying upload a recycled tile." into jb-dev
0820262bea846c466706ab488d038747ddcdd747 02-May-2012 Owen Lin <owenlin@google.com> Merge "Add support to draw on texture." into jb-dev
8ac2e8630f33f4d5f65731dc56efa9bfb3570cd7 24-Apr-2012 Owen Lin <owenlin@google.com> Add support to draw on texture.

Change-Id: I95dd5d29352692b702503969e1ebe07bc91a8a73
LCanvas.java
LCanvasImpl.java
aw2DTexture.java
awTexture.java
5548396020eed79dde29f33fa68d4d593b9dd013 27-Apr-2012 Owen Lin <owenlin@google.com> Fix a issue that we are trying upload a recycled tile.

bug:5779992
Change-Id: I2503c87e9cea4e8b0ad5250b1508d06f44125779
ileImageView.java
6fc8d72ce0814a70c74be71fb9d0775b8d7ca768 02-May-2012 Ray Chen <raychen@google.com> Fix 6341866 ANR in com.google.android.gallery3d due to com.android.gallery3d.ui.TileImageViewAdapter.setScreenNail

RegionDecoder is run in a lower priority thread but it uses the same lock as setScreenNail while decoding, so a priority inversion causes this ANR.
The change tries to separate the lock so setScreenNail doesn't have to wait on the decoding process so the ANR could be avoided.

Change-Id: I02cc26fa0535adaa57cdcf94b819970e179311d1
b:6341866
ileImageViewAdapter.java
50213b692c09a0121d066d8e1101ec253898e934 30-Apr-2012 Wei Huang <weih@google.com> Merge "Don't enter film mode automatically when moving from camera preview to picture." into jb-dev
18958c51f1412d959d52500ceefc46f987d035f3 30-Apr-2012 Chih-Chung Chang <chihchung@google.com> Don't enter film mode automatically when moving from camera preview to picture.

Also don't follow the scaling touch once we decide to change film mode, this makes the animation smoother.

Change-Id: I45f97bd8c3cc90666370afeb1c18d21dfcc87c06
hotoView.java
acac98ca45868dffc77efab154b07d3842879760 30-Apr-2012 Chih-Chung Chang <chihchung@google.com> Merge "Fix black screen when viewing Gmail image file attachment. Bug: 6415848" into jb-dev
b56ff734d0117cd5813cd2328edc57c4630ff1c3 30-Apr-2012 Chih-Chung Chang <chihchung@google.com> Fix black screen when viewing Gmail image file attachment.
Bug: 6415848

Change-Id: Iec369866be6b5546fbd8cb77eb95a29f92e00b84
ositionController.java
57263d33064e4fce39b88b54f73e425f66a550eb 30-Apr-2012 Wu-cheng Li <wuchengli@google.com> Fix crash when select all is pressed.

bug:6411186
Change-Id: Iaa71a320bc4d6d70aade41d5144f75ba6db36e6d
enuExecutor.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
LRoot.java
LRootView.java
LView.java
hotoView.java
ositionController.java
creenNailHolder.java
ileImageView.java
af4ab4faeeb640b285311a305ff128b33b964389 27-Apr-2012 Martijn Coenen <maco@google.com> Add support for Beaming multiple pictures.

Change-Id: I12bb82bb605813168a7870807390ce2cb37a9a15
ctionModeHandler.java
74976b1397fe34b212741bd92e30fa25aaec7ad8 26-Apr-2012 Wu-cheng Li <wuchengli@google.com> Do not use card effect for camera screen nail.

bug:6402571
Change-Id: I362e675ea4160b7b940e0da4bd018e0e8c7add57
hotoView.java
08d886617e5eb6e8bc3d422972dedbfbea5ca564 25-Apr-2012 Chih-Chung Chang <chihchung@google.com> Merge "Remove scissor tests."
a11f19872b6059d97d31c047ac752354670e1267 25-Apr-2012 Ray Chen <raychen@google.com> Fix 6376466 After deleting photo, the next one will be shown too dark
b:6376466

Change-Id: I7328215c45995d6ae1813ed861da3ad826809461
hotoView.java
57d3cb26a80cdf6b20b2185b02ebf07f3bc2592c 25-Apr-2012 Chih-Chung Chang <chihchung@google.com> Remove scissor tests.

Change-Id: I9f2c462a251e518ce5954dde0eb6e509734254c4
LCanvasImpl.java
LRootView.java
aw2DTexture.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
hotoView.java
2c6173822a612597c79be41b126367ddfbb5d518 20-Apr-2012 Chih-Chung Chang <chihchung@google.com> Add capture animation in Gallery.

Change-Id: Ibf95cc64f37a4518377e64124af6606c4f14cdaa
aptureAnimation.java
hotoView.java
ositionController.java
b774b7e12c332d9369b70a09c9f103749e9ca774 24-Apr-2012 Yuli Huang <yuli@google.com> Merge "Add prominent highlights for touch feedback."
56248134ae583f850d5144da34be2f1608fa3e1c 24-Apr-2012 Angus Kong <shkong@google.com> Merge "Add Raw2DTexture."
ffc2a4a77f7164dd435d07c11a3df290c4b64079 11-Apr-2012 Angus Kong <shkong@google.com> Add Raw2DTexture.

Raw2DTexture is a wrapper of GL 2D texture. It also support copy other
texture's content into this texture.

bug:5988937

Change-Id: Ib4f6ff7ed2f6ea499517536366b511b7984a9b98
xtTexture.java
LId.java
aw2DTexture.java
urfaceTextureScreenNail.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
bstractSlotRenderer.java
lbumSetSlotRenderer.java
lbumSlotRenderer.java
adeInTexture.java
adeOutTexture.java
adeTexture.java
lotView.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
ctionModeHandler.java
enuExecutor.java
56f23ee044053b07f8a15d123486c9bc4ac5f00c 23-Apr-2012 Ray Chen <raychen@google.com> Merge "Fix 6046987 The header on the contextual action bar when multiple photos are selected is very janky b:6046987"
686a36c8cec0389e7e3133862b56b34d7e74bc3d 20-Apr-2012 Owen Lin <owenlin@google.com> Merge "Fix a UI bug in rendering a rotated image."
c3b2d478f9032a8decf5c6254a238fc49e41b72c 19-Apr-2012 Chih-Chung Chang <chihchung@google.com> In filmstrip, show placeholders for pictures not loaded yet.

Change-Id: I037f1f054da4a3800045d5b89724341ac22272a5
itmapScreenNail.java
itmapTileProvider.java
hotoView.java
ositionController.java
creenNail.java
urfaceTextureScreenNail.java
ileImageViewAdapter.java
add4514f5d39bc6c2156ebbf96e693669a9141a7 19-Apr-2012 Ray Chen <raychen@google.com> Fix 6046987 The header on the contextual action bar when multiple photos are selected is very janky
b:6046987

Change-Id: I86c79cf4d8995bfa0faab95ecd61e89879847630
ustomMenu.java
a25864674c3ce58bd8e013af9c1af7b8e3b0946d 19-Apr-2012 Owen Lin <owenlin@google.com> Fix a UI bug in rendering a rotated image.

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

Change-Id: I9aa7405902c4bfb7e4946cfe4e1263314a958686
hotoView.java
ositionController.java
099989b310d84fe13eff0cdf2902bb3fb0bcbd14 18-Apr-2012 Chih-Chung Chang <chihchung@google.com> Film strip should be accessible only when an image is its default state.

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

Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
lbumLabelMaker.java
lbumSetSlidingWindow.java
itmapScreenNail.java
itmapTileProvider.java
hotoView.java
ositionController.java
creenNail.java
urfaceTextureScreenNail.java
ileImageView.java
ileImageViewAdapter.java
1ff1afcbe2046fa239e4b0684f41f5ed41fe707c 18-Apr-2012 Owen Lin <owenlin@android.com> Merge "Slower scrolling for fling in filmstrip mode."
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
ctionModeHandler.java
lotView.java
cd938f3f05975de73658dc2f2b6c632b7ee569a3 17-Apr-2012 Yuli Huang <yuli@google.com> Fix b/6318340: window range isn't updated when data size changes.

bug:6318340
Change-Id: I2098ddc75fe1a4422a20ab90f02a12c9be85c31e
lbumSetSlidingWindow.java
lbumSlidingWindow.java
d848862c1dd0689df8df5d684476cfd3897557d6 16-Apr-2012 Chih-Chung Chang <chihchung@google.com> Slower scrolling for fling in filmstrip mode.

Also don't animate scale for the first image size.

Change-Id: I6a71c00e813bd203e9f454bc9a776eadec06fd78
ositionController.java
642561dd3177f9511c8bbeb90839066ecc451054 16-Apr-2012 Chih-Chung Chang <chihchung@google.com> Define max height/width for each picture in filmstrip mode.

Change-Id: I844a32f95237724a60a64afe5f746798886dcc2c
ositionController.java
aced34ca03fbd76b072dcdce26f4883ac4d1b25c 16-Apr-2012 Chih-Chung Chang <chihchung@google.com> Reduce padding between photos, from 96 pixels to 16 dp.

Change-Id: I62b0013da45b7d7495b34e9e4e1e791bac9c9c1f
ositionController.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
nimationTime.java
itmapScreenNail.java
dgeView.java
LRootView.java
hotoView.java
ositionController.java
cafd30f96355ad446943d60cd2595d08423944e2 09-Apr-2012 Owen Lin <owenlin@google.com> Add BytesBufferPool to prevent GC.

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

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

Change-Id: I7d8d3586a910dac35975e4effa0d02528e2ccf98
lbumLabelMaker.java
lbumSetSlidingWindow.java
lbumSetSlotRenderer.java
lbumSetView.java
lbumSlidingWindow.java
lbumSlotRenderer.java
lbumView.java
anageCacheDrawer.java
cd36bfc52cc4e7f4b667ba3c5e8eb950647ae9d1 04-Apr-2012 Owen Lin <owenlin@google.com> Draw less to improve performance.

Also adjust the upload order to upload nearby textures first.

Change-Id: I2d6a8807a14b4602882dd2e5c03030c356f49e47
lbumLabelMaker.java
lbumSetSlidingWindow.java
lbumSetView.java
lbumSlidingWindow.java
lbumView.java
fc7efade75629450c0c160329fb42b3dbd5361f4 03-Apr-2012 Owen Lin <owenlin@google.com> Fix flashing in "Make available offline".

Change-Id: I84f0896c6038eb21d32e0d5fe0cafec5d339e6ec
adeInTexture.java
LCanvasImpl.java
31cac30e46a293f6d0901e22c6ab0d083cae7021 04-Apr-2012 Owen Lin <owenlin@google.com> Refactor. Merge SelectionDrawer with SlotRenderer.

Change-Id: Iaa50b2a78beb95fc83208a5f74cf612650cd8643
bstractSlotRenderer.java
lbumLabelMaker.java
lbumSetSlidingWindow.java
lbumSetView.java
lbumView.java
ridDrawer.java
ighlightDrawer.java
conDrawer.java
anageCacheDrawer.java
electionDrawer.java
electionManager.java
d8fb81f601830385a2343d08ad5dd171e4c7bfe0 29-Mar-2012 Owen Lin <owenlin@google.com> Upload textures in background.

Change-Id: I365f7be9aaab793366884249cbb10e8b6f0ab0e6
lbumLabelMaker.java
lbumSetSlidingWindow.java
lbumSetView.java
lbumSlidingWindow.java
lbumView.java
itmapPool.java
LRoot.java
LRootView.java
lotView.java
extureUploader.java
ileImageView.java
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
bstractDisplayItem.java
lbumLabelMaker.java
lbumSetSlidingWindow.java
lbumSetView.java
lbumSlidingWindow.java
lbumView.java
itmapLoader.java
isplayItem.java
ridDrawer.java
ighlightDrawer.java
conDrawer.java
anageCacheDrawer.java
lotView.java
921895ba0b3511aeba053bdc0c965f9d3f62eb51 02-Apr-2012 Chih-Chung Chang <chihchung@google.com> Remove FilmStripView.

Change-Id: I45cee8c32863cc65eba4c5e83e667e104cf24e42
lbumSlidingWindow.java
lbumView.java
ilmStripView.java
hotoView.java
tripDrawer.java
49b137806386ff0c8cf5caba4bf7e0a9aab4b7b9 02-Apr-2012 Owen Lin <owenlin@google.com> Merge "Delete buffers and textures in GL."
ba7d106f7e4fcb0036e694449e6fc5b002526309 02-Apr-2012 Owen Lin <owenlin@google.com> Delete buffers and textures in GL.

Change-Id: I7cd6647c7da56040c040f43859ce8e440db7b498
LCanvasImpl.java
LId.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
ositionProvider.java
ositionRepository.java
elativePosition.java
lotView.java
b29a27f475a2c449abdda8d4e03d30914feed8c6 22-Mar-2012 Chih-Chung Chang <chihchung@google.com> Use SurfaceTexture to show Camera preview.

Change-Id: I8bf63dfc5b969ecce51841378b093a650b6f91d8
asicTexture.java
itmapScreenNail.java
itmapTileProvider.java
xtTexture.java
LCanvas.java
LCanvasImpl.java
LId.java
inePatchTexture.java
hotoView.java
creenNail.java
creenNailHolder.java
urfaceTextureScreenNail.java
ileImageView.java
ploadedTexture.java
14ecb55d726509cfc2cadcbfa786f508e979c0cb 29-Mar-2012 Chih-Chung Chang <chihchung@google.com> Merge "Patch 2 for master."
534b12fd804610dd67b8109bc08ba76f31afb33e 21-Mar-2012 Chih-Chung Chang <chihchung@google.com> Patch 2 for master.

Change-Id: I8b7c9fd326c4f247a1f2129b1d64388a223d79e0
estureRecognizer.java
hotoView.java
ositionController.java
7260f6f74d465520e4497b23fe56f98abb0c15a2 22-Mar-2012 Owen Lin <owenlin@google.com> Refactor. Make the code simpler.

Change-Id: I2d3b7a1cfed17afcf6b7ee3e7bf1ca13ada8d9c3
lbumSetSlidingWindow.java
lbumSetView.java
lbumSlidingWindow.java
lbumView.java
isplayItem.java
ilmStripView.java
aper.java
elativePosition.java
lotView.java
cb4fb7c19f20405fb5e08513e6297dffce824118 21-Mar-2012 Chih-Chung Chang <chihchung@google.com> New effect in photo browsing.

Change-Id: I12ca70f56f5c874292a7a6f38f0518bbc855ed70
itmapTileProvider.java
hotoView.java
ileImageView.java
ileImageViewAdapter.java
ploadedTexture.java
04ac045bf8da5082bbb0bdc9ea5f9c9b5b796ad0 20-Mar-2012 Yuli Huang <yuli@google.com> Fix incorrect initial position/scale of opening animations.

1. Initial position of opening animation isn't correctly offset if the
position repository isn't properly offset by the action bar height.
2. Initial scale of opening animation should match the thumbnail instead
of using a fixed value 240.
This CL is part of efforts to fix b:6016973.

Change-Id: I620705357ba7594d43685e47488928f9fc93d9f6
hotoView.java
ositionController.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
itmapScreenNail.java
itmapTileProvider.java
hotoView.java
creenNail.java
ileImageView.java
ileImageViewAdapter.java
b8480e3dd6ad41f6622e9b39e79c17467eb17c6f 16-Mar-2012 Owen Lin <owenlin@google.com> Fix a regression, we forget assigne a value to a member variable.

Change-Id: I07b6654ddf73f4c92a75d81a3ec8f1075526f5fd
lbumSlidingWindow.java
3a02809c97669a157cf45bfd61d45272110d4091 14-Mar-2012 Chih-Chung Chang <chihchung@google.com> Aggregate three gesture detectors.

Change-Id: I270cd7bdeb81d9a8ea5d3aa122f44074413e7616
estureRecognizer.java
hotoView.java
2b3ee0ea07246b859a5b75d8a6102a7cce7ec838 14-Mar-2012 Owen Lin <owenlin@google.com> Reorganize import for all files.

Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
ctionModeHandler.java
itmapTexture.java
itmapTileProvider.java
acheStorageUsageInfo.java
anvasTexture.java
ropView.java
ustomMenu.java
etailsHelper.java
dgeEffect.java
adeInTexture.java
ilmStripView.java
lingScroller.java
LCanvasImpl.java
LRootView.java
LView.java
ridDrawer.java
ighlightDrawer.java
conDrawer.java
mportCompleteListener.java
anageCacheDrawer.java
inePatchTexture.java
aper.java
hotoView.java
ositionController.java
ositionRepository.java
rogressSpinner.java
esourceTexture.java
crollBarView.java
crollerHelper.java
electionDrawer.java
lideshowView.java
tringTexture.java
tripDrawer.java
ynchronizedHandler.java
ileImageView.java
ploadedTexture.java
4bb5912e85f6d1bd8a6b78d6d52b4c4da7aeb740 07-Mar-2012 Owen Lin <owenlin@google.com> Reuse bitmap for all micro thumb images to prevent GC.

Change-Id: I27d3002e5bb745a597f52962fe24744c8329441c
bstractDisplayItem.java
lbumSetSlidingWindow.java
lbumSlidingWindow.java
itmapPool.java
8817fe8a5bbe65905e777230720293744f6a8cca 08-Mar-2012 Yuli Huang <yuli@google.com> Fix b/5948180: Photo is repositioned during being scaled.

Avoid repositioning photo to center vertically during scaling it.

Change-Id: Id9f2de6b2b1611419a0c03888cff49a5336b39df
ositionController.java
cb05834cedb8223fc59456afcd62fa7448f2b3b8 02-Mar-2012 Chih-Chung Chang <chihchung@google.com> Use AnimationTime for animation caluclation.

Change-Id: I3af8334978c054ddbc2050a240f0d9c113a44012
nimationTime.java
adeInTexture.java
LRootView.java
aper.java
ositionController.java
6068de20f4f19ca82ca01bef3b6dda796a79f724 01-Mar-2012 Yuli Huang <yuli@google.com> Fix b/6064909: Photo might not be snapped back correctly.

Photo might not be snapped back if the animation wasn't actually started
because of no position/scale changes.

Change-Id: I6b5e938bffd954b848cae04514a06d0427151025
hotoView.java
ositionController.java
2ce3c3bfe08fff5aee58007cc8ba8f4a50861ae2 23-Feb-2012 Yuli Huang <yuli@google.com> Fix b/5624131: Panning enlarged photo switches images by mistake.

Avoid swiping images when panning to view vertically enlarged photo.

Change-Id: Ieb72cb8f38595fbedc927e8a0380fe31532ee434
hotoView.java
ositionController.java
301ea871a5f3b13adeae5ac1f0a36c86eff228e7 20-Feb-2012 Ray Chen <raychen@google.com> Fix 5948189 BUG BASH: action bar flashes during multi-select

This CL fixes the flashing by disabling MenuItem directly instead of setting null intent
to ShareActionProvider, so there won't be any "icons shrinking" effect that causes flashing.

The rest of the change is code refactoring. More comments are added and the final UI operations
are merged into one Runnable object.

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

Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
daptiveBackground.java
lbumSetView.java
lbumSlidingWindow.java
itmapTileProvider.java
oxBlurFilter.java
onfig.java
ustomMenu.java
ialogDetailsView.java
rawableTexture.java
ilmStripView.java
LCanvas.java
LCanvasImpl.java
LPaint.java
LRoot.java
LRootView.java
LView.java
alleryEGLConfigChooser.java
con.java
nSelectedListener.java
aper.java
awTexture.java
crollBarView.java
electionManager.java
lotView.java
taticBackground.java
exture.java
cfa105d3934c4dfa14f02b693bfa97c8d17d56a9 17-Feb-2012 Chih-Chung Chang <chihchung@google.com> Reduce memory allocation and make small improvements.

Change-Id: Iac3f302454119de6363cd5cfb158619e739b0536
lbumSetSlidingWindow.java
lbumSlidingWindow.java
ialogDetailsView.java
LCanvas.java
LCanvasImpl.java
7d19f7f4281f232b9dceee4a5df390c03e2bd16b 17-Feb-2012 Chih-Chung Chang <chihchung@google.com> Cache animation time value to reduce work and synchronize animation.

Change-Id: I00081bc6037c01dafc56cf017dcc1da448c1d106
daptiveBackground.java
nimationTime.java
ropView.java
dgeEffect.java
LCanvas.java
LCanvasImpl.java
LRootView.java
LView.java
rogressSpinner.java
lideshowView.java
lotView.java
ff951a85c3c9015ef7ccd8902e69ce88360a0cb8 16-Feb-2012 Chih-Chung Chang <chihchung@google.com> Change from fillRect to clearBuffer for pure black background.

Change-Id: Ie3da19b377f3e7926ab37c5936ce48cbb3227f92
taticBackground.java
3950038a697470bb8b7cd6798716aecd8285eb00 16-Feb-2012 Chih-Chung Chang <chihchung@google.com> Simplify the reference from textures to GLCanvas.

Change-Id: Ia64e60ec4b920b707148f7c2b9373ce484a52d9f
asicTexture.java
LRootView.java
inePatchTexture.java
awTexture.java
174cac8f92029fc2829c94f274e70793ae948931 16-Feb-2012 Chih-Chung Chang <chihchung@google.com> Make GLCanvas a bit faster.

(1) make a faster version of translate(x, y).
(2) make mapPoints() faster.
(3) avoid calling canvas.rotate() when it is not needed.

Change-Id: I364e2aa3fc9ee81c43f42f3af8b2d30a1241b482
LCanvas.java
LCanvasImpl.java
LView.java
hotoView.java
rogressSpinner.java
lideshowView.java
lotView.java
ileImageView.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
bstractDisplayItem.java
lbumSetSlidingWindow.java
isplayItem.java
inePatchTexture.java
hotoView.java
ositionProvider.java
ositionRepository.java
ileImageView.java
eeda756e6efb58710916d614a4c79437df25e380 14-Feb-2012 Chih-Chung Chang <chihchung@google.com> Merge "Add profiling tools."
a431626bba8c6441fe0ee007e9d950b47f06ad96 14-Feb-2012 Yuli Huang <yuli@google.com> Merge "Fix b/5948042: Incorrect scrolling position after deleting pictures."
3d238a7a19b1010578709c63f86e12b2bce0e4fc 03-Feb-2012 Chih-Chung Chang <chihchung@google.com> Add profiling tools.

Change-Id: Ieab118ededaab5ef46408fac6fdb66b9fff4900e
LRootView.java
189e21a31f1c520b2802f734a53a37e5f3b455f4 13-Feb-2012 Yuli Huang <yuli@google.com> Fix b/5948042: Incorrect scrolling position after deleting pictures.

Scrolling position may not be updated correctly after deleting some
pictures.

Change-Id: I82de2cf1178ed1f97e48162a0e3bdf00a34d9bad
lotView.java
fd91413ab46e2960803a33652025aebe3e05f2d9 11-Feb-2012 Chih-Chung Chang <chihchung@google.com> Use FloatMath instead of Math.

Change-Id: I41661b231f6c034dbca6af26d5950eda6c5fc7da
lbumSetSlidingWindow.java
lbumSlidingWindow.java
ropView.java
ositionController.java
tringTexture.java
ileImageView.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
lbumSetSlidingWindow.java
lbumSlidingWindow.java
ropView.java
ositionController.java
tringTexture.java
ileImageView.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
lbumSetSlidingWindow.java
lbumSlidingWindow.java
ropView.java
ositionController.java
tringTexture.java
ileImageView.java
a7b78e224b1808895ea2c3d42ae385526dea12aa 07-Feb-2012 Yuli Huang <yuli@google.com> Fix b/5840847: Always show 'Loading...' for corrupt pictures.

Change-Id: I040f6e4090dad3e73b86062ddefd9bb0be581bf5
hotoView.java
39b453b3504e39c25fb0772fcb0ebb4216d36d52 17-Jan-2012 Chih-Chung Chang <chihchung@google.com> am a2b62468: am 8f568da3: Patch.

* commit 'a2b62468fcb23d80295fa25dba5551247204f34d':
Patch.
8f568da373699781beb11cfa46a46c5871288353 04-Jan-2012 Chih-Chung Chang <chihchung@google.com> Patch.

Change-Id: I62fd65461e8989a1d5cf6bc353dfc4b61a2108c8
lingScroller.java
ositionController.java
dd96bde27b4961e36059ede00060ae8a91096e81 18-Nov-2011 Wei Huang <weih@google.com> am 71a296c2: Merge "Make sure startAnimation won\'t be called after onPause." into ics-mr1

* commit '71a296c27389fefa9361adada41715ae4623af32':
Make sure startAnimation won't be called after onPause.
8bc5bebba780ca4a322b466b06fc909331697cf4 17-Nov-2011 Owen Lin <owenlin@google.com> Make sure startAnimation won't be called after onPause.

Change-Id: I6c5238394b2ad64e22fbcb250ecd1534da7e8d03
fix: 5629252
lotView.java
ebcdca0c0d2a98705600f5bcc736d64e96a906e7 07-Nov-2011 Chih-Chung Chang <chihchung@google.com> am d6985f9b: Fix 5457600: In UriImage, read exif to determine orientation.

* commit 'd6985f9ba58c11c29760f28be07ebd229a9b7a39':
Fix 5457600: In UriImage, read exif to determine orientation.
d6985f9ba58c11c29760f28be07ebd229a9b7a39 24-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5457600: In UriImage, read exif to determine orientation.

Change-Id: Iacc5c52747a4ed4dd8f6cab48ce784aff907525b
bstractDisplayItem.java
9c6cc3247c5d22d70c716ac5627f0d53222779fa 03-Nov-2011 Chih-Chung Chang <chihchung@google.com> am cc2f8c4e: Merge "Fix 5543077: Gallery UI tweaks." into ics-mr1

* commit 'cc2f8c4e24a9cd8fcf99e960f0148a57128b6133':
Fix 5543077: Gallery UI tweaks.
cc2f8c4e24a9cd8fcf99e960f0148a57128b6133 03-Nov-2011 Chih-Chung Chang <chihchung@google.com> Merge "Fix 5543077: Gallery UI tweaks." into ics-mr1
acfc53ba3422e1c78e3c78c47b3fe94681126037 03-Nov-2011 Chih-Chung Chang <chihchung@google.com> am 1a9b69fb: Merge "3252698: Make drawing target 60fps." into ics-mr1

* commit '1a9b69fbc17263e00aa138dde0c52b37fab6766b':
3252698: Make drawing target 60fps.
47c476d3102e15ec4c8307d424adf6c54982d5f3 03-Nov-2011 Chih-Chung Chang <chihchung@google.com> Fix 5543077: Gallery UI tweaks.

Change-Id: I0b85b37ba851628acd0853e4de0985b494606487
anageCacheDrawer.java
6849ca0eb9c29c7e57c77bfede6363cbdfbea892 02-Nov-2011 Chih-Chung Chang <chihchung@google.com> 3252698: Make drawing target 60fps.

Change-Id: I5dbff93713422e49378b8e215cac8b7f749ef38a
LRootView.java
ed4f65b58d6214e6fe552c027a8a702196c20327 02-Nov-2011 Chih-Chung Chang <chihchung@google.com> am 6fb1ddf5: Merge "Fix 5533861: Correct the thumbnail area hit testing calculation." into ics-mr1

* commit '6fb1ddf56809a3eedfc36cb4c2ea56e0010bbaba':
Fix 5533861: Correct the thumbnail area hit testing calculation.
003328e9d121b31fec76e3599300931bb356e1bd 31-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5533861: Correct the thumbnail area hit testing calculation.

Change-Id: I3a9229497c955628cb49c42c0ee02c41eaadd705
lotView.java
80d8fe095a0c5c5a8d0690752e1989ebfa7ecbb9 25-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 4083882: When scrolling repeatedly, the Gallery jumps.

Change-Id: I1d69330c54d94e3f8917fa8e502cb5c244628a15
crollerHelper.java
e2c46afe6fb2ae2424f8440fc1af374b894a91a5 19-Oct-2011 Wei Huang <weih@google.com> am 6172a060: Merge "Fix a IllegalArgumentException in Gallery 0 not in (0, 0)" into ics-mr0

* commit '6172a060689e424ad089594abd5ef1761f6f2ed3':
Fix a IllegalArgumentException in Gallery 0 not in (0, 0)
6172a060689e424ad089594abd5ef1761f6f2ed3 19-Oct-2011 Wei Huang <weih@google.com> Merge "Fix a IllegalArgumentException in Gallery 0 not in (0, 0)" into ics-mr0
7414809287319140eca0bb89e691141f198eb171 18-Oct-2011 Wei Huang <weih@google.com> am 40ac84e6: Merge "Fix NPE while flipping through pictures." into ics-mr0

* commit '40ac84e663e89a25540751075db1ff597124de66':
Fix NPE while flipping through pictures.
dd46fe623b16ba14c70a539b7599cc75c7799612 18-Oct-2011 Owen Lin <owenlin@google.com> Fix a IllegalArgumentException in Gallery 0 not in (0, 0)

fix: 5379253

We add a hack to prevent flush out cached data. But the hack will leave
the content window in an invalid values.

Change-Id: I3ed1527b9ee9023b07ca44cafc27510ef9f08d59
lbumSetSlidingWindow.java
lbumSetView.java
lbumSlidingWindow.java
lbumView.java
1b2cfc142830875991dd190f163ad14af66d9e11 18-Oct-2011 Owen Lin <owenlin@google.com> Fix NPE while flipping through pictures.

Add a DECODE_FAIL state to Tile's lifecycle.

fix: 5376092

Change-Id: I26ff946d5435f12a6ee84c80f07255cf8327ef32
ileImageView.java
ileImageViewAdapter.java
9eaa4fc0a3d5a60e46016269339ecffc8ac320d3 13-Oct-2011 Chih-Chung Chang <chihchung@google.com> am 532d93ca: Fix 5254974: Add EdgeEffect for PhotoView.

* commit '532d93caddc91a7aa33ca113adbc0b8255d498eb':
Fix 5254974: Add EdgeEffect for PhotoView.
532d93caddc91a7aa33ca113adbc0b8255d498eb 12-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5254974: Add EdgeEffect for PhotoView.

Change-Id: Ib9ea8fff14a932e8ec25c3f272fe0539776bb062
dgeEffect.java
dgeView.java
ilmStripView.java
lingScroller.java
LCanvasImpl.java
hotoView.java
ositionController.java
1de36a558a9ccb5ce798a9a0adb68601ba6e1a08 13-Oct-2011 Ray Chen <raychen@google.com> Merge "Fix 5413911 Gallery app does not recognize that no files are selected for delete"
ccc57bf8ea5daf90ddcab779fb80ff4b005f5d92 07-Oct-2011 Ray Chen <raychen@google.com> Merge "Fix 5343229 Location displayed as co-ordinates in details of picture captured from camera"
ce6c184be522a99661c5279a403a1f1f3dfcb8f0 07-Oct-2011 Ray Chen <raychen@google.com> Merge "Fix 5250813 Use new standardized no account screen on first launch"
0c1f2c80818a0326fa55e6f709b49584ceab60b1 05-Oct-2011 Ray Chen <raychen@google.com> Fix 5413911 Gallery app does not recognize that no files are selected for delete

Change-Id: I90efb3d7676a0810025dd37890c1251725a48223
ctionModeHandler.java
enuExecutor.java
b5bc8833b142985652a0438ae7d64ff5477b590e 04-Oct-2011 Ray Chen <raychen@google.com> Fix 5343229 Location displayed as co-ordinates in details of picture captured from camera

Change-Id: I223b69a3e10fe85a4622cf33110414cd14624f36
etailsAddressResolver.java
ialogDetailsView.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
lbumSetSlidingWindow.java
lbumSetView.java
lotView.java
b3aab90bb37aa9cc60be32e05678ee55d6575ee8 03-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5319007: Add fling to PhotoView.

Change-Id: Iacda65fbe1fcb3ad245ad99e0b062606ca6792b9
lingScroller.java
hotoView.java
ositionController.java
676170e619ad59ea97d04e0edcd62b1500304845 30-Sep-2011 Chih-Chung Chang <chihchung@google.com> Simplify some calculation and add more comments.

Change-Id: I0fcb2e48ba88dc957c5454de09059a265c3dbec1
hotoView.java
ositionController.java
a29127be09f74782dee7d6c18cf6dd50728652aa 30-Sep-2011 Evan Millar <emillar@google.com> Various UI fixes in Gallery

-New assets for grid and strip selection borders.
-Fix spacing in details dialog.
-New scrollbar asset in the strip view.
-Deleted unused ScrollView.java and GlDetailsView.java

bug:5327238
Change-Id: I147b8f8069f42e345110f7ae86c47d331551f089
etailsHelper.java
ialogDetailsView.java
LDetailsView.java
crollBarView.java
crollView.java
tripDrawer.java
6c1f01e21406a05dc7d3258001aa901bd8628a79 29-Sep-2011 Chih-Chung Chang <chihchung@google.com> Small UI tweak: only show fade-in animation when the bitmap
has not been available for rendering before.

Change-Id: I57df7911c5afa7aa2eec910d0e21679ed978ddad
lbumSetSlidingWindow.java
lbumSlidingWindow.java
1dee1c625e02138c3f230d951aed7feb6c924080 27-Sep-2011 Michael Jurka <mikejurka@google.com> Change gallery crop interface to be consistent with widget resizing

- Always show the resize controls when you're not touching the UI
- Change the resize controls to the holo style

Change-Id: Ia32235d6d82196a24b26fc78b9e9e1e3fb1f5250
ropView.java
2f5b778e9a5814084e1d5ff191fd02b0149ef568 28-Sep-2011 Chih-Chung Chang <chihchung@google.com> Merge "Fix 5367072: Add thumbnail fade-in animation."
da071d27a1435cce080b5c609d0d833555e5a175 27-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5367072: Add thumbnail fade-in animation.

Change-Id: I1101721c703d6dcb98f11178d54d65446f74ce06
lbumSetSlidingWindow.java
lbumSlidingWindow.java
isplayItem.java
adeInTexture.java
ridDrawer.java
ighlightDrawer.java
conDrawer.java
anageCacheDrawer.java
electionDrawer.java
lotView.java
tripDrawer.java
exture.java
31fa619bc23f75cd0f2999d4c9a37080ba1b87da 28-Sep-2011 Ray Chen <raychen@google.com> Merge "Fix 5341761 gallery vibrate on confirm delete"
1f4e6d14bba7290ea0268fbde28ffc664d4f7004 27-Sep-2011 Ray Chen <raychen@google.com> Fix 5341761 gallery vibrate on confirm delete

Change-Id: I819855f28246c91324ea86ab9e0ac1ec1c19783c
electionManager.java
d4a046c2e1d6aece78a9a503d22eb5aca2243e33 27-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5299746: Update panorama thumbnail overlay.

Change-Id: Ide3e592ad5f697acc6b2ebc2a092044803b82d7b
conDrawer.java
ec4125492f17130f65e49160a17bd437e01128a7 26-Sep-2011 Chih-Chung Chang <chihchung@google.com> Move out PositionController from PhotoView.

Change-Id: Id1088ffbd67ff5e986fdf16f70ba24f1537d10ab
hotoView.java
ositionController.java
77dcf07756dcf918c56afb0a8f7605577a7ce8e0 26-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5223982: Add animation when scrolling hits the edge.

Change-Id: I3c5191af3fe44ba835ae9b22755613a933065bcd
aper.java
crollerHelper.java
lotView.java
1a088db165c138f57d9445ca0b7e50fe90d3ad1d 22-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5223982: Adding one pixel transparent border around the texture.

This avoids the jigged edge around the thumbnails when they are rotated.

Change-Id: Ib2c5a75d1aa69a2f024e003a45111a8af4537f67
lbumSetSlidingWindow.java
lbumSlidingWindow.java
asicTexture.java
itmapTexture.java
LCanvasImpl.java
ridDrawer.java
ighlightDrawer.java
conDrawer.java
lotView.java
ploadedTexture.java
fafa06467fd79a1cf525b861ae0372db0b85bf09 21-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5299746: Tweak layout and icons

Change-Id: I36d050fb2459ca559b74be1112b4ac6a8566dc1e
anageCacheDrawer.java
bc2154199aee16762e3758ad0cfed685323d9a9f 19-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5299746: New UI layout, part 2.

- Replace various icons and add xhdpi/sw600dp-mdpi versions of them.
- When user press on the thumbnails, show a color overlay on it.
- For a wide (w/h > 2) picture, add panorama overlay on it.
- Align photo count label position when there is no icon for it.
- Adjust offline page layout.

Change-Id: I327d25806e99843bfa05d3ca0e9be5a8f9375595
lbumSetSlidingWindow.java
lbumSetView.java
lbumSlidingWindow.java
ilmStripView.java
ridDrawer.java
ighlightDrawer.java
conDrawer.java
anageCacheDrawer.java
electionDrawer.java
electionManager.java
lotView.java
tripDrawer.java
924a510c32087410cd8e922a915c0486feb6790d 19-Sep-2011 Ray Chen <raychen@google.com> Fix 5329642 Gallery crashes when viewing Details on certain photos

AddressResolvingListener (mAdapter) is not set until constructor returns, so NPE is thrown
if the resolving happens really fast. This CL uses 'this' instead of mAdapter.

Change-Id: Ifce0ea92a3eb5c794a73cf0e89a236ff3d948c18
ialogDetailsView.java
9b54e8c645d14748b7dd75e25b4db9e97e3415a9 18-Sep-2011 Ray Chen <raychen@google.com> Fix 5331012 [UI] No dropdown label when entering multi-select modes via menu > Select item(s) / group(s) / album(s)

Change-Id: Ie46432dd136447942011f3565ab7a6406c461887
ctionModeHandler.java
e7117abd9e9b3d5d9616c5387c4ad6402d4a1a58 16-Sep-2011 Chih-Chung Chang <chihchung@google.com> Merge "New UI for Gallery."
9201679ed1c485767f2e334aa618bd733024af03 14-Sep-2011 Chih-Chung Chang <chihchung@google.com> New UI for Gallery.

Change-Id: I5f243c00ebac55a9b333a9e13d0cc9c371a85005
lbumSetSlidingWindow.java
lbumSetView.java
lbumSlidingWindow.java
lbumView.java
isplayItem.java
ilmStripView.java
LDetailsView.java
ridDrawer.java
ighlightDrawer.java
conDrawer.java
anageCacheDrawer.java
ultiLineTexture.java
electionDrawer.java
lotView.java
tringTexture.java
tripDrawer.java
deff258ea4e5723b351739418919251ae1048e46 14-Sep-2011 Ray Chen <raychen@google.com> Fix 5290260 Unable to rotate left or right to album from Gallery

Separate menu operation and sharing options to different methods so
execution side is consistent with menu options.

Change-Id: Ia0105b333035051e33e9563fb2186cf1a29bc225
ctionModeHandler.java
d3ec7831835a9f656ff72b05a5b3bc01a8c56a4a 14-Sep-2011 Ray Chen <raychen@google.com> Merge "Fix 5288270 PTP camera gallery launch, prompts the user to "select all" instead if "Deselect all""
e3c968f892585490b938ea2bcef81f8dca4a81f8 10-Sep-2011 Ray Chen <raychen@google.com> Fix 5288270 PTP camera gallery launch, prompts the user to "select all" instead if "Deselect all"

Change-Id: I80bcb347d3d2384e3fd18d2692ab459e0d39e86f
ctionModeHandler.java
electionManager.java
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
acheBarView.java
acheStorageUsageInfo.java
abel.java
rogressBar.java
extButton.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
ilmStripView.java
hotoView.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
lbumSlidingWindow.java
ilmStripView.java
LView.java
b2b451802fca3d81aaaa68b68c71e928015bbe34 31-Aug-2011 Ray Chen <raychen@google.com> Fix a few monkey issues: 5157713 and 5157712
Add debugging message for 5192628.

Change-Id: I257cabf1a93be256ed84aeaf3c9a871ecc5b1171
enuExecutor.java
ileImageView.java
8da5fdfe8f8d15aa688e504afd3ede2555de8bde 29-Aug-2011 Ray Chen <raychen@google.com> Fix 4975579 PTP: Unable to load the thumbnails while connected to camera

There's a deadlock in threadpool. The fix has been verified.

Change-Id: I000527f55fc2a3777bd4bb06817a9967b2f50488
ctionModeHandler.java
a21a6b302dde029246d510edcb2d62ae3c645ead 27-Aug-2011 Owen Lin <owenlin@google.com> Merge "Fix: 5217165, cannot edit downloaded image"
1801ef094a8afe7973dc4ec877cc51262fd1544a 26-Aug-2011 Owen Lin <owenlin@google.com> Fix: 5217165, cannot edit downloaded image

The contentUri of the download image is "file:///xxx". Thus, it cannot get the correct
file type. So, we pass the mimetype in the intent to fix this issue.

Change-Id: I49b4b96472eb6a1561fbada95190c829728c037e
enuExecutor.java
a4f0526dc8d993fb914d0e6505e22a1f30ad0e14 26-Aug-2011 Ray Chen <raychen@google.com> Fix 5133608 [UI] Details should be displayed as a system dialog in phone UI

We need this to reset the grid drawer.

Change-Id: Iead6568db1903d7e722f0e8154388ccd8f1aee67
ialogDetailsView.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
etailsAddressResolver.java
etailsHelper.java
etailsWindow.java
ialogDetailsView.java
LDetailsView.java
crollView.java
d6f517849bc63338ce2ab2c51c9fb7a3e167b916 24-Aug-2011 Ray Chen <raychen@google.com> Fix 5205456 After sharing multiple images, the selection should be cleared

Change-Id: I9fd12d371269197e1e05a6c49dae2b9a81ae4ca0
ctionModeHandler.java
666f131bda5fbb02a07d54cfb0282e1d224d8f19 23-Aug-2011 Owen Lin <owenlin@google.com> Merge "Fix unknown type for GL issue."
c060a99d0d0f6a0bbcf3cd6bbc6ee9d91e15814d 19-Aug-2011 Owen Lin <owenlin@google.com> Fix unknown type for GL issue.

fix: 5171449

Change-Id: Ib62e3237584144e94be6be773c292002bea5d21c
ileImageView.java
376be105e4396612a28c8911ce98d823a328d407 19-Aug-2011 Ray Chen <raychen@google.com> Fix 5179285 "Show on Map" intent for geotagged images mis-formatted in French

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

fix: 5176434

Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c
bstractDisplayItem.java
ctionModeHandler.java
daptiveBackground.java
lbumSetSlidingWindow.java
lbumSetView.java
lbumSlidingWindow.java
lbumView.java
asicTexture.java
itmapTexture.java
itmapTileProvider.java
oxBlurFilter.java
acheBarView.java
anvasTexture.java
olorTexture.java
onfig.java
ropView.java
ustomMenu.java
etailsWindow.java
isplayItem.java
ownUpDetector.java
rawableTexture.java
ilmStripView.java
LCanvas.java
LCanvasImpl.java
LPaint.java
LRoot.java
LRootView.java
LView.java
alleryEGLConfigChooser.java
ridDrawer.java
ighlightDrawer.java
con.java
conDrawer.java
mportCompleteListener.java
abel.java
og.java
anageCacheDrawer.java
easureHelper.java
enuExecutor.java
ultiLineTexture.java
inePatchChunk.java
inePatchTexture.java
nSelectedListener.java
aper.java
hotoView.java
ositionProvider.java
ositionRepository.java
rogressBar.java
rogressSpinner.java
awTexture.java
esourceTexture.java
crollBarView.java
crollView.java
crollerHelper.java
electionDrawer.java
electionManager.java
lideshowView.java
lotView.java
taticBackground.java
tringTexture.java
tripDrawer.java
ynchronizedHandler.java
extButton.java
exture.java
ileImageView.java
ileImageViewAdapter.java
ploadedTexture.java
serInteractionListener.java