bcf946beebe1215b43c1196739a2d9391dae14b9 |
|
13-Sep-2013 |
Matt Keoshkerian <mattak@google.com> |
Add methodPhotoViewFragment to expose its position. This position is set by the ViewPager, which indicates the index of this fragment in the pager. Required for b/9759537. Change-Id: I6309f863c38e7130f5ff97278a90cfbe90f10e86 (cherry picked from commit 3c01ba50680cfd6bf03503bfb50697a4fb2ef155)
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
8670cefb043f865c7275876dcc94f65ce5bda041 |
|
25-Jul-2013 |
Martin Hibdon <mhibdon@google.com> |
Replace ActionbarSherlock with AppCompat Change-Id: I291d3513fb14683c4be32d5fa8e166460b009195
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
ca8fdcd23fcc53e0429abf8d4ef80e8d6d8fe6fa |
|
30-Jun-2013 |
Martin Hibdon <mhibdon@google.com> |
Update PhotoViewer so that Babel can use it The photoViewer now supports the needs of the Babel app. In particular: 1. It allows for applications to extend the PhotoBitmapLoader for their own needs. Babel needs this because it already maintains a customized image cache in memory, and we don't want to have duplicate bitmaps in memory. 2. The photoViewActivity can optionally use an animation that scales the image up from the image's original location on screen to the full size. 3. The photoViewActivity can optionally be in fullscreen mode by default, rather than switching to fullscreen when tapped. Change-Id: Id5d62f1961c1ce2b9402c7fb19583baad4d96580
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
73841d3240ea553c5f95400a4bbf83dbbb3f872f |
|
31-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Remove all remaining warnings Or at least, those that my Eclipse settings can pick up Change-Id: I416b89bdf0068734cbacd2a220ae108c12301e85
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
7732839c0cd9d87954a07e166b52b93cabea1374 |
|
27-Jun-2013 |
Adam Copp <adamcopp@google.com> |
Clean up internet state intent receiver Previously there were three things wrong here: 1. We never unregistered the intent receiver 2. The Intent receiver was being created even when there was no use for it. 3. The mConnected was not being set to false in some circumstances. This change addresses all three problems Change-Id: I6117080c434a7d1c99bcdf12787a66a9a6b2e055 (cherry picked from commit 4e0bb7ba9fad4bd479fa1ac2f3210f6dbc808ec3)
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
ff9cbd0e86e313e03ddbd40226e1d8adba9f3de2 |
|
15-Apr-2013 |
Alice Yang <alice@google.com> |
am c4fa70b9: Merge "Use ConnectionManager to restart loaders" into ur9 * commit 'c4fa70b936298b1b153ab99a9cbd4dddb1f5aaae': Use ConnectionManager to restart loaders
|
1c0f1cdf675f084dde1b11044ff1e58c9255af54 |
|
15-Apr-2013 |
Mark Wei <markwei@google.com> |
am c494d535: Merge "This CL breaks existing functionality. Gmail uses the photoviewer to display attachments that are not yet downloaded. While we download the image, we expect that the Bitmap will be null." into jb-mr2-dev * commit 'c494d535894da28f32e95e79ea0cfc5814d1fe75': This CL breaks existing functionality. Gmail uses the photoviewer to display attachments that are not yet downloaded. While we download the image, we expect that the Bitmap will be null.
|
f6adcd291d356ee0a1232c40d883fcbd44d87de5 |
|
15-Apr-2013 |
Adam Copp <adamcopp@google.com> |
am a4cddf7e: Merge "Hide the spinner and show failure message if photo data is null" into jb-mr2-dev * commit 'a4cddf7e7832368b861c8b79978c58c7cc1476c8': Hide the spinner and show failure message if photo data is null
|
9724eddc8594426b27cd0724cbb946322e0ff793 |
|
15-Apr-2013 |
Adam Copp <adamcopp@google.com> |
am 8d833d1d: Use resources to specify wether or not to enforce no upscaling * commit '8d833d1da17c83fc2f949160054438c912b0bba0': Use resources to specify wether or not to enforce no upscaling
|
c5648887405cdcd9507b3edbfcdff55941868fd4 |
|
15-Apr-2013 |
Paul Westbrook <pwestbro@google.com> |
resolved conflicts for merge of 99f6f3ea to jb-ub-mail-ur10 Change-Id: Ie28610f8a473a292a4fcb76102311bc2c71a2073
|
517945660a8160b9c6ef34b9e84d1d3cff4f6b87 |
|
25-Mar-2013 |
Adam Copp <adamcopp@google.com> |
Use ConnectionManager to restart loaders When we come back from having no connection, but we had failed to load anything before, we don't bother trying to restart our loaders. This change ensures that if we get notified that the device now has an active internet connection, and we haven't bound a photo (or a thumbnail), then we restart the appropriate loaders and show the loading indicator. Bug: 8407579 Change-Id: I30295ca9585839760421fb37c3a28c987357aacd
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
22d4e84a266942ec2dbbdb65dcb25fc2ee7a5bd9 |
|
18-Mar-2013 |
Mark Wei <markwei@google.com> |
This CL breaks existing functionality. Gmail uses the photoviewer to display attachments that are not yet downloaded. While we download the image, we expect that the Bitmap will be null. There needs to be another way for Google Now to show that the file is missing. Instead of checking whether BitmapResult.result == null, perhaps BitmapResult.status should be used. Revert "Hide the spinner and show failure message if photo data is null" This reverts commit 0c8b9eda5311dfc69ff532353c3e7f4ee6c1acb7 Bug: 8407579 Change-Id: I1283cb6cb9315e053938b4316b338781b1af40da
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
0c8b9eda5311dfc69ff532353c3e7f4ee6c1acb7 |
|
18-Mar-2013 |
Adam Copp <adamcopp@google.com> |
Hide the spinner and show failure message if photo data is null When we fail to load the photo and the data for the photo is null, we should hide the spinner and show the failure message. This happens if you're loading from the network and airplane mode is enabled. Bug: 8407579 Change-Id: Id473cead577f614df2cc6b09898f6048cccf5965
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
118df0eb335ee3d670dec73b5c228d872cfac350 |
|
14-Mar-2013 |
Alice Yang <alice@google.com> |
Merge remote-tracking branch 'goog/jb-ub-mail-ur9' into merge Merge UR8 into MR2. Change-Id: I543d9284ef7eb1efcc1ec568a9660d03c4cbf32a
|
06d8b5e82b9b75588051a492152fda0b63f70484 |
|
08-Mar-2013 |
Mark Wei <markwei@google.com> |
When image bytes are unable to be decoded into a Bitmap (like TIFF files), we distinguish that apart from when there are no image bytes at all. In the first case, the download was complete and the file is present, but the decoding fails. In the second case, the download is still in progress. We now show an error in the first case. Bug: 8229258 Change-Id: I664a322f1656dc10d632dcdb259d817abc894047
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
8d833d1da17c83fc2f949160054438c912b0bba0 |
|
01-Mar-2013 |
Adam Copp <adamcopp@google.com> |
Use resources to specify wether or not to enforce no upscaling Add a resource which controls whether or not to enforce using ScaleType.CENTER for thumbnail images. This allows other apps to override this resource if they wish to have custom behaviour here. This is change ag/278873 but moved to jb-mr2-dev Change-Id: I599b3d0a6b099fc1d8d8429349ef1765d9a633b9
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
ea8c4b44178e7593870472743bde05d0d079b9ee |
|
21-Feb-2013 |
Mark Wei <markwei@google.com> |
Continuously attempt to load thumbnail if it fails the first time. This behavior is the same as loading the full image. Bug: 8235723 Change-Id: I2b0786cb7482afe6dd1464be8f54d8f6e810eab8
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
41db3eb9741a222432b367409c67d2263856a0a7 |
|
08-Feb-2013 |
Vikram Aggarwal <viki@google.com> |
Let the framework manage fragments The original crash is deep in the framework. Looking into the code, I found the following strangeness, which this change fixes: 1. Fragments don't have a public no-arg constructor, which is required for the framework to restore state. 2. Fragments keep a reference to the adapter, passed through the constructor. This is a terrible idea: the adapter might get stale, it might not be tied to the current activity, it can't be parcelled into a bundle, .... At the very least, the adapter should come directly via the activity. 3. A lot of computation is happening in onAttach(Activity) which is too early. At this point, the activity is made, but has not gone through onCreate() yet, so might be uninitialized. Most of this code should move to onCreateView() or, even better, onActivityCreated() 4. The index of the current fragment might still be negative in onCreate(). This causes problems with the ViewPager when it tries to load the current fragment from the adapter. We should never set the current position to -1. 5. The computation for currentPosition is incorrect in PhotoViewActivity.onCreate(), from a cursory glance at MessageAttachmentTile.viewAttachment() where both the photo index and the photo uri are populated at the same time. Once the index is read, it will be > 0, and the URI won't be set. This is a bug. These changes ameliorate the original issue, but don't fix it altogether. The remaining issues will be fixed in a subsequent CL. Bug: 8143282 PhotoViewerActivity crashes on orientation change Change-Id: Ia0652b2eea9e976603f0d6686077b9f6a75abb78
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
79bc0d5ba2f06b25052fe95fac1593ebde234d9a |
|
23-Jan-2013 |
Mark Wei <markwei@google.com> |
Starts a pending download immediately when swiping to that image. Add a new Attachment state, PAUSED, for when we've queued the attachment in the DownloadManager, but it hasn't started yet. Modified onViewActivated() so it would only get triggered once when you swipe to that fragment. Bug: 8023818 Change-Id: I319f12235559feb1f716515155881188894d6f05
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
0bf849421d303e05c600cdcd7dab73cc84809a36 |
|
17-Jan-2013 |
Mark Wei <markwei@google.com> |
Modify image attachments previews to conform to UX specs Thumbnail and full image start loading at the same time. Once thumbnail is shown, we display a determinate progress bar while downloading the full image. Remove progress bar from image tiles in ConversationView. Bug: 8021747 Change-Id: Ic1c7e7fcdc5683ad9e899c82b6bbdb5861d16a55
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
98ee665434ba99543c13a99b70a1ad5340a34c23 |
|
16-Jan-2013 |
Mark Wei <markwei@google.com> |
Load image attachments from live conversations. MessageAttachmentTile automatically downloads image attachment thumbnails when missing. PhotoViewFragment first loads thumbnail, then loads the full image. Shows and hides the progressbar correctly. Added ability for UiProvider to specify which rendition of an attachment to download. Bug: 7987412 Change-Id: I7aec4dd80e6fda1b7f4b5f25caffa69380d269d3
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
577c1c0ba2d28a0c3b488b0592f11e827dfde610 |
|
19-Dec-2012 |
Paul Westbrook <pwestbro@google.com> |
Merge: "Set the scale type for the default image icon" This merges: https://googleplex-android-review.googlesource.com/#/c/238674 Change-Id: I038e08bd4cc3ca58737a48c6caaccdc52f1015cd
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
19c6d4851728e63ad4275579034dc60a3c958ce2 |
|
19-Dec-2012 |
Paul Westbrook <pwestbro@google.com> |
Merge: "Restart loader on attachment cursor updates: This merges: https://googleplex-android-review.googlesource.com/#/c/245483 Change-Id: I86440eacd0b48b9be1cf1c80574c3634fc6bdd79
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
8f359e98b9f18064a75c80b9c9ad8bda2713c612 |
|
19-Dec-2012 |
Paul Westbrook <pwestbro@google.com> |
Merge "Fix for panorama icon not always showing up in photo viewer" Merge CL: https://googleplex-android-review.googlesource.com/#/c/246161 Change-Id: I8cc5f339b4ffde31eadc2412aa6389354cfea45b
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
d4f7888c44dbc6808c20db3605bc48cc42f0b350 |
|
19-Dec-2012 |
Paul Westbrook <pwestbro@google.com> |
Merge photo viewer changes from master Change-Id: I3d4835aa10bbcccc8cf07ba53182da2ca017a1b9
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
99f6f3ea0e43d5ac96344a987735fc39485f8f05 |
|
18-Dec-2012 |
Martin Hibdon <mhibdon@google.com> |
Performance improvement for photoViewer I noticed that when we bring up the photoViewer, it always initializes the first two fragments, and then switches to whatever fragments we actually want to look at based upon the intent parameters. This issue is that we were assigning the adapter to the ViewPager before we had any cursor at all. If we hold off on setting the adpater until we have a cursor, then this doesn't happen. This improves startup time of the PhotoViewActivity noticeably. Also, made a few changes to make it easier to extend PhotoViewActivity and PhotoViewFragment, to change its behavior. Change-Id: Icc4c397529bd147d0ac6818f79a48db1c4a25f32
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
535ffb18682c17d08be17aae5a31c11bf9d44ae5 |
|
16-Nov-2012 |
Mike Dodd <mdodd@google.com> |
Need one more initLoader in a runnable. b/7544801 Change-Id: Ieffca5389f0b560b041f96a8daf363302f53f7ad
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
fc3a6f46f375ef9347f57b88fd7e0c8b62ce1058 |
|
15-Nov-2012 |
Martin Hibdon <mhibdon@google.com> |
call initLoader in a runnable b/7544801 Apparently, calling initLoader() from inside onLoadFinished() is no good when using the support library. Now we post a runnable to the main handler to call initLoader() Change-Id: Idedfad5f3be0aecc55ca0f3d593c2df96482da77
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
bf77f3b89ad05406eecb30c2ea9390f7e921de32 |
|
13-Nov-2012 |
Martin Hibdon <mhibdon@google.com> |
Make some static members protected Change-Id: I9b2a1e177c369246bc3070a8ebdf5aebb70cfc2a
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
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/fragments/PhotoViewFragment.java
|
399fe3d995ed4366a18c7ce6632b3014284df57a |
|
30-Oct-2012 |
Martin Hibdon <mhibdon@google.com> |
Remove PhotoViewFragment's dependency on PhotoViewActivity Now, there is a interface called PhotoViewCallbacks that PhotoViewFragment depends upon. This way other users can use PhotoViewFragment without using PhotoViewActivity. Change-Id: Ibbda93d2e0226bcc993ef98be1de7cf3a323f41a
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.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/fragments/PhotoViewFragment.java
|
edad0e0512af73ea89b85c5e4568a42bdae3f539 |
|
23-Oct-2012 |
Adam Copp <adamcopp@google.com> |
Fix scale popping by disabling zoom on thumbnails In order to prevent the situation where a user scales a low-res image in the image viewer before the new image has loaded, we disable the scaling and panning of low-res images. This is desirable because when the high-res image loads, it will "pop" back to it's default scale and pan settings. In the longer term I would like to fix this problem by making high-res images load in at the current scale and pan settings. This is a much quicker fix, however. Bug: 7338705 Change-Id: I0c8f3dc5a7b29943db9c03e9c82cc3cee5ce2734
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
2aadb54327f77df1468826249ba63b91b65d8090 |
|
21-Sep-2012 |
Adam Copp <adamcopp@google.com> |
Merge "Add option to permenantly show ProgressBar"
|
075e0938e1413b6743f51baa5260cd9c8dea0711 |
|
20-Sep-2012 |
Mark Wei <markwei@google.com> |
am 05783789: am da78c1dc: am c907eecd: Prevent NPE while viewing photo from attachment. * commit '057837890de13cc9fd6909f4c4a69abec388a34d': Prevent NPE while viewing photo from attachment.
|
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/fragments/PhotoViewFragment.java
|
2539f2ef0fa351d40551dda5ba0b543b2a042b0f |
|
19-Sep-2012 |
Mark Wei <markwei@google.com> |
Prevent NPE while viewing photo from attachment. Bug: 7189283 Change-Id: Ibcb98ae13cf801a6934e0ed4efb4c5349678dcce
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
524ac65920b684ca4602e23981cb976e2bab0f0d |
|
17-Sep-2012 |
Mark Wei <markwei@google.com> |
am 34672da4: am 4030071b: am 697c046e: Prevent NPE in Gmail while viewing photo from attachment * commit '34672da452ddf07347d2e9fc02f6d66c954ebba3': Prevent NPE in Gmail while viewing photo from attachment
|
c4d9382e8e52e1122d51f52402c6c4a609a785d6 |
|
17-Sep-2012 |
Mark Wei <markwei@google.com> |
Prevent NPE in Gmail while viewing photo from attachment Bug: 7174197 Change-Id: I29ca226b5134888dbe3488f859d9790fe1388984
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
1389ae2ea3376b317e4810f9e3b123a0cb5ac008 |
|
11-Sep-2012 |
Adam Copp <adamcopp@google.com> |
Do not show loading bar after thumbnail has loaded After talking to the designers for Google Now, who have said they talked to the designers from gallery app, it appears that we should not show the loading spinner once the thumbnail has loaded. Let me know if this is orthogonal to the behaviour you would like in the gmail app, and I can write a more involved patch with an overridable callback to decide wether to show the spinner or not. Change-Id: I77a3f2e2487d469ab47e45c7a94942f831528d41
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.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/fragments/PhotoViewFragment.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/fragments/PhotoViewFragment.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
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
150e623129eef49467f1d6f67649e4636a4513f2 |
|
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/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
1abd4654c2eeacc7d854a438a9c72d7239278bea |
|
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/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.java
|
9007d640832f674a9d65058a3c2a484c078d239e |
|
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/opt/photoviewer/src/com/android/ex/photo/fragments/PhotoViewFragment.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/fragments/PhotoViewFragment.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/fragments/PhotoViewFragment.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/fragments/PhotoViewFragment.java
|