• Home
  • History
  • Annotate
  • only in /frameworks/ex/photoviewer/src/com/android/ex/photo/views/
History log of /frameworks/ex/photoviewer/src/com/android/ex/photo/views/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4054bd6d6c5d51d9492184b1881253c223ddbf7d 21-Sep-2012 Paul Westbrook <pwestbro@google.com> Use gesture detector from support lib

Bug: 7206080
Change-Id: I9b5d332d095335f13b61c9c9ccd8152a462a9eb5
estureDetector.java
hotoView.java
bd64181d797dabd8b346b97ebb3e4083e53b864d 18-Sep-2012 Paul Westbrook <pwestbro@google.com> Integrate copy of GestureDetector into photoviewer

This allows the MR0/1 behavior to be used when Email/Gmail is
running on older versions of the platform

Change-Id: I1936d36ddb9f09a3b48d38c2ad44e70ac002fbda
estureDetector.java
hotoView.java
4f38cc1673163848c7b843cb9d23b21945b0bf82 30-Aug-2012 Mark Wei <markwei@google.com> Attachment image viewer should not scale images larger than original size.

Bug: 7049410
Change-Id: I1ed2555203e1541f1481cae4f17f532eaa57c1cd
hotoView.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
rogressBarWrapper.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
rogressBarWrapper.java
ebeb8b01ee3719f86d3ad96a0f0603032efbc1dc 25-Jul-2012 Andrew Sapperstein <asapperstein@google.com> Finalized the photo viewer transitions.

Changed the black background to be on the
FrameLayout behind the view pager rather than
on the the photo view. Also deleted some dead code.

Change-Id: I19759d3f7e93c32b6c6aceda0c296610f90f20f7
hotoView.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
hotoView.java
1cc4b2144a45abb495c8b14f6cfc5a10fb5e8ba8 23-Jun-2012 Andrew Sapperstein <asapperstein@google.com> Initial import of the photo viewer.

Change-Id: Ia6b1cb2ae3b40ef004823a0d84fe3c2f52ed66e9
hotoView.java