History log of /packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
a4eae1abb4f2547dfbda84301ee764ce35464881 11-Dec-2012 John Reck <jreck@google.com> GL packaging refactor

Change-Id: I1d7a95c4f0b91a5ba59030d57cf6865c11b497aa
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
b21b8e58a604f6c701245d84b141b5b87663192b 23-Aug-2012 Owen Lin <owenlin@google.com> Uses ActionBarSherlock in Gallery

bug: 6927267

Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
df4763cf8752fb1babc7244fc2be33ed87d3b072 28-Jun-2012 Owen Lin <owenlin@google.com> Don't reuse bitmap before HoneyComb.

Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
3535d67239b1b1e4ee038f39dece64545b78f2ed 22-May-2012 Owen Lin <owenlin@google.com> Recycle textures when we don't need them.

bug: 6307447
Change-Id: Id0c1abab54e1fbb75364dffda9f1f72d6b39310b
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
de31f23381b248f3141242a8e4906023a949e898 09-May-2012 Owen Lin <owenlin@google.com> Make sure we won't upload recycled bitmap.

bug: 6465117
Change-Id: I97553ba9da0256cfedde3a5752224380b1a3ee6f
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
c3d8ac3b9504346dafc49e006b5f732dd1db21e8 06-Apr-2012 Owen Lin <owenlin@google.com> Refactor. Rename AlbumView to AlbumSlotRenderer.

Change-Id: I7d8d3586a910dac35975e4effa0d02528e2ccf98
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
d8fb81f601830385a2343d08ad5dd171e4c7bfe0 29-Mar-2012 Owen Lin <owenlin@google.com> Upload textures in background.

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

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

Change-Id: I2d3b7a1cfed17afcf6b7ee3e7bf1ca13ada8d9c3
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
4bb5912e85f6d1bd8a6b78d6d52b4c4da7aeb740 07-Mar-2012 Owen Lin <owenlin@google.com> Reuse bitmap for all micro thumb images to prevent GC.

Change-Id: I27d3002e5bb745a597f52962fe24744c8329441c
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
7b83fb8e3a8978b33a6b9bfc56d85fe2c1a9cf06 22-Feb-2012 Chih-Chung Chang <chihchung@google.com> Remove unused code.

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

Change-Id: Iac3f302454119de6363cd5cfb158619e739b0536
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
fd91413ab46e2960803a33652025aebe3e05f2d9 11-Feb-2012 Chih-Chung Chang <chihchung@google.com> Use FloatMath instead of Math.

Change-Id: I41661b231f6c034dbca6af26d5950eda6c5fc7da
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
3e7cfd9d20f9e9830dddac7288d4d12c8839fba0 11-Feb-2012 Chih-Chung Chang <chihchung@google.com> Revert "Use FloatMath instead of Math."

This reverts commit 6bb8b2eb8695c042798f0eb798032cd30d642a65
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
6bb8b2eb8695c042798f0eb798032cd30d642a65 11-Feb-2012 Chih-Chung Chang <chihchung@google.com> Use FloatMath instead of Math.

Change-Id: I26eb6a554f72c13ba2801ce35ef0cf2a1466a97b
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
da071d27a1435cce080b5c609d0d833555e5a175 27-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5367072: Add thumbnail fade-in animation.

Change-Id: I1101721c703d6dcb98f11178d54d65446f74ce06
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java
bc2154199aee16762e3758ad0cfed685323d9a9f 19-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5299746: New UI layout, part 2.

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

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

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

fix: 5144370

There is two componenet in the photo page. One is the large photo and the
other is the thumbnail strip. They idenpendently load their own data and images.

This change fixes several issues here:

1. Prevent sending to many jobs to ThreadPool and block others.
In a worse case, if the thumbnail strip send image requests first,
it may block the ThreadPool very long.
2. Improve the performance of extracting thumbnails from local files.
Now we try to extract the thumbnails from EXIF data first.

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

fix: 5176434

Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSlidingWindow.java