History log of /packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.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/TileImageView.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
6dc3866ac10cc6bf38e73f098fe1988d1a6eecd4 04-Dec-2012 Your Name <jreck@google.com> Remove LongSpareArray + some cleanups

Change-Id: If5bb44ebca70bd735e426aeb3d9aac2d4bac646e
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
030f8dad6aefc42d0af39bc1b93f370937d3e2ab 11-Oct-2012 Owen Lin <owenlin@google.com> Fixes bugs in TiledTexture.

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

bug: 6399444

Change-Id: I57e756f8d1d84742bf82dd34c83baf8df89ae4cc
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
e29fc4a51b99f12f7fae13fae272858df2e1af36 24-Sep-2012 Owen Lin <owenlin@google.com> Upload screennails in tiles to prevent jank

bug: 6399444

Change-Id: Id2338db34d7f87fbabd7861f78b42f2a81d9794b
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
8c377351cfbc425f7eb6dbe94af0a96d71560a4b 04-Oct-2012 Pin Ting <pinting@google.com> Accelerate PNG image rendering.

Bug:7137662
Change-Id: I050a228a6c8031c6a2d068eb4ba1b39be86e9f4a
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
30aa92093126f00b46543ae3b5d1035a3270f240 27-Jun-2012 Owen Lin <owenlin@google.com> Don't reuse bitmaps in BitmapRegionDecoder before JB.

Change-Id: I8a2f520f98116af6861fa2cd1460e6f848bbb4e4
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
d0f79f64c0a7ec68ffcaa98992aae0af22a9cee1 20-Jun-2012 Owen Lin <owenlin@google.com> Move LongSparseArray into Gallery for unbundling.

Change-Id: Ifa0d06818a2d21bd8ddeabe808d792f39c31322f
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
c2c0b01fbbf243eee1a11c33ba6dd1ce918a9ce5 18-May-2012 Owen Lin <owenlin@google.com> Reuse bitmap to prevent GC in TiledImageView.

bug:5948093
Change-Id: Iad89c5809bde0de5409752330f607aab153dceba
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
f5ce6aeba448f418c99736465f7a02dacd7715bb 11-May-2012 Chih-Chung Chang <chihchung@google.com> Show gray tile for screennails not loaded yet.

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

Bug: 6412197
Change-Id: Idaae46c598035639907a85f726b763b80bd9572d
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
bd141b5a51c96f6fcaddfa547f0928ce69cf0755 26-Apr-2012 Chih-Chung Chang <chihchung@google.com> Support drawing in different orientation in Gallery.

Bug 6312994: Swipe UX: do not directly show the camera roll when camera starts
Bug 6313191: Swipe UX: Change swipe direction after the user rotated the device
Bug 6313192: Swiping UX: make Gallery display in rotated mode
Bug 6399447: Filmstrip: in Gallery, pressing Back from filmstrip doesn't perform the right animation
Bug 6399974: Filmstrip: when swiping from full-screen photo to filmstrip mode, camera view and the photo-roll don't align correctly
Bug 6400014: Swiping UX: in Camera portrait mode, tapping on the Thumbnail doesn't align camera view and the photo-roll correctly
Bug 6401075: Able to scroll through the gallery pics while capturing video.
Bug 6405087: Filmstrip does not change with orientation

Change-Id: I8c479d87800c63b7a95c199c0c1c3bc512d66d42
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.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/TileImageView.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/TileImageView.java
b29a27f475a2c449abdda8d4e03d30914feed8c6 22-Mar-2012 Chih-Chung Chang <chihchung@google.com> Use SurfaceTexture to show Camera preview.

Change-Id: I8bf63dfc5b969ecce51841378b093a650b6f91d8
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
cb4fb7c19f20405fb5e08513e6297dffce824118 21-Mar-2012 Chih-Chung Chang <chihchung@google.com> New effect in photo browsing.

Change-Id: I12ca70f56f5c874292a7a6f38f0518bbc855ed70
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
15b351a22d02e89d882fc9fe32b3f4c512080e0a 15-Mar-2012 Chih-Chung Chang <chihchung@google.com> Create a ScreenNail interface so we can add other types of screenails.
Add a new MediaItem type to contain a ScreenNail.

Change-Id: Ia303949f3013dd48ded204eaf9ec69a102b8503e
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
2b3ee0ea07246b859a5b75d8a6102a7cce7ec838 14-Mar-2012 Owen Lin <owenlin@google.com> Reorganize import for all files.

Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.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/TileImageView.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/TileImageView.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/TileImageView.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/TileImageView.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/TileImageView.java
c060a99d0d0f6a0bbcf3cd6bbc6ee9d91e15814d 19-Aug-2011 Owen Lin <owenlin@google.com> Fix unknown type for GL issue.

fix: 5171449

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