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
aseCursorPagerAdapter.java
hotoPagerAdapter.java
|
0ab3e0cf9cbb5751a276e4c2555640a0e8173b5f |
28-Aug-2012 |
Adam Copp <adamcopp@google.com> |
Scope changes and removal of unnessecary variable Adds isFullScreen() and setPhotoIndex() protected methods to PhotoViewActivity in order to allow subclasses access to this information. Removes mDataValid from BaseCursorPagerAdapter since it was hiding how simple the checks actually were (it was just mCursor != null) A nullcheck has also been added to BaseFragmentPagerAdapter in instantiateItem. in the long term, BaseCursorPagerAdapter should not be so fragile, and should not surface nulls, but that change could be quite involved, so should probably not be rolled into this change. Change-Id: I4889c5ae2a764660926c70da25b85565f4600188
aseCursorPagerAdapter.java
aseFragmentPagerAdapter.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
hotoPagerAdapter.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
hotoPagerAdapter.java
|
9556f61c11991d6e955cfd68ca53f4f489dfa8c5 |
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
aseFragmentPagerAdapter.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
hotoPagerAdapter.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
hotoPagerAdapter.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
hotoPagerAdapter.java
|
0c18e5deef5209d21b527a01feb6b789715eb48e |
21-Jul-2012 |
Andrew Sapperstein <asapperstein@google.com> |
Reloading bitmaps if cursor updates. Change-Id: I5624e533d4f35255028cd1a31508dabdb33dfe7f
aseCursorPagerAdapter.java
hotoPagerAdapter.java
|
8122882aaf14820bc2241605b2ab818ad358b9af |
27-Jun-2012 |
Ying Wang <wangying@google.com> |
Import translations. DO NOT MERGE Change-Id: Ib683da0aa64c2c63dfc672ea18b7417aded3ec5c
aseCursorPagerAdapter.java
aseFragmentPagerAdapter.java
hotoPagerAdapter.java
|