summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/gallery/BaseImageList.java
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: Remove BitmapManager, ImageManager, and gallery classes.Chia-chi Yeh2010-12-291-162/+0
| | | | | | | There are 1500 lines of code within 12 classes, which are now completely replaced by 250-line Storage class. Hooray! Change-Id: I9d0149cac18185972912f7b7a92f450929060274
* Remove unused resources and code.Owen Lin2010-04-071-6/+0
| | | | Change-Id: I394352f9da02d2585b2635e07c96bfa1c942d070
* Remove unused code.Chih-Chung Chang2010-03-051-74/+0
|
* Remove some more unused code.Owen Lin2009-11-101-1/+0
| | | | | | Remove unused memebers and parameters Change-Id: I35ccef892bd711c078a45ddbd92b651f950ff864
* Remove unused code.Chih-Chung Chang2009-09-281-7/+0
|
* Change Camera & Gallery code to use the new thumbnail APIs.Ray Chen2009-09-231-238/+0
|
* Use the new exif interface API.Chih-Chung Chang2009-09-161-1/+8
| | | | Change-Id: I2aba6e09601facc1db633c57a015ea73c3eacb31
* Fix 2059728: NPE in BaseImageList.getCursorChih-Chung Chang2009-08-281-17/+10
| | | | | | Return an empty image list if the cursor is not available. Change-Id: Ib9f0b23668da7b3c29d208bd46c020e268a0b7f2
* Remove unused code.Chih-Chung Chang2009-08-271-5/+0
| | | | Change-Id: I15624339790bffb078238c5a5870779dc4aa1b78
* Style fix.Chih-Chung Chang2009-08-261-1/+2
| | | | Change-Id: I09ba86ee314e643415e41879c1d20ab1ede65a91
* Create ImageListParam as a spec for creating image lists.Chih-Chung Chang2009-08-261-33/+8
| | | | | | Also merge deactivate() and close(). Change-Id: Idc76eda25bfcefab949e46412dca366228b3f437
* The DATE_TAKEN field is in milliseconds, but DATE_MODIFIED is in seconds.Chih-Chung Chang2009-08-171-1/+2
| | | | We need to scale them before sorting.
* Fix 1860351: Gallery does not sort Camera photos by date.Chih-Chung Chang2009-08-141-0/+23
| | | | For sorting, look at date_modified field if the datetaken field is null.
* Fix http://b/issue?id=2048408.Wei-Ta Chen2009-08-131-3/+4
| | | | | | (1) Set default maximum numbers of pixels for thumbails and mini thumbnails. (2) Enfore computeSampleSize() to return a sample size that is either power of 2 or multiple of 8.
* Fix http://b/1991523 by limiting the size of a bitmap when we decode a full ↵Chih-Chung Chang2009-07-271-6/+6
| | | | | | image. computeSampleSize() now accepts not only targetWidthOrHeight but also the size of a bitmap.
* Fix 1962656: Going to gallery when sd card is full causes a crash.Chih-Chung Chang2009-07-091-7/+16
| | | | | | | | Also simplify the thumbnail reading code. I think we don't need to check the thumbnail magic being id because all current thumbnail files should have random number and not id. (see bug 1240638 for date).
* Move ExifInterface to android.media package.repo sync2009-07-091-5/+2
|
* Style fix.Chih-Chung Chang2009-07-061-4/+4
|
* Add retry if the query fails. The query fails if the mediaChih-Chung Chang2009-07-031-0/+16
| | | | provider is killed.
* Fix 1950477: Menu items for video review are incorrect.Chih-Chung Chang2009-07-011-2/+2
|
* Fix several issues with ImageList.Owen Lin2009-06-241-0/+29
| | | | | | | | | | | | | | | | | One is bug 1933327 It seems to be timing issue. We assign the value of mAllImages in only "onCreate" and will set it to null in "onActivityResult". I modified the code so that it won't be null after "onCreate()". The other issue is the crop image won't . The reason is we don't clean up the cache when we reopen the cache. It won't work for ImageListUber for the original fix since "buildImageListFromUri" won't return ImageList of type ImageListUber. The final one is the "getImaegForUri", last time, I made a change but cause review fails in Camera. But, I need the check if the given uri is actually the same as the image list not just check the "id".
* Fix 1911405: Captured JPEG image size is only 512x384.Chih-Chung Chang2009-06-151-4/+6
| | | | | | The problem is the thumbnail is written to the same file as the original image. The bug is made visible by the new camera driver because the thumbnail in the jpeg file is not readable (I'll file another bug for that).
* Fix issue 1906618.repo sync2009-06-111-3/+0
|
* Add correct action icons to ViewImage for videoOwen Lin2009-06-081-2/+3
|
* Pass image list from ImageGallery to ViewImage to support the uber typeOwen Lin2009-06-031-3/+6
| | | | image list.
* Make ImageList parcelable so that they can pass by intent.Owen Lin2009-06-031-3/+31
|
* Simplify the database code by keeping small data in memory.Owen Lin2009-05-281-206/+100
|
* Fix problems identified by findbugs fixit.Chih-Chung Chang2009-05-151-3/+0
|
* Tweak to speed up Gallery.Chih-Chung Chang2009-05-141-8/+8
|
* Reduce ViewImage start up time.Chih-Chung Chang2009-05-041-10/+23
| | | | On an sdcard with ~800 images, the start up time is reduced by about 1 sec.
* Code clean up.Chih-Chung Chang2009-04-291-1/+0
|
* Disable 'acqureResourceLock' and 'releaseResourceLock' in BitmapManager.Ray Chen2009-04-281-72/+65
|
* In Gallery, make visible thumbnails appear faster.Chih-Chung Chang2009-04-281-29/+4
| | | | | Put checkThumbnails and getBitmap to the same thread in ImageLoader, and only do checkThumbnails when there are no getBitmap requests.
* Code cleanup. Try to remove some depercated usage of cursor.commitUpadtes()Owen Lin2009-04-171-17/+1
|
* Remove remaining reference to ImageManager.instance().Chih-Chung Chang2009-04-171-1/+1
|
* Decode to smaller size so mini-thumb generation is faster.Chih-Chung Chang2009-04-161-1/+1
|
* Code clean up.Chih-Chung Chang2009-04-161-12/+11
|
* Code clean up.Chih-Chung Chang2009-04-151-74/+18
|
* Code clean up.Chih-Chung Chang2009-04-151-11/+10
|
* Move makeBitmap to Util.Chih-Chung Chang2009-04-151-6/+4
|
* Clean verbose logging messages.Chih-Chung Chang2009-04-151-50/+14
| | | | Extract UriImage to a separate file.
* AI 146099: 1. Use ICancelable<T> to replace several different interfaces, ↵Owen Lin2009-04-141-4/+4
| | | | | | | | such as IGetBooleanCancelable. 2. Remove some warnings. Automated import of CL 146099
* AI 146085: Extract mini-thumb handling code to a separate class.Chih-Chung Chang2009-04-141-198/+18
| | | | Automated import of CL 146085
* AI 145868: Code clean up.Chih-Chung Chang2009-04-131-18/+15
| | | | Automated import of CL 145868
* AI 145823: Remove unused code.Chih-Chung Chang2009-04-121-11/+0
| | | | Automated import of CL 145823
* AI 145696: Utilize BitmapManager to control bitmap related resources, makingRay Chen2009-04-101-30/+9
| | | | | | | decoding cancelable, thus reduce activities switch latency and gallery related ANR. BUG=1692286 Automated import of CL 145696
* AI 145045: Code clean up.Chih-Chung Chang2009-04-081-4/+0
| | | | Automated import of CL 145045
* AI 144530: Refactor the huge codes in ImageManager. Extract member classes ↵Owen Lin2009-04-031-0/+870
to top level. Fix style issue. Automated import of CL 144530