History log of /frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/PhotoPagerAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
934bd9e0b4b3fcf7730325fa416b8c162141f7e9 09-Nov-2012 Martin Hibdon <mhibdon@google.com> Make some members protected

This allows users to extend PhotoViewFragment and
PhotoPagerAdapter.

Change-Id: I7945b33116601fe23f84723f14c76634c2219f52
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/PhotoPagerAdapter.java
8746927a945358bb9e515985a37cac7807261026 27-Oct-2012 Martin Hibdon <mhibdon@google.com> Make PhotoViewer use the support library

Now it uses the support library for fragments and loaders,
so it's compatible back to Froyo.

Change-Id: I887dd57760606e22a8376cdfdf3ecf7c99295a61
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/PhotoPagerAdapter.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/adapters/PhotoPagerAdapter.java
91dbfd25cc234de393ae22fc39a832a6335e1bc2 04-Sep-2012 Adam Copp <adamcopp@google.com> Add parameter for max initial scale factor

you can now pass EXTRA_MAX_INITIAL_SCALE into PhotoViewActivity in order
to specify the maximum initial scale of images displayed. This parameter
defaults to 1x if now supplied, so images will not be displayed larger
than their actual size by default.

This allows the gmail team to resolve 7049410 whilst velvet can keep
something like the old behaviour (which is more natural for their app)

Bug: 7049410
Change-Id: I7d230666ca50a4634d8436519ed280cc6e558ee3
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/PhotoPagerAdapter.java
e6d03190d2b2ec6ea07a59daa7e687c3c383f9c3 29-Aug-2012 Paul Westbrook <pwestbro@google.com> Fix crash in email with attachments

There isn't a need to call swapCursor in a runnable

Bug: 7072747
Change-Id: I0a0a9b6835acc4a1d1748c94f4d8bec4551638b0
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/PhotoPagerAdapter.java
68a16aa04f9b98868f4412e7324b0fc292c9d858 07-Aug-2012 Andrew Sapperstein <asapperstein@google.com> Made title and subtitle not show immediately.

Fixes an issue where we used to show the app title
for an instant before getting the data for the photo.
Now we show nothing until we have the photo data.

Change-Id: I2a77b18af2ec2051848c188e0dad7ca04be4f285
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/PhotoPagerAdapter.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/adapters/PhotoPagerAdapter.java
928a39fb533255b34145285fabbd4f51961df63a 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/opt/photoviewer/src/com/android/ex/photo/adapters/PhotoPagerAdapter.java
0c18e5deef5209d21b527a01feb6b789715eb48e 21-Jul-2012 Andrew Sapperstein <asapperstein@google.com> Reloading bitmaps if cursor updates.

Change-Id: I5624e533d4f35255028cd1a31508dabdb33dfe7f
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/PhotoPagerAdapter.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/adapters/PhotoPagerAdapter.java