OSDN Git Service

Invoke LightCycle viewer for panoramas.
authorAngus Kong <shkong@google.com>
Fri, 24 Aug 2012 11:30:08 +0000 (19:30 +0800)
committerAngus Kong <shkong@google.com>
Wed, 29 Aug 2012 11:43:12 +0000 (19:43 +0800)
commitf40669b90a0e3acd49bf2d3a7f889e0d89c24a95
tree6f9beead520e7389cafa147fe203daffe7709526
parent25f2aa192479a87abdec2ab66b05820290c465d3
Invoke LightCycle viewer for panoramas.

1. Add SUPPORT_PANORAMA_VIEW to supported operations.
2. Add helper methods in LightCycleHelper:
  a. checks if the image file is a panorama.
  b. invokes the panorama view activity.

bug:6912297
Change-Id: I7909e49632cad02a795943a113bca6aec17df9dd
gallerycommon/src/com/android/gallery3d/common/LightCycleHelper.java
src/com/android/gallery3d/app/PhotoPage.java
src/com/android/gallery3d/data/LocalImage.java
src/com/android/gallery3d/data/MediaObject.java