History log of /frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5f0470b259c56dd5df171948d6efd4219a3a17f8 25-Oct-2012 Mark Wei <markwei@google.com> Fix for panorama icon not always showing up in photo viewer.

cherry-pick of https://googleplex-android-review.googlesource.com/#/c/246161/
Bug: 7392422
Change-Id: Ifff054c86366eb0b495a06ead9e0dc60123e90c4
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
939ce1b0bcd1ded7e1dc8c36eb89dcd4d891bd12 24-Oct-2012 Paul Westbrook <pwestbro@google.com> Restart loader on attachment cursor updates

cherry-pick of https://googleplex-android-review.googlesource.com/#/c/245483/
Bug: 7403076
Change-Id: I620403db9f7304e99ca4e9c0c58a439e277225d0
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
14a4df6f91f3563ab956ed1730bdbf4e6976e5cd 13-Oct-2012 Paul Westbrook <pwestbro@google.com> Load preview first

If the preview is available, load the it first, while
waiting for the full size image to load

Cherry-pick of https://googleplex-android-review.googlesource.com/#/c/238893/

Bug: 7340082
Bug: 7298245
Change-Id: I64934001d832844a776f8d9c1f2abcece552f79c
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
da4cfeec8ee8863089da547a643393ab3520f5d8 12-Oct-2012 Paul Westbrook <pwestbro@google.com> Set the scale type for the default image icon

By setting the scale type to center, the default icon
is not scaled up.

cherry-pick of https://googleplex-android-review.googlesource.com/#/c/238674/

Bug: 7298245
Bug: 7340457
Change-Id: I66200a1c751ca80e878e55a7b9daa656a6cbe98d
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
c907eecdbdf8a2b85280f27f636c332f3a0fa699 19-Sep-2012 Mark Wei <markwei@google.com> Prevent NPE while viewing photo from attachment.

Bug: 7189283
Change-Id: Ibcb98ae13cf801a6934e0ed4efb4c5349678dcce
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
697c046e3f0632f698d269423b62bb53a7d37a32 17-Sep-2012 Mark Wei <markwei@google.com> Prevent NPE in Gmail while viewing photo from attachment

Bug: 7174197
Change-Id: I29ca226b5134888dbe3488f859d9790fe1388984
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
459c618b574a3d3b6a544267a87c2093bacac20d 14-Aug-2012 Paul Westbrook <pwestbro@google.com> Fix some photo view problems

Make sure to stop the indeterminate progress bare when we can't
load an image

Bug: 6956516
Change-Id: Ifb69ca2e08a8ddfb351989d8e276e7fb6e3b06e5
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
509bd03a2a783f804e9456767b52e0f8ef43479b 03-Aug-2012 Andrew Sapperstein <asapperstein@google.com> Enabled optional support for showing progress.

Added some progress bars to the "empty" view
so that implementors of the API can show the
progress of things like downloads or loading.

Additionally, added a retry button and an optional
text that allows you to indicate status to the user.

Due to a bug in the framework, we actually use two
progress bars (one determinate and one indeterminate)
to update our status. Created a wrapper that allows
the controlling of both progress bars in sync.

Change-Id: I710e06317948d376d445abf1603545982ac8479d
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
b81f8c963a0d97034872f14f4e2294d1e2b44da1 30-Jul-2012 Andrew Sapperstein <asapperstein@google.com> ActionBar now auto-hides like Gallery's version.

5 second delay from opened. Will not hide on first
appearance. Has be closed and re-opened. Also,
eliminated the progress spinner when the photo hadn't
yet loaded.

Additionally, modified the action bar to match gallery's
transparency.

Change-Id: I69e72d787bc2cda9c18df6a9cf1800d155d6876a
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
9ceb1b41122f649cd26234f34edc2c1cf75b2f95 27-Jul-2012 Andrew Sapperstein <asapperstein@google.com> Showing a default preview photo.

If we do not have a preview and are currently
waiting on a full photo, we will show a stock
photo. Currently shows a grey box as we do not
have assets yet.

Change-Id: I155071598b20bf81b2b60bdd8ac881a64b8ee1b7
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
d19540fb7139fc0baba3b55260a6aabdb029c831 24-Jul-2012 Andrew Sapperstein <asapperstein@google.com> Support showing previews in the photo viewer.

The photo viewer now supports the notion of a
preview of the full image. The preview is not
pinchable in any manner and displays a circular
progress bar over top of it while we are downloading
the full version of the image.

To enable this functionality, there is a new column
in the PhotoContract API called thumbnailUri. If it is
not set to null and if the attempted load of the contentUri
is unsuccessful, we will attempt to load a thumbnail version
that will show until the contentUri is finished loading.

Change-Id: I5547a5fc6a30ee6a30f137dc1dee76a77fb5b304
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
a6729336171ef61950d5f585b0f39c013ae6dcbc 21-Jul-2012 Andrew Sapperstein <asapperstein@google.com> Reloading bitmaps if cursor updates.

Change-Id: I5624e533d4f35255028cd1a31508dabdb33dfe7f
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
1cc4b2144a45abb495c8b14f6cfc5a10fb5e8ba8 23-Jun-2012 Andrew Sapperstein <asapperstein@google.com> Initial import of the photo viewer.

Change-Id: Ia6b1cb2ae3b40ef004823a0d84fe3c2f52ed66e9
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java