History log of /packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.java
a4eae1abb4f2547dfbda84301ee764ce35464881 11-Dec-2012 John Reck <jreck@google.com> GL packaging refactor

Change-Id: I1d7a95c4f0b91a5ba59030d57cf6865c11b497aa
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.java
b8be1e0ad76b6abc0da7ead39f7a9811195d001e 17-Apr-2012 Chih-Chung Chang <chihchung@google.com> Add thumb pool the cache Bitmap used for thumbnails.

Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.java
8ef6c55bdad9a3e835ce56bdc98681434b4ac5b3 09-Apr-2012 Owen Lin <owenlin@google.com> Prevent album's label get flashing when content changed.

Change-Id: I1b00b308af740ccab143a073643729ca880770f4
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.java
31cac30e46a293f6d0901e22c6ab0d083cae7021 04-Apr-2012 Owen Lin <owenlin@google.com> Refactor. Merge SelectionDrawer with SlotRenderer.

Change-Id: Iaa50b2a78beb95fc83208a5f74cf612650cd8643
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.java
95018d10aa68ecbea7ebce434733341a642510de 15-Feb-2012 Chih-Chung Chang <chihchung@google.com> Try to use less of "Long" to make the program faster.

Change-Id: I6adb870a8f2bca97318d0fbb6f42388aef4c19c1
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.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/AlbumSetSlidingWindow.java