summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui/TileImageView.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix OOM in TileImageView.Owen Lin2012-08-291-5/+8
| | | | | | | | | | 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
* Don't reuse bitmaps in BitmapRegionDecoder before JB.Owen Lin2012-06-281-5/+8
| | | | Change-Id: I8a2f520f98116af6861fa2cd1460e6f848bbb4e4
* Move LongSparseArray into Gallery for unbundling.Owen Lin2012-06-201-1/+1
| | | | Change-Id: Ifa0d06818a2d21bd8ddeabe808d792f39c31322f
* Add a new state uploading to UploadedTexture.Owen Lin2012-05-221-4/+4
| | | | | | | | | | | | | 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
* Reuse bitmap to prevent GC in TiledImageView.Owen Lin2012-05-221-15/+34
| | | | | bug:5948093 Change-Id: Iad89c5809bde0de5409752330f607aab153dceba
* Show gray tile for screennails not loaded yet.Chih-Chung Chang2012-05-171-2/+9
| | | | | Bug: 6452217 Change-Id: Ied9c2e2c91f4ffe218a73ba1a123df92a2aab98a
* Put play video icon at the same place of the screennails.Chih-Chung Chang2012-05-071-10/+0
| | | | | Bug: 6412197 Change-Id: Idaae46c598035639907a85f726b763b80bd9572d
* Fix a issue that we are trying upload a recycled tile.Owen Lin2012-05-021-13/+13
| | | | | bug:5779992 Change-Id: I2503c87e9cea4e8b0ad5250b1508d06f44125779
* Support drawing in different orientation in Gallery.Chih-Chung Chang2012-04-301-2/+2
| | | | | | | | | | | | | 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
* Add thumb pool the cache Bitmap used for thumbnails.Chih-Chung Chang2012-04-181-12/+4
| | | | Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
* Upload textures in background.Owen Lin2012-04-051-1/+2
| | | | Change-Id: I365f7be9aaab793366884249cbb10e8b6f0ab0e6
* Use SurfaceTexture to show Camera preview.Chih-Chung Chang2012-04-021-3/+9
| | | | Change-Id: I8bf63dfc5b969ecce51841378b093a650b6f91d8
* New effect in photo browsing.Chih-Chung Chang2012-03-221-13/+76
| | | | Change-Id: I12ca70f56f5c874292a7a6f38f0518bbc855ed70
* Create a ScreenNail interface so we can add other types of screenails.Chih-Chung Chang2012-03-211-28/+21
| | | | | | Add a new MediaItem type to contain a ScreenNail. Change-Id: Ia303949f3013dd48ded204eaf9ec69a102b8503e
* Reorganize import for all files.Owen Lin2012-03-141-2/+0
| | | | Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
* Make GLCanvas a bit faster.Chih-Chung Chang2012-02-161-2/+2
| | | | | | | | (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
* Try to use less of "Long" to make the program faster.Chih-Chung Chang2012-02-161-14/+21
| | | | Change-Id: I6adb870a8f2bca97318d0fbb6f42388aef4c19c1
* Use FloatMath instead of Math.Chih-Chung Chang2012-02-111-4/+5
| | | | Change-Id: I41661b231f6c034dbca6af26d5950eda6c5fc7da
* Revert "Use FloatMath instead of Math."Chih-Chung Chang2012-02-101-5/+4
| | | This reverts commit 6bb8b2eb8695c042798f0eb798032cd30d642a65
* Use FloatMath instead of Math.Chih-Chung Chang2012-02-111-4/+5
| | | | Change-Id: I26eb6a554f72c13ba2801ce35ef0cf2a1466a97b
* Fix NPE while flipping through pictures.Owen Lin2011-10-181-10/+12
| | | | | | | | Add a DECODE_FAIL state to Tile's lifecycle. fix: 5376092 Change-Id: I26ff946d5435f12a6ee84c80f07255cf8327ef32
* Fix a few monkey issues: 5157713 and 5157712Ray Chen2011-09-021-1/+1
| | | | | | Add debugging message for 5192628. Change-Id: I257cabf1a93be256ed84aeaf3c9a871ecc5b1171
* Fix unknown type for GL issue.Owen Lin2011-08-191-2/+3
| | | | | | fix: 5171449 Change-Id: Ib62e3237584144e94be6be773c292002bea5d21c
* Initial code for Gallery2.Owen Lin2011-08-181-0/+693
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c