History log of /packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
82544b4564c079ece1a9065d19add36b2635bb8f 01-Apr-2010 Owen Lin <owenlin@google.com> Remove unused resources and code.

Change-Id: I394352f9da02d2585b2635e07c96bfa1c942d070
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
9a4c2cac83f50e29063d27605c9f8d9e676a6f22 06-Mar-2010 Chih-Chung Chang <chihchung@google.com> Remove unused code.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
8909442e0bde5cce301ae249ab658db22d36f093 06-Nov-2009 Owen Lin <owenlin@google.com> Remove some more unused code.

Remove unused memebers and parameters

Change-Id: I35ccef892bd711c078a45ddbd92b651f950ff864
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
35627500f00644aaae44c93f98f6a0cdeefe2d94 29-Sep-2009 Chih-Chung Chang <chihchung@google.com> Remove unused code.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
9f1480b2c27d744c816c71cb3c512d37bc48c524 28-Aug-2009 Ray Chen <raychen@google.com> Change Camera & Gallery code to use the new thumbnail APIs.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
b147ba2369a9fd4c47706ec6e2e5c95f6b3a4328 16-Sep-2009 Chih-Chung Chang <chihchung@google.com> Use the new exif interface API.

Change-Id: I2aba6e09601facc1db633c57a015ea73c3eacb31
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
d4271821a35c87769b004991793b1928c31b41bc 28-Aug-2009 Chih-Chung Chang <chihchung@google.com> Fix 2059728: NPE in BaseImageList.getCursor

Return an empty image list if the cursor is not available.

Change-Id: Ib9f0b23668da7b3c29d208bd46c020e268a0b7f2
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
8b6e3943d117bff959da088ce89146d47d79ddbe 27-Aug-2009 Chih-Chung Chang <chihchung@google.com> Remove unused code.

Change-Id: I15624339790bffb078238c5a5870779dc4aa1b78
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
522e836abc90bcb2d4e7a4ac37e269154d06c715 26-Aug-2009 Chih-Chung Chang <chihchung@google.com> Style fix.

Change-Id: I09ba86ee314e643415e41879c1d20ab1ede65a91
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
f5bf8ca5870fed38fe91e3e018ebc13cc1738364 25-Aug-2009 Chih-Chung Chang <chihchung@google.com> Create ImageListParam as a spec for creating image lists.
Also merge deactivate() and close().

Change-Id: Idc76eda25bfcefab949e46412dca366228b3f437
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
cce997c7726aa3881be7606d2ae3cc9a9b74beb8 17-Aug-2009 Chih-Chung Chang <chihchung@google.com> The DATE_TAKEN field is in milliseconds, but DATE_MODIFIED is in seconds.

We need to scale them before sorting.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
87f0707a1a021857245521c775cc10f0e2a36d18 13-Aug-2009 Chih-Chung Chang <chihchung@google.com> Fix 1860351: Gallery does not sort Camera photos by date.

For sorting, look at date_modified field if the datetaken field is null.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
3c21008c953cf6177f7771c176fa81d336e74ed8 12-Aug-2009 Wei-Ta Chen <weita@google.com> Fix http://b/issue?id=2048408.

(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.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
ce033a5871a0b678521411f9a3acaee2ab279178 27-Jul-2009 Chih-Chung Chang <chihchung@google.com> Fix http://b/1991523 by limiting the size of a bitmap when we decode a full image.

computeSampleSize() now accepts not only targetWidthOrHeight but also the size of a bitmap.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
2c28c55197bd37f1f199dd9884c4bfca7ea6ff0e 09-Jul-2009 Chih-Chung Chang <chihchung@google.com> Fix 1962656: Going to gallery when sd card is full causes a crash.

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).
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
a274cf1800a18e94653ee999f19c7d4844ad3d80 06-Jul-2009 repo sync <raychen@google.com> Move ExifInterface to android.media package.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
91acfc99279d5ece7ac9cb2d7a2980eb0d3b50da 06-Jul-2009 Chih-Chung Chang <chihchung@google.com> Style fix.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
9f7388e9a31cb7560ec3009989a73aac23e36688 03-Jul-2009 Chih-Chung Chang <chihchung@google.com> Add retry if the query fails. The query fails if the media
provider is killed.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
35f8af0ff228adfeec6bb40844d362f6dd62dab6 01-Jul-2009 Chih-Chung Chang <chihchung@google.com> Fix 1950477: Menu items for video review are incorrect.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
b0e1282810ec68fd7585beb9ab9afab9bcafe1bd 23-Jun-2009 Owen Lin <owenlin@google.com> Fix several issues with ImageList.

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".
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
832276d7aecb5917086890c8512a7fdf0f79b882 12-Jun-2009 Chih-Chung Chang <chihchung@google.com> Fix 1911405: Captured JPEG image size is only 512x384.

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).
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
5fea2317a4ab775c96467d6958b6ed2e1c3c1418 11-Jun-2009 repo sync <raychen@google.com> Fix issue 1906618.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
317fe84be91efd6789caba48d31a53320fbaa99d 06-Jun-2009 Owen Lin <owenlin@google.com> Add correct action icons to ViewImage for video
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
f271893766a8ade5eea73fc65831f0dd678e3705 04-Jun-2009 Owen Lin <owenlin@google.com> Pass image list from ImageGallery to ViewImage to support the uber type
image list.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
0f9c339253b0fabed60efd731869e68d18893837 29-May-2009 Owen Lin <owenlin@google.com> Make ImageList parcelable so that they can pass by intent.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
bbc2f2f15a865cf0330cd78a6ea67177c5863b3b 06-May-2009 Owen Lin <owenlin@google.com> Simplify the database code by keeping small data in memory.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
f6e6d2b5815106c406cdca52eaa75de7c5998be1 14-May-2009 Chih-Chung Chang <chihchung@google.com> Fix problems identified by findbugs fixit.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
dd42edfae98465a19aefba49f558e0b43ceca4c4 13-May-2009 Chih-Chung Chang <chihchung@google.com> Tweak to speed up Gallery.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
fd6da32fb470ed6159088d83d05c0e33c6bf4c1a 04-May-2009 Chih-Chung Chang <chihchung@google.com> Reduce ViewImage start up time.

On an sdcard with ~800 images, the start up time is reduced by about 1 sec.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
6b270508bdbc78a52a825c2d934465d99fb779f7 29-Apr-2009 Chih-Chung Chang <chihchung@google.com> Code clean up.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
42ed1cc74cd9616ca3141d97182060e1f71c116a 28-Apr-2009 Ray Chen <raychen@google.com> Disable 'acqureResourceLock' and 'releaseResourceLock' in BitmapManager.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
ff9922fb1a15f70ba34f35bc50c5b5ef52c174b2 27-Apr-2009 Chih-Chung Chang <chihchung@google.com> In Gallery, make visible thumbnails appear faster.

Put checkThumbnails and getBitmap to the same thread in ImageLoader,
and only do checkThumbnails when there are no getBitmap requests.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
bbc560b5216bbb2e3028020e426ce6a6e0e5df08 17-Apr-2009 Owen Lin <owenlin@google.com> Code cleanup. Try to remove some depercated usage of cursor.commitUpadtes()
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
3333a0c7f7df0156002e09bd7f5bd0d6a717cf93 16-Apr-2009 Chih-Chung Chang <chihchung@google.com> Remove remaining reference to ImageManager.instance().
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
10d42849356a2b2789591196965d09b425b07b40 16-Apr-2009 Chih-Chung Chang <chihchung@google.com> Decode to smaller size so mini-thumb generation is faster.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
0a475e11e2ceadbaa70308b52e06f4e6d9e56f12 16-Apr-2009 Chih-Chung Chang <chihchung@google.com> Code clean up.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
1e48aaec1c8bc82fac130698a7fbbba827abf2c7 15-Apr-2009 Chih-Chung Chang <chihchung@google.com> Code clean up.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
8b54dc65d26c58ed7f42475de79454cbcfd609fb 15-Apr-2009 Chih-Chung Chang <chihchung@google.com> Code clean up.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
c1c20e9ce386c1f660059acaede591d2d718995a 15-Apr-2009 Chih-Chung Chang <chihchung@google.com> Move makeBitmap to Util.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
2b82c4a17abfe926dc2942a6d1bf7982b006de6d 14-Apr-2009 Chih-Chung Chang <chihchung@google.com> Clean verbose logging messages.
Extract UriImage to a separate file.
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
937fc48b37fafe3ffc8f4b52bd9a171bbb4d3a37 14-Apr-2009 Owen Lin <> AI 146099: 1. Use ICancelable<T> to replace several different interfaces, such as IGetBooleanCancelable.
2. Remove some warnings.

Automated import of CL 146099
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
9d6fbf9660a0c3d289c539e0275272d31b0ef596 14-Apr-2009 Chih-Chung Chang <> AI 146085: Extract mini-thumb handling code to a separate class.

Automated import of CL 146085
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
019a6a29ca978e677b8bcad75b9ce3833672bc29 13-Apr-2009 Chih-Chung Chang <> AI 145868: Code clean up.

Automated import of CL 145868
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
73b7a3a18a2e4ab0302c60a486f244acebe64883 13-Apr-2009 Chih-Chung Chang <> AI 145823: Remove unused code.

Automated import of CL 145823
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
993105a927b1b67ce04cd56a597d3d6742e7c205 10-Apr-2009 Ray Chen <> AI 145696: Utilize BitmapManager to control bitmap related resources, making
decoding cancelable, thus reduce activities switch latency and gallery related ANR.
BUG=1692286

Automated import of CL 145696
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
885e55815c304efe199bc220fd8473c69ece1138 08-Apr-2009 Chih-Chung Chang <> AI 145045: Code clean up.

Automated import of CL 145045
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java
101d528d59f447847d5c6b7578642132c2b76f4f 04-Apr-2009 Owen Lin <> AI 144530: Refactor the huge codes in ImageManager. Extract member classes to top level.
Fix style issue.

Automated import of CL 144530
/packages/apps/Camera/src/com/android/camera/gallery/BaseImageList.java