History log of /frameworks/opt/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dccd6d91ca82225395af470595e4ffb8734dac1a 26-Nov-2012 Mark Brophy <mbrophy@google.com> Support data URIs in photoviewer.

GoogleSearch needs to support data URLs, since GWS often provides
thumbnails in that way.

Change-Id: Ic981725ef052eb61f780aa3672b3cfbde721696b
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
3102e82e0187363d453f4bcde00e396ef5420a46 24-Oct-2012 Adam Copp <adamcopp@google.com> Remove unused imports and variables

Removes a couple of unused imports and an unused variable

Change-Id: Ie2b0109230a3393adde69a0744af5d0f262b5b8e
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
7aabd796bbcb149db9ac183c1d0aec09fccd42a4 05-Oct-2012 Adam Copp <adamcopp@google.com> Temporary fix for image viewer crash

This fixes a bug causing the app to crash when we can't open a stream to
a url when we download an image.

Bug: 7294701
Change-Id: Ifd0c62c3f5bb6a168e2e2932734fa448ffb9344c
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
237ded1a59b1fc148a3ffcf78d6f9d34af5c170c 26-Sep-2012 Paul Westbrook <pwestbro@google.com> resolved conflicts for merge of b3f0f056 to master

Change-Id: I5def1804466ff971ed5bc5afd2a2d68e135d20a2
9323b13fc9bc79ce38ce7c851a2aa894ab988ed0 20-Sep-2012 Paul Westbrook <pwestbro@google.com> Add Exif parser

Class to parse exif headers of images to detect orientation

Modify ImageUtils#decodeStream to parse the exif header and respect
orientation

Bug: 7087307

Change-Id: I93c3a69a50ae26d3fd4e96944439f87e9d511945
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
ae78bbd1c97e702147b29966903ca6e08ed3616f 13-Sep-2012 Adam Copp <adamcopp@google.com> Add option to permenantly show ProgressBar

In order to indicate to the user that more content is loading, the
provider can provide an image with the loading field set and null as it's
url. In this case, we will not try loading any image, and will just show the
ProgressBar.

Something like this is nessecary in Velvet, where we wish to load
infinite images.

Change-Id: Ib26412a579abdbe7fbd338b99ff39f4d1c13f806
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
f24e7099f9688518d705116c1b4279fc6279d3d6 30-Aug-2012 Mark Wei <markwei@google.com> resolved conflicts for merge of f688fc95 to master

Change-Id: Ib4ade547d76faa4a730b75ea691c1cf1f99888cd
0f7d1502f4f7c0b364e7644875a04fb0c90807ff 30-Aug-2012 Mark Wei <markwei@google.com> Fix NullPointerException when tapping attachment.

Bug: 7083179
Change-Id: I9955aeda9a0d2bb6d30ce9f7e7e3961cb47284e0
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
bd8b47b147f29f196f37d66ccb561d40414ab5b6 22-Aug-2012 Adam Copp <adamcopp@google.com> Add HTTP uri handling & fetch thumbnail first

If a http:// or https:// url is specified as the thumbnail uri or
regular uri for an image, we attempt to fetch it over the internet.

Also, changed the order of loading so that we always attempt to fetch
the thumbnail image before we fetch the regular image. This aids in the
http:// uri case, since it should take significantly less time to be
presented with a thumbnail than the full image.

Finally, finishes the photo viewer activity when the "top" button on the
action bar is pressed, unless a custom override has been added.

These 3 changes could be seperated into different patches if you would
like

Change-Id: Iddc8cc6bef3f9e66198dfb98eb2f7bd309023b3f
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
1f00d9d7c4beb007d491fc766f7a0c8fc4977a50 31-Jul-2012 The Android Open Source Project <initial-contribution@android.com> Recover changes from jb-mr1-dev

Change-Id: I64acaaedf5f6fd689c0bddcbf26d9eaa66a8f287
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
9418aa1ad5f48066e41b3b5405c6c03caf3653d9 30-Jul-2012 The Android Automerger <android-build@android.com> merge in jb-mr1-release history after reset to jb-mr1-dev
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
9db663e1e820c3445f57fe11d9a12e9c8777e704 27-Jul-2012 Andrew Sapperstein <asapperstein@google.com> Partial fix of 6890014.

No longer crashing. But the attachment is now
in a very weird state.

Change-Id: If688d9c19a81124cbd1ecd0266821800f76f3c74
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ImageUtils.java
8122882aaf14820bc2241605b2ab818ad358b9af 27-Jun-2012 Ying Wang <wangying@google.com> Import translations. DO NOT MERGE

Change-Id: Ib683da0aa64c2c63dfc672ea18b7417aded3ec5c
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ImageUtils.java