History log of /frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/PhotoBitmapLoaderInterface.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7887d9694aef23e4a0165b338726e6a9690a709a 07-Jan-2014 Andrew Sapperstein <asapperstein@google.com> Fix b/12348405. Return null drawable.

The initial implementation of getDrawable always
returned a drawable. However, the PhotoViewFragment
used the null state for various state decisions.

This made images that weren't on device in Gmail not
show up and no downloading progress was shown. Now this
happens. Hooray.

Change-Id: I55df738f55353d9c4b599c2e497ca8ed4768c059
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/PhotoBitmapLoaderInterface.java
4f49ea6da326194dffa0348a83d8110ac30d92e4 25-Sep-2013 Matt Keoshkerian <mattak@google.com> Update PhotoViewer to load photos as Drawable objects.

This change modifies PhotoBitmapLoaderInterface.BitmapResult to return a generic Drawable object based on either a passed in Drawable or a generated BitmapDrawable from a set Bitmap.

Change-Id: I31f7af6001539970c1adb9d45d8e3eb6a9f022a3
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/PhotoBitmapLoaderInterface.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/loaders/PhotoBitmapLoaderInterface.java