History log of /packages/apps/Camera/src/com/android/camera/Thumbnail.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ed19156e705efb982b351653a3ea9b15f5a08df7 14-Oct-2012 Wu-cheng Li <wuchengli@google.com> Remove old camera classes and xml files.

bug:7201108

Change-Id: I80ac607bed5bbc4a05c13b871017a4a54e76767e
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
b2838c064ed33d8abd2e6dc7ea38659a3bb686f9 26-Jun-2012 Chih-Chung Chang <chihchung@google.com> Update thumbnail if a picture is deleted in background.

Bug: 6712751
Change-Id: Ie6d7089ef8657c6501fe377594ef84c519840a96
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
aef5310d25537494679f9ec6b9d7a1a9cb60887d 22-Feb-2012 Wu-cheng Li <wuchengli@google.com> Save thumbnail in a background thread.

This fixes a strict mode violation. Exiting camera will also
be faster.

bug:5954967

Change-Id: I8dcb5d1bebac71fa9fe930bd0572fa0862d43a66
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
c24a2a83df9b54297995c5270d015bb7fdd85fab 15-Feb-2012 Wu-cheng Li <wuchengli@google.com> Load the thumbnail in a background thread.

The camera app should not block the UI thread to load the last thumbnail.

bug:6012208

Change-Id: Ic2e99806d51e9c1cd5b2c6d32bc5eae4a4de508c
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
1859aaff81561d7bf0b28f6164839731f886c15d 07-Feb-2012 Angus Kong <shkong@google.com> Prevent unnecessary initialization of thumbnail.

Since all 3 modes (still camera, video camera, and panorama) use the same thumbnail, one static
object for passing the last generated thumbnail is more efficient. This change reduces the
initialization time by around 180 milliseconds when changing mode within camera app.
The loading of thumbnail from file also checks the Uri validity first before decoding the whole
bitmap.

bug:6008670

Change-Id: Iee2c6089b5a53fe2d4b3c8486bee1153f29a3fb3
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
a4a767a10e5e3476b955e0e0f0a53d39a04b4d8a 05-Jan-2012 Angus Kong <shkong@google.com> Allow saving panorama after the activity is paused.

bug: 5541182
Change-Id: Iabef1b3bfa93af97071c565a04f9a871c234661c
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
eb47ed18eb3eec902d1ce18d20530e296bd83d9e 24-Oct-2011 Wu-cheng Li <wuchengli@google.com> Fix video thumbnail is not displayed when intent passes the fd.

bug:5494625
Change-Id: I2bc482c05b9ca47bb566e351746a6e4dccdd6111
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
1743de666ba52fd8a32babb36de01c7e3b56c2a7 23-Sep-2011 Gilles-Arnaud Bleu-Laine <gilles@ti.com> Prevent re-compression of thumbnail upon closing camera

Thumbnail is compressed to JPEG at 90% quality every time the application is
closed. This behavior causes the degrading issue that the quality of thumbnail
is getting worse.
Adding a new flag to ensure thumbnail is compressed and
stored only when it is newly generated.

bug:5371985

Change-Id: I90cedeebf2d4c5dfc25e6524529f7f1e5a6f63fc
Signed-off-by: Gilles-Arnaud Bleu-Laine <gilles@ti.com>
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
382b51fa8f512d7f5d5163715eeb85bbfd0a02c7 12-Sep-2011 Wu-cheng Li <wuchengli@google.com> The last thumbnail can be an image or video.

Query the content resolver with the last image and the last
video. Show the thumbnail of the one that has the latest
dateTaken.

bug:5187868

Change-Id: I51ee4ece8f33aaec46913aad9b2427b43c31c1bb
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
da7b4ed9303499c4449c7069461db42ff37e3e3f 07-Sep-2011 Wu-cheng Li <wuchengli@google.com> Use the same thumbnail in camera and camcorder.

bug:5187868

Change-Id: I47aa460db3005ed494a2b760d31e8c17d896ac85
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
7648319f0416b86ae13b97eeba0466581ace1a48 29-Aug-2011 Wu-cheng Li <wuchengli@google.com> Increase the resolution of the thumbnail.

The share popup gets bigger. The resolution of the thumbnail
should be increased.
This also fixes OOM in panorama. It should use the width to
calculate the resolution, not height.

bug:5157438
bug:5220505

Change-Id: Ib7b6600469e94e38bd684c43b07584ce61acfcca
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
a907c122ccec649c6cedf3a45b1c426a5fca932e 21-Aug-2011 Angus Kong <shkong@google.com> Add thumbnail and share popup for the last result.

bug:5141665

Change-Id: Idc44d33d09c8d4a30fdcef66de2d6754daf1ea82
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
423a0a07d4dceea081c6f28acdbbcdbce4fe5785 29-Jul-2011 repo sync <cywang@google.com> Fix the NPE issue.

bug:5093236

I did not find the root cause of the NPE, however, let's try to get rid
of this issue by extra check.

Change-Id: Id37dda556e9b0ad8569b7371f9ebda8ac34561e3
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
631191d322e0ae0fb3d5369e581cd8fd787c3b04 15-Jun-2011 Wu-cheng Li <wuchengli@google.com> Change the thumbnail folder to internal storage.

The app did not check if .thumbnail folder is created because
it used to be created by gallery a long time ago. Thumbnails
would fail to be saved if .thumbnail did not exist.

bug:4483083
Change-Id: I03c345f35ab1880878457d2537bbff18c175899c
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
1c4edcb4f6c50997b534ac83712cc4c49531a5cb 26-May-2011 Wu-cheng Li <wuchengli@google.com> Print video name for debugging.

Sometimes stagefright crashes at AVCDecoder.cpp in monkey
test. Print the filename so we can get the file.

bug:4109304

Change-Id: I4d248c5602f3326c014ad37a4270d0e61eb53fc6
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
1c24f5161cfc6a78e45da5f564626d06f6278f7c 17-May-2011 Wu-cheng Li <wuchengli@google.com> Show review image before share.

bug:4391419

Change-Id: Id357539bfe36eb3a30742dc4f8ca267ff53ff8b7
/packages/apps/Camera/src/com/android/camera/Thumbnail.java
8ab2b624d51b3b8254ece98c46a7e22a6fb5d4aa 13-May-2011 Wu-cheng Li <wuchengli@google.com> Refactor RotateImageView and thumbnail.

Change-Id: Ic435b7cd97ba775ec8f4b8342a1d4d25e2a5120c
/packages/apps/Camera/src/com/android/camera/Thumbnail.java