summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui/BitmapScreenNail.java
Commit message (Collapse)AuthorAgeFilesLines
* Fixes bugs in TiledTexture.Owen Lin2012-10-161-169/+11
| | | | | | | | | 1. Upload tiles in SinglePhotoDataAdapter 2. Rebuild the upload queue after the screen nails being recycled bug: 6399444 Change-Id: I57e756f8d1d84742bf82dd34c83baf8df89ae4cc
* Revert "Revert "Upload screennails in tiles to prevent jank""Owen Lin2012-10-111-30/+19
| | | | | | | This reverts commit ad7cf187bf0c11b05aa3eab7085148e0353f2af5. bug: 6399444 Change-Id: I94b286ab3e0db21c582cbfa9183489613da30edb
* Revert "Upload screennails in tiles to prevent jank"Bart Sears2012-10-061-19/+30
| | | | | | | | | | 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
* Set the thumbnail/screennail sizes based on screensizeBobby Georgescu2012-10-051-4/+8
| | | | | | | | | | | | | | 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
* Upload screennails in tiles to prevent jankOwen Lin2012-10-051-30/+19
| | | | | | bug: 6399444 Change-Id: Id2338db34d7f87fbabd7861f78b42f2a81d9794b
* Ongoing reskin of Gallery appBobby Georgescu2012-08-241-5/+13
| | | | | | | | | | 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
* Improvements in animation from album page to photo pageBobby Georgescu2012-08-211-1/+12
| | | | | | Bug: 6631829 Bug: 6979922 Change-Id: I99fd330f3ec8bf363f8602a2f893167ca2a9c71b
* Code clean up.Ahbong Chang2012-07-301-0/+1
| | | | | | | | | Remove unused imports. Remove unused fields. Remove unnecessary cast. Add missing override annotations. Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
* Don't reuse bitmap before HoneyComb.Owen Lin2012-07-031-7/+9
| | | | Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
* Limit the size of a ScreenNail.Owen Lin2012-05-221-6/+15
| | | | | | | | | | | | | 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
* Show gray tile for screennails not loaded yet.Chih-Chung Chang2012-05-171-6/+114
| | | | | Bug: 6452217 Change-Id: Ied9c2e2c91f4ffe218a73ba1a123df92a2aab98a
* In filmstrip, show placeholders for pictures not loaded yet.Chih-Chung Chang2012-04-191-8/+1
| | | | Change-Id: I037f1f054da4a3800045d5b89724341ac22272a5
* Add thumb pool the cache Bitmap used for thumbnails.Chih-Chung Chang2012-04-181-2/+8
| | | | Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
* Add new filmstrip mode for PhotoView.Chih-Chung Chang2012-04-101-0/+1
| | | | Change-Id: I9da9896303ced8d63a3557d5e6e9bc06fb366cf5
* Use SurfaceTexture to show Camera preview.Chih-Chung Chang2012-04-021-5/+5
| | | | Change-Id: I8bf63dfc5b969ecce51841378b093a650b6f91d8
* Create a ScreenNail interface so we can add other types of screenails.Chih-Chung Chang2012-03-211-0/+84
Add a new MediaItem type to contain a ScreenNail. Change-Id: Ia303949f3013dd48ded204eaf9ec69a102b8503e